Booting n8x0 on mainline without UART
Hi all,
I'm trying to boot up the mainline kernel on an n800 device. I don't have a functional UART up and running - so I cannot see any console messages.
Does anyone have instructions or pointers to any patches that may be needed to get the mainline linux kernel booting to the UI on this platform?
Alternatively, is there a way to direct the boot logs to the LCD instead of the UART/ttyMTD?
Thanks in advance,
Anand
Quoted 5 lines · On Tue, 22 Feb 2011 10:41:16 +0530 Anand Gadiyar <[email protected]> wrote:
Hi all,
I'm trying to boot up the mainline kernel on an n800 device. I don't have a functional UART up and running - so I cannot see any console messages.
FYI, DIY console:
http://bu3sch.de/joomla/index.php/nokia-n810-serial-console
Quoted 4 lines
Does anyone have instructions or pointers to any patches that may be needed to get the mainline linux kernel booting to the UI on this platform?
Retu watchdog driver is needed since otherwise the retu will kick after 30 s or so. Those cbus/retu drivers are not in mainline (yet) but hopefully they will thanks to Felipe Balbi.
Quoted 3 lines
Alternatively, is there a way to direct the boot logs to the LCD instead of the UART/ttyMTD?
It used to work but I think fb was broken a few months ago and I haven't checked is working now. Unfortunately I don't have my N810 nearby so cannot do quick test now.
Signature · 1 line
Jarkko
Quoted 2 lines · Anand Gadiyar
I'm trying to boot up the mainline kernel on an n800 device. I don't have a functional UART up and running - so I cannot see any console messages.
I don't know about the n800, but for the n810 there are quite some patches needed to get it working correctly.
https://dev.openwrt.org/browser/trunk/target/linux/omap24xx/patches-2.6.37
Not all of those patches are strictly required for basic bootup, though.
Signature · 1 line
Greetings Michael.
Quoted 10 lines · Michael Büsch
Quoted 2 lines · Anand Gadiyar
I'm trying to boot up the mainline kernel on an n800 device. I don't have a functional UART up and running - so I cannot see any console messages.
I don't know about the n800, but for the n810 there are quite some patches needed to get it working correctly.
https://dev.openwrt.org/browser/trunk/target/linux/omap24xx/patches-2.6.37
Not all of those patches are strictly required for basic bootup, though.
Care to put together a series of patches that could be integrated to mainline kernel for 2.6.39?
Tony
--
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
Quoted 8 lines · Tony Lindgren
Quoted 7 lines · Michael Büsch
Quoted 2 lines · Anand Gadiyar
I'm trying to boot up the mainline kernel on an n800 device. I don't have a functional UART up and running - so I cannot see any console messages.
I don't know about the n800, but for the n810 there are quite some patches needed to get it working correctly.
Quoted 6 lines
Quoted 3 lines
https://dev.openwrt.org/browser/trunk/target/linux/omap24xx/patches-2.6.37
Not all of those patches are strictly required for basic bootup, though.
Care to put together a series of patches that could be integrated to mainline kernel for 2.6.39?
As I just said in the other thread: The patchset is not ready for inclusion. The omap tree CBUS code is more advanced, in fact.
Signature · 6 lines
Greetings Michael. -- 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
Quoted 9 lines
I'm trying to boot up the mainline kernel on an n800 device. I don't have a functional UART up and running - so I cannot see any console messages.
Does anyone have instructions or pointers to any patches that may be needed to get the mainline linux kernel booting to the UI on this platform?
Alternatively, is there a way to direct the boot logs to the LCD instead of the UART/ttyMTD?
You may run your kernel under gdb in qemu like
qemu-system-arm -M n810 -kernel linux-omap-2.6/arch/arm/boot/zImage -s
load symbols from your vmlinux with gdb command
symbol-file linux-omap-2.6/vmlinux
and at certain point break into gdb by ^C and dump system log buffer with gdb command
dump memory kmsg.log log_buf log_buf+100000
Signature · 1 line
Max