I have created Petalinux based on my own system.hdf and design_1_wrapper.bit
with the following commands:
source /opt/pkg/petalinux/settings.sh
petalinux-create --type project --template zynq --name Zybo-Z7-10__my
cd Zybo-Z7-10__my
petalinux-config --get-hw-description=/home/victor/USD_Zybo__2
(in menu made only "save" then "exit")
petalinux-build
petalinux-package --boot --force --fsbl images/linux/zynq_fsbl.elf --fpga /home/victor/USD_Zybo__2/design_1_wrapper.bit --u-boot
This Petalinux was succesfully loaded from SD into Zybo-Z7-10.
Configuration was loaded into FPGA (DONE LED up) and FPGA works properly (works output to the 4LED).
Petalinux sends messages into TeraTerm and receives commands.
But Petalinux does not find command gcc
and sends the message:
root@Zybo-Z7-10__my:/run/media/mmcblk0p1/WORK# gcc -o work_2 work_2.c
-sh: gcc: command not found
Question
Victor
Hello all
I have created Petalinux based on my own system.hdf and design_1_wrapper.bit
with the following commands:
source /opt/pkg/petalinux/settings.sh
petalinux-create --type project --template zynq --name Zybo-Z7-10__my
cd Zybo-Z7-10__my
petalinux-config --get-hw-description=/home/victor/USD_Zybo__2
(in menu made only "save" then "exit")
petalinux-build
petalinux-package --boot --force --fsbl images/linux/zynq_fsbl.elf --fpga /home/victor/USD_Zybo__2/design_1_wrapper.bit --u-boot
This Petalinux was succesfully loaded from SD into Zybo-Z7-10.
Configuration was loaded into FPGA (DONE LED up) and FPGA works properly (works output to the 4LED).
Petalinux sends messages into TeraTerm and receives commands.
But Petalinux does not find command gcc
and sends the message:
root@Zybo-Z7-10__my:/run/media/mmcblk0p1/WORK# gcc -o work_2 work_2.c
-sh: gcc: command not found
Please help to activate gcc.
Thank you.
Best regards,
Victor.
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.