[U-Boot] [PATCH 18/27] riscv: qemu: Include some useful commands

Bin Meng bmeng.cn at gmail.com
Tue Oct 2 16:03:32 UTC 2018


Hi Tuomas,

On Fri, Sep 28, 2018 at 6:14 AM Tuomas Tynkkynen
<tuomas.tynkkynen at iki.fi> wrote:
>
> Hi Bin,
>
> On 09/23/2018 04:42 PM, Bin Meng wrote:
> > With the virtio net and blk drivers, we can do more stuff with some
> > useful commands. Imply those in the board Kconfig.
> >
> > Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> > ---
> >
> >   board/emulation/qemu-riscv/Kconfig | 8 ++++++++
> >   1 file changed, 8 insertions(+)
> >
> > diff --git a/board/emulation/qemu-riscv/Kconfig b/board/emulation/qemu-riscv/Kconfig
> > index 5ae56da..37a80db 100644
> > --- a/board/emulation/qemu-riscv/Kconfig
> > +++ b/board/emulation/qemu-riscv/Kconfig
> > @@ -21,5 +21,13 @@ config BOARD_SPECIFIC_OPTIONS # dummy
> >       imply VIRTIO_MMIO
> >       imply VIRTIO_NET
> >       imply VIRTIO_BLK
> > +     imply CMD_PING
> > +     imply CMD_FS_GENERIC
> > +     imply DOS_PARTITION
> > +     imply EFI_PARTITION
> > +     imply ISO_PARTITION
> > +     imply CMD_EXT2
> > +     imply CMD_EXT4
> > +     imply CMD_FAT
> >
> >   endif
> >
>
> How about using DISTRO_DEFAULTS?

At present U-Boot on RISC-V cannot boot Linux directly, so I am a
little bit concerned turning on DISTRO_DEFAULTS may confuse people. We
may revisit this when directly Linux booting is supported.

Regards,
Bin


More information about the U-Boot mailing list