I successfully worked with the Petalinux based on Digilent BSP
and wanted to add the program Midnight Commander to the Petalinux for Zybo-Z7-10.
I executed the commands shown below this letter
and tried to load Petalinux from SD.
But Petalinux was not loaded.
There was no any message to the TeraTerm.
What I did wrongly ?
Thank you.
Best regards,
Victor.
===============================================
1)
Appended the line
Question
Victor
Hello all
I successfully worked with the Petalinux based on Digilent BSP
and wanted to add the program Midnight Commander to the Petalinux for Zybo-Z7-10.
I executed the commands shown below this letter
and tried to load Petalinux from SD.
But Petalinux was not loaded.
There was no any message to the TeraTerm.
What I did wrongly ?
Thank you.
Best regards,
Victor.
===============================================
1)
Appended the line
IMAGE_INSTALL_append = " mc"
to the file
Zybo-Z7-10/project-spec/meta-user/recipes-core/images/petalinux-image.bbappend
2)
victor@victor-System-Product-Name:~/Zybo-Z7-10$ source /opt/pkg/petalinux/settings.sh
3)
petalinux-config -c rootfs
then selected mc
4)
victor@victor-System-Product-Name:~/Zybo-Z7-10$ petalinux-build
[INFO] building project
[INFO] sourcing bitbake
INFO: bitbake petalinux-user-image
Parsing recipes: 100% |#############################################################| Time: 0:02:18
Parsing of 2473 .bb files complete (0 cached, 2473 parsed). 3266 targets, 226 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |##########################################################| Time: 0:00:06
Checking sstate mirror object availability: 100% |##################################| Time: 0:00:01
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
fsbl-2017.4+gitAUTOINC+77448ae629-r0 do_compile: NOTE: fsbl: compiling from external source tree /opt/pkg/petalinux/tools/hsm/data/embeddedsw
NOTE: Tasks Summary: Attempted 2689 tasks of which 2673 didn't need to be rerun and all succeeded.
INFO: Copying Images from deploy to images
NOTE: Successfully copied built images to tftp dir: /var/lib/tftpboot
[INFO] successfully built project
5)
victor@victor-System-Product-Name:~/Zybo-Z7-10$ petalinux-package --boot --force --fsbl images/linux/zynq_fsbl.elf --fpga images/linux/system_wrapper.bit --u-boot
INFO: File in BOOT BIN: "/home/victor/Zybo-Z7-10/images/linux/zynq_fsbl.elf"
INFO: File in BOOT BIN: "/home/victor/Zybo-Z7-10/images/linux/system_wrapper.bit"
INFO: File in BOOT BIN: "/home/victor/Zybo-Z7-10/images/linux/u-boot.elf"
INFO: Generating zynq binary package BOOT.BIN...
INFO: Binary is ready.
6)
Erased old
BOOT.BIN
image.ub
from SD and wrote new ones.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.