|
Hello,
I want to mount the my new partition(mmcblk0p14) as system partition not existing system partition(mmcblk0p7) I have added new partition(mmcblk0p14) to sys_partition.fex file
;------------------------------>mmcblk0p14/nandm
[partition]
name = mysys
size = 1048576
downloadfile = "mysys.fex" -----> this is copy of system.fex file
user_type = 0x1
also did required changes in env.cfg
mmc_root=/dev/mmcblk0p14
and init.sun7.rc
on early-fs
dispe2fsck
mount ext4 /dev/block/mysys /system wait noatime nodev barrier=0
After pack when I boot with image I am getting following error.
---------------------------------------------------------------------------------
-total partitions:12-
-name- -start- -size-
bootloader : 1000000 1000000
env : 2000000 1000000
boot : 3000000 1000000
system : 4000000 20000000
data : 24000000 40000000
misc : 64000000 1000000
recovery : 65000000 2000000
cache : 67000000 14000000
private : 7b000000 1000000
databk : 7c000000 10000000
mysys : 8c000000 20000000
UDISK : ac000000 0
-----------------------------------
base bootcmd=run setargs_mmc boot_normal
bootcmd set setargs_mmc
key 0
recovery key high 6, low 4
cant find fstbt value
to be run cmd=run setargs_mmc boot_normal
the user data'magic is bad
WORK_MODE_BOOT
board_status_probe
sunxi_bmp_display
WORK_MODE_BOOT
[ 0.738]Hit any key to stop autoboot: 0
read boot or recovery all
[ 1.232]sunxi flash read ffset 3000000, 11602020 bytes OK
[ 1.240]ready to boot
[ 1.243]
Starting kernel ...
[ 0.651924] aw_pm_init: not support super standby.
[ 0.690629] sw_ahci sw_ahci.0: SATA power enable do not exist!!
[ 0.701475] can't get item for emac_power gpio !
[ 1.042335] [hdmi]hdmi module init
[ 1.047524] ##fb init:w=1280,h=720,fbmode=0
[ 1.067651] init: /init.rc: 389: ignored duplicate definition of service 'console'
[ 1.403036] init: start e2fsck listening...
[ 1.407594] EXT4-fs (mmcblk0p14): VFS: Can't find ext4 filesystem
[ 1.452423] EXT4-fs (mmcblk0p8): VFS: Can't find ext4 filesystem
[ 1.510841] init: buffer : /dev/block/mmcblk0p8
[ 1.516627] init: do_umount: /data
[ 1.520535] init: do_umount error = Invalid argument
[ 1.529734] EXT4-fs (mmcblk0p11): VFS: Can't find ext4 filesystem
[ 1.580827] init: buffer : /dev/block/mmcblk0p11
[ 1.586648] init: do_umount: /cache
[ 1.590689] init: do_umount error = Invalid argument
[ 1.601390] init: dont need format /dev/block/UDISK
[ 1.609713] init: start format /dev/block/private
[ 1.615190] init: wait for format /dev/block/private
[ 1.615375] init: fork to format /dev/block/private
[ 1.626236] init: format /dev/block/private ok
[ 1.633097] FAT-fs (mmcblk0p12): invalid media value (0x92)
[ 1.672404] EXT4-fs (mmcblk0p13): VFS: Can't find ext4 filesystem
[ 1.730851] init: buffer : /dev/block/mmcblk0p13
[ 1.736711] init: do_umount: /databk
[ 1.740848] init: do_umount error = Invalid argument
[ 1.754851] init: cannot find '/system/bin/servicemanager', disabling 'servicemanager'
[ 1.763749] init: cannot find '/system/bin/vold', disabling 'vold'
[ 1.770720] init: cannot find '/system/bin/netd', disabling 'netd'
[ 1.777620] init: cannot find '/system/bin/debuggerd', disabling 'debuggerd'
[ 1.785647] init: cannot find '/system/bin/rild', disabling 'ril-daemon'
[ 1.793151] init: cannot find '/system/bin/surfaceflinger', disabling 'surfaceflinger'
[ 1.802005] init: cannot find '/system/bin/app_process', disabling 'zygote'
[ 1.803354] init: HDMI status = 1, try 11 times!TV status = 0
[ 1.816227] init: cannot find '/system/bin/drmserver', disabling 'drm'
[ 1.823536] init: cannot find '/system/bin/mediaserver', disabling 'media'
[ 1.831223] init: cannot find '/system/bin/installd', disabling 'installd'
[ 1.838897] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
[ 1.848270] init: cannot find '/system/bin/keystore', disabling 'keystore'
[ 1.855969] init: cannot find '/system/bin/u3gmonitor', disabling 'u3gmonitor'
[ 1.864051] init: cannot find '/system/bin/securefileserver', disabling 'securefile'
[ 1.872701] init: cannot find '/system/bin/isomountmanagerservice', disabling 'isomountmanager'
[ 1.882420] init: cannot find '/system/bin/gpioservice', disabling 'gpio'
[ 1.889997] init: cannot find '/system/bin/systemmixservice', disabling 'property'
[ 1.898633] init: cannot find '/system/bin/sh', disabling 'console'
[ 1.905929] android_usb: already disabled
-------------------------------------------------------------------------------------------------------------------------------------
and android is failed to boot. It is clear that the new created partition is failed to mount.
then I dump the content of mmcblk0p7 to mmcblk0p14
root@test# dd=/dev/sdc7 (mmcblk0p7) of=/dev/sdc14 (mmcblk0p14)
after this system is booted as due to dd file system is written to /dev/sdc14(mmcblk0p14)
I am not able to get this behaviour. Why it is fails to mount without dd.
Thanks in advance
|
|