Linux booting problem on Xilinx ppc
Stelios Koroneos
stelios at stelioscellar.com
Mon Sep 17 01:37:33 EST 2007
We are seeing similar problems (wrong memory displayed, kernel hangup) when
compiling a 2.6.23-rc2 kernel with gcc 4.1.1 for an ml403 board.
Using gcc 3.4.4 to compile the kernel, then there is no problem (the kernel
boots)
Setting mem in the kernel config does not solve the issue.
Stelios S. Koroneos
Digital OPSiS - Embedded Intelligence
http://www.digital-opsis.com
> -----Original Message-----
> From:
> linuxppc-embedded-bounces+stelios=stelioscellar.com at ozlabs.org
> [mailto:linuxppc-embedded-bounces+stelios=stelioscellar.com at ozlabs
> .org]On Behalf Of Junqiang Hu
> Sent: Sunday, September 16, 2007 7:40 AM
> To: linuxppc-embedded at ozlabs.org
> Subject: Re: Linux booting problem on Xilinx ppc
>
>
>
>
> Hi Grant,
>
> Thank you so much for the reply! Fortunately I got it work now -- it's
> the crosstool compiler problem. Originally I was using
> gcc-4.1.0, yet when
> compiling kernel 2.6.22, I noticed that it says gcc-4.1.0 will miscompile
> the kernel, so I changed to another version, and now I can let it go!
>
> Right now still not fully booted because of the SystemACE problem, or
> maybe the partition is not correct. I'm still working on it, hopefully to
> get it solved soon :-)
>
> Thanks,
> -J.
>
>
> Grant Likely-2 wrote:
> >
> > 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
> > _______________________________________________
> > Linuxppc-embedded mailing list
> > Linuxppc-embedded at ozlabs.org
> > https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Linux-booting-problem-on-Xilinx-ppc-tf444906
0.html#a12696686
Sent from the linuxppc-embedded mailing list archive at Nabble.com.
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded at ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
More information about the Linuxppc-embedded
mailing list