• 0
Saurabh

Github Digilent/linux-digilent repository

Question

Hello,

Currently, I am working with Zedboard. I want to boot PS with Linaro for that it requires BOOT.BIN, devicetree, zImage file. I am following https://reference.digilentinc.com/_media/zedboard/zedboard_gswel_guide.pdf

In the document while building Linux Kernel, a config file "digilent_zed_deconfig" is missing from the digilent github repository. Kindly suggest from where I can access the required file so that i can proceed ahead. 

Thanks,

Saurabh

 

Edited by Saurabh

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi Saurabh,

Sadly the documentation you are referring to is outdated, the newer versions of linux kernel do not have the same config files as the one presented in that document. Also as far as I know Digilent dose not have an updated version of this document or a tutorial which will help you guide your way through the maze which is embedded Linux and Linaro (as far as I know).

Now depending on what you might want you have a couple of options:

If you are looking only to use Linux on the board, for the sake of using Linux without actually adding or creating costume IP in the FPGA part of the Zynq. I recommend using an "plug and play" kind of a solution, called Xilinux by Xillybus. It is sort of an black box approach, from a hardware perspective, with a hard to modify Linux Kernel. You basically just have to build the hardware copy the kernel and the image on a SD card and you are good to go. It is also more stable than Linaro, from what I tested. 

http://xillybus.com/xillinux

If you are more into building your costume hardware and costume kernel, I recommend using the Analog Devices tutorial for the ZedBoard. Although it is harder to follow and you have more steps than with the Xilinux, it will allow you to change things in it with little ease. This approach will also teach you more about embedded linux than the other one, because it will force you to self study on this subject. 

https://wiki.analog.com/resources/tools-software/linux-drivers/platforms/zynq#build_and_install_the_kernel_image   

Also if you are more inclined towards this solution I strongly suggest you look over the Zybo Linux example from Digilent. Granted it is not constructed for the ZedBoard but the configuring and building of the kernel and hardware is very similar, you might get a better perspective on the whole embedded Linux world if you look at the Zybo example also.

http://www.instructables.com/id/Embedded-Linux-Tutorial-Zybo/?ALLSTEPS

There is no easy beginner friendly solution for what you want. Nothing like the raspberry pi where you just plug in a SD card and turn a switch. But ultimately it will teach you more than the pi and with a little persistence it will also be a lot more "powerful" then the pi.

Cheers,

Ciprian

Share this post


Link to post
Share on other sites
  • 0

Hello Ciprian,

Thank you for reply !!

I have managed to build zImage and devicetree for the Zedboard. I am facing difficulty in getting BOOT.bin file for the Zedboard. The one available on the digilent resources is not working (in my case don't know whether I am doing any mistake or their is some problem with file).  Kindly tell me how to configure BOOT.bin file for Linaro on Zedboard.

Thanks !

Saurabh

Edited by Saurabh

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now