Sorry, you need to enable JavaScript to visit this website.

-bin/ash:/mnt/Hello_World_ap.elf:not found

Solved
9 posts / 0 new
yangtuzi
Junior(0)
-bin/ash:/mnt/Hello_World_ap.elf:not found

I do the lab follow <<zedboard_refdoc_Vivado_2014-2.pdf>>
by vivado-sdk-2016.4
everything work good until page 63:<Hello World example>
When I insert the SD card back into the ZedBoard with Hello_World_ap.elf  and BOOT.bin devicetree.dtb zimage ramdisk8M.image.gz,
and then power on Zedboard
and then:
zynq>mount /dev/mmcblk0p1 /mnt
zynq>/mnt/Hello_World_ap.elf

-bin/ash: /mnt/Hello_World_ap.elf: not found
HOW CAN I SOLVE IT?????
 

JFoster
Moderator(67)
Hello Yang,

Hello Yang,

Your problem most likely is being caused by your use of Vivado/SDK 2016.4. My suggestion would be to install Vivado 2014.2 and rerun the lab exercise seeing as that was the version the lab was targeting.

--Josh

yangtuzi
Junior(0)
thanyou

right.I download 2014.4,and can execute successfully!I have other question now:How to progress two ARM at same time in zynq and communicate by SGI(Software Generated Interrupts)? Have any demo?Thanyou very much again!

JFoster
Moderator(67)
Hello Yang,

Hello Yang,

We have a similar example to what your looking for in the Developing Zynq Software Vivado 2016.2 Speedway. http://zedboard.org/course/developing-zynq%C2%AE-7000-all-programmable-s...

Look in lab 9 of the speedway and you will notice it containts a Dual Processor Software Development lab. We operate in open amp to have one processor wake the other one up and then fall asleep. This is continued in a infinte continuous loop. 

--Josh

yangtuzi
Junior(0)
Very thanyou

I got the example form a FAE of you.and It helps me a lot!
thank you very much!!! Can you give me a hand again?
I found a example in here about USB<standalone USB Device Tutorial>,but it's develop tool is ISE,Where can I found the vivado version about this example?
thanks!

JFoster
Moderator(67)
Hello Yangtuzi,

Hello Yangtuzi,

Unfortunatly I do not believe we have any Standalone USB tutorials targeting the Vivado tool set. However please look at this post.

http://zedboard.org/content/usb-storage-using-bare-metal-application-zed...

--Josh

yangtuzi
Junior(0)
thanyou

sorry,i know a little of english.excuse me i'll talk with by chinese:
1、想在zedboard上运行linux系统,需要U-BOOT(启动引导文件)、ramdisk(文件系统)、image(Linux镜像)、dtb(设备树)这4种?
2、U-BOOT是可以在SDK下生成的?
3、ramdisk(文件系统)、image(Linux镜像)、dtb(设备树)用什么工具在什么环境下生成呢?有相关文档介绍吗?
4、3中生成的文件所需环境哪些可以?(SDK?  一般linux系统? xilinx的petalinux?)
5、3中生成的文件要对应vivado的硬件工程,需要注意哪些?(比如硬件工程是vivado2014.4搭建的)
了解不深,以上可能有些问题 问题本身就不合理。希望能得到您的指教。
盼回复。

JFoster
Moderator(67)
 

 

你好, 我的建议是让您阅读UG1144 https://www.xilinx.com/support/documentation/sw_manuals/xilinx2017_1/ug1...以了解PetaLinux流程的基本了解。

--Josh

你好, 我的建议是让您阅读UG1144 https://www.xilinx.com/support/documentation/sw_manuals/xilinx2017_1/ug1...以了解PetaLinux流程的基本了解。

shantan1
Junior(0)
Use the right image.ub

I faced the same problem. Using the right Linux kernel (image.ub) fixed the problem. I suggest you to use the pre-built kernel images generated in PetLinux project to boot the board.

Steps:
1. Download the Microzed Petalinux BSP from this link
2. Create PetaLinux project following the Petalinux reference guide (ug1164) [Use BSP to create project]
3. Navigate the <petalinux_project_dir> / pre-built / linux / images
4. Copy BOOT.bin, <your_application>.elf, and image.ub to SD card
5. Boot from SD card and login as root (password: root)
6. Mount SD card as: mount /dev/mmvblk0p1 /mnt
7. cd to /mnt and execute <your_application>.elf
 
Thanks.