Open MichaIng opened 2 years ago
As a workaround, both variables can be defined in uEnv.txt
:
kernel_comp_addr_r=0x19000000
kernel_comp_size=0x04000000
This sets the RAM address for the uncompressed kernel to 400 MiB and with a maximum 100 MiB. There shouldn't be any collision since the largest RAM address otherwise is the initramfs, being loaded to ~300 MiB. With the above, the system boots via boot.scr
and not via extlinux, as intended.
Can you provide me the steps to reproduce this issue?
apt install linux-image-5.10.69-4-amlogic-g37ae4051315a
With the latest kernel package, U-Boot fails to load
boot.scr
, throwing the following error:It seems to fallback to extlinux, but fails to load the device tree then:
Reason is the doubled
amlogic
path element, which seems to be due to:devicetreedir /dtbs/5.10.69-4-amlogic-g37ae4051315a/amlogic
in/boot/extlinux/extlinux.conf
fdtfile=amlogic/meson-g12a-radxa-zero.dtb
in/boot/uEnv.txt
extlinux.conf
or inuEnv.txt
resolves the issue, but removing it inuEnv.txt
breaksboot.scr
, of course.