Hi Mark -
Our software team relates that this file is the one that is changing your modified value back to 400000. We will consider adding an easy way for users to override the settings used here, but in the meantime you may have luck modifying this file on your installation, after taking the red-pill. Good luck!
Hi Mark -
You can indeed tell BlueOS to ignore your modification! Thanks to this custom keyword after your parameter, the setting won’t be adjusted. This would look something like:
dtoverlay=i2c6,pins_22_23,baudrate=100000 # custom: peripheral X doesn't support the default baud rate (400000).
It seems that this has indeed ensured that the speed is set to my parameters.
But it’s interesting in that, after a reboot, the /boo/config.txt ‘pi4’ section now has two i2c6 entries.
The first is the BlueOS value of 400000.
Then a little later in the section is my line of 100000.
The system is running at 100000.
Thanks for your help. This fixes my peripheral issue.
It would be possible to overwrite the overlays and avoid BlueOS to configure/change it by using “BLUEOS_DISABLE_STARTUP_UPDATE” environment variable.
Right now BlueOS/Bootstrap does not support for custom environment variables (we use for development and with docker run). I’m adding at the moment and should be available in the new BlueOS 1.4.0-beta.2
When I checked a couple weeks ago, I did not see any mention of this needed feature in the commit comments.
In my case, I need to enable i2c3, but blue forces the overlay back to using serial.
When will I be allowed to change the overlay config file?
EXPORT CONTROL DETERMINATION: This document does not contain information defined as either technical data under the U.S. International Traffic in Arms Regulations (ITAR), 22 CFR 120-130, or information defined as technology under the U.S. Export Administration Regulations (EAR), 15 CFR 730-774.
glad it worked for you. We are going down this road as well.
Unfortunately, it means we are basically forking the blue software, which is not ideal as a paying customer.