cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
alishah
Explorer
Explorer
2,311 Views
Registered: ‎02-27-2014

Do I need to modify and build u-boot?

I want to know to run petalinux from QSPI do I have to do any thing in U-boot? 

 

Actually I have used custome image , I  developed using petalinux-config, and then build it.

Then I downloaded u-boot.elf from xilinx website and using it directly.

 

The offsets I am chosing is same as that given here:

 

http://www.wiki.xilinx.com/Zc702+Boot+From+Flash

 

When I am trying to program QSPI as given in teh above link. Every thing goes fine till

xmd% connect arm hw
xmd% source ps7_init.tcl
xmd% ps7_init
xmd% dow -data qspi_image.bin 0x08000000
xmd% dow u-boot.elf
xmd% con

 but I should see uboot prompt  on the serial console. But that is not hapening.

 

 

Why it hgapening?  Do I need to do some settings in u-boot. DO I need to build my own u-boot?

 

 

Also I ran the image in QEMU, it runs fine except that it says  somewhere in the log:

 

Unable to find dhcp server

 

but it proceed to loging prompt. No issue after that.   

 

 

     

0 Kudos
1 Reply
linnj
Xilinx Employee
Xilinx Employee
2,296 Views
Registered: ‎09-10-2008

The first thing I would do is get a baseline with the prebuilt images in petalinux for the 702 board. I would focus on just getting output from u-boot to the console. I would start by booting the images from the SD card, then move to JTAG afterwards.

The basics in XMD that you show are look OK, but it's not clear where the ps7_init.tcl came from and are you building it. You could also start with generating a hello world in the SDK and then making sure you have output to the UART with it working ok. Start simple, then slowly add complexity.

Hope that helps.
0 Kudos