All of lore.kernel.org
 help / color / mirror / Atom feed
* Booting n8x0 on mainline without UART
@ 2011-02-22  5:11 Anand Gadiyar
  2011-02-22  6:41 ` Jarkko Nikula
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Anand Gadiyar @ 2011-02-22  5:11 UTC (permalink / raw)
  To: linux-omap

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Booting n8x0 on mainline without UART
  2011-02-22  5:11 Booting n8x0 on mainline without UART Anand Gadiyar
@ 2011-02-22  6:41 ` Jarkko Nikula
  2011-02-22 10:35 ` Michael Büsch
  2011-02-22 11:00 ` Max Filippov
  2 siblings, 0 replies; 6+ messages in thread
From: Jarkko Nikula @ 2011-02-22  6:41 UTC (permalink / raw)
  To: Anand Gadiyar; +Cc: linux-omap

On Tue, 22 Feb 2011 10:41:16 +0530
Anand Gadiyar <gadiyar@ti.com> 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

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

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

-- 
Jarkko

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Booting n8x0 on mainline without UART
  2011-02-22  5:11 Booting n8x0 on mainline without UART Anand Gadiyar
  2011-02-22  6:41 ` Jarkko Nikula
@ 2011-02-22 10:35 ` Michael Büsch
  2011-02-22 17:18   ` Tony Lindgren
  2011-02-22 11:00 ` Max Filippov
  2 siblings, 1 reply; 6+ messages in thread
From: Michael Büsch @ 2011-02-22 10:35 UTC (permalink / raw)
  To: Anand Gadiyar; +Cc: linux-omap

On Tue, 2011-02-22 at 10:41 +0530, Anand Gadiyar wrote: 
> 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.

-- 
Greetings Michael.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Booting n8x0 on mainline without UART
  2011-02-22  5:11 Booting n8x0 on mainline without UART Anand Gadiyar
  2011-02-22  6:41 ` Jarkko Nikula
  2011-02-22 10:35 ` Michael Büsch
@ 2011-02-22 11:00 ` Max Filippov
  2 siblings, 0 replies; 6+ messages in thread
From: Max Filippov @ 2011-02-22 11:00 UTC (permalink / raw)
  To: Anand Gadiyar; +Cc: linux-omap

> 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

-- 
Max

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Booting n8x0 on mainline without UART
  2011-02-22 10:35 ` Michael Büsch
@ 2011-02-22 17:18   ` Tony Lindgren
  2011-02-22 22:28     ` Michael Büsch
  0 siblings, 1 reply; 6+ messages in thread
From: Tony Lindgren @ 2011-02-22 17:18 UTC (permalink / raw)
  To: Michael Büsch; +Cc: Anand Gadiyar, linux-omap

* Michael Büsch <mb@bu3sch.de> [110222 02:33]:
> On Tue, 2011-02-22 at 10:41 +0530, Anand Gadiyar wrote: 
> > 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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Booting n8x0 on mainline without UART
  2011-02-22 17:18   ` Tony Lindgren
@ 2011-02-22 22:28     ` Michael Büsch
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Büsch @ 2011-02-22 22:28 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: Anand Gadiyar, linux-omap

On Tue, 2011-02-22 at 09:18 -0800, Tony Lindgren wrote: 
> * Michael Büsch <mb@bu3sch.de> [110222 02:33]:
> > On Tue, 2011-02-22 at 10:41 +0530, Anand Gadiyar wrote: 
> > > 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?

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.

-- 
Greetings Michael.

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-02-22 22:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-22  5:11 Booting n8x0 on mainline without UART Anand Gadiyar
2011-02-22  6:41 ` Jarkko Nikula
2011-02-22 10:35 ` Michael Büsch
2011-02-22 17:18   ` Tony Lindgren
2011-02-22 22:28     ` Michael Büsch
2011-02-22 11:00 ` Max Filippov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.