configs/imx28evk: Use the common mxs genimage script
authorFabio Estevam <festevam@gmail.com>
Sun, 6 Nov 2016 19:12:15 +0000 (17:12 -0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 6 Nov 2016 21:41:46 +0000 (22:41 +0100)
Use the common mxs genimage script instead of a custom one.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
board/freescale/imx28evk/genimage.cfg [deleted file]
board/freescale/imx28evk/post-image.sh [deleted file]
configs/freescale_imx28evk_defconfig

diff --git a/board/freescale/imx28evk/genimage.cfg b/board/freescale/imx28evk/genimage.cfg
deleted file mode 100644 (file)
index 4df432f..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-image kernel.vfat {
-       vfat {
-               files = {
-               "zImage", "imx28-evk.dtb"
-               }
-       }
-       size = 16M
-}
-
-image sdcard.img {
-       hdimage {
-       }
-       partition boot {
-               partition-type = 0x53
-               image = "u-boot.sd"
-               offset = 1M
-               size = 16M
-       }
-
-       partition kernel {
-               partition-type = 0xC
-               image = "kernel.vfat"
-       }
-
-       partition rootfs {
-               partition-type = 0x83
-               image = "rootfs.ext2"
-       }
-}
diff --git a/board/freescale/imx28evk/post-image.sh b/board/freescale/imx28evk/post-image.sh
deleted file mode 100755 (executable)
index b4ac460..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/env bash
-
-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}"
index 790c3382510b98f01b9670c944a273f1639e9f67..08d5bd9cc727f28df3cefd4d93dd5f29ce63af84 100644 (file)
@@ -31,4 +31,4 @@ BR2_TARGET_ROOTFS_EXT4=y
 BR2_PACKAGE_HOST_DOSFSTOOLS=y
 BR2_PACKAGE_HOST_GENIMAGE=y
 BR2_PACKAGE_HOST_MTOOLS=y
-BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/imx28evk/post-image.sh"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/mxs/post-image.sh"