Support compressed kernel and initramfs
Opened this issue · 0 comments
Danct12 commented
Currently, if we use extlinux to load a kernel and ramdisk, this error shows up:
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
boot prev kernel
1: postmarketOS
Enter choice: 1: postmarketOS
Retrieving file: /vmlinuz
missing environment variable: ramdisk_addr_r
Skipping postmarketOS for failure retrieving initrd
EXTLINUX FAILED: continuing...
Adding these value before running the boot command will make extlinux booting works:
setenv ramdisk_addr_r 0x52200000
setenv kernel_comp_addr_r 0x53200000
setenv kernel_comp_size 0x2000000