From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 27 Nov 2015 02:27:15 +0100 Subject: [U-Boot] [PATCH v1] arm: socfpga: Enable load zImage and Linux DTB from QSPI In-Reply-To: <1448587489.1908.4.camel@altera.com> References: <1448505155-3367-1-git-send-email-clsee@altera.com> <20151126144356.GA25328@amd> <1448587489.1908.4.camel@altera.com> Message-ID: <201511270227.15795.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. Best regards, Marek Vasut