* [U-Boot] [PATCH] ARM: UniPhier: add initrd_high and fdt_high environments
@ 2015-04-14 7:57 Masahiro Yamada
2015-04-14 21:07 ` Tom Rini
0 siblings, 1 reply; 3+ messages in thread
From: Masahiro Yamada @ 2015-04-14 7:57 UTC (permalink / raw)
To: u-boot
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.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---
include/configs/uniphier.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h
index d4688c5..dea340f 100644
--- a/include/configs/uniphier.h
+++ b/include/configs/uniphier.h
@@ -236,6 +236,8 @@
"netdev=eth0\0" \
"image_offset=0x00080000\0" \
"image_size=0x00f00000\0" \
+ "initrd_high=0xa0000000\0" \
+ "fdt_high=0xa0000000\0" \
"verify=n\0" \
"nandupdate=nand erase 0 0x100000 &&" \
"tftpboot u-boot-spl.bin &&" \
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] ARM: UniPhier: add initrd_high and fdt_high environments
2015-04-14 7:57 [U-Boot] [PATCH] ARM: UniPhier: add initrd_high and fdt_high environments Masahiro Yamada
@ 2015-04-14 21:07 ` Tom Rini
2015-12-18 2:22 ` Masahiro Yamada
0 siblings, 1 reply; 3+ messages in thread
From: Tom Rini @ 2015-04-14 21:07 UTC (permalink / raw)
To: u-boot
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!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150414/ad9adf50/attachment.sig>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] ARM: UniPhier: add initrd_high and fdt_high environments
2015-04-14 21:07 ` Tom Rini
@ 2015-12-18 2:22 ` Masahiro Yamada
0 siblings, 0 replies; 3+ messages in thread
From: Masahiro Yamada @ 2015-12-18 2:22 UTC (permalink / raw)
To: u-boot
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/
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-12-18 2:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-14 7:57 [U-Boot] [PATCH] ARM: UniPhier: add initrd_high and fdt_high environments Masahiro Yamada
2015-04-14 21:07 ` Tom Rini
2015-12-18 2:22 ` Masahiro Yamada
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox