Do you have a question? Post it now! No Registration Necessary
Subject
- Posted on
console startup
- 09-11-2006
September 11, 2006, 2:56 pm

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
ip19%2.168.56.190:192.168.56.44:192.168.50.2:255.255.255.0:hn0000000053300063:eth0:off
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
highmem)
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
correctly.
Any suggestions would be greatly appreciated.
Charles
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
ip19%2.168.56.190:192.168.56.44:192.168.50.2:255.255.255.0:hn0000000053300063:eth0:off
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
highmem)
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
correctly.
Any suggestions would be greatly appreciated.
Charles

Re: console startup
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...
~Sudip
ckrinke wrote:

ip19%2.168.56.190:192.168.56.44:192.168.50.2:255.255.255.0:hn0000000053300063:eth0:off


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

ip19%2.168.56.190:192.168.56.44:192.168.50.2:255.255.255.0:hn000000005330006
3:eth0:off

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

ip19%2.168.56.190:192.168.56.44:192.168.50.2:255.255.255.0:hn000000005330006
3:eth0:off

Site Timeline
- » how to build JRTPLIB for IXP425 embedded motovista
- — Next thread in » Embedded Linux
-
- » where can I buy this?
- — Previous thread in » Embedded Linux
-
- » Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - ...
- — Newest thread in » Embedded Linux
-
- » Kuchenka Mastercook typ 3400 programator - co w zamian
- — The site's Newest Thread. Posted in » Electronics (Polish)
-
- » Intégrité du signal ESP32/SDIO (SDCARD)
- — The site's Last Updated Thread. Posted in » Electronics (French)
-