1 define Device/default-nand
5 MKUBIFS_OPTS := -m $$(PAGESIZE) -e 126KiB -c 2048
8 define Build/at91-sdcard
9 $(if $(findstring ext4,$@), \
11 mkfs.fat -C $@.boot $(FAT32_BLOCKS)
14 $(KDIR)/$(DEVICE_NAME)-fit-zImage.itb \
15 ::$(DEVICE_NAME)-fit.itb
18 $(BIN_DIR)/u-boot-at91sam9x5ek_mmc/u-boot.bin \
22 $(BIN_DIR)/at91bootstrap-at91sam9x5eksd_uboot/at91bootstrap.bin \
25 $(CP) uboot-env.txt $@-uboot-env.txt
26 sed -i '2d;3d' $@-uboot-env.txt
27 sed -i '2i board='"$(DEVICE_NAME)"'' $@-uboot-env.txt
28 sed -i '3i board_name='"$(DEVICE_NAME)"'' $@-uboot-env.txt
30 mkenvimage -s 0x4000 -o $@-uboot.env $@-uboot-env.txt
32 mcopy -i $@.boot $@-uboot.env ::uboot.env
34 ./gen_at91_sdcard_img.sh \
38 $(AT91_SD_BOOT_PARTSIZE) \
39 $(CONFIG_TARGET_ROOTFS_PARTSIZE)
43 rm -f $@.img $@.boot $@-uboot.env $@-uboot-env.txt)
46 define Device/at91sam9263ek
47 $(Device/evaluation-dtb)
48 DEVICE_VENDOR := Atmel
49 DEVICE_MODEL := AT91SAM9263-EK
51 TARGET_DEVICES += at91sam9263ek
53 define Device/at91sam9g15ek
55 DEVICE_VENDOR := Atmel
56 DEVICE_MODEL := AT91SAM9G15-EK
58 TARGET_DEVICES += at91sam9g15ek
60 define Device/at91sam9g20ek
61 $(Device/evaluation-dtb)
62 DEVICE_VENDOR := Atmel
63 DEVICE_MODEL := AT91SAM9G20-EK
65 TARGET_DEVICES += at91sam9g20ek
67 define Device/at91sam9g20ek_2mmc
68 $(Device/evaluation-dtb)
69 DEVICE_VENDOR := Atmel
70 DEVICE_MODEL := AT91SAM9G20-EK
71 DEVICE_VARIANT := 2MMC
73 TARGET_DEVICES += at91sam9g20ek_2mmc
75 define Device/at91sam9g25ek
77 DEVICE_VENDOR := Atmel
78 DEVICE_MODEL := AT91SAM9G25-EK
80 TARGET_DEVICES += at91sam9g25ek
82 define Device/at91sam9g35ek
84 DEVICE_VENDOR := Atmel
85 DEVICE_MODEL := AT91SAM9G35-EK
87 TARGET_DEVICES += at91sam9g35ek
89 define Device/at91sam9m10g45ek
91 DEVICE_VENDOR := Atmel
92 DEVICE_MODEL := AT91SAM9M10G45-EK
94 TARGET_DEVICES += at91sam9m10g45ek
96 define Device/at91sam9x25ek
97 $(Device/evaluation-dtb)
98 DEVICE_VENDOR := Atmel
99 DEVICE_MODEL := AT91SAM9X25-EK
100 $(Device/evaluation-sdimage)
102 TARGET_DEVICES += at91sam9x25ek
104 define Device/at91sam9x35ek
105 $(Device/evaluation-dtb)
106 DEVICE_VENDOR := Atmel
107 DEVICE_MODEL := AT91SAM9X35-EK
108 $(Device/evaluation-sdimage)
110 TARGET_DEVICES += at91sam9x35ek
112 define Device/lmu5000
114 DEVICE_VENDOR := CalAmp
115 DEVICE_MODEL := LMU5000
116 DEVICE_PACKAGES := kmod-rtc-pcf2123 kmod-usb-acm kmod-usb-serial \
117 kmod-usb-serial-option kmod-usb-serial-sierrawireless kmod-gpio-mcp23s08
119 TARGET_DEVICES += lmu5000
121 define Device/tny_a9260
122 $(Device/production-dtb)
123 DEVICE_VENDOR := Calao
124 DEVICE_MODEL := TNYA9260
126 TARGET_DEVICES += tny_a9260
128 define Device/tny_a9263
129 $(Device/production-dtb)
130 DEVICE_VENDOR := Calao
131 DEVICE_MODEL := TNYA9263
133 TARGET_DEVICES += tny_a9263
135 define Device/tny_a9g20
136 $(Device/production-dtb)
137 DEVICE_VENDOR := Calao
138 DEVICE_MODEL := TNYA9G20
140 TARGET_DEVICES += tny_a9g20
142 define Device/usb_a9260
143 $(Device/production-dtb)
144 DEVICE_VENDOR := Calao
145 DEVICE_MODEL := USBA9260
147 TARGET_DEVICES += usb_a9260
149 define Device/usb_a9263
150 $(Device/production-dtb)
151 DEVICE_VENDOR := Calao
152 DEVICE_MODEL := USBA9263
154 TARGET_DEVICES += usb_a9263
156 define Device/usb_a9g20
157 $(Device/production-dtb)
158 DEVICE_VENDOR := Calao
159 DEVICE_MODEL := USBA9G20
161 TARGET_DEVICES += usb_a9g20
163 define Device/ethernut5
165 DEVICE_VENDOR := egnite
166 DEVICE_MODEL := Ethernut 5
169 TARGET_DEVICES += ethernut5
171 define Device/at91-q5xr5
172 $(Device/production-dtb)
173 DEVICE_VENDOR := Exegin
174 DEVICE_MODEL := Q5XR5
177 #TARGET_DEVICES += at91-q5xr5
180 $(Device/evaluation-fit)
181 DEVICE_VENDOR := Laird
182 DEVICE_MODEL := WB45N
184 kmod-mmc-at91 kmod-ath6kl-sdio ath6k-firmware \
185 kmod-usb-storage kmod-fs-vfat kmod-fs-msdos \
190 MKUBIFS_OPTS := -m $$(PAGESIZE) -e 124KiB -c 955
192 TARGET_DEVICES += wb45n