- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I was going through a tutorial on a DE10-Nano on how to make custom overlays, and I seem to have hit a bit of a puzzle.
https://rocketboards.org/foswiki/Documentation/HOWTOCreateADeviceTree
At one stage, it requires me to create a directory and update values in sysfs.
sudo mkdir /sys/kernel/config/device-tree/overlays/my-cv-fpga-overlay
sudo echo my_cv_fpga_overlay.dtb > /sys/kernel/config/device-tree/overlays/my-cv-fpga-overlay/path
Problem is I cannot seem to do so. the command returns "Operation not permitted" error message.
I tried the LDXE linux image from terasic and also a rootfs/kernel that I made based on ubuntu base and kernel 4.9...lsti
https://github.com/rsarwar87/altera-soc-rootfs
Presumably it is some kernel configuration that I need to turn on maybe to allow modification of sysfs? I was wondering if anyone could kindly shed some light on this puzzle.
Thanks
RD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Anand
Thank you for your reply. Unfortunately logging in as root did not help.
however, I remounted the configfs with the following code and was able to edit it like normal.
sudo mount -t configfs none /config
Br
R
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Can you run the command in root privilege and without sudo.
like :root@socfpga:~# mkdir /sys/kernel/config/device-tree/overlays/my-cv-fpga-overlay
Let me know if this has helped resolve the issue you are facing or if you need any further assistance.
Best Regards,
Anand Raj Shankar
(This message was posted on behalf of Intel Corporation)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Anand
Thank you for your reply. Unfortunately logging in as root did not help.
however, I remounted the configfs with the following code and was able to edit it like normal.
sudo mount -t configfs none /config
Br
R

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page