Hi Peter,
Anthony suggested to us the Idea of setting up bootloaders as devices in
order to solve this command line argument problem. I have posted a patch to
the mailing list ([RFC PATCH] arm boot: added QOM device definition) which
is my first attempt at this for arm_boot, i.e. arm_boot.c is
This patch series is basically Grant's v2 arm: add device tree support
patch (http://patchwork.ozlabs.org/patch/138883/) rearranged to use
qemu -machine options rather than a global to pass through the device
tree blob filename. This is based on a suggestion by Anthony in IRC;
I'm a bit sceptical