Hi all, I am getting some odd behavior from the Balena Cloud Device Configuration page.
The document located at Advanced boot settings | balena indicates the following behavior:
BALENA_HOST_CONFIG_dtoverlay = i2c-rtc,ds1307 shall result in
dtoverlay=i2c-rtc,ds1307
in the /mnt/bott/config.txt file, and oddly enough, before I made a change in the Custom configuration section to try to set the above value to things did seem to work based on the original value which was set as “vc4-kms-v3d,cma-320” this resulted in properly in config.txt as dtoverlay=vc4-kms-v3d,cma-320.
After I made the addition under Custom Config to obtain the behavior of
dtoverlay=vc4-kms-dsi-waveshare-panel,4_0_inch
first using
BALENA_HOST_CONFIG_dtoverlay = vc4-kms-dsi-waveshare-panel,4_0_inch
when that didn’t work using:
BALENA_HOST_CONFIG_dtoverlay = “vc4-kms-dsi-waveshare-panel,4_0_inch”
(notice the ““ because that syntax is also mentioned in the doc)
I am getting the following in the actual host
root@691f313:~# cat /mnt/boot/config.txt
avoid_warnings=1
disable_overscan=1
disable_splash=1
dtparam=audio=on
dtparam=i2c_arm=on
dtparam=spi=on
dtparam=audio=on
enable_uart=0
gpu_mem=16
dtoverlay=vc4-kms-dsi-waveshare-panel
dtparam=4_0_inch
And if I delete my custom config parameter to go back to the original, I now started getting:
root@691f313:~# cat /mnt/boot/config.txt
avoid_warnings=1
disable_overscan=1
disable_splash=1
dtparam=audio=on
dtparam=i2c_arm=on
dtparam=spi=on
dtparam=audio=on
enable_uart=0
gpu_mem=16
dtoverlay=vc4-kms-v3d
dtparam=cma-320
So please help me out here, how do i get balena to give me a properly edited config.txt file? One other clue here, until I edited the Custom Configs section it looked like balena was actually putting a default config.txt on the host device because it had a bunch of lines commented out in it after the change to Custom Configs section my config.txt only has the values set under the Device Congfiguration section, as shown in the cloud.





