aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorGravatar Fabio Estevam <fabio.estevam@nxp.com>2016-10-02 16:30:57 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-10-03 23:14:30 +0200
commit2e091135be670b7b3a9a72312cff3ac30aed8d3c (patch)
tree62a2c82fc060b305f83f1cf662aea4aa955cb6d1 /board
parent3fcde2f9db2c5a2a17e02595cd0f88b4d596f1ae (diff)
downloadbuildroot-2e091135be670b7b3a9a72312cff3ac30aed8d3c.tar.gz
buildroot-2e091135be670b7b3a9a72312cff3ac30aed8d3c.tar.bz2
configs/imx6ulpico: Use common script for image generation
Using the common board/freescale/common/post-image.sh can lead to some good amount of simplification. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'board')
-rw-r--r--board/technexion/imx6ulpico/genimage.cfg41
-rwxr-xr-xboard/technexion/imx6ulpico/post-image.sh14
2 files changed, 0 insertions, 55 deletions
diff --git a/board/technexion/imx6ulpico/genimage.cfg b/board/technexion/imx6ulpico/genimage.cfg
deleted file mode 100644
index 9e67105fe4..0000000000
--- a/board/technexion/imx6ulpico/genimage.cfg
+++ /dev/null
@@ -1,41 +0,0 @@
-# Minimal eMMC card image for the Technexion's i.MX6UL Pico board
-#
-# We mimic the .sdcard Freescale's image format for i.MX6UL:
-# * the eMMC must have 1 kB free space at the beginning,
-# * U-Boot is dumped as is,
-# * a FAT partition at offset 8 MB is containing zImage and dtbs,
-# * a single root filesystem partition is required (Ext4 in this case).
-#
-
-image boot.vfat {
- vfat {
- files = {
- "imx6ul-pico-hobbit.dtb",
- "zImage"
- }
- }
- size = 16M
-}
-
-image sdcard.img {
- hdimage {
- }
-
- partition u-boot {
- in-partition-table = "no"
- image = "u-boot.imx"
- offset = 1024
- }
-
- partition boot {
- partition-type = 0xC
- bootable = "true"
- image = "boot.vfat"
- offset = 8M
- }
-
- partition rootfs {
- partition-type = 0x83
- image = "rootfs.ext4"
- }
-}
diff --git a/board/technexion/imx6ulpico/post-image.sh b/board/technexion/imx6ulpico/post-image.sh
deleted file mode 100755
index b4ac4608ff..0000000000
--- a/board/technexion/imx6ulpico/post-image.sh
+++ /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}"