[U-Boot] [PATCH] ARM: mx6: Remove the FDT loading address to avoid overlaping

Dennis Gilmore dennis at ausil.us
Fri Nov 29 03:42:13 CET 2013


El Wed, 27 Nov 2013 08:53:55 +0100
Stefano Babic <sbabic at denx.de> escribió:
> Hi Otavio,
> 
> On 26/11/2013 13:16, Otavio Salvador wrote:
> >> I'm going to suggest this is the wrong path.  Once you see i.MX
> >> systems with > 768MB DDR you're going to have initrd/fdt placed
> >> into memory Linux can't access without HIGHMEM on, and you need
> >> the FDT before then.
> > 
> > I didn't catch this case but it is a valid problem, indeed :-(
> 
> I missed this issue, too :-(
> 
> Does it work with your patch ? Most supported i.MX6 boards have more
> as 768MB, and I am wondering that all kernels can boot.

In fedora land we have not seen issues booting 3.10 3.11 3.12 or 3.13
in regards to things getting clobbered. but it does bring me back to my
thought that u-boot should be calculating where to place everything to
ensure that things do not get clobbered.

Most fedora i.MX6 users are using wandboards with a few utilites.

our wandboard config uses

fdt_high=0xffffffff
initrd_high=0xffffffff
fdt_addr=0x11100000
fdt_addr_r=0x11200000
pxefile_addr_r=0x11300000
scr_addr_r=0x11400000
kernel_addr_r=0x11500000
ramdisk_addr_r=0x13500000

I put 32M between the kernel and initramfs which can be wildly variable
in size the install version is currently at 27M while our kernel is 4.6M

Dennis



More information about the U-Boot mailing list