← Back to team overview

kernel-packages team mailing list archive

[Bug 1248233] Re: [saucy][armhf] No early printk because there's no defined device tree binding for earlyprintk UART

 

due to the nature of the issue encountered log files that will aid in
diagnosing the problem might be missing.

** Changed in: linux (Ubuntu)
       Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1248233

Title:
  [saucy][armhf] No early printk because there's no defined device tree
  binding for earlyprintk UART

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  SRU Justification:

  Impact: earlyprintk doesn't work in mach-virt (qemu guest target for
  kvm on arm) because at boot time, the clock necessary to make pl011
  serial port running is not added via device tree (and thus the serial
  console is not probed) - also see https://lists.gnu.org/archive/html
  /qemu-devel/2013-10/msg02427.html.

  Fix: apply the attached patches and recompile a kernel.

  Test case: try booting a patched (and an unpatched kernel) in kvm
  guest passing earlyprintk and NO console, and see if it emits any
  output.

  --

  There is no earlyprintk via the PL011 because there's no defined
  device tree binding for earlyprintk UART to get the PL011 to work
  you'll need to tweak the kernel a bit. kernel doesn't ever add the
  clock to its list, and then it refuses to probe for the PL011. This is
  a temporary fix, ideally the call should be done in some generic
  location rather than in every machine's init function.) The
  alternative would be for the kernel to be fixed to follow its own
  device tree binding documentation and not require clocks/clock-names
  properties on the pl011 node.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1248233/+subscriptions


References