[meta-freescale] [PATCH 07/13] optee-os-qoriq : use objcopy to output tee.elf binary
From: Chunrong GuoSigned-off-by: Chunrong Guo --- recipes-security/optee/optee-os-qoriq_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-security/optee/optee-os-qoriq_git.bb b/recipes-security/optee/optee-os-qoriq_git.bb index fba81fb..92c3d28 100644 --- a/recipes-security/optee/optee-os-qoriq_git.bb +++ b/recipes-security/optee/optee-os-qoriq_git.bb @@ -38,7 +38,8 @@ do_install() { #install core on boot directory install -d ${D}/lib/firmware/ -install -m 644 ${B}/out/arm-plat-ls/core/tee.elf ${D}/lib/firmware/tee_${MACHINE}.bin +${OBJCOPY} -v -O binary ${B}/out/arm-plat-ls/core/tee.elf ${B}/out/arm-plat-ls/core/tee.bin +install -m 644 ${B}/out/arm-plat-ls/core/tee.bin ${D}/lib/firmware/tee_${MACHINE}.bin #install TA devkit install -d ${D}/usr/include/optee/export-user_ta/ -- 1.9.0 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 04/13] t2080rdb-64b: add machine config
From: Chunrong GuoSigned-off-by: Chunrong Guo --- conf/machine/t2080rdb-64b.conf | 29 + 1 file changed, 29 insertions(+) create mode 100644 conf/machine/t2080rdb-64b.conf diff --git a/conf/machine/t2080rdb-64b.conf b/conf/machine/t2080rdb-64b.conf new file mode 100644 index 000..b9534af --- /dev/null +++ b/conf/machine/t2080rdb-64b.conf @@ -0,0 +1,29 @@ +#@TYPE: Machine +#@NAME: NXP T2080RDB +#@SOC: t2080 +#@DESCRIPTION: Machine configuration for Freescale QorIQ T2080 Reference +# Design Board with ppce6500 core in 64b mode +#@MAINTAINER: Chunrong Guo + +require conf/machine/include/e6500-64b.inc + +MACHINEOVERRIDES =. "t2:t2080:" + +UBOOT_CONFIG ??= "sdcard spi nand srio-pcie-boot secure-boot nor" +UBOOT_CONFIG[nor] = "T2080RDB_config" +UBOOT_CONFIG[sdcard] = "T2080RDB_SDCARD_config,,u-boot-with-spl-pbl.bin" +UBOOT_CONFIG[spi] = "T2080RDB_SPIFLASH_config,,u-boot-with-spl-pbl.bin" +UBOOT_CONFIG[nand] = "T2080RDB_NAND_config,,u-boot-with-spl-pbl.bin" +UBOOT_CONFIG[srio-pcie-boot] = "T2080RDB_SRIO_PCIE_BOOT_config" +UBOOT_CONFIG[secure-boot] = "T2080RDB_SECURE_BOOT_config" + +HV_CFG_M = "t2080rdb" + +KERNEL_DEVICETREE ?= "t2080rdb.dtb" +KERNEL_DEFCONFIG ?= "corenet64_smp_defconfig" + +JFFS2_ERASEBLOCK = "0x1" + +EXTRA_IMAGEDEPENDS += "fm-ucode rcw" + +USE_VT ?= "0" -- 1.9.0 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [PATCH 03/13] t1024rdb-64b: add machine config
From: Chunrong GuoSigned-off-by: Chunrong Guo --- conf/machine/t1024rdb-64b.conf | 29 + 1 file changed, 29 insertions(+) create mode 100644 conf/machine/t1024rdb-64b.conf diff --git a/conf/machine/t1024rdb-64b.conf b/conf/machine/t1024rdb-64b.conf new file mode 100644 index 000..490c849 --- /dev/null +++ b/conf/machine/t1024rdb-64b.conf @@ -0,0 +1,29 @@ +#@TYPE: Machine +#@NAME: NXP T1024RDB +#@SOC: t1024 +#@DESCRIPTION: Machine configuration for Freescale QorIQ T1024 Reference +# Design Board with ppce5500 core in 64b mode +#@MAINTAINER: Chunrong Guo + +require conf/machine/include/e5500-64b.inc + +MACHINEOVERRIDES =. "t1:t1024:" + +UBOOT_CONFIG ??= "nand sdcard spi secure-boot nor" +UBOOT_CONFIG[nor] = "T1024RDB_config" +UBOOT_CONFIG[nand] = "T1024RDB_NAND_config,,u-boot-with-spl-pbl.bin" +UBOOT_CONFIG[sdcard] = "T1024RDB_SDCARD_config,,u-boot-with-spl-pbl.bin" +UBOOT_CONFIG[spi] = "T1024RDB_SPIFLASH_config,,u-boot-with-spl-pbl.bin" +UBOOT_CONFIG[secure-boot] = "T1024RDB_SECURE_BOOT_config" + +HV_CFG_M = "t1024rdb" + +KERNEL_DEVICETREE ?= "t1024rdb.dtb" +KERNEL_DEFCONFIG ?= "corenet64_smp_defconfig" + +JFFS2_ERASEBLOCK = "0x1" +QE_UCODE ?= "iram_Type_A_T1024_r1.0.bin" + +EXTRA_IMAGEDEPENDS += "fm-ucode rcw qe-ucode" + +USE_VT ?= "0" -- 1.9.0 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] (no subject)
Hi, I would like not to have the short githash in the Linux kernel name and the /lib/modules directory. Although, I prefer to inherit fsl-kernel-localversion in the bb file for the linux kernel. When setting 'SCMVERSION = "n"' in the local.conf file, I still had the +g in the directory name of /lib/modules... The following patch solved it for me. br >From f67c79d669a9861f6f355717bcdabc918e1de03b Mon Sep 17 00:00:00 2001 From: Jan VermaeteDate: Wed, 25 Apr 2018 12:03:01 +0200 Subject: [PATCH 1/1] Do not add the short git hash to the kernel name when SCMVERSION is not set. --- classes/fsl-kernel-localversion.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/classes/fsl-kernel-localversion.bbclass b/classes/fsl-kernel-localversion.bbclass index c0306a0..ff1075e 100644 --- a/classes/fsl-kernel-localversion.bbclass +++ b/classes/fsl-kernel-localversion.bbclass @@ -28,7 +28,9 @@ do_preconfigure() { CONF_SED_SCRIPT="" kernel_conf_variable LOCALVERSION "\"${LOCALVERSION}\"" -kernel_conf_variable LOCALVERSION_AUTO y +if [ "${SCMVERSION}" = "y" ]; then +kernel_conf_variable LOCALVERSION_AUTO y +fi sed -e "${CONF_SED_SCRIPT}" < '${WORKDIR}/defconfig' >> '${B}/.config' -- 2.7.4 -- Jan Vermaete "For every complex problem there is an answer that is clear, simple, and wrong." - H.L. Mencken -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] Odp: Re: Troubles with Qt after upgrade from Morty to Pyro (plaintext email)
On Fri, Apr 20, 2018 at 9:58 AM,wrote: > I finally moved to Rocko branch, avoided the meta-boundary layer and made an > image. Kernel version is linux_boundary_4.1.15, Gstreamer version is 1.12.2. > The behavior is very similar: > > 1) export DISPLAY=:0.0 && gst-launch-1.0 videotestsrc ! imxg2dvideotransform > ! imxg2dvideosink > works fine without any troubles > > 2) export DISPLAY=:0.0 && gst-launch-1.0 videotestsrc ! imxg2dvideotransform > ! imxeglvivsink > a) crashes with segfault during the first run after power on of the > Nitrogen6x_MAX QP > b) second and every other following run of this pipeline causes X window > with black screen. No videotest pictures. > > In all cases, GST_DEBUG=3 has no warnings or errors. Do you have any > suggestion how to make the imxeglvivsink work? This is mostly likely to be due the different between the GPU driver module inside the kernel source versus the binary drivers. Check if you are using our external module and it should work. -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://code.ossystems.com.br Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] (no subject)
On Wed, Apr 25, 2018 at 7:51 AM, jan vermaetewrote: > Hi, > > I would like not to have the short githash in the Linux kernel name > and the /lib/modules directory. > Although, I prefer to inherit fsl-kernel-localversion in the bb file > for the linux kernel. > > When setting 'SCMVERSION = "n"' in the local.conf file, I still had > the +g in the directory name of /lib/modules... > > The following patch solved it for me. Is it possible for you to send the patch using git format-patch / git send-patch or sending it as an attachment? -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://code.ossystems.com.br Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] How to add the standard library to arm-fslc-linux-gnueabi-gcc in yocto meta-toolchain fatal error: stdio.h: No such file or directory
On Wed, Apr 11, 2018 at 11:19 AM, Mattis Aspwrote: > Just posted the question here. It's better formatting. > > **Question**: How to add the standard library to arm-fslc-linux-gnueabi-gcc > > **Background**: > I just had bitbake compile the `meta-toolchain` in the Yocto project. > I then installed the resulting SDK-toolchain > >> $ >> >> ./build/tmp/deploy/sdk/fslc-framebuffer-glibc-x86_64-meta-toolchain-armv7at2hf-neon-toolchain-2.4.2.sh > > which then installed the SDK-toolchain in /opt/fslc-framebuffer/2.4.2/ > > I can then easily run the executable to source the correct environment > variables. > >> $ >> >> ./opt/fslc-framebuffer/2.4.2/environment-setup-armv7at2hf-neon-fslc-linux-gnueabi > I now have access to the cross-compiler arm-fslc-linux-gnueabi-gcc > **So far so good...** > > I then downloaded the barebone SDK from NXP [here] > It's a great piece of work, but it might be somewhat outdated. First unzip > the file, and then follow steps within the SDK readme.pdf. > > > Following readme.pdf i do the following: To build the SDK, use the > ./tools/build_sdk command from the root folder. I get multiple error but > they are all related to the standard library such as: > > iMX6_Platform_SDK/sdk/drivers/accelerometer/src/mma8451.c:31:10: fatal > error: string.h: No such file or directory #include > iMX6_Platform_SDK/sdk/include/sdk.h:40:10: fatal error: stdio.h: No such > file or directory #include > > **So how do I solve this**? Do I cross compile the standard library or do I > get the binary some other place? You are likely not passing some arguments to the build system. NXP makefiles are confusing sometimes as they often override things ... check the corresponding recipe inside the Yocto Project so you can see how it is done there. -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://code.ossystems.com.br Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] Updates to meta-freescale (master) in 2018-04-25
Hello, I pushed following updates: commit c7b44bfe13d81494f089b79d7c662cd7b941fb6e (HEAD -> master, yocto/master) Author: Chunrong GuoDate: Tue Apr 17 14:48:33 2018 +0800 u-boot-qoriq: support big endian Signed-off-by: Chunrong Guo Signed-off-by: Otavio Salvador commit caff565e628bf14fae1e5b861c950550de1357d5 Author: Chunrong Guo Date: Tue Apr 17 14:48:32 2018 +0800 linux-qoriq/4.9: support big endian *kernel bigendian option is enabled Signed-off-by: Chunrong Guo Signed-off-by: Otavio Salvador commit 2afea5dae14931aca6352269b004bff443391d9c Author: Chunrong Guo Date: Tue Apr 17 14:48:31 2018 +0800 linux-qoriq/4.14: support big endian *kernel bigendian option is enabled Signed-off-by: Chunrong Guo Signed-off-by: Otavio Salvador commit a7f2cee408e28086b69dd63b89cb7888b8c94458 Author: Chunrong Guo Date: Tue Apr 17 14:48:30 2018 +0800 ls2088ardb-be: add machine config Signed-off-by: Chunrong Guo Signed-off-by: Otavio Salvador commit c346a72e81b2c2144cf8e6e6f33e9eafbfe7570f Author: Chunrong Guo Date: Tue Apr 17 14:48:29 2018 +0800 ls1088ardb-be: add machine config Signed-off-by: Chunrong Guo Signed-off-by: Otavio Salvador commit 2446f112140e3061189164c7aa2a87b937b22690 Author: Chunrong Guo Date: Tue Apr 17 14:48:28 2018 +0800 ls1046ardb-be: add machine config Signed-off-by: Chunrong Guo Signed-off-by: Otavio Salvador commit 002f2a1f7429dba24d8e964d0cc4436e9d2ce2c3 Author: Chunrong Guo Date: Tue Apr 17 14:48:27 2018 +0800 ls1043ardb-be: add machine config Signed-off-by: Chunrong Guo Signed-off-by: Otavio Salvador Regards, -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://code.ossystems.com.br Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale