aarch64: earlyprintk not properly enabled

Bug #1125250 reported by Brian Foley (ARM)
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro CI
Fix Released
Wishlist
Unassigned
Linaro OpenEmbedded
Fix Released
Wishlist
Unassigned

Bug Description

On the arm64 port, if you don't provide name and address parameters to the earlyprintk command line option, it doesn't try to probe for a UART and doesn't give you an early console.

The vexpress and foundation model kernel images have the default command line 'console=ttyAMA0 root=XXX earlyprintk consolelog=9 rw'. For early console output to display, this should be changed to 'console=ttyAMA0 root=XXX earlyprintk=pl011,0x1c090000 consolelog=9 rw'.

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

I booted linux-linaro 3.9-rc2 with "earlyprintk=pl011,0x1c090000" and did not noticed any difference.

Revision history for this message
Fathi Boudra (fboudra) wrote :

Brian, any comments? Otherwise, we'll close the bug.

Changed in linaro-oe:
assignee: nobody → Marcin Juszkiewicz (hrw)
milestone: none → 13.04
Revision history for this message
Brian Foley (ARM) (brian-foley-arm) wrote :

Hi Marcin,

it's mostly only noticable if you're trying to debug or measure something early in the boot process after the kernel has started printk-ing messages, but before the uarts listed in the device tree have been initialised.

It caused me problems when I was trying to debug a regression with the generic timers (in the models) that was causing the secondary core bringup to fail and to fail to timeout. Without the earlyprintk, nothing was ever printed to the console.

It would be similarly useful when trying to boot linux on an extremely slow system such as RTL simulation, emulation, or FPGA.

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

OpenEmbedded kernels will use this.

Will it be used for kernels built by CI? No idea.

Changed in linaro-oe:
status: New → Fix Released
Marcin Juszkiewicz (hrw)
Changed in linaro-oe:
importance: Undecided → Wishlist
Fathi Boudra (fboudra)
Changed in linaro-ci:
milestone: none → 2013.04
Revision history for this message
Fathi Boudra (fboudra) wrote :

Set to fix-commited. It isn't fix-released until the fix reached official images published on releases.linaro.org.

Changed in linaro-oe:
status: Fix Released → Fix Committed
Changed in linaro-ci:
assignee: nobody → Marcin Juszkiewicz (hrw)
importance: Undecided → Wishlist
Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

Fathi: where your CI build finds information about kernel cmdline?

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :
Changed in linaro-ci:
status: New → Fix Committed
Fathi Boudra (fboudra)
Changed in linaro-ci:
status: Fix Committed → Fix Released
Changed in linaro-oe:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.