makeSD Script to Write Image to SD Card for Mele A1000 / AllWinner A10 Devices
Most images released for Mele A1000 (Ubuntu, Puppy Linux..) won’t fit in my SD card, and until now I had to manually partition the SD card, extract the data and copy it to the SD card. I’ve also noticed the size of the SD card slowly creeps lower overtime. I bought an SD card last week and fdisk reported 3901685760 bytes and this morning the same command reported 3898782720 bytes. That’s probably due to new bad sectors which I believe is actually normal for this type of device. The problem is that a backup of “last week” SD card done with dd might not be restored properly with dd since the SD card is now smaller. So I decided to write a shell script “makeSD.sh” that will do the following: Umount the SD card if needed Partition the SD card Copy uboot to the SD card Mount the image file […]