Hello,
My plans are to use qemu's arm system emulation for u-boot demonstration
and education purposes:
* In my embeded Linux training sessions, to practice with U-boot
without having to carry real boards, with their cables and power
supplies (which would definitely make customs officers frown and
think I'm importing commercial or even sensitive devices).
* For students and community members, to get familiar with U-boot
without having to get real hardware.
* To create qemu/U-boot demos, showing the capabilities of both tools.
Has anyone already experimented with this? I haven't found any useful
detail on the net yet.
As I have no U-boot development knowledge yet, I started in a naive,
optimistic way:
* Got U-boot 1.1.5 sources
* Configured U-boot for the arm integratorcp926 board:
make make cp926ejs_config
* Compiled U-boot with a gcc 3.4.x cross compiling toolchain for arm:
export PATH=/usr/local/uclibc-0.9.28-3/arm/bin:$PATH
make
* Ran qemu:
qemu-system-arm -kernel ~/tmp/tmp/u-boot-1.1.5/u-boot.bin -nographic
(qemu) qemu: fatal: Board reset
R00=1000 R01=0008 R02=0013 R03=
R04= R05= R06= R07=
R08= R09= R10= R11=
R12=00010064 R13= R14=000100f4 R15=000103a0
PSR=81d3 N--- A svc32 bff14784
s00=(0.00) s01=(0.00) d00=(0.00)
s02=(0.00) s03=(0.00) d01=(0.00)
s04=(0.00) s05=(0.00) d02=(0.00)
s06=(0.00) s07=(0.00) d03=(0.00)
s08=(0.00) s09=(0.00) d04=(0.00)
s10=(0.00) s11=(0.00) d05=(0.00)
s12=(0.00) s13=(0.00) d06=(0.00)
s14=(0.00) s15=(0.00) d07=(0.00)
s16=(0.00) s17=(0.00) d08=(0.00)
s18=(0.00) s19=(0.00) d09=(0.00)
s20=(0.00) s21=(0.00) d10=(0.00)
s22=(0.00) s23=(0.00) d11=(0.00)
s24=(0.00) s25=(0.00) d12=(0.00)
s26=(0.00) s27=(0.00) d13=(0.00)
s28=(0.00) s29=(0.00) d14=(0.00)
s30=(0.00) s31=(0.00) d15=(0.00)
FPSCR:
Aborted
Now, I know that as usual, I need time and patience to get more
familiar with the emulated board and with U-boot requirements.
However, if any of you has suggestions for doing that or experience to
share, your are most welcome!
I will keep you posted in the next days and weeks.
Cheers,
Michael.
--
Michael Opdenacker, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training
(More than 1000 pages!)
___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel