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

2018-10-02 Thread Bin Meng
Hi Tuomas,

On Fri, Sep 28, 2018 at 6:14 AM Tuomas Tynkkynen
 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 
> > ---
> >
> >   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
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-09-27 Thread Tuomas Tynkkynen

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 
---

  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?
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-09-27 Thread Simon Glass
On 23 September 2018 at 06:42, 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 
> ---
>
>  board/emulation/qemu-riscv/Kconfig | 8 
>  1 file changed, 8 insertions(+)

Reviewed-by: Simon Glass 
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-09-23 Thread Bin Meng
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 
---

 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
-- 
2.7.4

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot