[fedora-arm] uboot with hyp mode support now available for the cubietruck

Hans de Goede hdegoede at redhat.com
Mon Dec 9 13:18:43 UTC 2013


Hi Richard et al,

Good news for those wanting to play with hw virt on arm, there now
is a u-boot with hyp support:

[    0.050980] CPU1: Booted secondary processor
[    0.051033] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.051181] Brought up 2 CPUs
[    0.051201] SMP: Total of 2 processors activated.
[    0.051208] CPU: All CPU(s) started in HYP mode.
[    0.051213] CPU: Virtualization extensions available.

To use this, build this uboot from source:
https://github.com/jwrdegoede/u-boot-sunxi/commits/sunxi-test

ie:

make -j4 CROSS_COMPILE=arm-linux-gnu- cubietruck_config
make -j4 CROSS_COMPILE=arm-linux-gnu-
sudo dd if=u-boot-sunxi-with-spl.bin of=/dev/mmcblk0  bs=1024 seek=8

And use it with this kernel, which removes a hack I had added
to get the arch timers to work without proper uboot support:

https://github.com/jwrdegoede/linux-sunxi/commits/sunxi-test2

I called it sunxi-test2 rather then re-using the old sunxi-test,
so that people with an older u-boot following sunxi-test don't
get bitten by needing a newer u-boot.

Enjoy & Regards,

Hans


More information about the arm mailing list