All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Huth <1797262@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: [Bug 1797262] Re: qemu arm no longer able to boot RPI Kernels
Date: Thu, 05 Nov 2020 09:00:33 -0000	[thread overview]
Message-ID: <160456683381.18017.2025951405454136527.launchpad@soybean.canonical.com> (raw)
In-Reply-To: 153921596093.13046.16485884973780639345.malonedeb@wampee.canonical.com

** Changed in: qemu
       Status: Confirmed => Fix Committed

-- 
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:
  Fix Committed

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


  parent reply	other threads:[~2020-11-05  9:12 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 ` [Qemu-devel] [Bug 1797262] " Alex Bennée
2018-10-19 12:26   ` 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 [this message]
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=160456683381.18017.2025951405454136527.launchpad@soybean.canonical.com \
    --to=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.