09-30-2014 01:02 AM
i work currently with the Vivado Zynq SpeedWay Petalinux Workshop.
After hours of hard fights with linux i get it working :)
I tried to boot via DHCP server on the host, but my Zedboard was not able download the image.ub file.
I found no documentation about setting up this DHCP server for Petalinux / Zedboard.
I use Linux Centos7.
I tried some tutorials about seeting up a DHCP server but nothing works.
My Linux Host and the Zedboard are connected to my Network where is a Router, could this be a problem?
I'm very new to linux, i hope you can help me.
09-30-2014 06:06 AM
09-30-2014 06:23 AM
thanks for you fast answer.
Yeah i'm a litte bit confused:)
In some tutorials they first set up a dhcp server than a ftp server an finaly the uboot on the zedboard "or whatever" was able to download the desired image.ub.
Why do they first setup a dhcp server?
I also tried to get a tftp server running on my centos host but uboot was not able to download the image.
My goal is that the uboot loader is able to download the image.ub file over ethernet.
Like they do in the Petalinux Speedway Workshop 02.
09-30-2014 06:27 AM
09-30-2014 07:08 AM
could you recommend a good embedded linux book?
I thougt the Speedway Workshop is for beginners, i dont understand why they
go this way and not the easiest way with sd card.
You're right i should first use a SD card.
Thank you very much
09-30-2014 07:30 AM
06-09-2015 06:25 PM
With the U-boot-petalinux, dhcp fails to get ip address from the server. Happens on many systems, even with the out of the box boards and fresh petalinux image downloads. Period.
01-11-2017 09:25 AM
I agree with you, some instructions are not very clear in the tutorials but just like linnj said you do not need the DHCP to download the image.ub. Here is an example of how to do it with out the DHCP.
1. Set the TFTP server on your host Linux computer. LINK
2. Reset the board and press any key to stop auto-boot
3. Enter the IP address of your host computer (in my case 192.168.33.1)
U-Boot-PetaLinux> set serverip 192.168.33.1
4. Set the IP address for your board to communicate to your host computer
U-Boot-PetaLinux>set ipaddr 192.168.33.2
5. Download the image.ub