I've had a go with running the QEMU release candidate. Short story is that it boots to a prompt against the 11.05 alpha2 release so I'm happy.
It was a messy road so I've written up my train of though here: https://wiki.linaro.org/MichaelHope/Sandbox/QEMU
Note that if you follow the instructions on: https://wiki.linaro.org/Releases/GettingInstallingTesting
and turn on a swap file then it halts during boot.
-- Michael
On Friday, February 04, 2011 2:12:38 am Michael Hope wrote:
I've had a go with running the QEMU release candidate. Short story is that it boots to a prompt against the 11.05 alpha2 release so I'm happy.
It was a messy road so I've written up my train of though here: https://wiki.linaro.org/MichaelHope/Sandbox/QEMU
Hi Michael,
Thank you for sharing this! I noticed that you're using the offset and sizelimit options to mount the two partitions. If found the kpartx tool quite convenient for such tasks. It reads the partition table from the image and creates device maps:
# prerequisites sudo apt-get install kpartx
# list the partitions sudo kpartx -l mmc-beagle.img
# map the partions to /dev/mapper/loop0p* sudo kpartx -a mmc-beagle.img
# mount the partions sudo mount /dev/mapper/loop0p1 /mnt/tmp1 -o loop sudo mount /dev/mapper/loop0p2 /mnt/tmp2 -o loop
# unmount and unmap sudo umount /mnt/tmp1 /mnt/tmp2 sudo kpartx -d /dev/mapper/loop0p*
Regards Ken
On 4 February 2011 01:12, Michael Hope michael.hope@linaro.org wrote:
I've had a go with running the QEMU release candidate. Short story is that it boots to a prompt against the 11.05 alpha2 release so I'm happy.
Quick remark: "# Has no serial console or keyboard "
...this is because you haven't told qemu "-serial stdio". That will get you a serial console, although unless the upheaval related to the serial ports changing from ttyS* to ttyO* has finally subsided you might find that recent snapshots+hwpacks still don't give you a root prompt on that serial console.
I'll have a look at the latest snapshot and the swapfile issue.
-- PMM
On Sat, Feb 5, 2011 at 1:07 AM, Peter Maydell peter.maydell@linaro.org wrote:
On 4 February 2011 01:12, Michael Hope michael.hope@linaro.org wrote:
I've had a go with running the QEMU release candidate. Short story is that it boots to a prompt against the 11.05 alpha2 release so I'm happy.
Quick remark: "# Has no serial console or keyboard "
...this is because you haven't told qemu "-serial stdio". That will get you a serial console, although unless the upheaval related to the serial ports changing from ttyS* to ttyO* has finally subsided you might find that recent snapshots+hwpacks still don't give you a root prompt on that serial console.
Ctrl-3 shows the serial console which, as you say, has no prompt on it. I normally run with -serial stdio but turned it off due to funny things with the swap. My comment was to show that I hadn't tested any further as I had no way of interacting with the overall QEMU+Linaro system.
-- Michael
linaro-toolchain@lists.linaro.org