Did anybody here tried to recreate eMMC by copying p1 and p2 partitions from IC?
I am trying to recreate the /var partition from scratch, and I am curious about linux file system permissions (like chown and chmod) and how the system recreates the content itself.
Is it possible that I add the certificate files with correct permissions and all the other items will recreate? Or the system does format on those partitions when it see that something is not correct and certificates will be wiped away?
I am more than sure that /home folder is recreated somehow since I got the MCU running fine. But in the same time I had no cell_apn file there, but I managed to fix it through diagnostic mode. So I am a bit confused about what's happening there actually.
I could take a look inside through shell what's happening there but it seems that the recreation of files did not copy the tokens and I don't want to remove chip for second time.
What’s not working for you currently?
If you haven’t already, copy the usb-ids file to var:
Code:
mkdir -p /var/lib/usbutils && cp /usr/deploy/cid-var-files/lib/usbutils/usb.ids /var/lib/usbutils/usb.ids