From: "Alex Bennée" <alex.bennee@linaro.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [Bug 1797262] Re: qemu arm no longer able to boot RPI Kernels
Date: Fri, 19 Oct 2018 11:59:26 -0000 [thread overview]
Message-ID: <153995036671.15384.18371512606809407583.malone@gac.canonical.com> (raw)
In-Reply-To: 153921596093.13046.16485884973780639345.malonedeb@wampee.canonical.com
Isn't this likely due to the newer kernel accessing hardware we are not
emulating properly?
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1797262
Title:
qemu arm no longer able to boot RPI Kernels
Status in QEMU:
New
Bug description:
Since RPi Kernel 1.20170427, qemu is no longer able to emulate the
Rasberry Pi, as the linux kernel is complaining about timing issues.
Old kernel output - https://pastebin.com/wvkneNNF
New kernel output - https://pastebin.com/QTwgCkV2
Note that the actual error is caused by the kernel being unable to get
the timing source for the mmc (Line 160), which causes an unable-to-
mount-root panic. There are other issues with the serial port
returning an invalid speed, which displays a divide-by-zero error,
which is PROBABLY a symptom of the same root cause.
This is simple to replicate - The last working kernel is available
here:
https://github.com/raspberrypi/firmware/tree/1.20170405/boot
Download kernel7 and the dtb, and try to boot with (for example)
qemu-system-aarch64 -M raspi2 -kernel kernel7.img -dtb
bcm2709-rpi-2-b.dtb -serial stdio -sd noobs.img -append
"root=/dev/mmcblk0p2 init=/bin/bash"
This works, and boots successfully.
However, if you replace the kernel7.img and dtb with ones taken from
https://github.com/raspberrypi/firmware/tree/1.20170427/boot it will
NOT boot because of various clock timing issues (as in the second
paste)
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1797262/+subscriptions
next prev parent reply other threads:[~2018-10-19 12:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-10 23:59 [Qemu-devel] [Bug 1797262] [NEW] qemu arm no longer able to boot RPI Kernels Rob Thomas
2018-10-19 11:59 ` Alex Bennée [this message]
2018-10-19 12:26 ` [Qemu-devel] [Bug 1797262] " Peter Maydell
2019-05-01 17:24 ` Philippe Mathieu-Daudé
2019-07-08 16:48 ` Philippe Mathieu-Daudé
2020-11-04 13:59 ` Philippe Mathieu-Daudé
2020-11-05 9:00 ` Thomas Huth
2020-12-10 9:21 ` Thomas Huth
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=153995036671.15384.18371512606809407583.malone@gac.canonical.com \
--to=alex.bennee@linaro.org \
--cc=1797262@bugs.launchpad.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.