Skip to contentSkip to conversation

XUPV2P update to kernel 2.6 fails

DISCUSSION Jan Müller 5 participants 7 messages Dec 6, 2008 – Dec 11, 2008

lore
Share & tools
lore
#0 lore raw

Hi all,

I was wondering if anyone got the XUPV2P board successfully up and running with a recent 2.6 kernel?

I didn't succeed. I tried the newest kernel from xilinx git (2.6.27) and also an older one, 2.6.22 (also from xilinx git). For the newer I used the "device-tree" as bsp. For the 2.6.22 I just copied over the xparameters_ml300.h file.

In both cases no output at all was observable at the uart. Not even a single sign from the uart at any time...

Strange is, the same download.bit file is working with a 2.4 kernel. Could it be a kernel .config issue?

But can this really be a software/kernel issue? For the 2.4 kernel there was an output from the "bootloader" (some addresses and the "Loading..." information) even for wrong configured kernels...

On this list I was reading something about setting the uart clockfreq correctly in the .dts (it was not set at all, I have to stick with EDK 9.1). But this didn't help for me.

To boot the FPGA I have to use an ace file on a cf-disc. For this I use the download.bit file together with the simpleImage.virtex405-XUPV2P.elf (on 2.6.27) or zImage (on 2.6.22)...

Any suggestions on this? Thanks a lot!

Regards,
Jan

#1 lore raw

You should visit http://xilinx.wikidot.com as there's more information ther= e.

In general, this board is not directly supported, but is very similar to ML= 405, a board with a Virtex 4 and a 405 processor.

Thanks,
John

Quoted 2 lines

-----Original Message-----
From: [email protected] [mailto=

:linuxppc-embedded-

Quoted 44 lines

[email protected]] On Behalf Of Jan M=FCller
Sent: Saturday, December 06, 2008 1:11 PM
To: linuxppc-embedded
Subject: XUPV2P update to kernel 2.6 fails
=

Hi all,
=

I was wondering if anyone got the XUPV2P board successfully up and running with a recent 2.6 kernel?
=

I didn't succeed. I tried the newest kernel from xilinx git (2.6.27) and also an older one, 2.6.22 (also from xilinx git). For the newer I used the "device-tree" as bsp. For the 2.6.22 I just copied over the xparameters_ml300.h file.
=

In both cases no output at all was observable at the uart. Not even a single sign from the uart at any time...
=

Strange is, the same download.bit file is working with a 2.4 kernel. Could it be a kernel .config issue?
=

But can this really be a software/kernel issue? For the 2.4 kernel there was an output from the "bootloader" (some addresses and the "Loading..." information) even for wrong configured kernels... =

On this list I was reading something about setting the uart clockfreq correctly in the .dts (it was not set at all, I have to stick with EDK 9.1). But this didn't help for me.

To boot the FPGA I have to use an ace file on a cf-disc. For this I use the download.bit file together with the simpleImage.virtex405-XUPV2P.elf (on 2.6.27) or zImage (on 2.6.22)...
=

Any suggestions on this? Thanks a lot!
=

Quoted 6 lines

Regards,
Jan
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

This email and any attachments are intended for the sole use of the named r= ecipient(s) and contain(s) confidential information that may be proprietary= , privileged or copyrighted under applicable law. If you are not the intend= ed recipient, do not read, copy, or forward this email message or any attac= hments. Delete this email message and any attachments immediately.

#2 lore raw

Hi

I was setting up linux for teh XUP a few month ago. Both, older Kernels (w=
ith ppc and xparameters=5Fml300.h file) and new ones (with powerpc and devic=
e-tree) from the Xilinx git server worked fine for me, so yes, it should w=
ork.
For more help you should say, what exactly you are doing, but maybe you ha=
ve already found your error.
Cheers,
Joachim =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F Psssst! Schon vom neuen WEB.DE MultiMessenger geh=F6rt=3F=20
Der kann`s mit allen: http://www.produkte.web.de/messenger/=3Fdid=3D3123

#3 lore raw

Hi,

I got Linux up and running as well on the XUPV2P using Linux kernel version 2.6.24 a while back, downloaded from the Xilinx git tree.

Alan.

Quoted 11 lines

-- Original Message --
Date: Wed, 10 Dec 2008 11:05:13 +0100
From: Joachim Meyer <[email protected]>
To: John Linn <[email protected]>
Subject: RE: XUPV2P update to kernel 2.6 fails
Cc: [email protected]

Hi

I was setting up linux for teh XUP a few month ago. Both, older Kernels

(with

Quoted 1 line

ppc and xparameters_ml300.h file) and new ones (with powerpc and device-=

tree)

Quoted 2 lines

from the Xilinx git server worked fine for me, so yes, it should work. For more help you should say, what exactly you are doing, but maybe you

have

Quoted 11 lines

already found your error.
Cheers,
Joachim
____________________________________________________________________
Psssst! Schon vom neuen WEB.DE MultiMessenger geh=F6rt?
Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3D3123

_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

#4 lore raw
In reply to Joachim Meyer

Hi,

Thanks a lot for the answers!

Now I don't feel so alone anymore...

I finally got it to work. The problem was simple: I'm using an uart pcore from openpcores. And this hardware requires some changes to the ns16550 kernel driver... With those changes, everything goes well! I'm happy about that.. ;-)

But... since everything seems to work now with EDK 9.1 I try to use my XUP-board with the EDK 10.1

In EDK 10.1 there is no board definition file for my XUPV2P. Right now I use the board file from:

https://wiki.ittc.ku.edu/ittc/Eecs388#Tool_Repository

Now I got even stranger bahaviour than before. When ever I try to boot into a linux kernel, some arbitrary boot parameters seem to appear. Like:

	Loading from 0x00004000
	[...]

And after those messages the system hangs. (the real messages vary from time to time)

I have to say that for the MemoryTestApp there seems to be no problem. It runs like a charm..

So now I'm wondering if anyone has a board definition file usable for the linux kernel on the XUPV2P??

Thanks a lot for any hint!

Kind regards,
Jan

Quoted 14 lines · Joachim Meyer

Hi

I was setting up linux for teh XUP a few month ago. Both, older Kernels (with ppc and xparameters_ml300.h file) and new ones (with powerpc and device-tree) from the Xilinx git server worked fine for me, so yes, it should work. For more help you should say, what exactly you are doing, but maybe you have already found your error.
Cheers,
Joachim
____________________________________________________________________
Psssst! Schon vom neuen WEB.DE MultiMessenger gehört?
Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123

_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

#5 lore raw

You have better to use EDK 9.1.=20
I tried to use EDK 10.1 for the xupv2p and I used the board defintion file from=20
https://wiki.ittc.ku.edu/ittc/Eecs388#Tool_Repository .=20
Linux 2.6 booted correctly, but I failed to get the Ethernet working.

So I used EDK 9.1 to generate the device tree. Now I have linux 2.6 on my xupv2p, with root file system=20
on a remote host (nfs boot).
I still have a problem, I didn't succeed to access the flash disk (pbs with sysace driver).

If you want more precise informations, I can help you.

Good luck :)

Quoted 60 lines · Jan M=C3=BCller wrote:

=20
Hi,
=20
Thanks a lot for the answers!
=20
Now I don't feel so alone anymore...
=20
I finally got it to work. The problem was simple: I'm using an uart pcore from openpcores. And this hardware requires some changes to the ns16550 kernel driver... With those changes, everything goes well! I'm happy about that.. ;-)
=20
But... since everything seems to work now with EDK 9.1 I try to use my XUP-board with the EDK 10.1
=20
In EDK 10.1 there is no board definition file for my XUPV2P. Right now I use the board file from:
=20
https://wiki.ittc.ku.edu/ittc/Eecs388#Tool_Repository
=20
Now I got even stranger bahaviour than before. When ever I try to boot into a linux kernel, some arbitrary boot parameters seem to appear. Like:
=20
=09Loading from 0x00004000
=09[...]
=20
And after those messages the system hangs. (the real messages vary from time to time)
=20
I have to say that for the MemoryTestApp there seems to be no problem. It runs like a charm..
=20
So now I'm wondering if anyone has a board definition file usable for the linux kernel on the XUPV2P??
=20
Thanks a lot for any hint!
=20
Kind regards,
Jan
=20

Quoted 10 lines · Joachim Meyer

Hi
=20
I was setting up linux for teh XUP a few month ago. Both, older Kernels (with ppc and xparameters_ml300.h file) and new ones (with powerpc and device-tree) from the Xilinx git server worked fine for me, so yes, it should work.
For more help you should say, what exactly you are doing, but maybe you have already found your error.
Cheers,
Joachim

Quoted 8 lines

____________________________________________________________________
Psssst! Schon vom neuen WEB.DE MultiMessenger geh=C3=B6rt?=20 Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3D3123
=20
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Quoted 6 lines

_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
=20
=20

--=20
View this message in context: http://www.nabble.com/XUPV2P-update-to-kernel=
-2.6-fails-tp20874170p20957894.html
Sent from the linuxppc-embedded mailing list archive at Nabble.com.

#6 lore raw
In reply to Joachim Meyer

Hi Joachim,
Did you have the sysace working fine?
thanks

Quoted 13 lines · Joachim Meyer

=20
Hi
=20
I was setting up linux for teh XUP a few month ago. Both, older Kernels (with ppc and xparameters_ml300.h file) and new ones (with powerpc and device-tree) from the Xilinx git server worked fine for me, so yes, it should work.
For more help you should say, what exactly you are doing, but maybe you have already found your error.
Cheers,
Joachim
____________________________________________________________________
Psssst! Schon vom neuen WEB.DE MultiMessenger geh=C3=B6rt?=20

Quoted 8 lines

Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3D3123
=20
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
=20
=20

--=20
View this message in context: http://www.nabble.com/XUPV2P-update-to-kernel=
-2.6-fails-tp20874170p20957950.html
Sent from the linuxppc-embedded mailing list archive at Nabble.com.