From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 4 Feb 2016 12:41:27 -0500 Subject: [U-Boot] 9c11135 breaks bootz In-Reply-To: References: Message-ID: <20160204174127.GI25786@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Feb 02, 2016 at 03:49:07PM +0100, Matthias Wei?er wrote: > Hi > > 9c11135 image: fix getenv_bootm_size() function breaks the bootz > command for me on a custom hardware (very similar to mx6sxsabresd but > with only 256MB RAM). I don't have bootm_size or bootm_low defined. > > After reading zImage and dtb from serial flash I run > > => bootz 0x80800000 - 0x83000000 > Kernel image @ 0x80800000 [ 0x000000 - 0x1e5f48 ] > ## Flattened Device Tree blob at 83000000 > Booting using the fdt blob at 0x83000000 > ERROR: Failed to allocate 0xb28a bytes below 0x10000000. > device tree - allocation error > FDT creation failed! hanging...### ERROR ### Please RESET the board ### > > I am totally unsure what the commit intents but subtracting the ram > start address from its size doesn't make much sense to me. > > + return gd->bd->bi_dram[0].size - (tmp - gd->bd->bi_dram[0].start); > > Maybe someone can shed some light on this issue for me. Masahiro? -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: