[Marvell-armhf] Setting u-boot ftd_high to resolve kernel hung (#10204)
Why I did it Kernel hang in during early boot is caused due overwriting of device tree with uncompressing kernel. Added the fdt_high which gives a safe offset from kernel location. How I did it Setting uboot environment variable fdt_high. How to verify it Successful boot of bullseye kernel on Marvell Armada 380/385. Change-Id: I3e2521780f5ecdb3bdf6cbb6542250814ca11959 Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com>
This commit is contained in:
parent
97c02075f5
commit
7eb321c376
@ -7,6 +7,7 @@ echo "Preparing for installation ... "
|
||||
# global defines
|
||||
kernel_addr=0x1100000
|
||||
fdt_addr=0x1000000
|
||||
fdt_high=0x10fffff
|
||||
initrd_addr=0x2000000
|
||||
VAR_LOG=512
|
||||
|
||||
@ -152,6 +153,7 @@ prepare_boot_menu() {
|
||||
# Set boot configs
|
||||
fw_setenv ${FW_ARG} kernel_addr $kernel_addr > /dev/null
|
||||
fw_setenv ${FW_ARG} fdt_addr $fdt_addr > /dev/null
|
||||
fw_setenv ${FW_ARG} fdt_high $fdt_high > /dev/null
|
||||
fw_setenv ${FW_ARG} initrd_addr $initrd_addr > /dev/null
|
||||
fw_setenv ${FW_ARG} mtdids 'nand0=armada-nand' > /dev/null
|
||||
if [ $UBOOT_FW_DEFAULT -eq 1 ]
|
||||
|
Reference in New Issue
Block a user