Skip to contentSkip to conversation

Add wic image support

PATCH In review Pierre-Jean TEXIER 2 participants 3 messages Oct 4, 2017 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add wic image support

---
 conf/machine/imx7s-warp.conf | 8 ++++++++
 1 file changed, 8 insertions(+)
conf/machine/imx7s-warp.conf +8 -0
index 7a23fd6..87a740c 100644
@@ -18,4 +18,12 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-warp7"
 UBOOT_CONFIG ??= "sd"
 UBOOT_CONFIG[sd] = "warp7_secure_defconfig,sdcard"
 
+# wic
+IMAGE_FSTYPES = "wic.gz"
+IMAGE_BOOT_FILES = " \
+	${KERNEL_IMAGETYPE} \
+	${KERNEL_IMAGETYPE}-imx7s-warp.dtb;imx7s-warp.dtb \
+"
+WKS_FILE ?= "imx-uboot-bootpart.wks"
+
 MACHINE_EXTRA_RRECOMMENDS += "firmware-imx-brcm"
Signature · 1 line
2.7.4
#1 lore raw

Hello,

Quoted 10 lines · Pierre-Jean TEXIER
---
 conf/machine/imx7s-warp.conf | 8 ++++++++
 1 file changed, 8 insertions(+)
conf/machine/imx7s-warp.conf +0 -0
index 7a23fd6..87a740c 100644

conf/machine/imx7s-warp.conf PREFERRED_PROVIDER_virtual/kernel ?= "linux-warp7" · line 26

Quoted 9 lines
conf/machine/imx7s-warp.conf +6 -0
@@ -18,4 +18,12 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-warp7"
 UBOOT_CONFIG ??= "sd"
 UBOOT_CONFIG[sd] = "warp7_secure_defconfig,sdcard"
 
+# wic
+IMAGE_FSTYPES = "wic.gz"
+IMAGE_BOOT_FILES = " \
+       ${KERNEL_IMAGETYPE} \
+       ${KERNEL_IMAGETYPE}-imx7s-warp.dtb;imx7s-warp.dtb \
+"

I just sent a generic definition for the IMAGE_BOOT_FILES for imx-base.inc. Please check if it works for you so we can avoid duplicating it over all machines.

Quoted 11 lines
conf/machine/imx7s-warp.conf +2 -1
+WKS_FILE ?= "imx-uboot-bootpart.wks"
+
 MACHINE_EXTRA_RRECOMMENDS += "firmware-imx-brcm"
--

2.7.4

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

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
#2 lore raw

Hi Otavio,

Thanks, it works from my side.
I just sent a new patch without IMAGE_BOOT_FILES.

Pierre-Jean

2017-10-04 22:42 GMT+02:00 Otavio Salvador <[email protected]

Quoted 49 lines

:

Hello,

Quoted 10 lines · Pierre-Jean TEXIER
---
 conf/machine/imx7s-warp.conf | 8 ++++++++
 1 file changed, 8 insertions(+)
conf/machine/imx7s-warp.conf +0 -0
index 7a23fd6..87a740c 100644

conf/machine/imx7s-warp.conf PREFERRED_PROVIDER_virtual/kernel ?= "linux-warp7" · line 26

Quoted 9 lines
conf/machine/imx7s-warp.conf +6 -0
@@ -18,4 +18,12 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-warp7"
 UBOOT_CONFIG ??= "sd"
 UBOOT_CONFIG[sd] = "warp7_secure_defconfig,sdcard"
 
+# wic
+IMAGE_FSTYPES = "wic.gz"
+IMAGE_BOOT_FILES = " \
+       ${KERNEL_IMAGETYPE} \
+       ${KERNEL_IMAGETYPE}-imx7s-warp.dtb;imx7s-warp.dtb \
+"

I just sent a generic definition for the IMAGE_BOOT_FILES for imx-base.inc. Please check if it works for you so we can avoid duplicating it over all machines.

Quoted 11 lines
conf/machine/imx7s-warp.conf +2 -1
+WKS_FILE ?= "imx-uboot-bootpart.wks"
+
 MACHINE_EXTRA_RRECOMMENDS += "firmware-imx-brcm"
--

2.7.4

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

--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750