← 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

 

This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
saucy' to 'verification-done-saucy'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-saucy

-- 
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