@@ -57,13 +57,19 @@ define Build/at91-sdcard
mcopy -i $@.boot $(DTS_DIR)/$(dts).dtb \
::$(dts).dtb)
+ $(if $(findstring sama5,$(DEVICE_NAME)) , \
mcopy -i $@.boot \
$(BIN_DIR)/u-boot-$(DEVICE_NAME:at91-%=%)_mmc/u-boot.bin \
::u-boot.bin
mcopy -i $@.boot \
$(BIN_DIR)/at91bootstrap-$(DEVICE_NAME:at91-%=%)sd*/at91bootstrap.bin \
- ::BOOT.bin
+ ::BOOT.bin ,
+
+ mcopy -i $@.boot $(BIN_DIR)/u-boot-*_mmc/u-boot.bin ::u-boot.bin
+
+ mcopy -i $@.boot \
+ $(BIN_DIR)/at91bootstrap-*sd*/at91bootstrap.bin ::BOOT.bin)
./gen_at91_sdcard_img.sh \
$@.img \
@@ -14,6 +14,7 @@ TARGET_DEVICES += at91sam9263ek
define Device/at91sam9g15ek
$(Device/evaluation)
DEVICE_TITLE := Atmel AT91SAM9G15-EK
+ $(Device/evaluation-sdimage)
endef
TARGET_DEVICES += at91sam9g15ek
@@ -32,12 +33,14 @@ TARGET_DEVICES += at91sam9g20ek_2mmc
define Device/at91sam9g25ek
$(Device/evaluation)
DEVICE_TITLE := Atmel AT91SAM9G25-EK
+ $(Device/evaluation-sdimage)
endef
TARGET_DEVICES += at91sam9g25ek
define Device/at91sam9g35ek
$(Device/evaluation)
DEVICE_TITLE := Atmel AT91SAM9G35-EK
+ $(Device/evaluation-sdimage)
endef
TARGET_DEVICES += at91sam9g35ek
@@ -50,12 +53,14 @@ TARGET_DEVICES += at91sam9m10g45ek
define Device/at91sam9x25ek
$(Device/evaluation)
DEVICE_TITLE := Atmel AT91SAM9X25-EK
+ $(Device/evaluation-sdimage)
endef
TARGET_DEVICES += at91sam9x25ek
define Device/at91sam9x35ek
$(Device/evaluation)
DEVICE_TITLE := Atmel AT91SAM9X35-EK
+ $(Device/evaluation-sdimage)
endef
TARGET_DEVICES += at91sam9x35ek
Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com> --- target/linux/at91/image/Makefile | 8 +++++++- target/linux/at91/image/sam9x.mk | 5 +++++ 2 files changed, 12 insertions(+), 1 deletion(-)