Skip to contentSkip to conversation

AM335x, early printk

DISCUSSION Sebastian Andrzej Siewior 4 participants 6 messages Aug 19, 2013 – Aug 20, 2013

lore
Share & tools
lore
#0 lore raw

Hi,

I activated:
[*] Kernel low-level debugging functions
Kernel low-level debugging port (Kernel low-level debugging
messages via OMAP2PLUS UART)
Low-level debug console UART (AM33XX UART1)
[*] Early printk

and booted my am335x-evm.
I haven't seen any "early" output in the decompressor or during the kernel boot. I believe that all I saw is just regular ttyO0 output. I saw also:
|44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88) is a OMAP UART0 |console [ttyO0] enabled
and I would also except the bootconsole (if any) to be deactivated here.

What am I missing?

Sebastian

#1 lore raw

Hi!

You need to add 'earlyprintk' in the kernel command line, given (I suppose) by U-Boot.

I hope this helps!

Jean

Quoted 24 lines · Sebastian Andrzej Siewior

Hi,

I activated:
[*] Kernel low-level debugging functions
Kernel low-level debugging port (Kernel low-level debugging
messages via OMAP2PLUS UART)
Low-level debug console UART (AM33XX UART1)
[*] Early printk

and booted my am335x-evm.
I haven't seen any "early" output in the decompressor or during the kernel boot. I believe that all I saw is just regular ttyO0 output. I saw also:
|44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88) is a OMAP UART0 |console [ttyO0] enabled
and I would also except the bootconsole (if any) to be deactivated here.

What am I missing?

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 1 line · Jean Pihet

Hi!

Hi Jean,

Quoted 2 lines

You need to add 'earlyprintk' in the kernel command line, given (I suppose) by U-Boot.

Ah, good hint.

Quoted 2 lines

I hope this helps!

Yes. I do not see the decompress messages but I have an early console later on. Unfortunately it stops now right at the serial core:

|pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568 |Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled

Quoted 2 lines

Jean

Sebastian

#3 lore raw

Hi Sebastian,

Quoted 5 lines · Sebastian Andrzej Siewior

Yes. I do not see the decompress messages but I have an early console later on. Unfortunately it stops now right at the serial core:

|pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568 |Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled

I vaguely remember facing a similar issue on it's yet to be born sibling while trying to woke it up in the womb, see if placing dtb at a different location helps (probably so that images won't get corrupted)

Regards
Afzal

#4 lore raw
In reply to Sebastian Andrzej Siewior

Hi Sebastian,

Quoted 11 lines · Sebastian Andrzej Siewior
Quoted 1 line · Jean Pihet

Hi!

Hi Jean,

Quoted 2 lines

You need to add 'earlyprintk' in the kernel command line, given (I suppose) by U-Boot.

Ah, good hint.

Quoted 1 line
Quoted 7 lines
Quoted 1 line

I hope this helps!

Yes. I do not see the decompress messages but I have an early console later on. Unfortunately it stops now right at the serial core:

|pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568 |Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled

I guess you are missing the following series from Rajendra.

http://www.mail-archive.com/[email protected]/msg92515.html

Thanks and regards,
Lokesh

Quoted 10 lines
Quoted 3 lines

Jean

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#5 lore raw

Hi Sebastian,

Quoted 9 lines · Lokesh Vutla
Quoted 5 lines

Yes. I do not see the decompress messages but I have an early console later on. Unfortunately it stops now right at the serial core:

|pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568 |Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled

I guess you are missing the following series from Rajendra.

http://www.mail-archive.com/[email protected]/msg92515.html

I think Lokesh's suggestion is more likely to help your case than mine.

Regards
Afzal