Porting Android 5.0 to Allwinner A20 (mount_all /fstab.chipname problem)

898 views
Skip to first unread message

Patryk Czarnota

unread,
Jan 5, 2015, 6:20:13 AM1/5/15
to android...@googlegroups.com
Hi guys! (and girls maybe? )

I'm trying to port newest android version to cubieboard 2 and I have a little problem at this moment. If anyone have experience with porting android 4.4 and higher it will be great if you could help me.

I have problem with mounting partitions with fstab.sunXi file by init program. If anyone could share a logs with loglevel=7 from init from android 4.4 or higher (from any allwinner chip)?
I've got that error message:
fs_mgr: __mount(source=/dev/block/by-name/system,target=/system,type=ext4)=-1
fs_mgr: Failed to mount an un-encryptable or wiped partition on/dev/block/by-name/system at /system options: (null) error: No such file or directory

Can anyone tell me from where got "/by-name" folder? What a program create that folder? I'm looking for any information about fstab.sunXi file and mounting by that file too.

with "exec /sbin/busybox sh /sbin/init_parttion.sh" adding in init.rc
$ adb ls /dev/block
000041ed 000001a4 00000006 .
000041ed 00000d34 0000002e ..
0000a1ff 00000010 00000006 UDISK
0000a1ff 00000010 00000006 cache
0000a1ff 00000010 00000006 data
0000a1ff 00000010 00000006 private
0000a1ff 00000010 00000006 misc
0000a1ff 00000010 00000006 databk
0000a1ff 00000010 00000006 recovery
0000a1ff 00000010 00000006 system
0000a1ff 00000010 00000006 boot
0000a1ff 00000010 00000006 env
0000a1ff 00000010 00000006 bootloader
00006180 00000000 00000003 loop7
00006180 00000000 00000003 loop6
00006180 00000000 00000003 loop5
00006180 00000000 00000003 loop4
00006180 00000000 00000003 loop3
00006180 00000000 00000003 loop2
00006180 00000000 00000003 loop1
00006180 00000000 00000003 loop0

without "exec /sbin/busybox sh /sbin/init_parttion.sh" adding in init.rc
$ adb ls /dev/block
000041ed 000001a4 00000006 .
000041ed 00000d34 0000002e ..
00006180 00000000 00000003 loop7
00006180 00000000 00000003 loop6
00006180 00000000 00000003 loop5
00006180 00000000 00000003 loop4
00006180 00000000 00000003 loop3
00006180 00000000 00000003 loop2
00006180 00000000 00000003 loop1
00006180 00000000 00000003 loop0

Regards from Poland,
Patrick

Reply all
Reply to author
Forward
0 new messages