Skip to contentSkip to conversation

Support raw initrd for qemu riscv64 targets.

PATCH New Vagrant Cascadian 2 participants 4 messages Jul 15, 2019 – Sep 26, 2019 RISC-V

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Support raw initrd for qemu riscv64 targets.

This allows booting an initrd without headers generated by mkimage, which is generally needed when using distro_bootcmd with extlinux-style boot menus.

---

 configs/qemu-riscv64_defconfig       | 1 +
 configs/qemu-riscv64_smode_defconfig | 1 +
 2 files changed, 2 insertions(+)
configs/qemu-riscv64_defconfig +1 -0
index 19a5849226..c0c893a90c 100644
@@ -8,3 +8,4 @@ CONFIG_DISPLAY_CPUINFO=y
 CONFIG_DISPLAY_BOARDINFO=y
 # CONFIG_CMD_MII is not set
 CONFIG_OF_PRIOR_STAGE=y
+CONFIG_SUPPORT_RAW_INITRD=y
configs/qemu-riscv64_smode_defconfig +1 -0
index 74743a5ebe..ef7d358daa 100644
@@ -9,3 +9,4 @@ CONFIG_DISPLAY_CPUINFO=y
 CONFIG_DISPLAY_BOARDINFO=y
 # CONFIG_CMD_MII is not set
 CONFIG_OF_PRIOR_STAGE=y
+CONFIG_SUPPORT_RAW_INITRD=y
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 Support raw initrd for qemu riscv64 targets.

Haven't heard any comment on this; is there someone better to CC?

Would be really nice if it could be considered for v2019.10.

Thanks!

live well,
vagrant

Quoted 31 lines · Vagrant Cascadian

This allows booting an initrd without headers generated by mkimage, which is generally needed when using distro_bootcmd with extlinux-style boot menus.

---

 configs/qemu-riscv64_defconfig       | 1 +
 configs/qemu-riscv64_smode_defconfig | 1 +
 2 files changed, 2 insertions(+)
configs/qemu-riscv64_defconfig +1 -0
index 19a5849226..c0c893a90c 100644
@@ -8,3 +8,4 @@ CONFIG_DISPLAY_CPUINFO=y
 CONFIG_DISPLAY_BOARDINFO=y
 # CONFIG_CMD_MII is not set
 CONFIG_OF_PRIOR_STAGE=y
+CONFIG_SUPPORT_RAW_INITRD=y
configs/qemu-riscv64_smode_defconfig +1 -0
index 74743a5ebe..ef7d358daa 100644
@@ -9,3 +9,4 @@ CONFIG_DISPLAY_CPUINFO=y
 CONFIG_DISPLAY_BOARDINFO=y
 # CONFIG_CMD_MII is not set
 CONFIG_OF_PRIOR_STAGE=y
+CONFIG_SUPPORT_RAW_INITRD=y
Signature · 1 line
2.20.1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190925/4e974a28/attachment.sig>

#2 lore raw

PATCH 1/1 Support raw initrd for qemu riscv64 targets.

Hi Vagrant,

Quoted 3 lines · Vagrant Cascadian

Haven't heard any comment on this; is there someone better to CC?

Sorry I missed this.

Quoted 29 lines

Would be really nice if it could be considered for v2019.10.

Thanks!

live well,
vagrant

Quoted 21 lines · Vagrant Cascadian

This allows booting an initrd without headers generated by mkimage, which is generally needed when using distro_bootcmd with extlinux-style boot menus.

---

 configs/qemu-riscv64_defconfig       | 1 +
 configs/qemu-riscv64_smode_defconfig | 1 +
 2 files changed, 2 insertions(+)
configs/qemu-riscv64_defconfig +1 -0
index 19a5849226..c0c893a90c 100644
@@ -8,3 +8,4 @@ CONFIG_DISPLAY_CPUINFO=y
 CONFIG_DISPLAY_BOARDINFO=y
 # CONFIG_CMD_MII is not set
 CONFIG_OF_PRIOR_STAGE=y
+CONFIG_SUPPORT_RAW_INITRD=y
configs/qemu-riscv64_smode_defconfig +0 -0
Quoted 8 lines

configs/qemu-riscv64_smode_defconfig CONFIG_DISPLAY_CPUINFO=y · line 12

Quoted 8 lines

index 74743a5ebe..ef7d358daa 100644

configs/qemu-riscv64_smode_defconfig +1 -0
@@ -9,3 +9,4 @@ CONFIG_DISPLAY_CPUINFO=y
 CONFIG_DISPLAY_BOARDINFO=y
 # CONFIG_CMD_MII is not set
 CONFIG_OF_PRIOR_STAGE=y
+CONFIG_SUPPORT_RAW_INITRD=y

Isn't this already selected by DISTRO_DEFAULTS?

Regards,
Bin

#3 lore raw

PATCH 1/1 Support raw initrd for qemu riscv64 targets.

Quoted 25 lines · Bin Meng
Quoted 24 lines · Vagrant Cascadian
Quoted 23 lines · Vagrant Cascadian

This allows booting an initrd without headers generated by mkimage, which is generally needed when using distro_bootcmd with extlinux-style boot menus.

---

 configs/qemu-riscv64_defconfig       | 1 +
 configs/qemu-riscv64_smode_defconfig | 1 +
 2 files changed, 2 insertions(+)
configs/qemu-riscv64_defconfig +1 -0
index 19a5849226..c0c893a90c 100644
@@ -8,3 +8,4 @@ CONFIG_DISPLAY_CPUINFO=y
 CONFIG_DISPLAY_BOARDINFO=y
 # CONFIG_CMD_MII is not set
 CONFIG_OF_PRIOR_STAGE=y
+CONFIG_SUPPORT_RAW_INITRD=y
configs/qemu-riscv64_smode_defconfig +0 -1
index 74743a5ebe..ef7d358daa 100644
--- a/configs/qemu-riscv64_smode_defconfig
Quoted 8 lines
Quoted 6 lines

configs/qemu-riscv64_smode_defconfig CONFIG_DISPLAY_CPUINFO=y · line 12

Quoted 6 lines

+++ b/configs/qemu-riscv64_smode_defconfig

configs/qemu-riscv64_smode_defconfig +1 -0
@@ -9,3 +9,4 @@ CONFIG_DISPLAY_CPUINFO=y
 CONFIG_DISPLAY_BOARDINFO=y
 # CONFIG_CMD_MII is not set
 CONFIG_OF_PRIOR_STAGE=y
+CONFIG_SUPPORT_RAW_INITRD=y

Isn't this already selected by DISTRO_DEFAULTS?

You're right; it must be leftovers on my end from very old patch series.

No need to add this patch, sorry for the noise!

live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190925/97a4700b/attachment.sig>