Skip to contentSkip to conversation

Nokia RX-51: Enable CONFIG_SUPPORT_RAW_INITRD

PATCH In review Pali Rohár 2 participants 2 messages May 9, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Nokia RX-51: Enable CONFIG_SUPPORT_RAW_INITRD

This enable booting of Debian systems which use raw initrd image (instead of uInitrd created by mkimage). This change increase size of u-boot.bin binary by just 64 bytes.

---
Debian has for this support own custom patch:
https://sources.debian.org/patches/u-boot/2022.04+dfsg-2/n900/bootz_and_raw_initrd.patch/

---
 configs/nokia_rx51_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/nokia_rx51_defconfig +1 -0
index d5688c7a212b..2e8068876eae 100644
@@ -18,6 +18,7 @@ CONFIG_OPTIMIZE_INLINING=y
 CONFIG_LTO=y
 # CONFIG_SYS_MALLOC_F is not set
 # CONFIG_FIT is not set
+CONFIG_SUPPORT_RAW_INITRD=y
 CONFIG_BOOTDELAY=30
 CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_MENU_SHOW=y
Signature · 1 line
2.20.1
#1 lore raw
Quoted 5 lines · Pali Rohár

This enable booting of Debian systems which use raw initrd image (instead of uInitrd created by mkimage). This change increase size of u-boot.bin binary by just 64 bytes.

Applied to u-boot/master, thanks!

Signature · 1 line
Tom