linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Linux booting problem on Xilinx ppc
@ 2007-09-15 21:26 Junqiang Hu
  2007-09-15 21:29 ` Junqiang Hu
  2007-09-16  3:09 ` Grant Likely
  0 siblings, 2 replies; 20+ messages in thread
From: Junqiang Hu @ 2007-09-15 21:26 UTC (permalink / raw)
  To: linuxppc-embedded



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

      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:

  Processor(s) in System ::

  PowerPC405(1) : ppc405_0
  Address Map for Processor ppc405_0
    (0x00000000-0x01ffffff) Infineon_Mobile_SDRAM_HYB25L128160AC_8plb
    (0x40600000-0x4060ffff) RS232 plb->plb2opb->opb
    (0x41200000-0x4120ffff) opb_intc_0    plb->plb2opb->opb
    (0x41800000-0x4180ffff) SysACE_CompactFlash   plb->plb2opb->opb
    (0x41c00000-0x41c0ffff) opb_timer_1   plb->plb2opb->opb
    (0x80200000-0x8020ffff) RS232_1       plb
    (0x80400000-0x8040ffff) Broadcom_BCM5221_Ethernet_Transceiver plb
    (0xfffe0000-0xffffffff) plb_bram_if_cntlr_1   plb

  PowerPC405(2) : ppc405_1
  Address Map for Processor ppc405_1

  Connecting to cable (Parallel Port - LPT1).
  Checking cable driver.
   Driver windrvr6.sys version = 7.0.0.0. LPT base address = 0378h.
   ECP base address = 0778h.
  Cable connection established.
  INFO:MDT - Assumption: Selected Device 2 for debugging.

  JTAG chain configuration
  --------------------------------------------------
  Device   ID Code        IR Length    Part Name
   1       0a001093           8        System_ACE
   2       0129e093          14        XC2VP50

  XMD: Connected to PowerPC target. Processor Version No : 0x200108a0
  Address mapping for accessing special PowerPC features from XMD/GDB:
      I-Cache (Data)  :  Disabled
      I-Cache (Tag)   :  Disabled
      D-Cache (Data)  :  Disabled
      D-Cache (Tag)   :  Disabled
      ISOCM           :  Start Address  -  0xfffe0000, Size - 131072 bytes
      TLB             :  Disabled
      DCR             :  Disabled
 
  Connected to "ppc" target. id = 0
  Starting GDB server for "ppc" target (id = 0) at TCP port no 1234

Then I download the Linux kernel using dow, and the following message
 appears:

  WARNING: Attempted to read location: 0xfffffffc. Reading ISOCM memory
 not supported
        section, .text: 0x00400000-0x00404b6c
        section, .data: 0x00405000-0x004b2000
        section, .bss: 0x004b2000-0x004b51e4
  Downloaded Program linux_kernel/zImage.elf
  Setting PC with program start addr = 0x00400000
  PC reset to 0x00400000, Clearing MSR Register

After typing "run" command, the following appears:
    PC reset to 0x00400000, Clearing MSR Register
    Processor started. Type "stop" to stop processor
Then after issuing "stop", it says "unable to stop processor"

I also tried kernel version 2.6.22, but the same thing happens, except that
the "avail ram" changed to 7C9E2378 and it's the same no matter first
powered on or not.

  No idea how to continue...

  Could somebody give me some help? Thanks!


-- 
View this message in context: http://www.nabble.com/Linux-booting-problem-on-Xilinx-ppc-tf4449060.html#a12694083
Sent from the linuxppc-embedded mailing list archive at Nabble.com.

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

* Re: Linux booting problem on Xilinx ppc
  2007-09-15 21:26 Linux booting problem on Xilinx ppc Junqiang Hu
@ 2007-09-15 21:29 ` Junqiang Hu
  2007-09-16  3:09 ` Grant Likely
  1 sibling, 0 replies; 20+ messages in thread
From: Junqiang Hu @ 2007-09-15 21:29 UTC (permalink / raw)
  To: linuxppc-embedded



And I checked the xparameters_ml300.h for the possible problem yet not
found...


Junqiang Hu 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
> 
>       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:
> 
>   Processor(s) in System ::
> 
>   PowerPC405(1) : ppc405_0
>   Address Map for Processor ppc405_0
>     (0x00000000-0x01ffffff) Infineon_Mobile_SDRAM_HYB25L128160AC_8plb
>     (0x40600000-0x4060ffff) RS232 plb->plb2opb->opb
>     (0x41200000-0x4120ffff) opb_intc_0    plb->plb2opb->opb
>     (0x41800000-0x4180ffff) SysACE_CompactFlash   plb->plb2opb->opb
>     (0x41c00000-0x41c0ffff) opb_timer_1   plb->plb2opb->opb
>     (0x80200000-0x8020ffff) RS232_1       plb
>     (0x80400000-0x8040ffff) Broadcom_BCM5221_Ethernet_Transceiver plb
>     (0xfffe0000-0xffffffff) plb_bram_if_cntlr_1   plb
> 
>   PowerPC405(2) : ppc405_1
>   Address Map for Processor ppc405_1
> 
>   Connecting to cable (Parallel Port - LPT1).
>   Checking cable driver.
>    Driver windrvr6.sys version = 7.0.0.0. LPT base address = 0378h.
>    ECP base address = 0778h.
>   Cable connection established.
>   INFO:MDT - Assumption: Selected Device 2 for debugging.
> 
>   JTAG chain configuration
>   --------------------------------------------------
>   Device   ID Code        IR Length    Part Name
>    1       0a001093           8        System_ACE
>    2       0129e093          14        XC2VP50
> 
>   XMD: Connected to PowerPC target. Processor Version No : 0x200108a0
>   Address mapping for accessing special PowerPC features from XMD/GDB:
>       I-Cache (Data)  :  Disabled
>       I-Cache (Tag)   :  Disabled
>       D-Cache (Data)  :  Disabled
>       D-Cache (Tag)   :  Disabled
>       ISOCM           :  Start Address  -  0xfffe0000, Size - 131072 bytes
>       TLB             :  Disabled
>       DCR             :  Disabled
>  
>   Connected to "ppc" target. id = 0
>   Starting GDB server for "ppc" target (id = 0) at TCP port no 1234
> 
> Then I download the Linux kernel using dow, and the following message
>  appears:
> 
>   WARNING: Attempted to read location: 0xfffffffc. Reading ISOCM memory
>  not supported
>         section, .text: 0x00400000-0x00404b6c
>         section, .data: 0x00405000-0x004b2000
>         section, .bss: 0x004b2000-0x004b51e4
>   Downloaded Program linux_kernel/zImage.elf
>   Setting PC with program start addr = 0x00400000
>   PC reset to 0x00400000, Clearing MSR Register
> 
> After typing "run" command, the following appears:
>     PC reset to 0x00400000, Clearing MSR Register
>     Processor started. Type "stop" to stop processor
> Then after issuing "stop", it says "unable to stop processor"
> 
> I also tried kernel version 2.6.22, but the same thing happens, except
> that the "avail ram" changed to 7C9E2378 and it's the same no matter first
> powered on or not.
> 
>   No idea how to continue...
> 
>   Could somebody give me some help? Thanks!
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Linux-booting-problem-on-Xilinx-ppc-tf4449060.html#a12694097
Sent from the linuxppc-embedded mailing list archive at Nabble.com.

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

* Re: Linux booting problem on Xilinx ppc
  2007-09-15 21:26 Linux booting problem on Xilinx ppc Junqiang Hu
  2007-09-15 21:29 ` Junqiang Hu
@ 2007-09-16  3:09 ` Grant Likely
  2007-09-16  4:39   ` Junqiang Hu
  1 sibling, 1 reply; 20+ messages in thread
From: Grant Likely @ 2007-09-16  3:09 UTC (permalink / raw)
  To: Junqiang Hu; +Cc: linuxppc-embedded

On 9/15/07, Junqiang Hu <jqhu936@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@secretlab.ca
(403) 399-0195

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

* Re: Linux booting problem on Xilinx ppc
  2007-09-16  3:09 ` Grant Likely
@ 2007-09-16  4:39   ` Junqiang Hu
  2007-09-16 15:37     ` Stelios Koroneos
  2007-10-15 18:46     ` aauer1
  0 siblings, 2 replies; 20+ messages in thread
From: Junqiang Hu @ 2007-09-16  4:39 UTC (permalink / raw)
  To: linuxppc-embedded



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@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@secretlab.ca
> (403) 399-0195
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> 
> 

-- 
View this message in context: http://www.nabble.com/Linux-booting-problem-on-Xilinx-ppc-tf4449060.html#a12696686
Sent from the linuxppc-embedded mailing list archive at Nabble.com.

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

* RE: Linux booting problem on Xilinx ppc
  2007-09-16  4:39   ` Junqiang Hu
@ 2007-09-16 15:37     ` Stelios Koroneos
  2007-10-15 18:46     ` aauer1
  1 sibling, 0 replies; 20+ messages in thread
From: Stelios Koroneos @ 2007-09-16 15:37 UTC (permalink / raw)
  To: Junqiang Hu, linuxppc-embedded

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@ozlabs.org
> [mailto:linuxppc-embedded-bounces+stelios=stelioscellar.com@ozlabs
> .org]On Behalf Of Junqiang Hu
> Sent: Sunday, September 16, 2007 7:40 AM
> To: linuxppc-embedded@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@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@secretlab.ca
> > (403) 399-0195
> > _______________________________________________
> > Linuxppc-embedded mailing list
> > Linuxppc-embedded@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@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

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

* Re: Linux booting problem on Xilinx ppc
  2007-09-16  4:39   ` Junqiang Hu
  2007-09-16 15:37     ` Stelios Koroneos
@ 2007-10-15 18:46     ` aauer1
  2007-10-15 19:17       ` Koss, Mike (Mission Systems)
                         ` (2 more replies)
  1 sibling, 3 replies; 20+ messages in thread
From: aauer1 @ 2007-10-15 18:46 UTC (permalink / raw)
  To: linuxppc-embedded


Hello

I'm also working with ML403 board from Xilinx and have the same problem as
you. The boot process stops after decompressing with the message "Now
booting the kernel". We also used gcc-4.1.0 for the cross compilation. So, I
would be glad to know, which gcc version have you used to get a working
kernel!

Thanks,
Andreas



Junqiang Hu wrote:
> 
> 
> 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@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@secretlab.ca
>> (403) 399-0195
>> _______________________________________________
>> Linuxppc-embedded mailing list
>> Linuxppc-embedded@ozlabs.org
>> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Linux-booting-problem-on-Xilinx-ppc-tf4449060.html#a13219154
Sent from the linuxppc-embedded mailing list archive at Nabble.com.

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

* RE: Linux booting problem on Xilinx ppc
  2007-10-15 18:46     ` aauer1
@ 2007-10-15 19:17       ` Koss, Mike (Mission Systems)
  2007-10-15 19:20       ` Grant Likely
  2007-10-16 15:08       ` Sergey Oleynichenko
  2 siblings, 0 replies; 20+ messages in thread
From: Koss, Mike (Mission Systems) @ 2007-10-15 19:17 UTC (permalink / raw)
  To: aauer1, linuxppc-embedded

In house we use the gcc 4.1.2, glibc 2.3.6 combo with success.

-- Mike

-----Original Message-----
From: aauer1 [mailto:aauer1@gmx.at]=20
Sent: Monday, October 15, 2007 2:47 PM
To: linuxppc-embedded@ozlabs.org
Subject: Re: Linux booting problem on Xilinx ppc


Hello

I'm also working with ML403 board from Xilinx and have the same problem
as you. The boot process stops after decompressing with the message "Now
booting the kernel". We also used gcc-4.1.0 for the cross compilation.
So, I would be glad to know, which gcc version have you used to get a
working kernel!

Thanks,
Andreas



Junqiang Hu wrote:
>=20
>=20
> Hi Grant,
>=20
>    Thank you so much for the reply!  Fortunately I got it work now --=20
> it's the crosstool compiler problem.  Originally I was using=20
> gcc-4.1.0, yet when compiling kernel 2.6.22, I noticed that it says=20
> gcc-4.1.0 will miscompile the kernel, so I changed to another version,

> and now I can let it go!
>=20
>   Right now still not fully booted because of the SystemACE problem,=20
> or maybe the partition is not correct.  I'm still working on it,=20
> hopefully to get it solved soon :-)
>=20
> Thanks,
> -J.
>=20
>=20
> Grant Likely-2 wrote:
>>=20
>> On 9/15/07, Junqiang Hu <jqhu936@yahoo.com> wrote:
>>>
>>>
>>> Dear friends,
>>>
>>>    I'm trying to run Linux in AvNet (Memec)=20
>>> Xilinx-XC2VP50-EVKT-FF1152  board.  The Linux version I'm using is=20
>>> 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
>>=20
>> I strongly recommend moving to a 2.6 kernel.  Recent mainline has=20
>> support for the Xilinx ppc built in.
>>>
>>>       Linux/PPC load: console=3DttyS0,9600=20
>>> root=3D/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=20
>>> correct, since I configured only 32MB SDRAM.  Moreover, if it's=20
>>> first powered on, the end address of "avail ram" would be FFD9FBED.=20
>>> Then I tried to investigate the problem using xmd.  When  launched,=20
>>> it says:
>>=20
>> (If you're using u-boot) You might have a mismatch between the board=20
>> info structure used by u-boot and the one used by Linux.
>>=20
>> 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=20
>> console is setup incorrectly and so you see nothing.  But, you can=20
>> read the console output directly from memory if you look at the=20
>> __log_buf region (find the address in the System.map file; you might=20
>> need to subtract 0xC0000000 from the address to view the memory)
>>=20
>> Cheers,
>> g.
>>=20
>> --
>> Grant Likely, B.Sc., P.Eng.
>> Secret Lab Technologies Ltd.
>> grant.likely@secretlab.ca
>> (403) 399-0195
>> _______________________________________________
>> Linuxppc-embedded mailing list
>> Linuxppc-embedded@ozlabs.org
>> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>>=20
>>=20
>=20
>=20

--
View this message in context:
http://www.nabble.com/Linux-booting-problem-on-Xilinx-ppc-tf4449060.html
#a13219154
Sent from the linuxppc-embedded mailing list archive at Nabble.com.

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

* Re: Linux booting problem on Xilinx ppc
  2007-10-15 18:46     ` aauer1
  2007-10-15 19:17       ` Koss, Mike (Mission Systems)
@ 2007-10-15 19:20       ` Grant Likely
  2007-10-16 15:08       ` Sergey Oleynichenko
  2 siblings, 0 replies; 20+ messages in thread
From: Grant Likely @ 2007-10-15 19:20 UTC (permalink / raw)
  To: aauer1; +Cc: linuxppc-embedded

On 10/15/07, aauer1 <aauer1@gmx.at> wrote:
>
> Hello
>
> I'm also working with ML403 board from Xilinx and have the same problem as
> you. The boot process stops after decompressing with the message "Now
> booting the kernel". We also used gcc-4.1.0 for the cross compilation. So, I
> would be glad to know, which gcc version have you used to get a working
> kernel!

First step:

Get a JTAG debugger and look at the __log_buf address.

g.

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

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

* RE: Linux booting problem on Xilinx ppc
  2007-10-15 18:46     ` aauer1
  2007-10-15 19:17       ` Koss, Mike (Mission Systems)
  2007-10-15 19:20       ` Grant Likely
@ 2007-10-16 15:08       ` Sergey Oleynichenko
  2007-10-16 18:02         ` aauer1
  2 siblings, 1 reply; 20+ messages in thread
From: Sergey Oleynichenko @ 2007-10-16 15:08 UTC (permalink / raw)
  To: linuxppc-embedded


I noticed this problem happens when on-chip memories are enabled in a design
(it is 4th page in base system builder). Try to leave them "none" for both
instruction and data.

Sergey

-----Original Message-----
From: linuxppc-embedded-bounces+soleynichenko=zenith.com@ozlabs.org
[mailto:linuxppc-embedded-bounces+soleynichenko=zenith.com@ozlabs.org] On
Behalf Of aauer1
Sent: Monday, October 15, 2007 1:47 PM
To: linuxppc-embedded@ozlabs.org
Subject: Re: Linux booting problem on Xilinx ppc


Hello

I'm also working with ML403 board from Xilinx and have the same problem as
you. The boot process stops after decompressing with the message "Now
booting the kernel". We also used gcc-4.1.0 for the cross compilation. So, I
would be glad to know, which gcc version have you used to get a working
kernel!

Thanks,
Andreas



Junqiang Hu wrote:
> 
> 
> 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@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@secretlab.ca
>> (403) 399-0195
>> _______________________________________________
>> Linuxppc-embedded mailing list
>> Linuxppc-embedded@ozlabs.org
>> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>> 
>> 
> 
> 

-- 
View this message in context:
http://www.nabble.com/Linux-booting-problem-on-Xilinx-ppc-tf4449060.html#a13
219154
Sent from the linuxppc-embedded mailing list archive at Nabble.com.

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

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

* RE: Linux booting problem on Xilinx ppc
  2007-10-16 15:08       ` Sergey Oleynichenko
@ 2007-10-16 18:02         ` aauer1
  2007-10-16 19:37           ` Grant Likely
  0 siblings, 1 reply; 20+ messages in thread
From: aauer1 @ 2007-10-16 18:02 UTC (permalink / raw)
  To: linuxppc-embedded


The on-chip memories are disabled. Only the BRAM is enabled. Now, we also use
the ELDK 4.1 from Denx and the included cross compiler. The result is the
same... the Kernel stops at "Now booting the kernel". Now, we also have an
USB JTAG cable. So, we can debug the memory. 
Probably, anyone has another idea.

Thanks,
Andreas



Sergey Oleynichenko wrote:
> 
> 
> I noticed this problem happens when on-chip memories are enabled in a
> design
> (it is 4th page in base system builder). Try to leave them "none" for both
> instruction and data.
> 
> Sergey
> 
> -----Original Message-----
> From: linuxppc-embedded-bounces+soleynichenko=zenith.com@ozlabs.org
> [mailto:linuxppc-embedded-bounces+soleynichenko=zenith.com@ozlabs.org] On
> Behalf Of aauer1
> Sent: Monday, October 15, 2007 1:47 PM
> To: linuxppc-embedded@ozlabs.org
> Subject: Re: Linux booting problem on Xilinx ppc
> 
> 
> Hello
> 
> I'm also working with ML403 board from Xilinx and have the same problem as
> you. The boot process stops after decompressing with the message "Now
> booting the kernel". We also used gcc-4.1.0 for the cross compilation. So,
> I
> would be glad to know, which gcc version have you used to get a working
> kernel!
> 
> Thanks,
> Andreas
> 
> 
> 
> Junqiang Hu wrote:
>> 
>> 
>> 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@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@secretlab.ca
>>> (403) 399-0195
>>> _______________________________________________
>>> Linuxppc-embedded mailing list
>>> Linuxppc-embedded@ozlabs.org
>>> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>>> 
>>> 
>> 
>> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/Linux-booting-problem-on-Xilinx-ppc-tf4449060.html#a13
> 219154
> Sent from the linuxppc-embedded mailing list archive at Nabble.com.
> 
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> 
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> 
> 

-- 
View this message in context: http://www.nabble.com/Linux-booting-problem-on-Xilinx-ppc-tf4449060.html#a13239003
Sent from the linuxppc-embedded mailing list archive at Nabble.com.

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

* Re: Linux booting problem on Xilinx ppc
  2007-10-16 18:02         ` aauer1
@ 2007-10-16 19:37           ` Grant Likely
  2007-10-16 20:12             ` T Ziomek
                               ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: Grant Likely @ 2007-10-16 19:37 UTC (permalink / raw)
  To: aauer1; +Cc: linuxppc-embedded

On 10/16/07, aauer1 <aauer1@gmx.at> wrote:
>
> The on-chip memories are disabled. Only the BRAM is enabled. Now, we also use
> the ELDK 4.1 from Denx and the included cross compiler. The result is the
> same... the Kernel stops at "Now booting the kernel". Now, we also have an
> USB JTAG cable. So, we can debug the memory.
> Probably, anyone has another idea.

There are two common reasons for this behaviour:
1. kernel crashes before the console is configured
2. the console is not configured correctly.

In both cases; finding a way to look at __log_buf is the fastest way
to figure out what is going on.

Cheers,
g.

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

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

* Re: Linux booting problem on Xilinx ppc
  2007-10-16 19:37           ` Grant Likely
@ 2007-10-16 20:12             ` T Ziomek
  2007-10-16 20:14               ` Grant Likely
  2007-10-16 20:13             ` Ack, sorry! [was Re: Linux booting problem on Xilinx ppc] T Ziomek
  2007-10-17 12:09             ` Linux booting problem on Xilinx ppc aauer1
  2 siblings, 1 reply; 20+ messages in thread
From: T Ziomek @ 2007-10-16 20:12 UTC (permalink / raw)
  To: aauer1; +Cc: linuxppc-embedded

On Tue, 16 Oct 2007, Grant Likely wrote:
>
> On 10/16/07, aauer1 <aauer1@gmx.at> wrote:
>>
>> The on-chip memories are disabled. Only the BRAM is enabled. Now, we also use
>> the ELDK 4.1 from Denx and the included cross compiler. The result is the
>> same... the Kernel stops at "Now booting the kernel". Now, we also have an
>> USB JTAG cable. So, we can debug the memory.
>> Probably, anyone has another idea.
>
> There are two common reasons for this behaviour:
> 1. kernel crashes before the console is configured
> 2. the console is not configured correctly.
>
> In both cases; finding a way to look at __log_buf is the fastest way
> to figure out what is going on.

Woah.  Grant's [good] advise notwithstanding, I'm confused

-- 
   /"\  ASCII Ribbon Campaign   |
   \ /                          |   Email to user 'CTZ001'
    X        Against HTML       |             at 'email.mot.com'
   / \     in e-mail & news     |

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

* Ack, sorry!  [was Re: Linux booting problem on Xilinx ppc]
  2007-10-16 19:37           ` Grant Likely
  2007-10-16 20:12             ` T Ziomek
@ 2007-10-16 20:13             ` T Ziomek
  2007-10-17 12:09             ` Linux booting problem on Xilinx ppc aauer1
  2 siblings, 0 replies; 20+ messages in thread
From: T Ziomek @ 2007-10-16 20:13 UTC (permalink / raw)
  To: aauer1, linuxppc-embedded

Please ignore my previous msg; I wanted to <cancel> rather than <send>...
Sorry.
-- 
   /"\  ASCII Ribbon Campaign   |
   \ /                          |   Email to user 'CTZ001'
    X        Against HTML       |             at 'email.mot.com'
   / \     in e-mail & news     |

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

* Re: Linux booting problem on Xilinx ppc
  2007-10-16 20:12             ` T Ziomek
@ 2007-10-16 20:14               ` Grant Likely
  0 siblings, 0 replies; 20+ messages in thread
From: Grant Likely @ 2007-10-16 20:14 UTC (permalink / raw)
  To: T Ziomek; +Cc: aauer1, linuxppc-embedded

On 10/16/07, T Ziomek <ctz001@email.mot.com> wrote:
> On Tue, 16 Oct 2007, Grant Likely wrote:
> >
> > There are two common reasons for this behaviour:
> > 1. kernel crashes before the console is configured
> > 2. the console is not configured correctly.
> >
> > In both cases; finding a way to look at __log_buf is the fastest way
> > to figure out what is going on.
>
> Woah.  Grant's [good] advise notwithstanding, I'm confused

In what way?

>
> --
>    /"\  ASCII Ribbon Campaign   |
>    \ /                          |   Email to user 'CTZ001'
>     X        Against HTML       |             at 'email.mot.com'
>    / \     in e-mail & news     |
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>


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

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

* Re: Linux booting problem on Xilinx ppc
  2007-10-16 19:37           ` Grant Likely
  2007-10-16 20:12             ` T Ziomek
  2007-10-16 20:13             ` Ack, sorry! [was Re: Linux booting problem on Xilinx ppc] T Ziomek
@ 2007-10-17 12:09             ` aauer1
  2007-10-17 14:54               ` Grant Likely
  2 siblings, 1 reply; 20+ messages in thread
From: aauer1 @ 2007-10-17 12:09 UTC (permalink / raw)
  To: linuxppc-embedded


Hello.


Grant Likely-2 wrote:
> 
> On 10/16/07, aauer1 <aauer1@gmx.at> wrote:
>>
>> The on-chip memories are disabled. Only the BRAM is enabled. Now, we also
>> use
>> the ELDK 4.1 from Denx and the included cross compiler. The result is the
>> same... the Kernel stops at "Now booting the kernel". Now, we also have
>> an
>> USB JTAG cable. So, we can debug the memory.
>> Probably, anyone has another idea.
> 
> There are two common reasons for this behaviour:
> 1. kernel crashes before the console is configured
> 2. the console is not configured correctly.
> 
> In both cases; finding a way to look at __log_buf is the fastest way
> to figure out what is going on.
> 
> 

I was able to look at the __log_buf variable with the JTAG cable. So, I
recognized that the kernel doesn't halt after the "No booting the kernel"
message. There are many output messages in the __log_buf variable until it
stops at with a "Kernel panic" because the rootfs is not found (but this is
the minor problem).
Now, I know that the kernel boots but I don't get an output with my Xilinx
UartLite module. Are there some kernel modules which must be activated?? 
Btw. I have used the Linux-2.6-virtex kernel from
http://git.secretlab.ca/git/ and another Kernel (2.6.23 from kernel.org) -
both with the same result.

Thanks a lot,
Andreas
-- 
View this message in context: http://www.nabble.com/Linux-booting-problem-on-Xilinx-ppc-tf4449060.html#a13252272
Sent from the linuxppc-embedded mailing list archive at Nabble.com.

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

* Re: Linux booting problem on Xilinx ppc
  2007-10-17 12:09             ` Linux booting problem on Xilinx ppc aauer1
@ 2007-10-17 14:54               ` Grant Likely
  2007-10-17 18:12                 ` aauer1
  0 siblings, 1 reply; 20+ messages in thread
From: Grant Likely @ 2007-10-17 14:54 UTC (permalink / raw)
  To: aauer1; +Cc: linuxppc-embedded

On 10/17/07, aauer1 <aauer1@gmx.at> wrote:
> I was able to look at the __log_buf variable with the JTAG cable. So, I
> recognized that the kernel doesn't halt after the "No booting the kernel"
> message. There are many output messages in the __log_buf variable until it
> stops at with a "Kernel panic" because the rootfs is not found (but this is
> the minor problem).
> Now, I know that the kernel boots but I don't get an output with my Xilinx
> UartLite module. Are there some kernel modules which must be activated??
> Btw. I have used the Linux-2.6-virtex kernel from
> http://git.secretlab.ca/git/ and another Kernel (2.6.23 from kernel.org) -
> both with the same result.

Post the output of __log_buf here please.

g.


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

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

* Re: Linux booting problem on Xilinx ppc
  2007-10-17 14:54               ` Grant Likely
@ 2007-10-17 18:12                 ` aauer1
  2007-10-17 18:23                   ` Grant Likely
  0 siblings, 1 reply; 20+ messages in thread
From: aauer1 @ 2007-10-17 18:12 UTC (permalink / raw)
  To: linuxppc-embedded



Grant Likely-2 wrote:
> 
> On 10/17/07, aauer1 <aauer1@gmx.at> wrote:
>> Now, I know that the kernel boots but I don't get an output with my
>> Xilinx
>> UartLite module. Are there some kernel modules which must be activated??
>> Btw. I have used the Linux-2.6-virtex kernel from
>> http://git.secretlab.ca/git/ and another Kernel (2.6.23 from kernel.org)
>> -
>> both with the same result.
> 
> Post the output of __log_buf here please.
> 
> 

Here is my dump of the __log_buf:
======================
<5>[    0.000000] Linux version 2.6.23-rc2
(aauer@servitus.student.iaik.tugraz.at) (gcc version 4.0.0 (DENX ELDK 4.1
4.0
.0)) #8 Wed Oct 17 20:05:28 CEST 2007
<6>[    0.000000] Xilinx ML403 Reference System (Virtex-4 FX)
<7>[    0.000000] Entering add_active_range(0, 0, 16384) 0 entries of 256
used
<4>[    0.000000] Zone PFN ranges:
<4>[    0.000000]   DMA             0 ->    16384
<4>[    0.000000]   Normal      16384 ->    16384
<4>[    0.000000] Movable zone start PFN for each node
<4>[    0.000000] early_node_map[1] active PFN ranges
<4>[    0.000000]     0:        0 ->    16384
<7>[    0.000000] On node 0 totalpages: 16384
<7>[    0.000000]   DMA zone: 128 pages used for memmap
<7>[    0.000000]   DMA zone: 0 pages reserved
<7>[    0.000000]   DMA zone: 16256 pages, LIFO batch:3
<7>[    0.000000]   Normal zone: 0 pages used for memmap
<7>[    0.000000]   Movable zone: 0 pages used for memmap
<4>[    0.000000] Built 1 zonelists in Zone order.  Total pages: 16256
<5>[    0.000000] Kernel command line: console=ttUL0 root=/dev/xsysace2 rw
<6>[    0.000000] Xilinx INTC #0 at 0x41200000 mapped to 0xFDFFF000
<4>[    0.000000] PID hash table entries: 256 (order: 8, 1024 bytes)
<4>[    0.000325] Console: colour dummy device 80x25
<6>[    0.001380] Dentry cache hash table entries: 8192 (order: 3, 32768
bytes)
<6>[    0.002924] Inode-cache hash table entries: 4096 (order: 2, 16384
bytes)
<4>[    0.029750] Memory: 63256k available (1172k kernel code, 384k data,
84k init, 0k highmem)
<7>[    0.030975] Calibrating delay loop... 299.00 BogoMIPS (lpj=598016)
<4>[    0.120718] Mount-cache hash table entries: 512
<6>[    0.171779] io scheduler noop registered
<6>[    0.171857] io scheduler anticipatory registered (default)
<6>[    0.171884] io scheduler deadline registered
<6>[    0.172262] io scheduler cfq registered
<6>[    0.268268] uartlite.0: ttyUL0 at MMIO 0x40600000 (irq = 2) is a
uartlite
<4>[    0.281400] RAMDISK driver initialized: 8 RAM disks of 8192K size 1024
blocksize
<6>[    0.282765] mice: PS/2 mouse device common for all mice
<4>[    0.286181] VFS: Cannot open root device "xsysace2" or
unknown-block(0,0)
<4>[    0.286252] Please append a correct "root=" boot option; here are the
available partitions:
<0>[    0.286323] Kernel panic - not syncing: VFS: Unable to mount root fs
on unknown-block(0,0)
<0>[    0.286374] Rebooting in 180 seconds..

Thanks,
Andreas

-- 
View this message in context: http://www.nabble.com/Linux-booting-problem-on-Xilinx-ppc-tf4449060.html#a13259685
Sent from the linuxppc-embedded mailing list archive at Nabble.com.

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

* Re: Linux booting problem on Xilinx ppc
  2007-10-17 18:12                 ` aauer1
@ 2007-10-17 18:23                   ` Grant Likely
  2007-10-17 18:56                     ` aauer1
  2007-10-18 23:27                     ` 转发: " keng_629
  0 siblings, 2 replies; 20+ messages in thread
From: Grant Likely @ 2007-10-17 18:23 UTC (permalink / raw)
  To: aauer1; +Cc: linuxppc-embedded

On 10/17/07, aauer1 <aauer1@gmx.at> wrote:
>
>
> Grant Likely-2 wrote:
> >
> > On 10/17/07, aauer1 <aauer1@gmx.at> wrote:
> >> Now, I know that the kernel boots but I don't get an output with my
> >> Xilinx
> >> UartLite module. Are there some kernel modules which must be activated??
> >> Btw. I have used the Linux-2.6-virtex kernel from
> >> http://git.secretlab.ca/git/ and another Kernel (2.6.23 from kernel.org)
> >> -
> >> both with the same result.
> >
> > Post the output of __log_buf here please.
> >
> >
>
> Here is my dump of the __log_buf:
> ======================
> <5>[    0.000000] Linux version 2.6.23-rc2
> (aauer@servitus.student.iaik.tugraz.at) (gcc version 4.0.0 (DENX ELDK 4.1
> 4.0
> .0)) #8 Wed Oct 17 20:05:28 CEST 2007
> <6>[    0.000000] Xilinx ML403 Reference System (Virtex-4 FX)
> <7>[    0.000000] Entering add_active_range(0, 0, 16384) 0 entries of 256
> used
> <4>[    0.000000] Zone PFN ranges:
> <4>[    0.000000]   DMA             0 ->    16384
> <4>[    0.000000]   Normal      16384 ->    16384
> <4>[    0.000000] Movable zone start PFN for each node
> <4>[    0.000000] early_node_map[1] active PFN ranges
> <4>[    0.000000]     0:        0 ->    16384
> <7>[    0.000000] On node 0 totalpages: 16384
> <7>[    0.000000]   DMA zone: 128 pages used for memmap
> <7>[    0.000000]   DMA zone: 0 pages reserved
> <7>[    0.000000]   DMA zone: 16256 pages, LIFO batch:3
> <7>[    0.000000]   Normal zone: 0 pages used for memmap
> <7>[    0.000000]   Movable zone: 0 pages used for memmap
> <4>[    0.000000] Built 1 zonelists in Zone order.  Total pages: 16256
> <5>[    0.000000] Kernel command line: console=ttUL0 root=/dev/xsysace2 rw

Typo!  :-)

Try  "ttyUL0"

g.


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

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

* Re: Linux booting problem on Xilinx ppc
  2007-10-17 18:23                   ` Grant Likely
@ 2007-10-17 18:56                     ` aauer1
  2007-10-18 23:27                     ` 转发: " keng_629
  1 sibling, 0 replies; 20+ messages in thread
From: aauer1 @ 2007-10-17 18:56 UTC (permalink / raw)
  To: linuxppc-embedded


Thanks. Now, I get the output over the serial line!!!!

Thanks, very much!
Andreas



Grant Likely-2 wrote:
> 
> On 10/17/07, aauer1 <aauer1@gmx.at> wrote:
>>
>>
>> Grant Likely-2 wrote:
>> >
>> > On 10/17/07, aauer1 <aauer1@gmx.at> wrote:
>> >> Now, I know that the kernel boots but I don't get an output with my
>> >> Xilinx
>> >> UartLite module. Are there some kernel modules which must be
>> activated??
>> >> Btw. I have used the Linux-2.6-virtex kernel from
>> >> http://git.secretlab.ca/git/ and another Kernel (2.6.23 from
>> kernel.org)
>> >> -
>> >> both with the same result.
>> >
>> > Post the output of __log_buf here please.
>> >
>> >
>>
>> Here is my dump of the __log_buf:
>> ======================
>> <5>[    0.000000] Linux version 2.6.23-rc2
>> (aauer@servitus.student.iaik.tugraz.at) (gcc version 4.0.0 (DENX ELDK 4.1
>> 4.0
>> .0)) #8 Wed Oct 17 20:05:28 CEST 2007
>> <6>[    0.000000] Xilinx ML403 Reference System (Virtex-4 FX)
>> <7>[    0.000000] Entering add_active_range(0, 0, 16384) 0 entries of 256
>> used
>> <4>[    0.000000] Zone PFN ranges:
>> <4>[    0.000000]   DMA             0 ->    16384
>> <4>[    0.000000]   Normal      16384 ->    16384
>> <4>[    0.000000] Movable zone start PFN for each node
>> <4>[    0.000000] early_node_map[1] active PFN ranges
>> <4>[    0.000000]     0:        0 ->    16384
>> <7>[    0.000000] On node 0 totalpages: 16384
>> <7>[    0.000000]   DMA zone: 128 pages used for memmap
>> <7>[    0.000000]   DMA zone: 0 pages reserved
>> <7>[    0.000000]   DMA zone: 16256 pages, LIFO batch:3
>> <7>[    0.000000]   Normal zone: 0 pages used for memmap
>> <7>[    0.000000]   Movable zone: 0 pages used for memmap
>> <4>[    0.000000] Built 1 zonelists in Zone order.  Total pages: 16256
>> <5>[    0.000000] Kernel command line: console=ttUL0 root=/dev/xsysace2
>> rw
> 
> Typo!  :-)
> 
> Try  "ttyUL0"
> 
> g.
> 
> 
> -- 
> Grant Likely, B.Sc., P.Eng.
> Secret Lab Technologies Ltd.
> grant.likely@secretlab.ca
> (403) 399-0195
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> 
> 

-- 
View this message in context: http://www.nabble.com/Linux-booting-problem-on-Xilinx-ppc-tf4449060.html#a13260526
Sent from the linuxppc-embedded mailing list archive at Nabble.com.

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

* 转发: Re: Linux booting problem on Xilinx ppc
  2007-10-17 18:23                   ` Grant Likely
  2007-10-17 18:56                     ` aauer1
@ 2007-10-18 23:27                     ` keng_629
  1 sibling, 0 replies; 20+ messages in thread
From: keng_629 @ 2007-10-18 23:27 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 2270 bytes --]


On  10/17/07,  aauer1   <aauer1@gmx.at >  wrote:
>
>
>  Grant  Likely-2  wrote:
>   >
>   >  On  10/17/07,  aauer1   <aauer1@gmx.at >  wrote:
>   > >  Now,  I  know  that  the  kernel  boots  but  I  don't  get  an  output  with  my
>   > >  Xilinx
>   > >  UartLite  module.  Are  there  some  kernel  modules  which  must  be  activated??
>   > >  Btw.  I  have  used  the  Linux-2.6-virtex  kernel  from
>   > >  http://git.secretlab.ca/git/  and  another  Kernel  (2.6.23  from  kernel.org)
>   > >  -
>   > >  both  with  the  same  result.
>   >
>   >  Post  the  output  of  __log_buf  here  please.
>   >
>   >
>
>  Here  is  my  dump  of  the  __log_buf:
>  ======================
>   <5 >[        0.000000]  Linux  version  2.6.23-rc2
>  (aauer@servitus.student.iaik.tugraz.at)  (gcc  version  4.0.0  (DENX  ELDK  4.1
>  4.0
>  .0))  #8  Wed  Oct  17  20:05:28  CEST  2007
>   <6 >[        0.000000]  Xilinx  ML403  Reference  System  (Virtex-4  FX)
>   <7 >[        0.000000]  Entering  add_active_range(0,  0,  16384)  0  entries  of  256
>  used
>   <4 >[        0.000000]  Zone  PFN  ranges:
>   <4 >[        0.000000]      DMA                          0  - >        16384
>   <4 >[        0.000000]      Normal            16384  - >        16384
>   <4 >[        0.000000]  Movable  zone  start  PFN  for  each  node
>   <4 >[        0.000000]  early_node_map[1]  active  PFN  ranges
>   <4 >[        0.000000]          0:                0  - >        16384
>   <7 >[        0.000000]  On  node  0  totalpages:  16384
>   <7 >[        0.000000]      DMA  zone:  128  pages  used  for  memmap
>   <7 >[        0.000000]      DMA  zone:  0  pages  reserved
>   <7 >[        0.000000]      DMA  zone:  16256  pages,  LIFO  batch:3
>   <7 >[        0.000000]      Normal  zone:  0  pages  used  for  memmap
>   <7 >[        0.000000]      Movable  zone:  0  pages  used  for  memmap
>   <4 >[        0.000000]  Built  1  zonelists  in  Zone  order.    Total  pages:  16256
>   <5 >[        0.000000]  Kernel  command  line:  console=ttUL0  root=/dev/xsysace2  rw

try the command line bootargs console=ttyUL0,boardrate root=/dev/xsysace2 rw 
you must make sure that you have the xsysace2 device, or you can take a test using ramdisk.i think it will run well

[-- Attachment #2: Type: text/html, Size: 6254 bytes --]

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

end of thread, other threads:[~2007-10-18 23:27 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-15 21:26 Linux booting problem on Xilinx ppc Junqiang Hu
2007-09-15 21:29 ` Junqiang Hu
2007-09-16  3:09 ` Grant Likely
2007-09-16  4:39   ` Junqiang Hu
2007-09-16 15:37     ` Stelios Koroneos
2007-10-15 18:46     ` aauer1
2007-10-15 19:17       ` Koss, Mike (Mission Systems)
2007-10-15 19:20       ` Grant Likely
2007-10-16 15:08       ` Sergey Oleynichenko
2007-10-16 18:02         ` aauer1
2007-10-16 19:37           ` Grant Likely
2007-10-16 20:12             ` T Ziomek
2007-10-16 20:14               ` Grant Likely
2007-10-16 20:13             ` Ack, sorry! [was Re: Linux booting problem on Xilinx ppc] T Ziomek
2007-10-17 12:09             ` Linux booting problem on Xilinx ppc aauer1
2007-10-17 14:54               ` Grant Likely
2007-10-17 18:12                 ` aauer1
2007-10-17 18:23                   ` Grant Likely
2007-10-17 18:56                     ` aauer1
2007-10-18 23:27                     ` 转发: " keng_629

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