[meta-freescale] Creating a sdcard image for LS1088 ARDB

2018-10-18 Thread John Matt
Hi All,

I was able to build core-image-minimal for LS1088ARDB, and I have a bunch
of files in the tmp/deploy/images folder.

I am wondering how to create a sdcard image.

Some of the files are as
follows-
core-imge-minimal-ls1088ardb-rootfs.ext2.gz
core-imge-minimal-ls1088ardb-rootfs.tar.gz

core-imge-minimal-ls1088ardb.ext2.gz
core-imge-minimal-ls1088ardb.ext2.gz.u-boot
core-imge-minimal-ls1088ardb.manifest
core-imge-minimal-ls1088ardb.tar.gz
Image
*.dtb
*.bin

and u-boot.bin files


Please suggest me how to create a sdcard image using these files ?

Regards,
Janarbek.
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] Creating a sdcard image for LS1088 ARDB

2018-10-18 Thread Ian Coolidge
IMAGE_FSTYPES covers this, just grep for it and you'll see how other
machine configurations use it. I believe everyone uses "wic.gz" now

Also, core-image-minimal is very minimal. So minimal you'd not think it was
usable in normal situations. Try out core-image-base instead if you want a
more fully functional image that supports more than just, well, the bare
minimum.

On Thu, Oct 18, 2018 at 9:10 AM, John Matt  wrote:

> Hi All,
>
> I was able to build core-image-minimal for LS1088ARDB, and I have a bunch
> of files in the tmp/deploy/images folder.
>
> I am wondering how to create a sdcard image.
>
> Some of the files are as
> follows-
> core-imge-minimal-ls1088ardb-rootfs.ext2.gz
> core-imge-minimal-ls1088ardb-rootfs.tar.gz
>
> core-imge-minimal-ls1088ardb.ext2.gz
> core-imge-minimal-ls1088ardb.ext2.gz.u-boot
> core-imge-minimal-ls1088ardb.manifest
> core-imge-minimal-ls1088ardb.tar.gz
> Image
> *.dtb
> *.bin
>
> and u-boot.bin files
>
>
> Please suggest me how to create a sdcard image using these files ?
>
> Regards,
> Janarbek.
>
>
>
>
>
>
>
>
>
>
> --
> ___
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>
>
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH] ppa: update LICENSE

2018-10-18 Thread C.r. Guo
From: Chunrong Guo 

Signed-off-by: Chunrong Guo 
---
 recipes-bsp/ppa/ppa.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-bsp/ppa/ppa.inc b/recipes-bsp/ppa/ppa.inc
index 2faa2c7..8125375 100644
--- a/recipes-bsp/ppa/ppa.inc
+++ b/recipes-bsp/ppa/ppa.inc
@@ -1,5 +1,5 @@
 SUMMARY = "Primary Protected Application"
-LICENSE = "Freescale-EULA"
+LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://license.txt;md5=2ecf925c01a48f61c88f78c30fe2ee3b"
 
 DEPENDS += "u-boot-mkimage-native dtc-native"
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH 1/5] ls1046ardb-be : remove qe-ucode

2018-10-18 Thread C.r. Guo
From: Chunrong Guo 

Signed-off-by: Chunrong Guo 
---
 conf/machine/ls1046ardb-be.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/machine/ls1046ardb-be.conf b/conf/machine/ls1046ardb-be.conf
index 56ac711..bfff9d9 100644
--- a/conf/machine/ls1046ardb-be.conf
+++ b/conf/machine/ls1046ardb-be.conf
@@ -33,5 +33,5 @@ KERNEL_DEVICETREE ?= "\
 "
 KERNEL_DEFCONFIG ?= "defconfig"
 
-EXTRA_IMAGEDEPENDS += "fm-ucode rcw ppa qe-ucode"
+EXTRA_IMAGEDEPENDS += "fm-ucode rcw ppa"
 USE_VT = "0"
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH 4/5] ls1088ardb_pb: add machine config

2018-10-18 Thread C.r. Guo
From: Chunrong Guo 

Signed-off-by: Chunrong Guo 
---
 conf/machine/ls1088ardb_pb.conf | 31 +++
 1 file changed, 31 insertions(+)
 create mode 100644 conf/machine/ls1088ardb_pb.conf

diff --git a/conf/machine/ls1088ardb_pb.conf b/conf/machine/ls1088ardb_pb.conf
new file mode 100644
index 000..0dca364
--- /dev/null
+++ b/conf/machine/ls1088ardb_pb.conf
@@ -0,0 +1,31 @@
+#@TYPE: Machine
+#@NAME: NXP LS1088ARDB
+#@SOC: LSCH3
+#@DESCRIPTION: Machine configuration for running LS1088ARDB in 64-bit mode
+#@MAINTAINER: Chunrong Guo 
+
+require conf/machine/include/qoriq-arm64.inc
+require conf/machine/include/arm/arch-arm64.inc
+
+MACHINEOVERRIDES =. "fsl-lsch3:ls1088a:"
+
+KERNEL_CLASSES  = " kernel-fitimage "
+KERNEL_IMAGETYPES = "fitImage"
+
+UBOOT_DTB_LOADADDRESS = "0x9000"
+UBOOT_ENTRYPOINT = "0x8008"
+
+UBOOT_CONFIG ??= "qspi-secure-boot sdcard-qspi-secure-boot sdcard-qspi qspi"
+UBOOT_CONFIG[qspi-secure-boot] = 
"ls1088ardb_pb_qspi_SECURE_BOOT_defconfig,,u-boot-dtb.bin"
+UBOOT_CONFIG[qspi] = "ls1088ardb_pb_qspi_defconfig,,u-boot-dtb.bin"
+UBOOT_CONFIG[sdcard-qspi] = 
"ls1088ardb_pb_sdcard_qspi_defconfig,,u-boot-with-spl.bin"
+UBOOT_CONFIG[sdcard-qspi-secure-boot] = 
"ls1088ardb_pb_sdcard_qspi_SECURE_BOOT_defconfig,,u-boot-with-spl.bin"
+
+KERNEL_DEVICETREE ?= "freescale/fsl-ls1088a-rdb.dtb"
+KERNEL_DEFCONFIG ?= "defconfig"
+
+SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyAMA0"
+SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}"
+
+EXTRA_IMAGEDEPENDS += "mc-utils rcw management-complex ppa"
+USE_VT = "0"
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH 5/5] u-boot: dpends bc-native

2018-10-18 Thread C.r. Guo
From: Chunrong Guo 

Signed-off-by: Chunrong Guo 
---
 recipes-bsp/u-boot/u-boot-qoriq_2018.03.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-bsp/u-boot/u-boot-qoriq_2018.03.bb 
b/recipes-bsp/u-boot/u-boot-qoriq_2018.03.bb
index 48646c0..f9659e4 100644
--- a/recipes-bsp/u-boot/u-boot-qoriq_2018.03.bb
+++ b/recipes-bsp/u-boot/u-boot-qoriq_2018.03.bb
@@ -13,7 +13,7 @@ LIC_FILES_CHKSUM = " \
 
 PV_append = "+fslgit"
 INHIBIT_DEFAULT_DEPS = "1"
-DEPENDS = "libgcc virtual/${TARGET_PREFIX}gcc"
+DEPENDS = "libgcc virtual/${TARGET_PREFIX}gcc bc-native"
 DEPENDS_append_qoriq-arm64 = " change-file-endianess-native dtc-native 
tcl-native"
 DEPENDS_append_qoriq-arm = " change-file-endianess-native dtc-native 
tcl-native"
 DEPENDS_append_qoriq-ppc = " boot-format-native"
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH 2/5] ls1012afrwy: update KERNEL_DEVICETREE

2018-10-18 Thread C.r. Guo
From: Chunrong Guo 

Signed-off-by: Chunrong Guo 
---
 conf/machine/ls1012afrwy.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/machine/ls1012afrwy.conf b/conf/machine/ls1012afrwy.conf
index 7eb0add..f43f069 100644
--- a/conf/machine/ls1012afrwy.conf
+++ b/conf/machine/ls1012afrwy.conf
@@ -20,7 +20,7 @@ UBOOT_CONFIG ??= "qspi-secure-boot qspi"
 UBOOT_CONFIG[qspi] = "ls1012afrwy_qspi_defconfig,,u-boot-dtb.bin"
 UBOOT_CONFIG[qspi-secure-boot] = 
"ls1012afrwy_qspi_SECURE_BOOT_defconfig,,u-boot-dtb.bin"
 
-KERNEL_DEVICETREE ?= "freescale/fsl-ls1012a-rdb.dtb"
+KERNEL_DEVICETREE ?= "freescale/fsl-ls1012a-frwy.dtb"
 KERNEL_DEFCONFIG ?= "defconfig"
 
 EXTRA_IMAGEDEPENDS += "ppa ppfe-firmware rcw"
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH 3/5] rcw: add ls1088ardb_pb support

2018-10-18 Thread C.r. Guo
From: Chunrong Guo 

Signed-off-by: Chunrong Guo 
---
 recipes-bsp/rcw/rcw_git.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-bsp/rcw/rcw_git.bb b/recipes-bsp/rcw/rcw_git.bb
index a105985..8145c74 100644
--- a/recipes-bsp/rcw/rcw_git.bb
+++ b/recipes-bsp/rcw/rcw_git.bb
@@ -20,6 +20,8 @@ do_install () {
 if [ ${M} = ls2088ardb ]; then
 oe_runmake BOARDS=${M} DESTDIR=${D}/boot/rcw/ install
 oe_runmake BOARDS=${M}_rev1.1  DESTDIR=${D}/boot/rcw/ install
+elif [ ${M} = ls1088ardb_pb ]; then
+oe_runmake BOARDS=ls1088ardb DESTDIR=${D}/boot/rcw/ install
 else
 oe_runmake BOARDS=${M} DESTDIR=${D}/boot/rcw/ install
 fi
-- 
2.7.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH 2/2] linux-fslc: upgrade to 4.18.12

2018-10-18 Thread Andreas Müller
Signed-off-by: Andreas Müller 
---
 recipes-kernel/linux/linux-fslc_4.18.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-kernel/linux/linux-fslc_4.18.bb 
b/recipes-kernel/linux/linux-fslc_4.18.bb
index f14de5a8..e602671d 100644
--- a/recipes-kernel/linux/linux-fslc_4.18.bb
+++ b/recipes-kernel/linux/linux-fslc_4.18.bb
@@ -14,6 +14,6 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
 PV = "4.18+git${SRCPV}"
 
 SRCBRANCH = "4.18.x+fslc"
-SRCREV = "b84b14f4a55a09ab6cc392c7c0c89239f46c144f"
+SRCREV = "9c4e93aa83ce1274279c54e557312d431ff91654"
 
 COMPATIBLE_MACHINE = "(mxs|mx5|mx6|vf|use-mainline-bsp)"
-- 
2.14.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH 1/2] qtbase: Do not pin gles2 when using open source graphic stack

2018-10-18 Thread Andreas Müller
One of the advantages in using upstream mesa is that we have the freedom to
use gl or gles2 for qtbase. So follow meta-qt5's default here which is
desktop-gl and give other layers a more simple chance to change default if
necessary.

Notes:

* Did performance tests with my images and did not find any performance
  issues.
* Some recipes in meta-qt5-extra fail to build when qtbase is build for gles2.
  A patch addressing imx was applied [1] - but honestly it is not the way to
  go: use meta-qt5's default which is fine.

[1] 
https://github.com/schnitzeltony/meta-qt5-extra/commit/0972828deb6a9e6a44d7596e6e4817fd74dbb51c

Signed-off-by: Andreas Müller 
---
 dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend 
b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
index 6d74ea6c..47b0a143 100644
--- a/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
+++ b/dynamic-layers/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
@@ -17,7 +17,7 @@ SRC_URI_append_imxgpu3d = " \
 PACKAGECONFIG_GL_imxpxp   = "gles2"
 PACKAGECONFIG_GL_imxgpu2d = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' 
gl', '', d)}"
 PACKAGECONFIG_GL_imxgpu3d = "gles2"
-PACKAGECONFIG_GL_use-mainline-bsp  = "gbm gles2 kms"
+PACKAGECONFIG_GL_append_use-mainline-bsp = " gbm kms"
 
 QT_CONFIG_FLAGS_APPEND = ""
 QT_CONFIG_FLAGS_APPEND_imxpxp = "${@bb.utils.contains('DISTRO_FEATURES', 
'x11', '-no-eglfs', '-eglfs', d)}"
-- 
2.14.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale