AnsweredAssumed Answered

Use MFGtool to Flash image to 4G tf card,but /sdcard partition size not ture?

Question asked by guohn on Oct 15, 2013
Latest reply on Nov 24, 2013 by Yixing Kong
Branched to a new discussion

Dear,

     Look th start message. The mmcblk0p1 should be 3100M, but the partition size is about 1G. Who konws?

Thanks!


drivers/rtc/hctosys.c: unable to open rtc device (rtc0)

ata1: SATA link down (SStatus 0 SControl 300)

Freeing init memory: 160K

Starting UTP

ln: /etc/mtab: File exists

disable turn off display

uuc 0.4 [built Feb 28 2011 17:40:24]

UTP: Waiting for device to appear

utp_mk_devnode: creating node '/dev/utp' with 10+222

cpu_id is 53

utp_mk_devnode: creating node '/dev/watchdog' with 10+130

feed_watchdog

mmc0: new high speed SDHC card at address aaaa

mmcblk0: mmc0:aaaa SU04G 3.69 GiB

mmcblk0: p1 p2 p3 < p5 p6 p7 > p4

g_file_storage gadget: high speed config #1

UTP: received command 'mknod block,mmcblk0,/dev/mmcblk0,block'

class = 'block'

item = 'mmcblk0'

node = /dev/mmcblk0

type = block

UTP: running utp_mk_devnode(block,mmcblk0,/dev/mmcblk0,0x6000)

utp_mk_devnode: creating node '/dev/mmcblk0' with 179+0

UTP: sending Success

UTP: received command '$ mknod /dev/zero c 1 5'

UTP: sending Busy

UTP: executing "mknod /dev/zero c 1 5"

UTP: sending Success

utp_poll: pass returned.

UTP: received command '$ dd if=/dev/zero of=/dev/mmcblk0 bs=512 seek=1536 count=16'

UTP: sending Busy

UTP: executing "dd if=/dev/zero of=/dev/mmcblk0 bs=512 seek=1536 count=16"

16+0 records in

16+0 records out

UTP: sending Success

utp_poll: pass returned.

UTP: received command 'send'

UTP: sending Success

UTP: received command '$ tar xf $FILE '

UTP: sending Busy

UTP: executing "tar xf $FILE "

UTP: sending Success

utp_poll: pass returned.

UTP: received command '$ sh mksdcard-android.sh /dev/mmcblk0'

UTP: sending Busy

UTP: executing "sh mksdcard-android.sh /dev/mmcblk0"

1+0 records in

1+0 records out

Checking that no-one is using th mmcblk0:is disk right now ...

unknown partition table

OK

 

 

Disk /dev/mmcblk0: 121008 cylinders, 4 heads, 16 sectors/track

 

 

sfdisk: ERROR: sector 0 does not have an msdos signature

/dev/mmcblk0: unrecognized partition table type

Old situation:

No partitions found

New situation:

Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0

 

 

   Device Boot Start   End    MiB    #blocks   Id  System

/dev/mmcblk0p1         0+  3110   3111-   3185663+   b  W95 FAT32

/dev/mmcblk0p2      3111   3310    200     204800   83  Linux

/dev/mmcblk0p3      3311   3742    432     442368    5  Extended

/dev/mmcblk0p4      3743   3762     20      20480   83  Linux

/dev/mmcblk0p5      3311+  3610    300-    307199+  83  Linux

/dev/mmcblk0p6      3611+  3710    100-    102399+  83  Linux

/dev/mmcblk0p7      3711+  3730     20-     20479+  83  Linux

Warning: no primary partition is marked bootable (active)

This does not matter for LILO, but the DOS MBR will not boot this disk.

Successfully wrote the new partition table

 

 

Re-reading the partition table ...

mmcblk0: p1 p2 p3 < p5 p6 p7 > p4

 

 

If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)

to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1

(See fdisk(8).)

Checking that no-one is using this disk right no mmcblk0:w ...

p1 p2 p3 < p5 p6 p7 > p4

OK

 

 

Disk /dev/mmcblk0: 121008 cylinders, 4 heads, 16 sectors/track

Old situation:

Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0

 

 

   Device Boot Start   End    MiB    #blocks   Id  System

/dev/mmcblk0p1         0+  3110   3111-   3185663+   b  W95 FAT32

/dev/mmcblk0p2      3111   3310    200     204800   83  Linux

/dev/mmcblk0p3      3311   3742    432     442368    5  Extended

/dev/mmcblk0p4      3743   3762     20      20480   83  Linux

/dev/mmcblk0p5      3311+  3610    300-    307199+  83  Linux

/dev/mmcblk0p6      3611+  3710    100-    102399+  83  Linux

/dev/mmcblk0p7      3711+  3730     20-     20479+  83  Linux

New situation:

Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0

 

 

   Device Boot Start   End    MiB    #blocks   Id  System

/dev/mmcblk0p1        10   3100   3091    3165184    b  W95 FAT32

/dev/mmcblk0p2      3111   3310    200     204800   83  Linux

/dev/mmcblk0p3      3311   3742    432     442368    5  Extended

/dev/mmcblk0p4      3743   3762     20      20480   83  Linux

/dev/mmcblk0p5      3311+  3610    300-    307199+  83  Linux

/dev/mmcblk0p6      3611+  3710    100-    102399+  83  Linux

/dev/mmcblk0p7      3711+  3730     20-     20479+  83  Linux

Warning: no primary partition is marked bootable (active)

This does not matter for LILO, but the DOS MBR will not boot this disk.

Successfully wrote the new partition table

 

 

Re-reading the partition table ...

mmcblk0: p1 p2 p3 < p5 p6 p7 > p4

 

 

If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)

to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1

(See fdisk(8).)

UTP: sending Success

utp_poll: pass returned.

UTP: received command 'frf'

UTP: sending Busy

UTP: closing the file

UTP: files were flushed.

UTP: sending Success

utp_poll: pass returned.

UTP: received command '$ echo Update Complete!'

UTP: sending Busy

UTP: executing "echo Update Complete!"

Update Complete!

UTP: sending Success

utp_poll: pass returned.

g_file_storage gadget: high speed config #1

feed_watchdog

Outcomes