Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support compressed kernel and initramfs #3

Open
Danct12 opened this issue Apr 24, 2023 · 0 comments
Open

Support compressed kernel and initramfs #3

Danct12 opened this issue Apr 24, 2023 · 0 comments

Comments

@Danct12
Copy link

Danct12 commented Apr 24, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant