* 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
* 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
* 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 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