Thread (26 messages) 26 messages, 4 authors, 2020-02-16

[Buildroot] [PATCH v4 5/9] board/qemu: add defconfig file name as tag before the qemu command line

From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Date: 2020-02-10 14:40:01

Hello,

On Mon, 10 Feb 2020 14:37:27 +0100
Romain Naour [off-list ref] wrote:
quoted
qemu-system-aarch64 -M virt -cpu cortex-a53 -nographic -smp 1 -kernel output/images/Image -append "rootwait root=/dev/vda console=ttyAMA0" -netdev user,id=eth0 -device virtio-net-device,netdev=eth0 -drive file=output/images/rootfs.ext4,if=none,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 # qemu_aarch64_virt_defconfig

This way, the information is still encoded on the same line, but it's a
comment, so if a newcomer copy/pastes that command line, it will really
work.  
Ok, I see your point.

I did this way since the qemu cmd line can be on several lines (see
board/qemu/arm-vexpress-tz/readme.txt).

Do we require that the qemu cmd line must be on one line ?
Is it really because it is on multiple lines that you need this marker?
Not because some readme.txt document several different defconfigs, and
you need to know which qemu command line corresponds to which defconfig
?

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help