Hi denglin12315,
It sounds like your FSBL is not handing off execution to a valid ELF loaded into memory, very similar to this post here:
http://zedboard.org/content/microzed-compiling-u-boot-image-and-creating-bootbin
What does the BIF (Boot Image Format) file that SDK generates behind the scenes look like?
Regards,
-Kevin
Hi Kevin,
I am sure the BIF (Boot Image Format) file that SDK generates behind the scenes is right. And I finally find if I use "Periferial_Test" as template to create my led application in SDK, it all works. But if I use "Helloword" or another template to do this, problem will happen like my previously question.
Regards,
denglin12315
Hi denglin12315,
Hmmm, those are some interesting clues that you point out where some applications work but others do not. I have seen that before where applications run from OCM work but running from DDR does not. This led me to tracking the problem down to a bad DDR configuration from Vivado. I don't think that is the case here because if you are able to run Memory_Test successfully, then that indicates that DDR memory has been configured correctly.
From what you described, it sounds like you are not able to boot your helloword application from BOOT.BIN but are you able to load and run it correctly across the JTAG debug interface?
Regards,
-Kevin
Hi Kevin,
I am sorry to took a long time to get back to you.These days we have a long vacation for chinese spring festival.
Firstly,it works correctly across the JTAG debug interface,but doesn't across SD card only.
In addition,I have some other questions.As you know,there is one 8GB SD card attached with the picozed SDR2
development kit,and in the SD card,we can find some image file(linux OS) and run it directly on picozed SDR2,via the hdmi
interface,we know it is ubuntu and running iio osc application by ADI.
where can I got source code and cross compile tools to generate these image file? I have already tried to use petalinux
development my own sofware based on picozed SDR2 and ccfmc,but some device(or function) can't run(such as hdmi,ad9361...etc).
So,could you give me some suggestions about this?
Regards,
-lin.deng
Hello denglin12315,
Linux source code - https://github.com/analogdevicesinc/linux
Example steps for rebuilding - https://wiki.analog.com/resources/eval/user-guides/ad-fmcomms2-ebz/software/linux/zynq_2014r2
Post on rebuilding the HDL project - http://picozed.org/content/how-do-i-rebuild-reference-design-hdl-project
/Matt
Hello Matt,
Thanks for you replying, it's very helpful!
-lin.deng