On Wed, 30 Sep 2020 17:22:54 -0700 (PDT), in gmane.comp.hardware.beagleboard.user Joshua Park <joshua.park0312-re5jqeeqqe8avxtiumw...@public.gmane.org> wrote:
>Hi all, > >I'm trying to edit the /proc/device-tree/model file in the >debian-10.3-iot-armhf-2020-04-06 version file system. I have tried as root >and changed the permissions of the file and its parent directories but the >file remains unwritable. Can anyone tell me how I am supposed to edit this >file? You don't... It doesn't exist as a file, just a virtual name in the file system. When you read it, the OS generates the data it gives to you. https://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/proc.html I suspect you need to edit the appropriate device tree source file, compile it into a DTB, and install that DTB where ever u-boot is looking... debian@beaglebone:~$ cat /proc/device-tree/model TI AM335x BeagleBone Blackdebian@beaglebone:~$ debian@beaglebone:~$ grep -i "TI AM335x BeagleBone Black" /opt/source/dtb-4.19-ti/src/arm/*.dts /opt/source/dtb-4.19-ti/src/arm/am335x-boneblack-audio.dts: model = "TI AM335x BeagleBone Black"; /opt/source/dtb-4.19-ti/src/arm/am335x-boneblack-bbb-exp-c.dts: model = "TI AM335x BeagleBone Black"; /opt/source/dtb-4.19-ti/src/arm/am335x-boneblack-bbb-exp-r.dts: model = "TI AM335x BeagleBone Black"; /opt/source/dtb-4.19-ti/src/arm/am335x-boneblack-bbbmini.dts: model = "TI AM335x BeagleBone Black"; /opt/source/dtb-4.19-ti/src/arm/am335x-boneblack.dts: model = "TI AM335x BeagleBone Black"; /opt/source/dtb-4.19-ti/src/arm/am335x-boneblack-roboticscape.dts: model = "TI AM335x BeagleBone Black RoboticsCape"; /opt/source/dtb-4.19-ti/src/arm/am335x-boneblack-uboot.dts: model = "TI AM335x BeagleBone Black"; /opt/source/dtb-4.19-ti/src/arm/am335x-boneblack-uboot-univ.dts: model = "TI AM335x BeagleBone Black"; /opt/source/dtb-4.19-ti/src/arm/am335x-boneblack-wireless.dts: model = "TI AM335x BeagleBone Black Wireless"; /opt/source/dtb-4.19-ti/src/arm/am335x-boneblack-wireless-roboticscape.dts: model = "TI AM335x BeagleBone Black Wireless RoboticsCape"; /opt/source/dtb-4.19-ti/src/arm/am335x-boneblack-wl1835mod.dts: model = "TI AM335x BeagleBone Black"; debian@beaglebone:~$ -- Dennis L Bieber -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/5oqanfp4dcdqfgdpcqcboprvmos43v6n7j%404ax.com.