AnsweredAssumed Answered

imx_KK4.4.3_2.0.0-ga Over The Air (OTA) Question

Question asked by sepljo on Jul 6, 2015
Latest reply on Jul 15, 2015 by jamesbone

Hi all,


I've got a question regarding the generation of over the air images for android.


I've followed the steps outlined in the AOSP document to generate an OTA package. However, I'm not able to boot the device after the upgrade.

Some further info:


I'm using a EVK6SL board and have generated the images as follows:

source build/ && lunch evk_6sl-eng

make dist DIST_DIR=dist_output

./build/tools/releasetools/ota_from_target_files evk_6sl-target_files-{nnnn}.zip ota_update-{nnnn}.zip

However, after the upgrade, the new kernel fails to load at startup


U-Boot 2014.04-08637-gaffa032 (Apr 24 2015 - 11:53:05)



CPU:   Freescale i.MX6SL rev1.2 at 396 MHz

CPU:   Temperature 32 C, calibration data: 0x5895155f

Reset cause: POR


I2C:   ready

DRAM:  1 GiB


*** Warning - bad CRC, using default environment



In:    serial

Out:   serial

Err:   serial

Found PFUZE100 deviceid=10,revid=11

Detecting VOL_DOWN+POWER key for recovery(0:0) ...

check_and_clean: reg 0, flag_set 0

Fastboot: Normal

flash target is MMC:1

Net:   FEC [PRIME]

Normal Boot

Hit any key to stop autoboot:  0

booti mmc1

kernel   @ 80808000 (6714592)

ramdisk  @ 81800000 (502095)

kernel cmdline:

        use boot.img command line:

        console=ttymxc0,115200 init=/init androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale androidboot.serialno=213231d4dac8184b

switch to ldo_bypass mode!



Starting kernel ...



**** hangs here ****

Additionally, I've noticed that incremental updates fail to take effect due to partition // having an invalid checksum (output captured from the recovery log):

file "EMMC:/dev/block/mmcblk1p1:7221248:a27e8882206e834819a5435bc48c8a63040d7f51:7221248:0011fd17ac808f8e89da73471178ca767d370189" doesn't have any of expected sha1 sums; checking cache

failed to stat "/cache/saved.file": No such file or directory


Investigating further, I've noticed that the actual boot image included in the OTA package is different from the one that is used when downloading the image via mfgtool.


/myandroid/out/target/product/evk_6sl/boot-imx6sl.img (7258398)

ota boot.img (7221248)


It appears that the android OTA build tools use the raw kernel image to generate the boot image.


Is anyone able to point out what I need to do to generate valid OTA images? Has anyone else had any success with this?