console startup

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
I have a PPC 8241 board and Montavista's latest 2.6 embedded kernel. It
is for an 9272 board so the .config *almost* makes sense. I am having
trouble getting the console up on the serial port and am searching for
a few ideas.

There is a "progress" routine in gen550_dgb.c that does display some
modest serial strings and it works. I can see after the kernel starts
these few progress messages but none of the normal printk stuff
beginning with the following from the 2.4 Montavista kernel.

Linux version 2.4.17-d30 (buildmgr@swmpu) (gcc version 2.95.3 20010315
(release/MontaVista)) #30 Thu Aug 10 19:07:44 PDT 2006
On node 0 totalpages: 16128
zone(0): 16128 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock0
OpenPIC Version 1.2 (1 CPUs and 138 IRQ sources) at fc040000
time_init: decrementer frequency = 25.000000 MHz
Calibrating delay loop... 133.12 BogoMIPS
Memory: 61608k available (1288k kernel code, 468k data, 72k init, 0k
Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes)

I have traced with an ICE through console_init in start_kernel and it
looks reasonable, but yet the console never starts. And of course,
being a new kernel, I need to see those messages to get things setup

Any suggestions would be greatly appreciated.


Re: console startup
Can you print the bootenv settings you have, is there a "quiet"
settings enabled. If there, remove that.... I am also a bit inquisitive
if the serial driver really working....although u r getting some of
messages work...anyways, let me know if it works...


ckrinke wrote:
Quoted text here. Click to load it
Quoted text here. Click to load it

Re: console startup
Once I completed Montavista's incomplete serial driver, the serial port
starts up and "debug" on the command line works fine. It amazes me that they
ship their product incomplete, but even more amazing is the fact that my new
company actually paid for it without demanding they demonstrate it works.

Anyway, thanks for the advice Sudip, it has a terminal now & I can NFS mount
the root file system and move forward.


Quoted text here. Click to load it
Quoted text here. Click to load it

Site Timeline