From: Michael Opdenacker <michael-lists@free-electrons.com>
To: qemu-devel mailing list <qemu-devel@nongnu.org>
Subject: [Qemu-devel] Running u-boot on qemu's emulation of arm integratorcp926?
Date: Fri, 27 Oct 2006 17:03:54 +0200 [thread overview]
Message-ID: <45421FDA.4070003@free-electrons.com> (raw)
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=10000000 R01=00000008 R02=00000013 R03=00000000
R04=00000000 R05=00000000 R06=00000000 R07=00000000
R08=00000000 R09=00000000 R10=00000000 R11=00000000
R12=00010064 R13=00000000 R14=000100f4 R15=000103a0
PSR=800001d3 N--- A svc32 bff14784
s00=00000000(0.000000) s01=00000000(0.000000) d00=0000000000000000(0.000000)
s02=00000000(0.000000) s03=00000000(0.000000) d01=0000000000000000(0.000000)
s04=00000000(0.000000) s05=00000000(0.000000) d02=0000000000000000(0.000000)
s06=00000000(0.000000) s07=00000000(0.000000) d03=0000000000000000(0.000000)
s08=00000000(0.000000) s09=00000000(0.000000) d04=0000000000000000(0.000000)
s10=00000000(0.000000) s11=00000000(0.000000) d05=0000000000000000(0.000000)
s12=00000000(0.000000) s13=00000000(0.000000) d06=0000000000000000(0.000000)
s14=00000000(0.000000) s15=00000000(0.000000) d07=0000000000000000(0.000000)
s16=00000000(0.000000) s17=00000000(0.000000) d08=0000000000000000(0.000000)
s18=00000000(0.000000) s19=00000000(0.000000) d09=0000000000000000(0.000000)
s20=00000000(0.000000) s21=00000000(0.000000) d10=0000000000000000(0.000000)
s22=00000000(0.000000) s23=00000000(0.000000) d11=0000000000000000(0.000000)
s24=00000000(0.000000) s25=00000000(0.000000) d12=0000000000000000(0.000000)
s26=00000000(0.000000) s27=00000000(0.000000) d13=0000000000000000(0.000000)
s28=00000000(0.000000) s29=00000000(0.000000) d14=0000000000000000(0.000000)
s30=00000000(0.000000) s31=00000000(0.000000) d15=0000000000000000(0.000000)
FPSCR: 00000000
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!)
next reply other threads:[~2006-10-27 15:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-27 15:03 Michael Opdenacker [this message]
2006-10-27 15:30 ` [Qemu-devel] Running u-boot on qemu's emulation of arm integratorcp926? andrzej zaborowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45421FDA.4070003@free-electrons.com \
--to=michael-lists@free-electrons.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).