1 AT91_SD_BOOT_PARTSIZE
:=64
3 FAT32_BLOCKS
:=$(shell echo \
4 $$(($(AT91_SD_BOOT_PARTSIZE
)*1024*1024/$(FAT32_BLOCK_SIZE
))))
6 define Build
/at91-sdcard
8 mkfs.fat
-C
$@.boot
$(FAT32_BLOCKS
)
10 mcopy
-i
$@.boot
$(KDIR
)/zImage
::zImage
12 $(foreach dts
,$(DEVICE_DTS
), \
13 mcopy
-i
$@.boot
$(DTS_DIR
)/$(dts
).dtb \
17 $(BIN_DIR
)/u-boot-
$(DEVICE_NAME
:at91-
%=%)_mmc
/u-boot.bin \
20 $(CP
) $(BIN_DIR
)/at91bootstrap-
$(DEVICE_NAME
:at91-
%=%)sd
*/at91bootstrap.bin \
22 mcopy
-i
$@.boot
$@.BOOT.bin
::BOOT.bin
24 .
/gen_at91_sdcard_img.sh \
28 $(AT91_SD_BOOT_PARTSIZE
) \
29 $(CONFIG_TARGET_ROOTFS_PARTSIZE
)
33 rm -f
$@.img
$@.boot
$@.BOOT.bin
36 define Device
/evaluation-sdimage
37 IMAGES
+= sdcard.img.gz
38 IMAGE
/sdcard.img.gz
:= at91-sdcard
41 define Device
/default-nand
45 MKUBIFS_OPTS
:= -m
$$(PAGESIZE
) -e
124KiB
-c
2048
48 define Device
/at91-sama5d3_xplained
49 $(Device
/evaluation-dtb
)
50 DEVICE_TITLE
:= Microchip
(Atmel AT91
) SAMA5D3 Xplained
52 $(Device
/evaluation-sdimage
)
54 TARGET_DEVICES
+= at91-sama5d3_xplained
56 define Device
/at91-sama5d2_xplained
57 $(Device
/evaluation-dtb
)
58 DEVICE_TITLE
:= Microchip
(Atmel AT91
) SAMA5D2 Xplained
60 $(Device
/evaluation-sdimage
)
62 TARGET_DEVICES
+= at91-sama5d2_xplained
64 define Device
/at91-sama5d4_xplained
65 $(Device
/evaluation-dtb
)
66 DEVICE_TITLE
:= Microchip
(Atmel AT91
) SAMA5D4 Xplained
71 MKUBIFS_OPTS
:= -m
$$(PAGESIZE
) -e
248KiB
-c
2082 -x lzo
72 $(Device
/evaluation-sdimage
)
74 TARGET_DEVICES
+= at91-sama5d4_xplained
76 ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE
)),"")
77 ifeq ($(strip $(CONFIG_KERNEL_GIT_CLONE_URI
)),"")
79 $(Device
/evaluation-fit
)
80 DEVICE_TITLE
:= Laird WB50N
82 kmod-mmc-at91 kmod-ath6kl-sdio ath6k-firmware \
83 kmod-usb-storage kmod-fs-vfat kmod-fs-msdos \
88 MKUBIFS_OPTS
:= -m
$$(PAGESIZE
) -e
124KiB
-c
955
90 TARGET_DEVICES
+= wb50n