2 define Device
/default-nand
6 MKUBIFS_OPTS
:= -m
$$(PAGESIZE
) -e
126KiB
-c
2048
9 define Build
/at91-sdcard
10 $(if
$(findstring ext4
,$@
), \
12 mkfs.fat
-C
$@.boot
$(FAT32_BLOCKS
)
15 $(KDIR
)/$(DEVICE_NAME
)-fit-zImage.itb \
16 ::$(DEVICE_NAME
)-fit.itb
19 $(BIN_DIR
)/u-boot-
$(if
$(findstring sam9x60
,$@
),$(DEVICE_DTS
:at91-
%=%),at91sam9x5ek
)_mmc
/u-boot.bin \
23 $(BIN_DIR
)/at91bootstrap-
$(if
$(findstring sam9x60
,$@
),$(DEVICE_DTS
:at91-
%=%),at91sam9x5ek
)sd_uboot
/at91bootstrap.bin \
26 $(CP
) uboot-env.txt
$@
-uboot-env.txt
27 sed
-i
'2d;3d' $@
-uboot-env.txt
28 sed
-i
'2i board='"$(DEVICE_NAME)"'' $@
-uboot-env.txt
29 sed
-i
'3i board_name='"$(firstword $(SUPPORTED_DEVICES))"'' $@
-uboot-env.txt
31 mkenvimage
-s
0x4000 -o
$@
-uboot.env
$@
-uboot-env.txt
33 mcopy
-i
$@.boot
$@
-uboot.env
::uboot.env
35 .
/gen_at91_sdcard_img.sh \
39 $(AT91_SD_BOOT_PARTSIZE
) \
40 $(CONFIG_TARGET_ROOTFS_PARTSIZE
)
44 rm -f
$@.img
$@.boot
$@
-uboot.env
$@
-uboot-env.txt
)
47 define Device
/atmel_at91sam9263ek
48 $(Device
/evaluation-dtb
)
49 DEVICE_VENDOR
:= Atmel
50 DEVICE_MODEL
:= AT91SAM9263-EK
52 TARGET_DEVICES
+= atmel_at91sam9263ek
54 define Device
/atmel_at91sam9g15ek
56 DEVICE_VENDOR
:= Atmel
57 DEVICE_MODEL
:= AT91SAM9G15-EK
59 TARGET_DEVICES
+= atmel_at91sam9g15ek
61 define Device
/atmel_at91sam9g20ek
62 $(Device
/evaluation-dtb
)
63 DEVICE_VENDOR
:= Atmel
64 DEVICE_MODEL
:= AT91SAM9G20-EK
66 TARGET_DEVICES
+= atmel_at91sam9g20ek
68 define Device
/atmel_at91sam9g20ek-2mmc
69 $(Device
/evaluation-dtb
)
70 DEVICE_VENDOR
:= Atmel
71 DEVICE_MODEL
:= AT91SAM9G20-EK
72 DEVICE_VARIANT
:= 2MMC
73 DEVICE_DTS
:= at91sam9g20ek_2mmc
74 SUPPORTED_DEVICES
:= atmel
,at91sam9g20ek_2mmc
76 TARGET_DEVICES
+= atmel_at91sam9g20ek-2mmc
78 define Device
/atmel_at91sam9g25ek
80 DEVICE_VENDOR
:= Atmel
81 DEVICE_MODEL
:= AT91SAM9G25-EK
83 TARGET_DEVICES
+= atmel_at91sam9g25ek
85 define Device
/atmel_at91sam9g35ek
87 DEVICE_VENDOR
:= Atmel
88 DEVICE_MODEL
:= AT91SAM9G35-EK
90 TARGET_DEVICES
+= atmel_at91sam9g35ek
92 define Device
/atmel_at91sam9m10g45ek
94 DEVICE_VENDOR
:= Atmel
95 DEVICE_MODEL
:= AT91SAM9M10G45-EK
97 TARGET_DEVICES
+= atmel_at91sam9m10g45ek
99 define Device
/atmel_at91sam9x25ek
100 $(Device
/evaluation-dtb
)
101 DEVICE_VENDOR
:= Atmel
102 DEVICE_MODEL
:= AT91SAM9X25-EK
103 $(Device
/evaluation-sdimage
)
105 TARGET_DEVICES
+= atmel_at91sam9x25ek
107 define Device
/atmel_at91sam9x35ek
108 $(Device
/evaluation-dtb
)
109 DEVICE_VENDOR
:= Atmel
110 DEVICE_MODEL
:= AT91SAM9X35-EK
111 $(Device
/evaluation-sdimage
)
113 TARGET_DEVICES
+= atmel_at91sam9x35ek
115 define Device
/microchip_sam9x60ek
116 $(Device
/evaluation-dtb
)
117 DEVICE_VENDOR
:= Microchip
118 DEVICE_MODEL
:= SAM9X60-EK
119 DEVICE_DTS
:= at91-sam9x60ek
120 $(Device
/evaluation-sdimage
)
122 TARGET_DEVICES
+= microchip_sam9x60ek
124 define Device
/calamp_lmu5000
126 DEVICE_VENDOR
:= CalAmp
127 DEVICE_MODEL
:= LMU5000
128 DEVICE_PACKAGES
:= kmod-rtc-pcf2123 kmod-usb-acm \
129 kmod-usb-serial-option kmod-usb-serial-sierrawireless \
130 kmod-pinctrl-mcp23s08-spi
132 TARGET_DEVICES
+= calamp_lmu5000
134 define Device
/calao_tny-a9260
135 $(Device
/production-dtb
)
136 DEVICE_VENDOR
:= Calao
137 DEVICE_MODEL
:= TNY A9260
138 DEVICE_DTS
:= tny_a9260
140 TARGET_DEVICES
+= calao_tny-a9260
142 define Device
/calao_tny-a9263
143 $(Device
/production-dtb
)
144 DEVICE_VENDOR
:= Calao
145 DEVICE_MODEL
:= TNY A9263
146 DEVICE_DTS
:= tny_a9263
147 SUPPORTED_DEVICES
:= atmel
,tny-a9263
149 TARGET_DEVICES
+= calao_tny-a9263
151 define Device
/calao_tny-a9g20
152 $(Device
/production-dtb
)
153 DEVICE_VENDOR
:= Calao
154 DEVICE_MODEL
:= TNY A9G20
155 DEVICE_DTS
:= tny_a9g20
157 TARGET_DEVICES
+= calao_tny-a9g20
159 define Device
/calao_usb-a9260
160 $(Device
/production-dtb
)
161 DEVICE_VENDOR
:= Calao
162 DEVICE_MODEL
:= USB A9260
163 DEVICE_DTS
:= usb_a9260
165 TARGET_DEVICES
+= calao_usb-a9260
167 define Device
/calao_usb-a9263
168 $(Device
/production-dtb
)
169 DEVICE_VENDOR
:= Calao
170 DEVICE_MODEL
:= USB A9263
171 DEVICE_DTS
:= usb_a9263
172 SUPPORTED_DEVICES
:= atmel
,usb-a9263
174 TARGET_DEVICES
+= calao_usb-a9263
176 define Device
/calao_usb-a9g20
177 $(Device
/production-dtb
)
178 DEVICE_VENDOR
:= Calao
179 DEVICE_MODEL
:= USB A9G20
180 DEVICE_DTS
:= usb_a9g20
182 TARGET_DEVICES
+= calao_usb-a9g20
184 define Device
/egnite_ethernut5
186 DEVICE_VENDOR
:= egnite
187 DEVICE_MODEL
:= Ethernut
5
190 TARGET_DEVICES
+= egnite_ethernut5
192 define Device
/exegin_q5xr5
193 $(Device
/production-dtb
)
194 DEVICE_VENDOR
:= Exegin
196 DEVICE_VARIANT
:= rev5
197 DEVICE_DTS
:= at91-q5xr5
201 TARGET_DEVICES
+= exegin_q5xr5
203 define Device
/laird_wb45n
204 $(Device
/evaluation-fit
)
205 DEVICE_VENDOR
:= Laird
206 DEVICE_MODEL
:= WB45N
207 DEVICE_DTS
:= at91-wb45n
209 kmod-mmc-at91 kmod-ath6kl-sdio ath6k-firmware \
210 kmod-usb-storage kmod-fs-vfat kmod-fs-msdos \
215 MKUBIFS_OPTS
:= -m
$$(PAGESIZE
) -e
124KiB
-c
955
217 TARGET_DEVICES
+= laird_wb45n