On Wed, 2011-02-16 at 11:13 +0100, Loïc Minier wrote:
On Tue, Feb 15, 2011, Bahadir Balban wrote:
We have added support for versatile express for some time. Here is our public repo in case you may want to use it as a starting point: https://github.com/bbalban/qemu.git We added support for memory layout, CTxA9 timer, interrupts, few other fixes. Please see commits for details.
Ah I wasn't aware of this tree!
There seem to be two branches; I tried master and got it to build after commenting out realview_i2c_init() and realview_i2c_info.
I didn't manage to start linux though; I could start ARM's u-boot for vexpress [1] with: arm-softmmu/qemu-system-arm -M realview-vx-a9 -kernel u-boot_realview.axf
but I did not get any output with -kernel vmlinuz-2.6.37-1003-linaro-vexpress taken from linux-image-2.6.37-1003-linaro-vexpress_2.6.37-1003.6_armel.deb [2]. I tried with -append console=ttyAMA0,115200 and console=ttyAMA0,38400n8 to no luck.
Here is a command that works for me for vanilla 2.6.35.8
qemu-system-arm -kernel arch/arm/boot/zImage -M realview-vx-a9 -cpu cortex-a9 -serial stdio -m 256
u-boot-linaro doesn't start in QEMU either.
Would you have some test kernel and instructions?
It seems PCI is working for you, which is really nice! Any issue with the tree?
BTW are these patches being sent upstream?
Thanks!
We tried sending them a while ago but did not get much feedback. Please feel free to fork it on github.