AM3354
製作SDCard開機片
Partition
$ sudo fdisk /dev/sdX Command (m for help): n Partition type p primary (0 primary, 0 extended, 4 free) e extended (container for logical partitions) Select (default p): p Partition number (1-4, default 1): 1 First sector (2048-3862527, default 2048): 2048 Last sector, +sectors or +size{K,M,G,T,P} (2048-3862527, default 3862527): 216863 Created a new partition 1 of type 'Linux' and of size 104.9 MiB. Partition #1 contains a vfat signature. Do you want to remove the signature? [Y]es/[N]o: Y The signature will be removed by a write command. Command (m for help): n Partition type p primary (1 primary, 0 extended, 3 free) e extended (container for logical partitions) Select (default p): p Partition number (2-4, default 2): First sector (216864-3862527, default 217088): 216864 Last sector, +sectors or +size{K,M,G,T,P} (216864-3862527, default 3862527): Created a new partition 2 of type 'Linux' and of size 1.8 GiB. Command (m for help): t Partition number (1,2, default 2): 1 Partition type (type L to list all types): b Changed type of partition 'Linux' to 'W95 FAT32'. Command (m for help): a Partition number (1,2, default 2): 1 The bootable flag on partition 1 is enabled now. Command (m for help): p Disk /dev/sdf: 1.9 GiB, 1977614336 bytes, 3862528 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xf6cf3f7c Device Boot Start End Sectors Size Id Type /dev/sdf1 * 2048 216863 214816 104.9M b W95 FAT32 /dev/sdf2 216864 3862527 3645664 1.8G 83 Linux Command (m for help): w
Format
$ sudo mkfs.vfat /dev/sdX1 $ sudo mkfs.ext3 /dev/sdX2
Copy Files
MLO > vfat zImage > vfat uEnv.txt > vfat u-boot.img > vfat rootfs > ext3