资 源 简 介
TL;DR
Making a bootable SD card
First partition on the card needs to be FAT32. You only need to have enough space for at91bootstrap, uboot and a kernel image. 32MB or so should be enough for most people.
mkfs.vfat will create a FAT16 filesystem if the partition is below a certain size so make sure you pass -F32 to force it to create a FAT32 filesystem. The bootloader in ROM on the SoC will not load at91bootstrap from FAT16
You then need to copy at91bootstrap as BOOT.BIN, uboot as u-boot.bin and your kernel image as uImage.
how to build at91bootstrap
git clone https://code.google.com/p/linux-picosam9g45.at91bootstrap/
cd linux-picosam9g45.at91bootstrap
make CROSS_COMPILE=arm-linux-gnueabi- mrproper
make CROSS_COMPILE=arm-linux-gnueabi- at91sam9m10g45eksd_uboot_defconfig
make CROSS_COMPILE=arm-linux-gnueabi-
copy binaries/at91--blah--.bin to BOOT.BIN on your boot fat