Skip to contentSkip to conversation

imx7d-warp7: Rename to imx7s-warp

PATCH Superseded Daiane Angolini 3 participants 4 messages Aug 8, 2016 Arm i.MX and Layerscape

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 imx7d-warp7: Rename to imx7s-warp

Rename to imx7s-warp in order to align with the upstream kernel naming.

It also change the dts file used for the board, it's needed since:

https://github.com/Freescale/linux-fslc/commit/51bca3b53d536600334cb63a67da514e86068cd2

---
 conf/machine/imx7d-warp7.conf | 19 -------------------
 conf/machine/imx7s-warp.conf  | 19 +++++++++++++++++++
 2 files changed, 19 insertions(+), 19 deletions(-)
 delete mode 100644 conf/machine/imx7d-warp7.conf
 create mode 100644 conf/machine/imx7s-warp.conf
conf/machine/imx7d-warp7.conf deleted +0 -19
deleted file mode 100644
index cd066ac..0000000
@@ -1,19 +0,0 @@
-#@TYPE: Machine
-#@NAME: WaRP7
-#@SOC: i.MX7S
-#@DESCRIPTION: Machine configuration for i.MX7S WaRP board.
-#@MAINTAINER: Daiane Angolini <[email protected]>
-
-require conf/machine/include/imx-base.inc
-require conf/machine/include/tune-cortexa7.inc
-
-MACHINE_FEATURES += " wifi bluetooth"
-
-SOC_FAMILY = "mx7:mx7d"
-
-KERNEL_DEVICETREE = "imx7d-warp.dtb"
-
-PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc-imx"
-
-UBOOT_CONFIG ??= "sd"
-UBOOT_CONFIG[sd] = "warp7_config,sdcard"
conf/machine/imx7s-warp.conf new file +19 -0
new file mode 100644
index 0000000..18a5954
@@ -0,0 +1,19 @@
+#@TYPE: Machine
+#@NAME: WaRP7
+#@SOC: i.MX7S
+#@DESCRIPTION: Machine configuration for i.MX7S WaRP board.
+#@MAINTAINER: Daiane Angolini <[email protected]>
+
+require conf/machine/include/imx-base.inc
+require conf/machine/include/tune-cortexa7.inc
+
+MACHINE_FEATURES += " wifi bluetooth"
+
+SOC_FAMILY = "mx7:mx7d"
+
+KERNEL_DEVICETREE = "imx7s-warp.dtb"
+
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc-imx"
+
+UBOOT_CONFIG ??= "sd"
+UBOOT_CONFIG[sd] = "warp7_config,sdcard"
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 imx7s-warp: Does not include u-boot on image

It does not include u-boot binary on the image but builds it so user can have the u-boot if an update is needed.

---
 conf/machine/imx7s-warp.conf | 8 ++++++++
 1 file changed, 8 insertions(+)
conf/machine/imx7s-warp.conf +8 -0
index 18a5954..6b0b50e 100644
@@ -7,6 +7,14 @@
 require conf/machine/include/imx-base.inc
 require conf/machine/include/tune-cortexa7.inc
 
+# WaRP uses eMMC boot partition by default and the u-boot inside .sdcard image
+# does not override it. However, build u-boot binary anyway in order to provide
+# a binary to be used if an update is needed.
+# See how-to override eMMC boot partition on the following link
+# http://git.denx.de/?p=u-boot.git;a=blob;f=board/warp7/README
+IMAGE_BOOTLOADER ?= ""
+EXTRA_IMAGEDEPENDS += "u-boot"
+
 MACHINE_FEATURES += " wifi bluetooth"
 
 SOC_FAMILY = "mx7:mx7d"
Signature · 1 line
2.7.4
reviewer
#2 lore raw
In reply to Daiane Angolini
Quoted 6 lines · Daiane Angolini

Rename to imx7s-warp in order to align with the upstream kernel naming.

It also change the dts file used for the board, it's needed since:

https://github.com/Freescale/linux-fslc/commit/51bca3b53d536600334cb63a67da514e86068cd2

Quoted 7 lines
---
 conf/machine/imx7d-warp7.conf | 19 -------------------
 conf/machine/imx7s-warp.conf  | 19 +++++++++++++++++++
 2 files changed, 19 insertions(+), 19 deletions(-)
 delete mode 100644 conf/machine/imx7d-warp7.conf
 create mode 100644 conf/machine/imx7s-warp.conf

For a rename patch like this it is better to use 'git mv' and git format-patch -M.

#3 lore raw
Quoted 15 lines · Fabio Estevam
Quoted 6 lines · Daiane Angolini

Rename to imx7s-warp in order to align with the upstream kernel naming.

It also change the dts file used for the board, it's needed since:

https://github.com/Freescale/linux-fslc/commit/51bca3b53d536600334cb63a67da514e86068cd2

Quoted 7 lines
---
 conf/machine/imx7d-warp7.conf | 19 -------------------
 conf/machine/imx7s-warp.conf  | 19 +++++++++++++++++++
 2 files changed, 19 insertions(+), 19 deletions(-)
 delete mode 100644 conf/machine/imx7d-warp7.conf
 create mode 100644 conf/machine/imx7s-warp.conf
Quoted 2 lines

For a rename patch like this it is better to use 'git mv' and git format-patch -M.

Thanks Fabio. I forgot the -M when I generated the patches, so I just sent v2

Daiane

Quoted 5 lines

--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale