Sorry, you need to enable JavaScript to visit this website.

Wrong device ID

Unsolved
11 posts / 0 new
Wuddl's picture
Wuddl
Junior(0)
Wrong device ID

when my linux is booting from SD card, i get an error that the device ID in reg1 is wromg.

Indeed there is an much to high value in the register and not the value for the xilinx zynq device.
does anyone know where to look for the source of this error?

Thanks for any help!

Greeting Wuddl

TimDuffy's picture
TimDuffy
Junior(1)
Wuddl,

Wuddl,

Are you using the Zedboard? And if so, are you using the default SD-Card image? If not, can you download it from here:

http://zedboard.org/node/241

and try that one and post back our results?

If you are getting this error when compiling a custom kernel, or compiling against the Xilinx repo, or the Digilent repo, it is possible you have the incorrect .dts file.

Wuddl's picture
Wuddl
Junior(0)
yes i use the Zedboard.

yes i use the Zedboard.
The default image works fine.

But i want to try to buil my own system with self compiled linux and so on.

my BOOT.BIN file works and boots well. It unpacks the kernel and says wrong device ID. (wich is correct)

I use the XIlinx linux 3.3 repo on git as well as the u-boot from there.

I will try to see if my dts file is correct.

Wuddl's picture
Wuddl
Junior(0)
ok , i really used the wrong

ok , i really used the wrong dts file. the dts file out of the digilent repo doenst work with my configuration. I used a self modfied zc702 dts file. Changed the ethernet section and so like discribed in our nice litte forum here and it worked fine.

Im happy, my first self buil linux on my own system. It is very basic with no extra ip core an so, but still its a good start i think.

TimDuffy's picture
TimDuffy
Junior(1)
Wuddl, congrats! I'm glad

Wuddl, congrats! I'm glad you got it up and running. Would you mind posting your .dts file contents for others to benefit from?

Thanks.

AirLancer's picture
AirLancer
Junior(0)
Pleas post .dts file

Hey,

I would be very glad if you could post your .dts file as I've been struggeling with that.
I always get wrong device ID error when trying to boot.

Heinz's picture
Heinz
Junior(0)
Wrong device ID

Hi,
because I currently have the same problem with the kernel reporting a wrong device Id, I too am interested in looking at your .dts.
What did you change Wuddl? Wher is the device Id coded?
Regards

AirLancer's picture
AirLancer
Junior(0)
Hello Heinz,

Hello Heinz,

what are you trying to do? Compiling your own kernel?
Either way, try to look at the device tree tutrial:
http://www.xillybus.com/tutorials/device-tree-zynq-1
On the first page it will tell you how to get a .dts file from a devicetree.dtb (i.e the one already on the sd card, or the one you created installing xillinux).