Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in "Vitis-Tutorials/AI_Engine_Development/AIE/Feature_Tutorials/01-aie_a_to_z" #459

Closed
franhervas99 opened this issue Oct 7, 2024 · 1 comment

Comments

@franhervas99
Copy link

Hello everyone,
I am trying to implement the Vitis-Tutorials/AI_Engine_Development/AIE/Feature_Tutorials/01-aie_a_to_z tutorial, and I get a compilation error on app creation step. I am getting the error when I arrive to the point of building the hardware emulation. This part of th elog file after building:

INFO: [v++ 82-1011] creating sd_card directory
 INFO: [v++ 82-3528] mkfsimage command run: /opt/Xilinx/Vitis/2023.2/scripts/vitis/util/mkfsImage.sh -s /home/fran/work_repository/mc_simulation_vck190/vitis/test/simple_aie_application_system_project/build/hw_emu/package/package/sd_card/ -o /home/fran/work_repository/mc_simulation_vck190/vitis/test/simple_aie_application_system_project/build/hw_emu/package/package/sd_card.img -m 1 -e 
 /opt/Xilinx/Vitis/2023.2/scripts/vitis/util/mkfsImage.sh: line 63: shift: shift count out of range
[ERROR] ERROR: rootfs.ext4  either does not exist nor provided by the user.
 INFO: [v++ 82-10329] EXT4 sd_card image is created.
 INFO: [v++ 82-4237] resize command: $XILINX_VITIS/tps/lnx64/python-3.8.3/bin/python3 $XILINX_VITIS/bin/sd_card_resize.py -sd-card-image /home/fran/work_repository/mc_simulation_vck190/vitis/test/simple_aie_application_system_project/build/hw_emu/package/package/sd_card.img 
 XILINX_XD /opt/Xilinx/Vitis/2023.2
 Traceback (most recent call last):
   File "/opt/Xilinx/Vitis/2023.2/bin/sd_card_resize.py", line 90, in <module>
     file_size = os.stat(sd_card_img_path)
 FileNotFoundError: [Errno 2] No such file or directory: '/home/fran/work_repository/mc_simulation_vck190/vitis/test/simple_aie_application_system_project/build/hw_emu/package/package/sd_card.img'
[ERROR] ERROR: [v++ 82-4236] cannot resize sd_card.img
[ERROR] ERROR: [v++ 60-702] Failed to finish packaging
 INFO: [v++ 60-1653] Closing dispatch client.
 gmake[2]: *** [package/CMakeFiles/VppPackage_binary_container_1.dir/build.make:74: package/binary_container_1.xclbin] Error 1
 gmake[2]: *** Deleting file 'package/binary_container_1.xclbin'
 gmake[2]: Leaving directory '/home/fran/work_repository/mc_simulation_vck190/vitis/test/simple_aie_application_system_project/build/hw_emu'
 gmake[1]: *** [CMakeFiles/Makefile2:142: package/CMakeFiles/VppPackage_binary_container_1.dir/all] Error 2
 gmake[1]: Leaving directory '/home/fran/work_repository/mc_simulation_vck190/vitis/test/simple_aie_application_system_project/build/hw_emu'
 gmake: *** [Makefile:91: all] Error 2
[ERROR] Build Failed
[10/7/2024, 4:05:02 PM]: Build for simple_aie_application_system_project::hw_emu with id 'eeda675a-7c8c-4eb1-ab35-eb053269a7b8' ended.

I am running the tutorial in Vitis 2023.2 version.
Thank you in advance.

@xflorentw
Copy link
Contributor

I am assuming this is the same issue as reported on the forums (and solved):
https://adaptivesupport.amd.com/s/question/0D54U00008lF5XKSA0/error-in-vitistutorialsaienginedevelopmentaiefeaturetutorials01aieatoz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants