Tool/software: Linux
I am using the Sitara Processor (AM3358) paired with a Micron 64GB NAND Flash (eMMC). I've been using NFS and SD Card file systems for development. For the final build I plan to run on the eMMC (Boot and Primary partitions) with SD Card optional. I am adding a feature to my system that will allow for field updates. I am taking advantage of my rather large storage to use an active OS Partition that I can ping pong boot between after successful updates. I am having issues with my partitioning:
This is my partition map
Device Boot Start End Sectors Size Id Type
/dev/mmcblk1p1 * 2048 206847 204800 100M c W95 FAT32 (LBA)
/dev/mmcblk1p2 206848 10692607 10485760 5G 83 Linux
/dev/mmcblk1p3 10692608 21178367 10485760 5G 83 Linux
/dev/mmcblk1p4 21178368 115605503 94427136 45G 5 Extended
/dev/mmcblk1p5 21180416 29569023 8388608 4G c W95 FAT32 (LBA)
/dev/mmcblk1p6 29571072 42153983 12582912 6G 83 Linux
/dev/mmcblk1p7 42156032 115605503 73449472 35G 83 Linux
After making the above partitions with fdisk, I do a dd of the various blocks and do mkdos or mkext4
Then I start copying files to p2.
When I do I get this error ...
[ 93.416306] EXT4-fs (mmcblk1p2): bad geometry: block count 13114112 exceeds size of device (1310720 blocks)
mount: wrong fs type, bad option, bad superblock on /dev/mmcblk1p2,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
After this error, the partition table is all messed up and no longer shows the above listing.
Any support is appreciated.
Thanks,
Greg