Hi all,
I am running A/B scheme+ full disk encryption on NVME, Now I try to test full image OTA on top of that. it seems the existing full image OTA script does not work on this encryption+A/B scheme on NVME anymore, I try to do it myself. It is pretty much working,. For example current rootfs partition is 0.the approach I used is to copy the new rootfs to the encrypted partition 1. I also copy the kernel and kernel device tree to partition 1’s boot partition. It boots up with my new kernel and rootfs.
but I have couple of questions:
- Do I need copy or dd the u-boot device tree to the emmc partition?
- when I boot up to new rootfs partition 1, I cannot use command nvbootctrl set-active-boot-slot 0 to swich back to slot 0 anymore. It shows below error:
nvbootctrl set-active-boot-slot 0
null input file!
Init SMD partition failed!
null input file!
null input file!
Error setting active boot slot: Input/output error
may I know any idea how to solve this?
thanks