Skip to contentSkip to conversation

freescale: Create the board/freescale/common/imx/ directory

PATCH New Fabio Estevam 2 participants 2 messages Nov 6, 2016 – Nov 7, 2016 Arm i.MX and Layerscape

lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 freescale: Create the board/freescale/common/imx/ directory

In order to have a better hierarchy for the genimage scripts used by NXP mx25, mx51, mx53, mx6, mx7 SoCs, let's place them inside the board/freescale/common/imx/ directory.

This helps in creating a more natural separation between the mxs scripts that are placed inside the board/freescale/common/mxs/ directory.

---
 board/freescale/common/{ => imx}/genimage.cfg.template | 0
 board/freescale/common/{ => imx}/post-image.sh         | 2 +-
 board/freescale/imx25pdk/readme.txt                    | 2 +-
 board/freescale/imx51evk/readme.txt                    | 2 +-
 board/freescale/imx6sabre/readme.txt                   | 2 +-
 board/freescale/imx6ulevk/readme.txt                   | 2 +-
 board/freescale/imx7dsdb/readme.txt                    | 2 +-
 board/technexion/imx6ulpico/readme.txt                 | 2 +-
 configs/freescale_imx6dlsabreauto_defconfig            | 2 +-
 configs/freescale_imx6dlsabresd_defconfig              | 2 +-
 configs/freescale_imx6qsabreauto_defconfig             | 2 +-
 configs/freescale_imx6qsabresd_defconfig               | 2 +-
 configs/freescale_imx6sololiteevk_defconfig            | 2 +-
 configs/freescale_imx6sxsabresd_defconfig              | 2 +-
 configs/freescale_imx6ulevk_defconfig                  | 2 +-
 configs/freescale_imx7dsabresd_defconfig               | 2 +-
 configs/imx6ulpico_defconfig                           | 2 +-
 configs/mx25pdk_defconfig                              | 2 +-
 configs/mx51evk_defconfig                              | 2 +-
 configs/mx53loco_defconfig                             | 2 +-
 configs/warp7_defconfig                                | 2 +-
 configs/warpboard_defconfig                            | 2 +-
 22 files changed, 21 insertions(+), 21 deletions(-)
 rename board/freescale/common/{ => imx}/genimage.cfg.template (100%)
 rename board/freescale/common/{ => imx}/post-image.sh (94%)
board/freescale/common/imx/genimage.cfg.template renamed from board/freescale/common/genimage.cfg.template +0 -0
similarity index 100%
rename from board/freescale/common/genimage.cfg.template
rename to board/freescale/common/imx/genimage.cfg.template
board/freescale/common/imx/post-image.sh renamed from board/freescale/common/post-image.sh +1 -1
similarity index 94%
rename from board/freescale/common/post-image.sh
rename to board/freescale/common/imx/post-image.sh
index 7d48550..9e4da82 100755
@@ -35,7 +35,7 @@ main()
 	local GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
 
 	sed -e "s/%FILES%/${FILES}/" \
-		board/freescale/common/genimage.cfg.template > ${GENIMAGE_CFG}
+		board/freescale/common/imx/genimage.cfg.template > ${GENIMAGE_CFG}
 
 	rm -rf "${GENIMAGE_TMP}"
 
board/freescale/imx25pdk/readme.txt +1 -1
index df7c617..1aece6c 100644
@@ -40,7 +40,7 @@ command as root:
 *** WARNING! This will destroy all the card content. Use with care! ***
 
 For details about the medium image layout, see the definition in
-board/freescale/common/genimage.cfg.template.
+board/freescale/common/imx/genimage.cfg.template.
 
 Boot the i.MX25 PDK board
 =========================
board/freescale/imx51evk/readme.txt +1 -1
index bf739fd..d67a3fd 100644
@@ -40,7 +40,7 @@ command as root:
 *** WARNING! This will destroy all the card content. Use with care! ***
 
 For details about the medium image layout, see the definition in
-board/freescale/common/genimage.cfg.template.
+board/freescale/common/imx/genimage.cfg.template.
 
 Boot the i.MX51 EVK board
 =========================
board/freescale/imx6sabre/readme.txt +1 -1
index e409d8f..a1bd82f 100644
@@ -71,7 +71,7 @@ command as root:
 *** WARNING! The script will destroy all the card content. Use with care! ***
 
 For details about the medium image layout, see the definition in
-board/freescale/common/genimage.cfg.template.
+board/freescale/common/imx/genimage.cfg.template.
 
 Boot the SABRE board
 ====================
board/freescale/imx6ulevk/readme.txt +1 -1
index 98de277..25b95fe 100644
@@ -43,7 +43,7 @@ command as root:
 *** WARNING! This will destroy all the card content. Use with care! ***
 
 For details about the medium image layout, see the definition in
-board/freescale/common/genimage.cfg.template.
+board/freescale/common/imx/genimage.cfg.template.
 
 Boot the i.MX6UL EVK board
 =========================
board/freescale/imx7dsdb/readme.txt +1 -1
index 9aeeb16..c6030f6 100644
@@ -40,7 +40,7 @@ command as root:
 *** WARNING! This will destroy all the card content. Use with care! ***
 
 For details about the medium image layout, see the definition in
-board/freescale/common/genimage.cfg.template.
+board/freescale/common/imx/genimage.cfg.template.
 
 Boot the i.MX7D SDB board
 =========================
board/technexion/imx6ulpico/readme.txt +1 -1
index a7c3a44..7eab3f6 100644
@@ -46,7 +46,7 @@ command as root:
 *** WARNING! This will destroy all the card content. Use with care! ***
 
 For details about the medium image layout, see the definition in
-board/freescale/common/genimage.cfg.template.
+board/freescale/common/imx/genimage.cfg.template.
 
 Boot the i.MX6UL Pico board
 =========================
configs/freescale_imx6dlsabreauto_defconfig +1 -1
index ed5f67c..1cf5fee 100644
@@ -21,7 +21,7 @@ BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-sabreauto"
 
 # filesystem
-BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/post-image.sh"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh"
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
 
configs/freescale_imx6dlsabresd_defconfig +1 -1
index 0cbe974..904f0a2 100644
@@ -21,7 +21,7 @@ BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-sabresd"
 
 # filesystem
-BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/post-image.sh"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh"
 BR2_TARGET_ROOTFS_EXT2=y
 
 # required tools to create the microSD image
configs/freescale_imx6qsabreauto_defconfig +1 -1
index 9ae2f81..64efd42 100644
@@ -21,7 +21,7 @@ BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-sabreauto"
 
 # filesystem
-BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/post-image.sh"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh"
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
 
configs/freescale_imx6qsabresd_defconfig +1 -1
index 913a724..962c274 100644
@@ -21,7 +21,7 @@ BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-sabresd"
 
 # filesystem
-BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/post-image.sh"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh"
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
 
configs/freescale_imx6sololiteevk_defconfig +1 -1
index 79ebcb8..bf0b9e5 100644
@@ -18,7 +18,7 @@ BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6sl-evk"
 
 # filesystem
-BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/post-image.sh"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh"
 BR2_TARGET_ROOTFS_EXT2=y
 
 # required tools to create the microSD image
configs/freescale_imx6sxsabresd_defconfig +1 -1
index fed1a3e..9b5cdb8 100644
@@ -21,7 +21,7 @@ BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6sx-sdb"
 
 # filesystem
-BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/post-image.sh"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh"
 BR2_TARGET_ROOTFS_EXT2=y
 
 # required tools to create the microSD image
configs/freescale_imx6ulevk_defconfig +1 -1
index d033b99..3c5a909 100644
@@ -31,6 +31,6 @@ BR2_PACKAGE_HOST_GENIMAGE=y
 BR2_PACKAGE_HOST_MTOOLS=y
 
 # filesystem / image
-BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/post-image.sh"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh"
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
configs/freescale_imx7dsabresd_defconfig +1 -1
index 4bedef1..97d3cde 100644
@@ -33,4 +33,4 @@ BR2_TARGET_UBOOT_FORMAT_IMX=y
 BR2_PACKAGE_HOST_DOSFSTOOLS=y
 BR2_PACKAGE_HOST_GENIMAGE=y
 BR2_PACKAGE_HOST_MTOOLS=y
-BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/post-image.sh"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh"
configs/imx6ulpico_defconfig +1 -1
index 71277d9..88604a6 100644
@@ -45,6 +45,6 @@ BR2_PACKAGE_HOST_GENIMAGE=y
 BR2_PACKAGE_HOST_MTOOLS=y
 
 # filesystem / image
-BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/post-image.sh"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh"
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
configs/mx25pdk_defconfig +1 -1
index 645fe8a..65a6d12 100644
@@ -14,7 +14,7 @@ BR2_PACKAGE_HOST_GENIMAGE=y
 BR2_PACKAGE_HOST_MTOOLS=y
 
 # Filesystem
-BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/post-image.sh"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh"
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
 
configs/mx51evk_defconfig +1 -1
index 1fca282..db82a36 100644
@@ -14,7 +14,7 @@ BR2_PACKAGE_HOST_GENIMAGE=y
 BR2_PACKAGE_HOST_MTOOLS=y
 
 # Filesystem
-BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/post-image.sh"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh"
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
 
configs/mx53loco_defconfig +1 -1
index 94ac818..7597ae9 100644
@@ -14,7 +14,7 @@ BR2_PACKAGE_HOST_GENIMAGE=y
 BR2_PACKAGE_HOST_MTOOLS=y
 
 # Filesystem
-BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/post-image.sh"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh"
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
 
configs/warp7_defconfig +1 -1
index 31251f4..a55a504 100644
@@ -38,7 +38,7 @@ BR2_PACKAGE_WPA_SUPPLICANT=y
 BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y
 
 # Filesystem
-BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/post-image.sh"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh"
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
 
configs/warpboard_defconfig +1 -1
index 5e9c051..531a878 100644
@@ -42,7 +42,7 @@ BR2_PACKAGE_HOST_DFU_UTIL=y
 BR2_PACKAGE_HOST_IMX_USB_LOADER=y
 
 # Filesystem
-BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/post-image.sh"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh"
 BR2_TARGET_ROOTFS_EXT2=y
 BR2_TARGET_ROOTFS_EXT2_4=y
 
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 freescale: Create the board/freescale/common/imx/ directory

Hello,

Quoted 27 lines · Fabio Estevam

In order to have a better hierarchy for the genimage scripts used by NXP mx25, mx51, mx53, mx6, mx7 SoCs, let's place them inside the board/freescale/common/imx/ directory.

This helps in creating a more natural separation between the mxs scripts that are placed inside the board/freescale/common/mxs/ directory.

---
 board/freescale/common/{ => imx}/genimage.cfg.template | 0
 board/freescale/common/{ => imx}/post-image.sh         | 2 +-
 board/freescale/imx25pdk/readme.txt                    | 2 +-
 board/freescale/imx51evk/readme.txt                    | 2 +-
 board/freescale/imx6sabre/readme.txt                   | 2 +-
 board/freescale/imx6ulevk/readme.txt                   | 2 +-
 board/freescale/imx7dsdb/readme.txt                    | 2 +-
 board/technexion/imx6ulpico/readme.txt                 | 2 +-
 configs/freescale_imx6dlsabreauto_defconfig            | 2 +-
 configs/freescale_imx6dlsabresd_defconfig              | 2 +-
 configs/freescale_imx6qsabreauto_defconfig             | 2 +-
 configs/freescale_imx6qsabresd_defconfig               | 2 +-
 configs/freescale_imx6sololiteevk_defconfig            | 2 +-
 configs/freescale_imx6sxsabresd_defconfig              | 2 +-
 configs/freescale_imx6ulevk_defconfig                  | 2 +-
 configs/freescale_imx7dsabresd_defconfig               | 2 +-
 configs/imx6ulpico_defconfig                           | 2 +-
Quoted 8 lines
 configs/mx25pdk_defconfig                              | 2 +-
 configs/mx51evk_defconfig                              | 2 +-
 configs/mx53loco_defconfig                             | 2 +-
 configs/warp7_defconfig                                | 2 +-
 configs/warpboard_defconfig                            | 2 +-
 22 files changed, 21 insertions(+), 21 deletions(-)
 rename board/freescale/common/{ => imx}/genimage.cfg.template (100%)
 rename board/freescale/common/{ => imx}/post-image.sh (94%)

Applied to next, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com