Ridgeland
Member
- Dec 14, 2010
- 285
- 9
I still think that the problem is /dev/block/mtdblock5 got hosed and needs to be setup again.
I see a lot of web-pages/threads about partitioning sdcards but cannot find anything good about partitioning nand.
parted is already installed in clockworkmod so that is half the battle.
With the Coby at the ClockWorkMod recovery menu then from the PC "# adb shell parted xx" does not work. You have to first toggle over to the Coby with "# adb shell" then at ~# parted will work.
Two useful info commands I found so far:
~ # cat /proc/mtd
dev: size erasesize name
mtd0: 00a00000 00080000 "boot"
mtd1: 00500000 00080000 "kpanic"
mtd2: 0b400000 00080000 "system"
mtd3: 00400000 00080000 "splash"
mtd4: 02800000 00080000 "cache"
mtd5: 10500000 00080000 "userdata"
mtd6: 00a00000 00080000 "recovery"
mtd7: 00100000 00080000 "misc"
mtd8: 00100000 00080000 "tcc"
~ # cat /proc/partitions
major minor #blocks name
31 0 10240 mtdblock0
31 1 5120 mtdblock1
31 2 184320 mtdblock2
31 3 4096 mtdblock3
31 4 40960 mtdblock4
31 5 267264 mtdblock5
31 6 10240 mtdblock6
31 7 1024 mtdblock7
31 8 1024 mtdblock8
179 0 15637504 mmcblk0
mmcblk0 is my 16GB sdcard
Parted can show info like:
~ # parted /dev/block/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
print
Model: SD 52006 (sd/mmc)
Disk /dev/block/mmcblk0: 16.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
(parted) quit
quit
Parted can create/edit/delete partitions but I don't yet see how to get this running with nand.
I see a lot of web-pages/threads about partitioning sdcards but cannot find anything good about partitioning nand.
parted is already installed in clockworkmod so that is half the battle.
With the Coby at the ClockWorkMod recovery menu then from the PC "# adb shell parted xx" does not work. You have to first toggle over to the Coby with "# adb shell" then at ~# parted will work.
Two useful info commands I found so far:
~ # cat /proc/mtd
dev: size erasesize name
mtd0: 00a00000 00080000 "boot"
mtd1: 00500000 00080000 "kpanic"
mtd2: 0b400000 00080000 "system"
mtd3: 00400000 00080000 "splash"
mtd4: 02800000 00080000 "cache"
mtd5: 10500000 00080000 "userdata"
mtd6: 00a00000 00080000 "recovery"
mtd7: 00100000 00080000 "misc"
mtd8: 00100000 00080000 "tcc"
~ # cat /proc/partitions
major minor #blocks name
31 0 10240 mtdblock0
31 1 5120 mtdblock1
31 2 184320 mtdblock2
31 3 4096 mtdblock3
31 4 40960 mtdblock4
31 5 267264 mtdblock5
31 6 10240 mtdblock6
31 7 1024 mtdblock7
31 8 1024 mtdblock8
179 0 15637504 mmcblk0
mmcblk0 is my 16GB sdcard
Parted can show info like:
~ # parted /dev/block/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: SD 52006 (sd/mmc)
Disk /dev/block/mmcblk0: 16.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
(parted) quit
quit
Parted can create/edit/delete partitions but I don't yet see how to get this running with nand.