[Buildroot] [PATCH] qemu: Update defconfigs to Linux 4.19.16

Thomas Petazzoni thomas.petazzoni at bootlin.com
Wed Feb 13 07:46:07 UTC 2019


Hello,

On Tue, 12 Feb 2019 23:21:48 +0100
Romain Naour <romain.naour at smile.fr> wrote:

> > Actually, maybe it would make sense for those qemu defconfigs to be
> > runtime tested as part of the .gitlab-ci.yml that is in Buildroot
> > itself ?  
> 
> Actually we discussed about that with Gerome. Maybe we needs something like in
> toolchain-builder project that retrieve the Qemu command line from the
> readme.txt file present in each board/qemu/<target>/readme.txt.

It already works like this. In the build.sh script:

    # Extract Qemu command from readme.txt
    test_qemu_cmd=$(grep qemu-system ${buildroot_dir}/board/qemu/${test_board_dir}/readme.txt)

and then further tweaks to build the Qemu command line.

> > with some additional commands to see if it is a qemu defconfig, and if
> > it is, run it under Qemu.  
> 
> Maybe we should use host-qemu build by Buildroot instead of qemu from the host
> distribution. Some Qemu configs (ex aarch64) requires a recent qemu version.

Yes, we could use host-qemu if needed.

> Gerome, tested the network device emulation by trying to login to the target
> using ssh. But we are not sure what was the network test used by [1] (ping, ssh,
> iperf etc...).

I'm not sure it matters a lot: just test if network support is working,
ping or ssh is enough. I believe in the cases where network was not
working, it was simply not working at all.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list