linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* problem in booting kernel
@ 2003-05-07  8:02 Anil Giri
  2003-05-07 15:52 ` bhupinder sahran
  0 siblings, 1 reply; 6+ messages in thread
From: Anil Giri @ 2003-05-07  8:02 UTC (permalink / raw)
  To: linuxppc-embedded


Hi,


   I m trying to boot kernel for linux-2.4.18 (MPC860 processor), but it


hangs after "Now booting the kernel"  message. What could be the reason???


also on debugging i found negative value for register R3 instead of ptr to


board info data. Other register settings were ok.


Any imputs...




-Anil


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: problem in booting kernel
  2003-05-07  8:02 Anil Giri
@ 2003-05-07 15:52 ` bhupinder sahran
  2003-05-12  8:46   ` Anil Giri
  0 siblings, 1 reply; 6+ messages in thread
From: bhupinder sahran @ 2003-05-07 15:52 UTC (permalink / raw)
  To: Anil Giri, linuxppc-embedded


Hi
>From the inuts u have given it is very tough to find
out. But let me ask u some of the questions.

1. One possiblity is that ur serial port is not
configured properly & u are not seeing any message
from the console port.

2. IF u are having the JTAG debugger find out the
value in Program conuter & see where it matches in
System.map.

So tell me the PC value then it might be possible to
catch the problem

Thanx
Bhupi
Linux+Hypertransport -->Silicon
www.gdatech.com
Good after beer ---Linux


--- Anil Giri <anil@india.tejasnetworks.com> wrote:
>
> Hi,
>
>
>    I m trying to boot kernel for linux-2.4.18
> (MPC860 processor), but it
>
>
> hangs after "Now booting the kernel"  message. What
> could be the reason???
>
>
> also on debugging i found negative value for
> register R3 instead of ptr to
>
>
> board info data. Other register settings were ok.
>
>
> Any imputs...
>
>
>
>
> -Anil
>
>
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: problem in booting kernel
@ 2003-05-09 13:24 Anil Giri
  0 siblings, 0 replies; 6+ messages in thread
From: Anil Giri @ 2003-05-09 13:24 UTC (permalink / raw)
  To: bhup_sah; +Cc: linuxppc-embedded


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


>


>


> --- Anil Giri <anil@india.tejasnetworks.com> wrote:


> >


> > Hi Bhupi,


> >        How can i configure my serial port?? and no


> i


> > don;t use JTAG debugger.


> > i m stuck with the problem for a long time...


> >


> >


> > Following is the console output...


> > ===========================================


> >       Initializing...


> >   CPU:   XPC860xxZPnnD4 at 66 MHz: 4 kB I-Cache 4


> kB


> > D-Cache FEC present


> >   Board:  103-PCALTC101-E  AF-4402-20-0041


> >   Ethernet Address : 00:04:95:05:00:0e


> >   27/ 1/ 0 22:46:47


> >   DRAM:  (128 MB SDRAM) 128 MB


> >   FLASH: 16 MB


> > *** Warning - bad CRC, using default environment


> >


> >   Input:  serial


> >   Output: serial


> >


> > Hit any key to stop autoboot:  0


> > ## Starting application at 0x40080000 ...


> > loaded at:     40080000 40089368


> > relocated to:  00180000 00189368


> > board data at: 07F3FE48 07F40000


> > relocated to:  00200100 002002B8


> > zimage at:     40086000 40123741


> > initrd at:     40123741 4037909A


> > relocated to:  07DAA000 07FFF959


> > avail ram:     00201000 07DAA000


> >


> > Linux/PPC load: console=ttyS0,9600 console=tty0


> > root=/dev/ram mem=480


> > Uncompressing Linux...done.


> > Now booting the kernel


> > ================================================


> >


> > -Anil


> >


> >


> >


> > >


> > > -----Original Message-----


> > > From: bhupinder sahran


> [mailto:bhup_sah@yahoo.com]


> > > Sent: Wednesday, May 07, 2003 9:22 PM


> > > To: Anil Giri;


> > linuxppc-embedded@lists.linuxppc.org


> > > Subject: Re: problem in booting kernel


> > >


> > > Hi


> > > >From the inuts u have given it is very tough to


> > find


> > > out. But let me ask u some of the questions.


> > >


> > > 1. One possiblity is that ur serial port is not


> > > configured properly & u are not seeing any


> message


> > > from the console port.


> > >


> > > 2. IF u are having the JTAG debugger find out


> the


> > > value in Program conuter & see where it matches


> in


> > > System.map.


> > >


> > > So tell me the PC value then it might be


> possible


> > to


> > > catch the problem


> > >


> > > Thanx


> > > Bhupi


> > > Linux+Hypertransport -->Silicon


> > > www.gdatech.com


> > > Good after beer ---Linux


> > >


> > >


> > > --- Anil Giri <anil@india.tejasnetworks.com>


> > wrote:


> > > >


> > > > Hi,


> > > >


> > > >


> > > >    I m trying to boot kernel for linux-2.4.18


> > > > (MPC860 processor), but it


> > > >


> > > >


> > > > hangs after "Now booting the kernel"  message.


> > What


> > > > could be the reason???


> > > >


> > > >


> > > > also on debugging i found negative value for


> > > > register R3 instead of ptr to


> > > >


> > > >


> > > > board info data. Other register settings were


> > ok.


> > > >


> > > >


> > > > Any imputs...


> > > >


> > > >


> > > >


> > > >


> > > > -Anil


> > > >


> > > >


> > > >


> > >


> > >


> > >


> > >


> >




> >


>


>






>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* RE: problem in booting kernel
  2003-05-07 15:52 ` bhupinder sahran
@ 2003-05-12  8:46   ` Anil Giri
  0 siblings, 0 replies; 6+ messages in thread
From: Anil Giri @ 2003-05-12  8:46 UTC (permalink / raw)
  To: bhupinder sahran, linuxppc-embedded


Hi,
    Kernel Booting hangs just after entering start_kernel function.
Even I can't see the printk fuction for printing linux banner getting
executed.
I have compiled linux-2.4.18 for MPC860.

-Anil


-----Original Message-----
From: bhupinder sahran [mailto:bhup_sah@yahoo.com]
Sent: Wednesday, May 07, 2003 9:22 PM
To: Anil Giri; linuxppc-embedded@lists.linuxppc.org
Subject: Re: problem in booting kernel

Hi
>From the inuts u have given it is very tough to find
out. But let me ask u some of the questions.

1. One possiblity is that ur serial port is not
configured properly & u are not seeing any message
from the console port.

2. IF u are having the JTAG debugger find out the
value in Program conuter & see where it matches in
System.map.

So tell me the PC value then it might be possible to
catch the problem

Thanx
Bhupi
Linux+Hypertransport -->Silicon
www.gdatech.com
Good after beer ---Linux


--- Anil Giri <anil@india.tejasnetworks.com> wrote:
>
> Hi,
>
>
>    I m trying to boot kernel for linux-2.4.18
> (MPC860 processor), but it
>
>
> hangs after "Now booting the kernel"  message. What
> could be the reason???
>
>
> also on debugging i found negative value for
> register R3 instead of ptr to
>
>
> board info data. Other register settings were ok.
>
>
> Any imputs...
>
>
>
>
> -Anil
>
>
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Problem in booting kernel
@ 2003-06-14  4:43 Rakesh jagota
  2003-06-14 18:13 ` bhupinder sahran
  0 siblings, 1 reply; 6+ messages in thread
From: Rakesh jagota @ 2003-06-14  4:43 UTC (permalink / raw)
  To: linuxppc-embedded; +Cc: j.rakesh


Hi all,
I am working on custom design board based on IBM405 PPC. I am using OpenBios
code and Linux -2.4.17 version from montavista. I am downloading the os image
using serial port. After downoading the image, I am getting the follwoinbg
messeges:


=========================================================================


Loaded successfully ...
Entry point at 0x500000 ...

loaded at:     00500000 005AD1F8
relocated to:  00400000 004AD1F8
board data at: 004AA128 004AA168
relocated to:  00405544 00405584
zimage at:     00405BA0 004A9671
avail ram:     004AE000 04000000

Linux/PPC load: console=ttyS0,9600
Uncompressing Linux...

opps... out of memory
pause
opps... out of memory
pause
opps... out of memory
pause
opps... out of memory
pause
opps... out of memory
pause
opps... out of memory
pause
opps... out of memory
pause
opps... out of memory
pause
opps... out of memory
pause
opps... out of memory
pause
done.
Now booting the kernel
========================================================================

And after this it stops.

Can anyone suggest me how to resolve this problem. I am using 4MB flash. And
Single SDRAM with single bank  of size 32MB. Can anyone helpme out to sort
out this issue.

Thanks & Regards,

rakesh


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Problem in booting kernel
  2003-06-14  4:43 Problem in booting kernel Rakesh jagota
@ 2003-06-14 18:13 ` bhupinder sahran
  0 siblings, 0 replies; 6+ messages in thread
From: bhupinder sahran @ 2003-06-14 18:13 UTC (permalink / raw)
  To: j.rakesh, linuxppc-embedded; +Cc: j.rakesh


Hi Jagota

If u see ur ppcboot messages carefully. u will see

 avail ram:     004AE000 04000000 ->64 MB


It means ur PPCboot is understanding that u have 64MB
of SDRAM but really u have 32MB of SDRAM.

Try to resolve this issue in PPCBOOT first. then
things may become OK.


Thanx
Bhupi
linux+Hypertransport --> Silicon
www.gdatech.com




--- Rakesh jagota <j.rakesh@gdatech.co.in> wrote:
>
> Hi all,
> I am working on custom design board based on IBM405
> PPC. I am using OpenBios
> code and Linux -2.4.17 version from montavista. I am
> downloading the os image
> using serial port. After downoading the image, I am
> getting the follwoinbg
> messeges:
>
>
>
=========================================================================
>
>
> Loaded successfully ...
> Entry point at 0x500000 ...
>
> loaded at:     00500000 005AD1F8
> relocated to:  00400000 004AD1F8
> board data at: 004AA128 004AA168
> relocated to:  00405544 00405584
> zimage at:     00405BA0 004A9671
> avail ram:     004AE000 04000000
>
> Linux/PPC load: console=ttyS0,9600
> Uncompressing Linux...
>
> opps... out of memory
> pause
> opps... out of memory
> pause
> opps... out of memory
> pause
> opps... out of memory
> pause
> opps... out of memory
> pause
> opps... out of memory
> pause
> opps... out of memory
> pause
> opps... out of memory
> pause
> opps... out of memory
> pause
> opps... out of memory
> pause
> done.
> Now booting the kernel
>
========================================================================
>
> And after this it stops.
>
> Can anyone suggest me how to resolve this problem. I
> am using 4MB flash. And
> Single SDRAM with single bank  of size 32MB. Can
> anyone helpme out to sort
> out this issue.
>
> Thanks & Regards,
>
> rakesh
>
>


SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2003-06-14 18:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-14  4:43 Problem in booting kernel Rakesh jagota
2003-06-14 18:13 ` bhupinder sahran
  -- strict thread matches above, loose matches on Subject: below --
2003-05-09 13:24 problem " Anil Giri
2003-05-07  8:02 Anil Giri
2003-05-07 15:52 ` bhupinder sahran
2003-05-12  8:46   ` Anil Giri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).