linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Unable to boot linux on Xilinx ML403 board
       [not found] <mailman.0.1159188664.24974.linuxppc-embedded@ozlabs.org>
@ 2006-09-25 12:58 ` Mohan Krishna T
  2006-09-25 16:16   ` Peter Ryser
  0 siblings, 1 reply; 7+ messages in thread
From: Mohan Krishna T @ 2006-09-25 12:58 UTC (permalink / raw)
  To: linuxppc-embedded

Hi all,
            I am working on Xilinx ML403 board. I am trying to boot with
Linux 2.4. My hardware includes a UART16550 and EMAC (OPB Ethernet) in
scatter gather mode. When I boot the linux. It is coming up to the following
point and hanging indefinitely. I have pasted my booting sequence below:

----------------------------------------------------------------------------
---------
loaded at:     00400000 0076F1E4
board data at: 0076C13C 0076C154
relocated to:  00405638 00405650
zimage at:     00405C03 004AE1BF
initrd at:     004AF000 0076B17B
avail ram:     00770000 08000000

Linux/PPC load: console=3Dtty1 console=3DttyS0,9600 ip=3Doff =
root=3D/dev/ram rw
Uncompressing Linux...done.
Now booting the kernel
Linux version 2.4.20_mvl31-ml403 (mta=40xinmta20) (gcc version 3.3.1
(MontaVista 3.3.1-3.0.10.0300532 2003-12-24)) =2378 Mon Sep 25 16:53:39 IST
2006
Xilinx Virtex-II Pro and Virtex-4 port (C) 2002-2004 MontaVista Software,
Inc. (source=40mvista.com)
On node 0 totalpages: 32768
zone(0): 32768 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=3Dtty1 console=3DttyS0,9600 ip=3Doff =
root=3D/dev/ram rw
Xilinx INTC =230 at 0x41200000 mapped to 0xFDFFE000
Calibrating delay loop... 199.88 BogoMIPS
Memory: 125080k available (1188k kernel code, 396k data, 56k init, 0k
highmem)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
OCP uart ver 1.6.2 init complete
LSP Revision 42
ikconfig 0.5 with /proc/ikconfig
Starting kswapd
Disabling the Out Of Memory Killer
Journalled Block Device driver loaded
devfs: v1.12c (20020818) Richard Gooch (rgooch=40atnf.csiro.au)
devfs: boot_options: 0x1
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with no serial options enabled
ttyS00 at 0xfdfff003 (irq =3D 29) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
loop: loaded (max 8 devices)
eth0: using sgDMA mode.
eth0: No PHY detected.  Assuming a PHY at address 0.
eth0: Xilinx EMAC =230 at 0x40C00000 mapped to 0xCA00D000, irq=3D31
eth0: id 2.0l; block id 11, type 1
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
----------------------------------------------------------------------------
----------

Thanks in advance..

Regards
Mohan Krishna



DISCLAIMER

=E2=80=9CThe information contained in this e-mail message and/or =
attachments to it may contain confidential or privileged information. If =
you are not the intended recipient, any dissemination, use, review, =
distribution, printing or copying of the information contained in this =
e-mail message and/or attachments to it are strictly prohibited. If you =
have received this communication in error, please notify us by reply =
e-mail or telephone and immediately and permanently delete the message and =
any attachments. Thank you=22=

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

* Re: Unable to boot linux on Xilinx ML403 board
  2006-09-25 12:58 ` Unable to boot linux on Xilinx ML403 board Mohan Krishna T
@ 2006-09-25 16:16   ` Peter Ryser
  2006-09-26  6:14     ` Mohan Krishna T
       [not found]     ` <7340827822720465792@unknownmsgid>
  0 siblings, 2 replies; 7+ messages in thread
From: Peter Ryser @ 2006-09-25 16:16 UTC (permalink / raw)
  To: linuxppc-embedded


>avail ram:     00770000 08000000
>  
>

The ML403 only has 64 MB of RAM, ie. 0x04000000. For a start you can 
change the amount of memory Linux thinks it has available by adding
    mem=0x4000000
to the kernel command line like
    Linux/PPC load: console=tty1 console=ttyS0,9600 ip=off root=/dev/ram 
rw mem=0x4000000

Later, you want to change xparameters*.h in arch/ppc/platforms/xilinx_ocp

- Peter

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

* RE: Unable to boot linux on Xilinx ML403 board
  2006-09-25 16:16   ` Peter Ryser
@ 2006-09-26  6:14     ` Mohan Krishna T
       [not found]     ` <7340827822720465792@unknownmsgid>
  1 sibling, 0 replies; 7+ messages in thread
From: Mohan Krishna T @ 2006-09-26  6:14 UTC (permalink / raw)
  To: 'Peter Ryser', linuxppc-embedded

I have tried the option you have suggested but couldn't boot successfully. I
tried to debug where exactly the kernel is getting hanged. I could found
that its hanging in gunzip() function call. It is never coming out of loop
that decompress the ramdisk image.=20

Any suggestions?=20

Thanks in advance...

Regards
Mohan Krishna T


-----Original Message-----
From: linuxppc-embedded-bounces+tmk=3Dcmcltd.com=40ozlabs.org
=5Bmailto:linuxppc-embedded-bounces+tmk=3Dcmcltd.com=40ozlabs.org=5D On =
Behalf Of
Peter Ryser
Sent: Monday, September 25, 2006 9:46 PM
To: linuxppc-embedded=40ozlabs.org
Subject: Re: Unable to boot linux on Xilinx ML403 board


>avail ram:     00770000 08000000
> =20
>

The ML403 only has 64 MB of RAM, ie. 0x04000000. For a start you can=20
change the amount of memory Linux thinks it has available by adding
    mem=3D0x4000000
to the kernel command line like
    Linux/PPC load: console=3Dtty1 console=3DttyS0,9600 ip=3Doff =
root=3D/dev/ram=20
rw mem=3D0x4000000

Later, you want to change xparameters*.h in arch/ppc/platforms/xilinx_ocp

- Peter



_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded=40ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded



DISCLAIMER

=E2=80=9CThe information contained in this e-mail message and/or =
attachments to it may contain confidential or privileged information. If =
you are not the intended recipient, any dissemination, use, review, =
distribution, printing or copying of the information contained in this =
e-mail message and/or attachments to it are strictly prohibited. If you =
have received this communication in error, please notify us by reply =
e-mail or telephone and immediately and permanently delete the message and =
any attachments. Thank you=22=

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

* Re: Unable to boot linux on Xilinx ML403 board
       [not found]     ` <7340827822720465792@unknownmsgid>
@ 2006-09-26 13:38       ` Grant Likely
  2006-09-26 15:44         ` Mohan Krishna T
       [not found]         ` <7225230023970127285@unknownmsgid>
  0 siblings, 2 replies; 7+ messages in thread
From: Grant Likely @ 2006-09-26 13:38 UTC (permalink / raw)
  To: Mohan Krishna T; +Cc: linuxppc-embedded

On 9/26/06, Mohan Krishna T <tmk@cmcltd.com> wrote:
> I have tried the option you have suggested but couldn't boot successfully. I
> tried to debug where exactly the kernel is getting hanged. I could found
> that its hanging in gunzip() function call. It is never coming out of loop
> that decompress the ramdisk image.

How large is you zImage.embedded?

-- 
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195

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

* RE: Unable to boot linux on Xilinx ML403 board
  2006-09-26 13:38       ` Grant Likely
@ 2006-09-26 15:44         ` Mohan Krishna T
       [not found]         ` <7225230023970127285@unknownmsgid>
  1 sibling, 0 replies; 7+ messages in thread
From: Mohan Krishna T @ 2006-09-26 15:44 UTC (permalink / raw)
  To: 'Grant Likely'; +Cc: linuxppc-embedded

The zImage.initrd.elf is of size 3.4MB. I am getting hanged only when I am
using DMA for Ethernet. Booting is going fine when I am using FIFO Mode.


Thanks
Mohan Krishna

-----Original Message-----
From: glikely=40gmail.com =5Bmailto:glikely=40gmail.com=5D On Behalf Of =
Grant Likely
Sent: Tuesday, September 26, 2006 7:09 PM
To: Mohan Krishna T
Cc: Peter Ryser; linuxppc-embedded=40ozlabs.org
Subject: Re: Unable to boot linux on Xilinx ML403 board

On 9/26/06, Mohan Krishna T <tmk=40cmcltd.com> wrote:
> I have tried the option you have suggested but couldn't boot successfully.
I
> tried to debug where exactly the kernel is getting hanged. I could found
> that its hanging in gunzip() function call. It is never coming out of loop
> that decompress the ramdisk image.

How large is you zImage.embedded?

--=20
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
grant.likely=40secretlab.ca
(403) 399-0195



DISCLAIMER

=E2=80=9CThe information contained in this e-mail message and/or =
attachments to it may contain confidential or privileged information. If =
you are not the intended recipient, any dissemination, use, review, =
distribution, printing or copying of the information contained in this =
e-mail message and/or attachments to it are strictly prohibited. If you =
have received this communication in error, please notify us by reply =
e-mail or telephone and immediately and permanently delete the message and =
any attachments. Thank you=22=

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

* Re: Unable to boot linux on Xilinx ML403 board
       [not found]         ` <7225230023970127285@unknownmsgid>
@ 2006-09-26 15:56           ` Grant Likely
  2006-09-26 15:58             ` Mohan Krishna T
  0 siblings, 1 reply; 7+ messages in thread
From: Grant Likely @ 2006-09-26 15:56 UTC (permalink / raw)
  To: Mohan Krishna T; +Cc: linuxppc-embedded

On 9/26/06, Mohan Krishna T <tmk@cmcltd.com> wrote:
> The zImage.initrd.elf is of size 3.4MB. I am getting hanged only when I am
> using DMA for Ethernet. Booting is going fine when I am using FIFO Mode.

You may be hitting the 4MB upper limit for zImages.  I had the same
problem with slightly smaller images, and it would hang at (seemingly)
random places everytime I changed something.  Making the image smaller
made the problem go away.

-- 
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195

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

* RE: Unable to boot linux on Xilinx ML403 board
  2006-09-26 15:56           ` Grant Likely
@ 2006-09-26 15:58             ` Mohan Krishna T
  0 siblings, 0 replies; 7+ messages in thread
From: Mohan Krishna T @ 2006-09-26 15:58 UTC (permalink / raw)
  To: 'Grant Likely'; +Cc: linuxppc-embedded

I am using the same image for FIFO mode. It is booting without any problem.
The problem is only coming in DMA mode. Is there any restriction on size if
it is DMA mode? Or should I tale any extra care of RAMDISK if I am in DMA
mode?

Thanks and Regards
Mohan Krishna T

-----Original Message-----
From: glikely=40gmail.com =5Bmailto:glikely=40gmail.com=5D On Behalf Of =
Grant Likely
Sent: Tuesday, September 26, 2006 9:26 PM
To: Mohan Krishna T
Cc: Peter Ryser; linuxppc-embedded=40ozlabs.org
Subject: Re: Unable to boot linux on Xilinx ML403 board

On 9/26/06, Mohan Krishna T <tmk=40cmcltd.com> wrote:
> The zImage.initrd.elf is of size 3.4MB. I am getting hanged only when I am
> using DMA for Ethernet. Booting is going fine when I am using FIFO Mode.

You may be hitting the 4MB upper limit for zImages.  I had the same
problem with slightly smaller images, and it would hang at (seemingly)
random places everytime I changed something.  Making the image smaller
made the problem go away.

--=20
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
grant.likely=40secretlab.ca
(403) 399-0195



DISCLAIMER

=E2=80=9CThe information contained in this e-mail message and/or =
attachments to it may contain confidential or privileged information. If =
you are not the intended recipient, any dissemination, use, review, =
distribution, printing or copying of the information contained in this =
e-mail message and/or attachments to it are strictly prohibited. If you =
have received this communication in error, please notify us by reply =
e-mail or telephone and immediately and permanently delete the message and =
any attachments. Thank you=22=

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

end of thread, other threads:[~2006-09-26 15:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.0.1159188664.24974.linuxppc-embedded@ozlabs.org>
2006-09-25 12:58 ` Unable to boot linux on Xilinx ML403 board Mohan Krishna T
2006-09-25 16:16   ` Peter Ryser
2006-09-26  6:14     ` Mohan Krishna T
     [not found]     ` <7340827822720465792@unknownmsgid>
2006-09-26 13:38       ` Grant Likely
2006-09-26 15:44         ` Mohan Krishna T
     [not found]         ` <7225230023970127285@unknownmsgid>
2006-09-26 15:56           ` Grant Likely
2006-09-26 15:58             ` Mohan Krishna T

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