by at1323 » Thu Sep 29, 2011 10:13 am
OK, changed it to 2GB SD.
1) from the run #./mkcard.sh /dev/mmcblk0
1024+0 records in
1024+0 records out
1048576 bytes (1.0 MB) copied, 0.821809 s, 1.3 MB/s
Disk /dev/mmcblk0 doesn't contain a valid partition table
DISK SIZE - 2032664576 bytes
CYLINDERS - 247
Checking that no-one is using this disk right now ...
OK
Disk /dev/mmcblk0: 247 cylinders, 255 heads, 63 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 = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/mmcblk0p1 * 0+ 8 9- 72261 c W95 FAT32 (LBA)
/dev/mmcblk0p2 9 246 238 1911735 83 Linux
/dev/mmcblk0p3 0 - 0 0 0 Empty
/dev/mmcblk0p4 0 - 0 0 0 Empty
Successfully wrote the new partition table
Re-reading the partition table ...
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).)
umount: /dev/mmcblk0p1: not mounted
mkfs.vfat 3.0.11 (24 Dec 2010)
umount: /dev/mmcblk0p2: not mounted
mke2fs 1.41.14 (22-Dec-2010)
Filesystem label=Angstrom
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
119520 inodes, 477933 blocks
23896 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=490733568
15 block groups
32768 blocks per group, 32768 fragments per group
7968 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 27 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
i think it's OK!
2)extract ArchLinuxARM-omap-smp-latest.tar.gz to partition2.
3)copy MLO,boot.scr u-boot.bin, uImage to partition1.
~_~, also can't boot.
Texas Instruments X-Loader 1.41 (Oct 15 2010 - 20:28:09)
mmc read: Invalid size
mmc read: Invalid size
Starting OS Bootloader from MMC/SD1 ...