Linux binaries generated by MATLAB OS Manager for SOC blockset create read only /mnt folder unable to pass your own tests of verification and unable to run example models

30 vues (au cours des 30 derniers jours)
Respected Sir/Madam,
I am University Instructor with Xilinx Zed Board Zynq SOC. where i had acess to university acedemic license, I tried to work with SOC Blockset toolbox, after installing support package, the setup has asked to make various settings to used Zedboard for SOC Blockset. It has asked to write OS of the linux binaries provided and turn on the board. As directed by setup up of support package installer, I have followed all the instuctions, two test conditions has arrived one is to test connection with ethernet, and it has passed. The second test got failed stating that os is not allowing 'mkdir /mnt/direotory' it is only read only type mount. I tried to change the permissions using chmod rw 756 and other such but it is not working. I tried to installing and removing package several times. I ignored and tried to execute the shipped example it also stated same issue. Kindly provide the path of solution.
Thanks in advance,
Yours truely,
M L S Sai Kumar

Réponses (1)

Kothuri
Kothuri le 15 Nov 2024 à 16:05
The issue you are facing usually arises when the Linux file system on the board is mounted as read-only and thereby preventing you from creating directories or modifying files.
You can follow the below steps to rectify the issue:
  • Verify the current mount status of the file system. Connect to the Zed Board using a terminal (e.g., via SSH) and run the following command:
mount | grep /mnt
  • If the file system is mounted as read-only, you may need to remount it as read-write using the following command:
sudo mount -o remount,rw /mnt
  • Replace “/mnt” with the specific mount point if it's different.
  • If the issue persists, consider re-flashing the SD card with a fresh Linux image provided by Xilinx. Ensure that you have the correct image for your ZedBoard and that it supports the SoC Blockset functionalities you need.
  • Ensure you have the right permissions and ownership for the directories you are trying to modify. You can change ownership with:
sudo chown -R user:group /mnt/directory
  • Replace “user” and “group” with the appropriate user and group names.
You can refer the below documentation link for more info on “Install support for Xilinx devices”

Produits


Version

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by