From: Tom Rini Date: Tue, 18 Jul 2017 08:59:10 -0400 Subject: [U-Boot] [PATCH] configs: ti: armv7: Fixes bug in fit_loadaddr for ramfs boot In-Reply-To: <20170717180136.12988-1-afd@ti.com> References: <20170717180136.12988-1-afd@ti.com> Message-ID: <20170718125910.GL14320@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 Mon, Jul 17, 2017 at 01:01:36PM -0500, Andrew F. Davis wrote: > From: Madan Srinivas > > The load address of ramdisk, rdaddr is 0x88080000 and fit_loadaddr > is defined as 0x88000000. This leaves only 512Kbytes for the > fit image. When the FIT images are larger than this, it will > overwite the ramdisk and cause the boot to fail. > > For eg, The K2 HS fit images are a few MB and end up overwriting > the ramdsk. This patch moves the fit_loadaddr to 0x87000000, > leaving a 16MB window for the fit image. This memory can be > reclaimed once the kernel starts running. > > Signed-off-by: Madan Srinivas > --- > include/configs/ti_armv7_common.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h > index a4676d3a7f..16ea22857f 100644 > --- a/include/configs/ti_armv7_common.h > +++ b/include/configs/ti_armv7_common.h > @@ -53,7 +53,7 @@ > > #define DEFAULT_FIT_TI_ARGS \ > "boot_fit=0\0" \ > - "fit_loadaddr=0x88000000\0" \ > + "fit_loadaddr=0x87000000\0" \ > "fit_bootfile=fitImage\0" \ > "update_to_fit=setenv loadaddr ${fit_loadaddr}; setenv bootfile ${fit_bootfile}\0" \ > "loadfit=run args_mmc; bootm ${loadaddr}#${fdtfile};\0" \ OK, why is fit_loadaddr different from loadaddr? -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: