Hello,
I am creating a linux distribution using the yocto project that runs on an iMX6UL processor (Variscite DART6UL SOM in particular). Currently, at startup during runtime (via rc.local) the DDR/BUS frequency scaling gets disabled with the following command:
# Disable runtime power management to avoid deadlock
echo 0 > /sys/devices/soc0/soc/soc:busfreq/enable
Here we can see that DDR/BUS frequency scaling is being disabled from user space. I would like to make the distro use a read-only file system but disabling DDR/BUS frequency scaling from user space is preventing me from being able to do this. I can't simply just remove this statement because deadlock must be avoided.
How can I disable DDR/BUS frequency scaling from kernel space? If such a thing isn't possible, I am open to alternative approaches, maybe disabling via uboot somehow or something.