In AndroidTool , the uboot partition is not selected by default. This is the second stage of u-boot, which is not used in the eMMC flash.
And if you fiddle around the partitions in parameter file, please make sure the partition number is matched with "/fstab.rk30board.bootmode.emmc" in Android. Detail is shown below:
In Android, run in the terminal "cat /fstab.rk30board.bootmode.emmc", you'll fine some lines:
# Android fstab file.
#
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
/dev/block/platform/ff0f0000.rksdmmc/by-name/system /system ext4 ro,noatime,nodiratime,noauto_da_alloc wait,resize
...
/devices/ff0f0000.rksdmmc/mmc_host/mmc /mnt/internal_sd vfat defaults voldmanaged=internal_sd:14,noemulatedsd
/devices/ff0c0000.rksdmmc/mmc_host/mmc /mnt/external_sd vfat defaults voldmanaged=external_sd:auto
...
Please take special care of this line: /devices/ff0f0000.rksdmmc/mmc_host/mmc /mnt/internal_sd vfat defaults voldmanaged=internal_sd:14,noemulatedsd
There's a "14" after the colon, which means the partition number of internal_sd is 14.
Here is the mtdparts of dual os: 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),0x00620000@0x00414000(linuxroot),-@0x00a34000(user)
The number of the first partition "uboot" is 1. The "user" partition number is 14.
The number of partition in /fstab.rk30board.bootmode.emmc must be matched with the "user" partition in parameter file.
If you'd like to modify fstab.rk30board.bootmode.emmc, please unpack boot.img, edit it and then repack, as you already know. |