02-16-2016 11:50 PM
I have tried to boot linux with SD card on Zynq (ZC706)
I have made BOOT.bin by using "create zynq boot image" (FSBL.elf / xxxx.bit / u-boot.elf )
Booting linux with QSPI Flash was successfully done.
However, using SD card was not able to boot linux on zynq.
There were two file on SD card
BOOT.bin that I have generated from "create zynq boot image"
image.ub that I have downloaded from Xilinx website
I have set SW11 for SD mode.
However, it showed
ERROR: can't get kernel image!
I have to use XSDB console to download image.ub through JTAG.
Then, booting linux could be successful.
Do you think I can boot linux by using SD card as standalone?
In other words, Can I boot linux without downloading image.ub through XSDB console?
I want the system to boot linux when I just power on withouth any command.
I appreciate any comment or help
02-17-2016 12:20 AM
02-17-2016 12:20 AM
02-17-2016 12:51 AM
Thank you @sampatd
Since booting linux was successfully done when I download image.ub through JTAG,
then I don't think image.ub / BOOT.bin have problem.
I just read the link that you sent and I got more confused.
My goal is just run linux on ZYNQ as standalone.
Actually I am new to linux (embedded). I am currently RTL engineer.
Anyway, I think this issue is very simple, since I am following tutorial (UG1195)
Since using QSPI flash for booting linux works fine (but not on SD card), there is no problem on the files (image.ub / BOOT.bin)
I think there is a very small thing that I have missed or I need to fix.
Anyway thanks for comment.
I will read the link again
02-17-2016 01:10 AM
02-17-2016 01:35 AM
Oh my god.
So, the conclusion of this issue is that BOOT.bin has some problem.
Backward, BOOT.bin consist of three files (u-boot.elf / xxx.bit / FSBL.elf)
As long as your files works fine on this board, it means that u-boot.elf has some problem.
I have used download file from xilinx website.
So, I have to make my own u-boot.elf from my PC (linux)
Now, I have to install petalinux on my PC.
Is it correct?
Also, I have to install bsp on linux. right? or do i have to install on window (currently using) ?
Do you have any link or document to make u-boot.elf ?
I really appreciate your help
02-17-2016 02:09 AM
02-17-2016 04:28 PM
I have two more questions
one is that what is the role of Image.ub ?
Another question is what is the difference between generating u-boot in SDK and in petalinux tools?
I think the result should be the same from both cases.
There might be some minor different things such as enviornment setting.
I asked my co-worker (good at linux) to fix the issue.
He compared the environment set-up for both BOOT.bin files (the one you generated in petalinux tools / the one I generated in SDK)
He said that Image.ub was set to be downloaded from flash memory, not from SD-card.
BOOT.bin generated in SDK should work as tutorial in general. right? (but i had some issue somehow)
So, I just want to confirm that generating BOOT.bin in SDK shouldn't have any problem in general.