Linux booting problem on Xilinx ppc

Grant Likely grant.likely at secretlab.ca
Sun Sep 16 13:09:07 EST 2007


On 9/15/07, Junqiang Hu <jqhu936 at yahoo.com> wrote:
>
>
> Dear friends,
>
>    I'm trying to run Linux in AvNet (Memec) Xilinx-XC2VP50-EVKT-FF1152
>  board.  The Linux version I'm using is 2.4; the cross-compiler is
> gcc-4.1.0, glibc 2.3.6.  When booting the kernel, it shows:
>       loaded at:     00400000 004B51E4
>       board data at: 00000000 00000018
>       relocated to:  0040526C 00405284
>       zimage at:     00405B2B 004B177C
>       avail ram:     004B6000 60000000

I strongly recommend moving to a 2.6 kernel.  Recent mainline has
support for the Xilinx ppc built in.
>
>       Linux/PPC load: console=ttyS0,9600 root=/dev/xsysace/disc0/part3 rw
>       Uncompressing Linux...done.
>       Now booting the kernel
>
> Then it hangs. First it seems to me that the "avail ram" is not correct,
> since I configured only 32MB SDRAM.  Moreover, if it's first powered on, the
> end address of "avail ram" would be FFD9FBED. Then I tried to investigate
> the problem using xmd.  When  launched, it says:

(If you're using u-boot) You might have a mismatch between the board
info structure used by u-boot and the one used by Linux.

Also, you should use your debugger to inspect the __log_buf memory of
the kernel.  A common problem is the kernel starts booting, but the
console is setup incorrectly and so you see nothing.  But, you can
read the console output directly from memory if you look at the
__log_buf region (find the address in the System.map file; you might
need to subtract 0xC0000000 from the address to view the memory)

Cheers,
g.

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


More information about the Linuxppc-embedded mailing list