]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
runqemu: remove setting of mem on kernel command line for certain systems
authorJon Mason <jon.mason@arm.com>
Wed, 1 Oct 2025 17:57:01 +0000 (13:57 -0400)
committerMathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Fri, 3 Oct 2025 05:50:09 +0000 (07:50 +0200)
commitb9581d677d4a5d21635038e3abaa3cc0fc31a2ea
tree384cd2eae044f66e0f75f35a5ad763334e374d1b
parent21442773d8041cdae3676eac4a9a987eff0ab4b3
runqemu: remove setting of mem on kernel command line for certain systems

Some emulated hardware will not boot if mem is set on the kernel command
line (all of the Raspberry Pi machines seemed to fail with this set,
possibly many others).  Also, it is not necessary if the device tree
file is present, as that _should_ have the memory size specified in it.
Add a check for QB_DTB and don't set mem in the kernel command line if
present.

Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
scripts/runqemu