[U-Boot] [PATCH] 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.
Signed-off-by: Vagrant Cascadian vagrant@debian.org ---
configs/qemu-riscv64_defconfig | 1 + configs/qemu-riscv64_smode_defconfig | 1 + 2 files changed, 2 insertions(+)
diff --git a/configs/qemu-riscv64_defconfig b/configs/qemu-riscv64_defconfig index 19a5849226..c0c893a90c 100644 --- a/configs/qemu-riscv64_defconfig +++ b/configs/qemu-riscv64_defconfig @@ -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 diff --git a/configs/qemu-riscv64_smode_defconfig b/configs/qemu-riscv64_smode_defconfig index 74743a5ebe..ef7d358daa 100644 --- a/configs/qemu-riscv64_smode_defconfig +++ b/configs/qemu-riscv64_smode_defconfig @@ -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

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
On 2019-07-15, Vagrant Cascadian wrote:
This allows booting an initrd without headers generated by mkimage, which is generally needed when using distro_bootcmd with extlinux-style boot menus.
Signed-off-by: Vagrant Cascadian vagrant@debian.org
configs/qemu-riscv64_defconfig | 1 + configs/qemu-riscv64_smode_defconfig | 1 + 2 files changed, 2 insertions(+)
diff --git a/configs/qemu-riscv64_defconfig b/configs/qemu-riscv64_defconfig index 19a5849226..c0c893a90c 100644 --- a/configs/qemu-riscv64_defconfig +++ b/configs/qemu-riscv64_defconfig @@ -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 diff --git a/configs/qemu-riscv64_smode_defconfig b/configs/qemu-riscv64_smode_defconfig index 74743a5ebe..ef7d358daa 100644 --- a/configs/qemu-riscv64_smode_defconfig +++ b/configs/qemu-riscv64_smode_defconfig @@ -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
2.20.1

Hi Vagrant,
On Thu, Sep 26, 2019 at 8:57 AM Vagrant Cascadian vagrant@debian.org wrote:
Haven't heard any comment on this; is there someone better to CC?
Sorry I missed this.
Would be really nice if it could be considered for v2019.10.
Thanks!
live well, vagrant
On 2019-07-15, Vagrant Cascadian wrote:
This allows booting an initrd without headers generated by mkimage, which is generally needed when using distro_bootcmd with extlinux-style boot menus.
Signed-off-by: Vagrant Cascadian vagrant@debian.org
configs/qemu-riscv64_defconfig | 1 + configs/qemu-riscv64_smode_defconfig | 1 + 2 files changed, 2 insertions(+)
diff --git a/configs/qemu-riscv64_defconfig b/configs/qemu-riscv64_defconfig index 19a5849226..c0c893a90c 100644 --- a/configs/qemu-riscv64_defconfig +++ b/configs/qemu-riscv64_defconfig @@ -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 diff --git a/configs/qemu-riscv64_smode_defconfig b/configs/qemu-riscv64_smode_defconfig index 74743a5ebe..ef7d358daa 100644 --- a/configs/qemu-riscv64_smode_defconfig +++ b/configs/qemu-riscv64_smode_defconfig @@ -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

On 2019-09-26, Bin Meng wrote:
On Thu, Sep 26, 2019 at 8:57 AM Vagrant Cascadian vagrant@debian.org wrote:
On 2019-07-15, Vagrant Cascadian wrote:
This allows booting an initrd without headers generated by mkimage, which is generally needed when using distro_bootcmd with extlinux-style boot menus.
Signed-off-by: Vagrant Cascadian vagrant@debian.org
configs/qemu-riscv64_defconfig | 1 + configs/qemu-riscv64_smode_defconfig | 1 + 2 files changed, 2 insertions(+)
diff --git a/configs/qemu-riscv64_defconfig b/configs/qemu-riscv64_defconfig index 19a5849226..c0c893a90c 100644 --- a/configs/qemu-riscv64_defconfig +++ b/configs/qemu-riscv64_defconfig @@ -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 diff --git a/configs/qemu-riscv64_smode_defconfig b/configs/qemu-riscv64_smode_defconfig index 74743a5ebe..ef7d358daa 100644 --- a/configs/qemu-riscv64_smode_defconfig +++ b/configs/qemu-riscv64_smode_defconfig @@ -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
participants (2)
-
Bin Meng
-
Vagrant Cascadian