How to use fastboot and recovery mode
Note: Some additional packages might need to be installed to your ubuntu installation
1. Fastboot
Step.1 Connect PC (ubuntu base) and EDM1-CF-IMX6 with FAIRY baseboard using OTG usb cable. Step.2 Issue the u-boot command to enable fastboot mode:
>fastboot
Step.3 Issue the fastboot command on PC to flash the image. $ sudo fastboot flash system system.img Step.4 Observe the flash progress in u-boot and waiting flash to finish.
2. Recovery mode
Step.1 Recovery mode needs a ramdisk image to function with somethting like:
$ sudo mkimage -A arm -O linux -T ramdisk -C none -a 0x10800800 -n "Android Root Filesystem" -d ./out/target/product/$TARGET_DEVICE/ramdisk-recovery.img ./out/target/product/$TARGET_DEVICE/uramdisk.img
Step.2 To quick test, replace uramdisk on boot partition (partition 1) with recovery ramdisk. NOTE: In a production environment, both ramdisks need to coexist.