Unable to continue running my application on rebooting Xilinx Zynq Ultrascale RFSoC after deploying in "Build, Load and Run" mode.
14 ビュー (過去 30 日間)
古いコメントを表示
I was trying to run my application continuosly even if I reboot my device. The use case is I build the code for Xilinx RFSoC via SoC blockset in "Build, Load and Run" mode. After comilation and successful deployment, the application continues running as long as I keep my device powered up. But when I reboot my device, the deoployed application does not start back.
My question is, should'nt it start back automatically on reboot? or will I need to write some custom linux service for that?
1 件のコメント
Hussain Ali
2024 年 3 月 18 日
You need to add the generated .elf file in the SD Card and edit the init.sh script so that your elf file runs at boot everytime. To do that copy your elf file to any folder on SD card prefferably /mnt and open the init.sh file and add this line, save and then reboot.
/mnt/NAME_OF_YOUR_ELF_FILE.elf &
to save your elf file in SD card, use following commands
z=zynq;
z.putFile('NAME_OF_YOUR_ELF_FILE.elf','/mnt')
NOTE: You need to have connection with your hardware board and your elf file must be placed in current working direcotry of MATLAB
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!