On 24 May 2012 05:45, Michael Hope michael.hope@linaro.org wrote:
Hi Peter, Riku. I've written up a page covering the KVM integration work done this quarter at: https://wiki.linaro.org/WorkingGroups/ToolChain/Outputs/KVMIntegration
Could you review it please, including the instructions at: https://wiki.linaro.org/WorkingGroups/ToolChain/Outputs/KVMIntegration/Quick...
The KVMIntegration page looks ok, but the Quickstart page could be even shorter and do a few changes:
1) the section about installing semihosting bootwrapper is unneeded - the kvm-boot-wrapper comes with hwpack already, so when you create the fast model image, there will be a img.axf in the directory, wich is the kvm-bootwrapper. Then instead of:
/path/to/RTSM_A15x124_VE/bin/RTSM_VE_Cortex-A15x1 \ /usr/share/kvm-boot-wrapper/linux-system-semi.axf \ ...
/path/to/RTSM_A15x124_VE/bin/RTSM_VE_Cortex-A15x1 \ img.axf \
2) apt-get install python-software-properties openssh-server
If these are important, I can include in the images by default. I know apt-get install in the fast model is rather slow.
3) add-apt-repository ppa:linaro-maintainers/staging-overlay
This is unnecessary, staging-overlay is already in the sources.list.d in the images. just aot-get update
4) BUG: faults as there's no AXF file
This is fixed in the pending merge request:
https://code.launchpad.net/~riku-voipio/linaro-image-tools/linaro-image-tool...
5) Run linaro-media-create --image-file=guest.img --image-size=300M
perhaps you could suggest making a bigger guest.img (500M) and then convert it to a sparse qcow2 file:
qemu-img convert -f raw -O qcow2 guest.img guest.qcow2
It overlaps with the howtos that you both have but is supposed to be both short and a snapshot in time.
My howto can be deprecated as soon as there is a more official guide.
If it looks good then I'll use this to closeout this quarter's KVM card.