Hi! Could you add a parameter file that is working for the Android image to your wiki or to the SDK git? I downloaded the pad version of the SDK and build everything according the wiki, but then I discovered that I had a linux system installed on the firefly. But the linux parameter file is not matching the Android version. I used this one, extracted from the prebuild Android 4.4 from the firefly download section: FIRMWARE_VER:4.4.2
MACHINE_MODEL:rk30sdk
MACHINE_ID:007
MANUFACTURER:RK30SDK
MAGIC: 0x5041524B
ATAG: 0x60000800
MACHINE: 3066
CHECK_MASK: 0x80
PWR_HLD: 0,0,A,0,1
#KERNEL_IMG: 0x62008000
#FDT_NAME: rk-kernel.dtb
#RECOVER_KEY: 1,1,0,20,0
CMDLINE:console=ttyFIQ0 androidboot.hardware=rk30board androidboot.console=ttyFIQ0 board.ap_has_alsa=0 init=/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00002000@0x00004000(misc),0x00008000@0x00006000(resource),0x00008000@0x0000e000(kernel),0x00010000@0x00016000(boot),0x00010000@0x00026000(recovery),0x0001a000@0x00036000(backup),0x00040000@0x00050000(cache),0x00002000@0x00090000(kpanic),0x00180000@0x00092000(system),0x00002000@0x00212000(metadata),0x00200000@0x00214000(userdata),0x00020000@0x00414000(radical_update),-@0x00434000(user) I flashed the resulting images using linux upgrade_tool. If someone is wondering how to flash resource.img, you need to know that the upgrade_tool supports the undocumented option to name any kind of image: upgrade_tool di -p parameter
upgrade_tool di -k kernel.img
upgrade_tool di -b boot.img upgrade_tool di resource resource.img
... Thanks to naobsd for the hint!
And last but not least: After flashing these images and rebooting via "upgrade_tool rd" the firfly didn't start correctly. But the upgrade_tool didn't want to connect again even I pressed reset and recovery button several times. A power-cycle then brought things back to normal, recovery started and formatted all needed partitions and after that rebooted to Android as expected.
Kind regards Astralix |