1. Linux PC, make otapackage
2. Copy ~/myandroid/out/target/product/sabresd_6dq/sabresd_6dq-ota-20151218-imx6q.zip to PC.
3. i.MX6 enter recovery mode and select "apply update from ADB"
4. PC adb sideload sabresd_6dq-ota-20151218-imx6q.zip
5. i.MX6 recovery menu select "reboot system now" and reboot okay.
6. Reboot i.MX6 fail.
------------------------------------------------------------------
Boot message in 5.
U-Boot 2015.04-00303-g6cf684a-dirty (Dec 07 2015 - 16:32:01)
CPU: Freescale i.MX6Q rev1.2 at 792 MHz
CPU: Temperature 45 C
Reset cause: POR
Board: MX6-SabreSD
I2C: ready
DRAM: 1 GiB
PMIC: PFUZE100 ID=0x10
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
*** Warning - bad CRC, using default environment
No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In: serial
Out: serial
Err: serial
check_and_clean: reg 0, flag_set 0
Fastboot: Normal
flash target is MMC:2
Net: FEC [PRIME]
Normal Boot
Hit any key to stop autoboot: 0
boota mmc2
kernel @ 14008000 (7272248)
ramdisk @ 15000000 (867669)
## Booting Android Image at 0x12000000 ...
Kernel load addr 0x14008000 size 7102 KiB
Kernel command line: console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=256M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=384M
## Flattened Device Tree blob at 14f00000
Booting using the fdt blob at 0x14f00000
Loading Kernel Image ... OK
reserving fdt memory region: addr=14f00000 size=b000
reserving fdt memory region: addr=15000000 size=168602
Using Device Tree in place at 14f00000, end 14f0e07f
switch to ldo_bypass mode!
------------------------------------------------------------------
Boot message in 6.
U-Boot 2015.04-00303-g6cf684a-dirty (Dec 07 2015 - 16:32:01)
CPU: Freescale i.MX6Q rev1.2 at 792 MHz
CPU: Temperature 52 C
Reset cause: POR
Board: MX6-SabreSD
I2C: ready
DRAM: 1 GiB
PMIC: PFUZE100 ID=0x10
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
*** Warning - bad CRC, using default environment
No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In: serial
Out: serial
Err: serial
check_and_clean: reg 0, flag_set 0
Fastboot: Normal
flash target is MMC:2
Net: FEC [PRIME]
Normal Boot
Hit any key to stop autoboot: 0
boota mmc2
kernel @ 14008000 (7272248)
ramdisk @ 15000000 (867669)
## Booting Android Image at 0x12000000 ...
Kernel load addr 0x14008000 size 7102 KiB
Kernel command line: console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=256M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=384M
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree
resetting ...
Solved! Go to Solution.
cd ~/myandroid && rm -rf 1 && mkdir 1 && cd 1
unzip ~/myandroid/out/dist/sabresd_6dq-target_files-20151218.zip
cp ~/myandroid/out/target/product/sabresd_6dq/boot-imx6q.img IMAGES/boot.img
zip -r ../new-sabresd_6dq-target_files-20151218.zip .
cd ~/myandroid
./build/tools/releasetools/ota_from_target_files new-sabresd_6dq-target_files-20151218.zip update.zip
Hello,
Thank you for writing.
I am trying to reproduce your error. But, unfortunately, I have a problem with the connection to the freescale server, I cannot download nothing from the freescale git. In consequence, I cannot build the OTA package. I will contact someone to see how I can solve this issue.
I apologize for the inconvenient this is causing.
Best Regards,
Diego.
Thank you for your support and I have solve myself as second post.
Hello,
I am glad that you solved your problem.
Best Regards,
Diego.
cd ~/myandroid && rm -rf 1 && mkdir 1 && cd 1
unzip ~/myandroid/out/dist/sabresd_6dq-target_files-20151218.zip
cp ~/myandroid/out/target/product/sabresd_6dq/boot-imx6q.img IMAGES/boot.img
zip -r ../new-sabresd_6dq-target_files-20151218.zip .
cd ~/myandroid
./build/tools/releasetools/ota_from_target_files new-sabresd_6dq-target_files-20151218.zip update.zip