aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorGravatar Nicolas Ferre <nicolas.ferre@microchip.com>2017-10-06 12:09:13 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2017-10-06 12:34:32 +0200
commit95cb1465f09dd7d88cc84d60c735b04e8f4ef244 (patch)
tree362c57cbb3082e3d6f739cbf83701763e14145c8 /board
parentc1502e8352459fa7e69f994d0b608249d0e97fca (diff)
downloadbuildroot-95cb1465f09dd7d88cc84d60c735b04e8f4ef244.tar.gz
buildroot-95cb1465f09dd7d88cc84d60c735b04e8f4ef244.tar.bz2
configs/atmel: addition of the sama5d27 som1 ek board
Add the new SAMA5D27 SOM1 Evaluation Kit with linux4sam_5.7 components. Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'board')
-rw-r--r--board/atmel/sama5d27_som1_ek_mmc/genimage.cfg34
-rwxr-xr-xboard/atmel/sama5d27_som1_ek_mmc/post-image.sh14
2 files changed, 48 insertions, 0 deletions
diff --git a/board/atmel/sama5d27_som1_ek_mmc/genimage.cfg b/board/atmel/sama5d27_som1_ek_mmc/genimage.cfg
new file mode 100644
index 0000000000..f5222ff893
--- /dev/null
+++ b/board/atmel/sama5d27_som1_ek_mmc/genimage.cfg
@@ -0,0 +1,34 @@
+# Image for SD card boot on Atmel SAMA5D2 Xplained boards
+#
+image boot.vfat {
+ vfat {
+ files = {
+ "zImage",
+ "at91-sama5d27_som1_ek.dtb",
+ "at91-sama5d27_som1_ek_pda4.dtb",
+ "at91-sama5d27_som1_ek_pda7.dtb",
+ "at91-sama5d27_som1_ek_pda7b.dtb",
+ "boot.bin",
+ "u-boot.bin"
+ }
+ }
+ size = 16M
+}
+
+image sdcard.img {
+ hdimage {
+ }
+
+ partition boot {
+ partition-type = 0xC
+ bootable = "true"
+ image = "boot.vfat"
+ offset = 1M
+ }
+
+ partition rootfs {
+ partition-type = 0x83
+ image = "rootfs.ext4"
+ size = 512M
+ }
+}
diff --git a/board/atmel/sama5d27_som1_ek_mmc/post-image.sh b/board/atmel/sama5d27_som1_ek_mmc/post-image.sh
new file mode 100755
index 0000000000..359b4c9e7c
--- /dev/null
+++ b/board/atmel/sama5d27_som1_ek_mmc/post-image.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+BOARD_DIR="$(dirname $0)"
+GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
+GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
+
+rm -rf "${GENIMAGE_TMP}"
+
+genimage \
+ --rootpath "${TARGET_DIR}" \
+ --tmppath "${GENIMAGE_TMP}" \
+ --inputpath "${BINARIES_DIR}" \
+ --outputpath "${BINARIES_DIR}" \
+ --config "${GENIMAGE_CFG}"