2 define Device
/default-nand
6 MKUBIFS_OPTS
:= -m
$$(PAGESIZE
) -e
124KiB
-c
2048
9 define Build
/at91-sdcard
10 $(if
$(findstring ext4
,$@
), \
12 mkfs.fat
-C
$@.boot
$(FAT32_BLOCKS
)
14 mcopy
-i
$@.boot
$(KDIR
)/zImage
::zImage
16 $(if
$(findstring at91-sama5d27_som1_ek
,$@
), \
18 $(BIN_DIR
)/u-boot-
$(DEVICE_NAME
:at91-
%=%)_mmc1
/u-boot.bin \
21 $(BIN_DIR
)/at91bootstrap-
$(DEVICE_NAME
:at91-
%=%)sd1_uboot
/at91bootstrap.bin \
24 $(BIN_DIR
)/u-boot-
$(DEVICE_NAME
:at91-
%=%)_mmc
/u-boot.bin \
27 $(BIN_DIR
)/at91bootstrap-
$(DEVICE_NAME
:at91-
%=%)sd_uboot
/at91bootstrap.bin \
30 .
/gen_at91_sdcard_img.sh \
34 $(AT91_SD_BOOT_PARTSIZE
) \
35 $(CONFIG_TARGET_ROOTFS_PARTSIZE
)
39 rm -f
$@.img
$@.boot
)
42 define Device
/at91-sama5d2_xplained
43 $(Device
/evaluation-dtb
)
44 DEVICE_TITLE
:= Microchip
(Atmel AT91
) SAMA5D2 Xplained
46 $(Device
/evaluation-sdimage
)
48 TARGET_DEVICES
+= at91-sama5d2_xplained
50 define Device
/at91-sama5d27_som1_ek
51 $(Device
/evaluation-dtb
)
52 DEVICE_TITLE
:= Microchip
(Atmel AT91
) SAMA5D27 SOM1 Ek
54 $(Device
/evaluation-sdimage
)
56 TARGET_DEVICES
+= at91-sama5d27_som1_ek
58 define Device
/at91-sama5d2_ptc_ek
59 $(Device
/evaluation-dtb
)
60 DEVICE_TITLE
:= Microchip
(Atmel AT91
) SAMA5D2 PTC Ek
62 $(Device
/evaluation-sdimage
)
64 TARGET_DEVICES
+= at91-sama5d2_ptc_ek
67 define Device
/at91-sama5d3_xplained
68 $(Device
/evaluation-dtb
)
69 DEVICE_TITLE
:= Microchip
(Atmel AT91
) SAMA5D3 Xplained
71 $(Device
/evaluation-sdimage
)
73 TARGET_DEVICES
+= at91-sama5d3_xplained
75 ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE
)),"")
76 ifeq ($(strip $(CONFIG_KERNEL_GIT_CLONE_URI
)),"")
78 $(Device
/evaluation-fit
)
79 DEVICE_TITLE
:= Laird WB50N
81 kmod-mmc-at91 kmod-ath6kl-sdio ath6k-firmware \
82 kmod-usb-storage kmod-fs-vfat kmod-fs-msdos \
87 MKUBIFS_OPTS
:= -m
$$(PAGESIZE
) -e
124KiB
-c
955
89 TARGET_DEVICES
+= wb50n
94 define Device
/at91-sama5d4_xplained
95 $(Device
/evaluation-dtb
)
96 DEVICE_TITLE
:= Microchip
(Atmel AT91
) SAMA5D4 Xplained
101 MKUBIFS_OPTS
:= -m
$$(PAGESIZE
) -e
248KiB
-c
2082
102 $(Device
/evaluation-sdimage
)
104 TARGET_DEVICES
+= at91-sama5d4_xplained