
Hi Tom,
2015-04-15 6:07 GMT+09:00 Tom Rini trini@konsulko.com:
On Tue, Apr 14, 2015 at 04:57:04PM +0900, Masahiro Yamada wrote:
With FIT boot, U-boot puts a device tree and an initramdisk at the tail of the memory.
Some UniPhier boards have a large amount of memory. For those boards, a device tree and an initramdisk are located out of reach of the Linux kernel causing a kernel panic if CONFIG_VMSPLIT_3G is defined in the kernel side.
Add initrd_high and fdt_high to prevent them from going too high.
Please use bootm_size and see include/configs/ti_armv7_common.h / DEFAULT_LINUX_BOOT_ENV for the why/wheres and then adjust to fit UniPhier, thanks!
After long silence, I came back again!
I noticed "bootm_size" and "bootm_low" environments are checked for relocation for FDT, but not for Initramdisk.
Namely, "initrd_high" is only the way to prevent the initramdisk from going too high.
So, I posted this patch: http://patchwork.ozlabs.org/patch/558077/