Re: problem in booting kernel
From: Anil Giri <hidden>
Date: 2003-05-09 13:24:47
Hi Bhupi,
I can't see any kernel early boot message.
The kernel is hanging just after entering start_kernel function.
Precisely in in "setup_arch ($command_line); " command. And still no message
On console
any problem with commnad ntering start_kernel function.
Command line: console=ttyS0,9600 root=/dev/ram
Is there any problem with my command line??
Any Comments...
-Anil
-----Original Message-----
From: bhupinder sahran [mailto:bhup_sah@yahoo.com]
Sent: Friday, May 09, 2003 1:44 AM
To: Anil Giri
Subject: RE: FW: problem in booting kernel
Hi
Looks like ur serial port intialization is not good.
U r saying it goes till start_kernel mean it has
intialized all BAT registers & MMU.
Now u do not know what is the value in program counter
when it is hanging.
Right now confusion is if the issue is with serial
port or some exception is happening.
Before start_kernel early boot message should come.
Can u see in the platform specific setup.c & see if
early serial port intialization is OK.
Try out some of the above stuff & mail me
Bhupi
Linux+Hypertransport -->Silicon
www.gdatech.com
Good after beer -- Linux
--- Anil Giri <anil@india.tejasnetworks.com> wrote:
Hi Bhupi,
That didn't worked, but on debugging I found that
it goes till
Start_kernel and after that goes in some loop. I
can't see any message on
console
Though there r few printk statements in the C
function. Is there any problem
with printk
Statements.
-Anil
-----Original Message-----
From: bhupinder sahran [mailto:bhup_sah@yahoo.com]
Sent: Thursday, May 08, 2003 9:12 PM
To: Anil Giri; linuxppc-embedded@lists.linuxppc.org
Cc: bhup_sah@yahoo.com
Subject: Re: FW: problem in booting kernel
Hi
console=ttyS0 is good but why again console=tty.
That might be the issue.
When u r paasing parameters from ppcboot, why
console
is eqated two times.
U should only say console=ttyS0 , 9600
So console=tty is not correct............
Try out this...
Bhupi
Linux+Hypertransport --> Silicon
www.gdatech.com
Good after beer -- Linux
quoted hunk
--- Anil Giri <anil@india.tejasnetworks.com> wrote:
quoted
quoted
Hi Bhupi,
quoted
How can i configure my serial port?? and no
i
quoted
don;t use JTAG debugger.
quoted
i m stuck with the problem for a long time...
quoted
quoted
quoted
Following is the console output...
quoted
===========================================
quoted
Initializing...
quoted
CPU: XPC860xxZPnnD4 at 66 MHz: 4 kB I-Cache 4
kB
quoted
D-Cache FEC present
quoted
Board: 103-PCALTC101-E AF-4402-20-0041
quoted
Ethernet Address : 00:04:95:05:00:0e
quoted
27/ 1/ 0 22:46:47
quoted
DRAM: (128 MB SDRAM) 128 MB
quoted
FLASH: 16 MB
quoted
*** Warning - bad CRC, using default environment
quoted
quoted
Input: serial
quoted
Output: serial
quoted
quoted
Hit any key to stop autoboot: 0
quoted
## Starting application at 0x40080000 ...
quoted
loaded at: 40080000 40089368
quoted
relocated to: 00180000 00189368
quoted
board data at: 07F3FE48 07F40000
quoted
relocated to: 00200100 002002B8
quoted
zimage at: 40086000 40123741
quoted
initrd at: 40123741 4037909A
quoted
relocated to: 07DAA000 07FFF959
quoted
avail ram: 00201000 07DAA000
quoted
quoted
Linux/PPC load: console=ttyS0,9600 console=tty0
quoted
root=/dev/ram mem=480
quoted
Uncompressing Linux...done.
quoted
Now booting the kernel
quoted
================================================
quoted
quoted
-Anil
quoted
quoted
quoted
quoted
quoted
quoted
quoted
-----Original Message-----
quoted
quoted
From: bhupinder sahran
[mailto:bhup_sah@yahoo.com]
quoted
quoted
Sent: Wednesday, May 07, 2003 9:22 PM
quoted
quoted
To: Anil Giri;
quoted
linuxppc-embedded@lists.linuxppc.org
quoted
quoted
Subject: Re: problem in booting kernel
quoted
quoted
quoted
quoted
Hi
quoted
quoted
quoted
From the inuts u have given it is very tough to
quoted
find
quoted
quoted
out. But let me ask u some of the questions.
quoted
quoted
quoted
quoted
1. One possiblity is that ur serial port is not
quoted
quoted
configured properly & u are not seeing any
message
quoted
quoted
from the console port.
quoted
quoted
quoted
quoted
2. IF u are having the JTAG debugger find out
the
quoted
quoted
value in Program conuter & see where it matches
in
quoted
quoted
System.map.
quoted
quoted
quoted
quoted
So tell me the PC value then it might be
possible
quoted
to
quoted
quoted
catch the problem
quoted
quoted
quoted
quoted
Thanx
quoted
quoted
Bhupi
quoted
quoted
Linux+Hypertransport -->Silicon
quoted
quoted
www.gdatech.com
quoted
quoted
Good after beer ---Linux
quoted
quoted
quoted
quoted
quoted
quoted
--- Anil Giri <anil@india.tejasnetworks.com>
quoted
wrote:
quoted
quoted
quoted
quoted
quoted
quoted
Hi,
quoted
quoted
quoted
quoted
quoted
quoted
quoted
quoted
quoted
I m trying to boot kernel for linux-2.4.18
quoted
quoted
quoted
(MPC860 processor), but it
quoted
quoted
quoted
quoted
quoted
quoted
quoted
quoted
quoted
hangs after "Now booting the kernel" message.
quoted
What
quoted
quoted
quoted
could be the reason???
quoted
quoted
quoted
quoted
quoted
quoted
quoted
quoted
quoted
also on debugging i found negative value for
quoted
quoted
quoted
register R3 instead of ptr to
quoted
quoted
quoted
quoted
quoted
quoted
quoted
quoted
quoted
board info data. Other register settings were
quoted
ok.
quoted
quoted
quoted
quoted
quoted
quoted
quoted
quoted
quoted
Any imputs...
quoted
quoted
quoted
quoted
quoted
quoted
quoted
quoted
quoted
quoted
quoted
quoted
quoted
quoted
quoted
-Anil
quoted
quoted
quoted
quoted
quoted
quoted
quoted
quoted
quoted
quoted
quoted
quoted
quoted
quoted
quoted
quoted
quoted
quoted
quoted
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/