[LEDE-DEV] [LEDE-DEV,v2, 05/11] at91: Add SAMA5D4 device

Sandeep Sheriker Mallikarjun sandeepsheriker.mallikarjun at microchip.com
Wed Sep 13 11:51:17 PDT 2017


Add support for SAMA5D4 with target device as at91-sama5d4_xplained
in SAMA5 subtarget and build images for SAMA5D4 Xplained board.

Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun at microchip.com>
---
 target/linux/at91/base-files/lib/at91.sh | 3 +++
 target/linux/at91/image/sama5.mk         | 8 ++++++++
 2 files changed, 11 insertions(+)

diff --git a/target/linux/at91/base-files/lib/at91.sh b/target/linux/at91/base-files/lib/at91.sh
index 84beecd..61921ed 100755
--- a/target/linux/at91/base-files/lib/at91.sh
+++ b/target/linux/at91/base-files/lib/at91.sh
@@ -46,6 +46,9 @@ at91_board_detect() {
 	*"SAMA5D2 Xplained")
 		name="sama5d2_xplained"
 		;;
+	*"SAMA5D4 Xplained")
+		name="sama5d4_xplained"
+		;;
 	*"CalAmp LMU5000")
 		name="lmu5000"
 		;;
diff --git a/target/linux/at91/image/sama5.mk b/target/linux/at91/image/sama5.mk
index 1faeb4b..580b51e 100644
--- a/target/linux/at91/image/sama5.mk
+++ b/target/linux/at91/image/sama5.mk
@@ -13,3 +13,11 @@ define Device/at91-sama5d2_xplained
   SUBPAGESIZE := 2048
 endef
 TARGET_DEVICES += at91-sama5d2_xplained
+
+define Device/at91-sama5d4_xplained
+  $(Device/evaluation-dtb)
+  DEVICE_TITLE := Microchip(Atmel AT91) SAMA5D4 Xplained
+  KERNEL_SIZE := 6144k
+  SUBPAGESIZE := 2048
+endef
+TARGET_DEVICES += at91-sama5d4_xplained
-- 
2.7.4




More information about the Lede-dev mailing list