diff mbox series

[U-Boot] Support raw initrd for qemu riscv64 targets.

Message ID 20190715172952.3860-1-vagrant@debian.org
State Not Applicable
Delegated to: Andes
Headers show
Series [U-Boot] Support raw initrd for qemu riscv64 targets. | expand

Commit Message

Vagrant Cascadian July 15, 2019, 5:29 p.m. UTC
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(+)

Comments

Vagrant Cascadian Sept. 26, 2019, 12:57 a.m. UTC | #1
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
Bin Meng Sept. 26, 2019, 2:18 a.m. UTC | #2
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
Vagrant Cascadian Sept. 26, 2019, 2:43 a.m. UTC | #3
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
diff mbox series

Patch

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