Skip to content

gitlab Qemu runtime testing

Peter Korsgaard buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest0 of 11 patches 0 repliesNew

Patches in v3 No applies recorded yet

None of the 11 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [Buildroot] [PATCH v3 for-next 00/11] gitlab Qemu runtime testing
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Arnout" == Arnout Vandecappelle <[email protected]> writes:

Hi,

Quoted 15 lines
Quoted 5 lines

I discussed about this series with Jeremy and he suggest to add the Qemu command line into the Qemu's defconfig file (add a new Kconfig option). With that, we can even add a new Makefile target "make run-qemu" to start Qemu when the Qemu command line is set in the defconfig (this would avoid adding several launch.sh script).

So something like

config BR2_PACKAGE_HOST_QEMU_LAUNCH_ARGS
string "qemu launch command"
help
Command to launch qemu. If this is defined, 'make run-qemu' can be used to build everything and launch qemu.

Quoted 7 lines

HOST_QEMU_LAUNCH_ARGS = $(call qstrip,$(BR2_PACKAGE_HOST_QEMU_LAUNCH_ARGS)) ifneq ($(HOST_QEMU_LAUNCH_ARGS),)
run-qemu: world

	$(Q)$(HOST_QEMU) <kernel args> <rootfs args> $(HOST_QEMU_LAUNCH_ARGS)

endif

Looks like a good idea indeed!

Cute. The kernel arguments (-kernel path/to/kernel/image) could indeed probably be standardized, but we do some to have quite some variation in the rootfs arguments.

But OK, we could start with just including the rootfs argument in _LAUNCH_ARGS.

Signature · 1 line
Bye, Peter Korsgaard