Hi,
I am using DEY 4.0 for ccimx6ul and have issues with saving file.
I try using c++ to save a simple file setting.json to update partition, after that I reboot the device. The file dispears or not updated. The problem does not always happen but sometimes.
I also use vi or nano to edit the file, save it then reboot. The same thing happens.
That is quite anoying. If I return to DEY3.2, everything works as normal.
Are you talking about editing/saving a file in the root file system on a SOM/SBC?
Or are you talking in editing/saving files on the development machine, in the Yocto bitbake directories?
If you edit something in the build environment under $(WORKSPACE)/tmp/ .. this will be overwritten with next bitbake, you need to open a devshell on the build environment to do changes.
btw: there is DEY-5.0 available for CC6UL see: Release notes | ConnectCore 6UL
do you have similar issues with DEY-5.0?
1 Like
I edit and save file on SOM, not the build environment.
For example, saving the file to /mnt/update/config.dat (on the update partition on SOM)
It seems like the file is not flushed to NAND when reboot happends.
I have not tried DEY5.0 yet.