From: Tom Rini Date: Fri, 6 Mar 2015 11:28:49 -0500 Subject: [U-Boot] [u-boot][PATCH] omap3_beagle: Fix device tree boot In-Reply-To: <1425656064-6096-1-git-send-email-rogerq@ti.com> References: <1425656064-6096-1-git-send-email-rogerq@ti.com> Message-ID: <20150306162849.GH25373@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 Fri, Mar 06, 2015 at 05:34:24PM +0200, Roger Quadros wrote: > Don't redefine fdtaddr and other values that are already defined in > ti_armv7_common.h. The value of fdtaddr in ti_armv7_common.h is > more appropriate as it allows a larger kernel image to be loaded. > > With this change, I'm able to boot linux-4.0-rc1 with device tree blob. > > Signed-off-by: Roger Quadros > --- > include/configs/omap3_beagle.h | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h > index f25a940..3ea9b08 100644 > --- a/include/configs/omap3_beagle.h > +++ b/include/configs/omap3_beagle.h > @@ -129,10 +129,8 @@ > /* devices */ > > #define CONFIG_EXTRA_ENV_SETTINGS \ > - "loadaddr=0x80200000\0" \ > - "rdaddr=0x81000000\0" \ > + DEFAULT_LINUX_BOOT_ENV \ > "fdt_high=0xffffffff\0" \ > - "fdtaddr=0x80f80000\0" \ > "usbtty=cdc_acm\0" \ > "bootfile=uImage\0" \ > "ramdisk=ramdisk.gz\0" \ With DEFAULT_LINUX_BOOT_ENV the bootm_size variable makes sure that we relocate the DT within the area that the kernel will see and we don't need fdt_high being set either. -- Tom