Hi champs
Got a question on the OTA(over the air update) with the 6AO.1.0 release.
By https://source.android.com/devices/tech/ota/, it need to generate a update zip files containing the entire final state of the device (system, boot, and recovery partitions). So we need to add updater plugin support under Android SDK. I saw similar support under aosp-6AO.1.0/device/google/dragon/recovery, but I didn’t see this piece code for the ti release.
Also when tried to get into recovery mode on AM572x board , and tried “Apply update from ADB”, it looks that AM572x is not able to detect usb device, so I am not able to download update.zip through “adb sideload” from Linux host.
As I checked the code under aosp-6AO.1.0/bootable/recovery/adb_install.cpp, it failed at open device “/sys/class/android_usb/android0/enable”, which seems not exist for AM572x board.
static void set_usb_driver(RecoveryUI* ui, bool enabled) {
int fd = open("/sys/class/android_usb/android0/enable", O_WRONLY);
if (fd < 0) {
ui->Print("failed to open driver control: %s\n", strerror(errno));
return;
}
My question is there SDK which support OTA update on AM572x board or similar platform?
Thanks
Regards
Mohsen