linux4sam / meta-atmel

OpenEmbedded/Yocto Project layer for for Microchip SoC (aka AT91)
https://www.linux4sam.org/bin/view/Linux4SAM/YoctoProject
MIT License
91 stars 120 forks source link

Too big kernel for u-boot #251

Open KaneTW opened 1 year ago

KaneTW commented 1 year ago

MACHINE=at91sam9x5ek-sd bitbake microchip-graphics-image on kirkstone leads to a kernel that is over 8MB, leading to "uncompressed: uncompress error -28". This is fixed by setting CONFIG_SYS_BOOTM_LEN to a higher value, e.g. 16MB. I hacked it for myself by changing the default in boot/bootm.c, but there's surely a better way.