[U-Boot] [PATCH v1] arm: socfpga: Enable load zImage and Linux DTB from QSPI

Chin Liang See clsee at altera.com
Fri Nov 27 02:34:27 CET 2015


Hi Marek,

On Fri, 2015-11-27 at 02:27 +0100, Marek Vasut wrote:
> On Friday, November 27, 2015 at 02:24:49 AM, Chin Liang See wrote:
> > Hi Pavel,
> > 
> > On Thu, 2015-11-26 at 15:43 +0100, Pavel Machek wrote:
> > > Hi!
> > > 
> > > > Adding new environment qspiload which will load zImage and
> > > > Linux DTB from serial NOR flash. The default flash offset for
> > > > the images as below and they are configurable during run time.
> > > > 
> > > > - zImage located at    0xa0000 with assuming file size 6MB
> > > > - Linux DTB located at 0x50000 with assuming file size 28kB
> > > 
> > > Hmm. Ok, zImage second, so that it can grow. Makes sense. Not
> > > sure if
> > > 28kB is not a bit small for DTB. I'd reserve at least 64kB.
> > 
> > Yup, it can grow up to 64kB as the size for a sector. We used 28KB
> > mainly for boot time performance.
> 
> So why don't you use UBI on the QSPI NOR ? That way, you'd secure the
> binaries against bitrot as well.
> 

Good point. Its a nice enhancement as we were using raw access for the
images in NAND and QSPI. Will add a new command for fs support once we
enable the ubifs support in socfpga

Thanks
Chin Liang


> Best regards,
> Marek Vasut


More information about the U-Boot mailing list