[meta-freescale] [meta-fsl-arm][PATCH 1/4] change-file-endianess: add recipe
From: Chunrong Guo b40...@freescale.com *provides the tcl script for endian swap Signed-off-by: Chunrong Guo b40...@freescale.com --- .../change-file-endianess/change-file-endianess.bb | 21 .../change-file-endianess/byte_swap.tcl| 29 ++ 2 files changed, 50 insertions(+) create mode 100644 recipes-bsp/change-file-endianess/change-file-endianess.bb create mode 100755 recipes-bsp/change-file-endianess/change-file-endianess/byte_swap.tcl diff --git a/recipes-bsp/change-file-endianess/change-file-endianess.bb b/recipes-bsp/change-file-endianess/change-file-endianess.bb new file mode 100644 index 000..9e7e868 --- /dev/null +++ b/recipes-bsp/change-file-endianess/change-file-endianess.bb @@ -0,0 +1,21 @@ +DESCRIPTION = provides the tcl script for endian swap +LICENSE = MIT +LIC_FILES_CHKSUM = file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420 + + +SRC_URI = file://byte_swap.tcl + +RDEPENDS += tcl-native + +inherit native + +S = ${WORKDIR} + +do_configure[noexec] = 1 +do_compile[noexec] = 1 + +do_install () { +install -d ${D}/${bindir} +install -m 755 ${WORKDIR}/byte_swap.tcl ${D}/${bindir} +} diff --git a/recipes-bsp/change-file-endianess/change-file-endianess/byte_swap.tcl b/recipes-bsp/change-file-endianess/change-file-endianess/byte_swap.tcl new file mode 100755 index 000..aca956b --- /dev/null +++ b/recipes-bsp/change-file-endianess/change-file-endianess/byte_swap.tcl @@ -0,0 +1,29 @@ +puts $argv +set i_file [lindex $argv 0] +set o_file [lindex $argv 1] +set num_b [lindex $argv 2] +puts + +set fileid_i [open $i_file r] +set fileid_o [open $o_file w+] +fconfigure $fileid_i -translation {binary binary} +fconfigure $fileid_o -translation {binary binary} + +set old_bin [read $fileid_i] +set new_bin {} +for {set i 0} {$i[string length $old_bin]} {incr i $num_b} { +for {set j $num_b} {$j0} {incr j -1} { +append new_bin [string index $old_bin [expr $i+($j-1)]] +} +} + +for {set i 0} {$i[string length $old_bin]} {incr i $num_b} { +set binValue [string range $old_bin [expr $i+0] [expr $i+($num_b-1)]] +binary scan $binValue H[expr $num_b*2] hexValue + +set binValue [string range $new_bin [expr $i+0] [expr $i+($num_b-1)]] +binary scan $binValue H[expr $num_b*2] hexValue +} + +puts -nonewline $fileid_o $new_bin +close $fileid_o -- 1.9.2 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [meta-fsl-arm][PATCH 2/4] rcw: Added change-file-endianess as DEPENDS
From: Chunrong Guo b40...@freescale.com Signed-off-by: Chunrong Guo b40...@freescale.com --- recipes-bsp/rcw/rcw_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/rcw/rcw_git.bb b/recipes-bsp/rcw/rcw_git.bb index 0d10548..6f517c9 100644 --- a/recipes-bsp/rcw/rcw_git.bb +++ b/recipes-bsp/rcw/rcw_git.bb @@ -3,7 +3,7 @@ DESCRIPTION = Reset Configuration Word - hardware boot-time parameters for the LICENSE = BSD LIC_FILES_CHKSUM = file://rcw.py;beginline=8;endline=28;md5=9ba0b28922dd187b06b6c8ebcfdd208e -DEPENDS += u-boot-ls1-tools-native +DEPENDS += change-file-endianess inherit deploy -- 1.9.2 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] [meta-fsl-arm][PATCH 2/4] rcw: Added change-file-endianess as DEPENDS
-Original Message- From: b40...@freescale.com [mailto:b40...@freescale.com] Sent: Wednesday, February 04, 2015 11:19 AM To: meta-freescale@yoctoproject.org Cc: Liu Ting-B28495; Luo Zhenhua-B19537; Guo Chunrong-B40290 Subject: [meta-fsl-arm][PATCH 2/4] rcw: Added change-file-endianess as DEPENDS From: Chunrong Guo b40...@freescale.com Signed-off-by: Chunrong Guo b40...@freescale.com --- recipes-bsp/rcw/rcw_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/rcw/rcw_git.bb b/recipes-bsp/rcw/rcw_git.bb index 0d10548..6f517c9 100644 --- a/recipes-bsp/rcw/rcw_git.bb +++ b/recipes-bsp/rcw/rcw_git.bb @@ -3,7 +3,7 @@ DESCRIPTION = Reset Configuration Word - hardware boot- time parameters for the LICENSE = BSD LIC_FILES_CHKSUM = file://rcw.py;beginline=8;endline=28;md5=9ba0b28922dd187b06b6c8ebcfdd2 08e -DEPENDS += u-boot-ls1-tools-native +DEPENDS += change-file-endianess [Luo Zhenhua-B19537] The dependency should be change-file-endianess-native. Best Regards, Zhenhua inherit deploy -- 1.9.2 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [meta-fsl-arm][PATCH 3/4] u-boot-ls1: Added change-file-endianess as DEPENDS
From: Chunrong Guo b40...@freescale.com Signed-off-by: Chunrong Guo b40...@freescale.com --- recipes-bsp/u-boot/u-boot-ls1_2014.07.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/u-boot/u-boot-ls1_2014.07.bb b/recipes-bsp/u-boot/u-boot-ls1_2014.07.bb index 7b4fb58..1669b8a 100644 --- a/recipes-bsp/u-boot/u-boot-ls1_2014.07.bb +++ b/recipes-bsp/u-boot/u-boot-ls1_2014.07.bb @@ -4,7 +4,7 @@ inherit fsl-u-boot-localversion LOCALVERSION ?= -${SRCBRANCH} -DEPENDS += u-boot-ls1-tools-native +DEPENDS += change-file-endianess PROVIDES += u-boot do_compile_append () { -- 1.9.2 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [meta-fsl-arm][PATCH 3/4] rcw: Added byte-swap as DEPENDS
From: Chunrong Guo b40...@freescale.com Signed-off-by: Chunrong Guo b40...@freescale.com --- recipes-bsp/rcw/rcw_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-bsp/rcw/rcw_git.bb b/recipes-bsp/rcw/rcw_git.bb index 0d10548..898f67b 100644 --- a/recipes-bsp/rcw/rcw_git.bb +++ b/recipes-bsp/rcw/rcw_git.bb @@ -3,7 +3,7 @@ DESCRIPTION = Reset Configuration Word - hardware boot-time parameters for the LICENSE = BSD LIC_FILES_CHKSUM = file://rcw.py;beginline=8;endline=28;md5=9ba0b28922dd187b06b6c8ebcfdd208e -DEPENDS += u-boot-ls1-tools-native +DEPENDS += byte-swap inherit deploy -- 1.9.2 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [meta-fsl-arm][PATCH 4/4] u-boot-ls1-tools-native: remove recipe
From: Chunrong Guo b40...@freescale.com Signed-off-by: Chunrong Guo b40...@freescale.com --- recipes-bsp/u-boot/u-boot-ls1-tools-native_2013.10.bb | 16 1 file changed, 16 deletions(-) delete mode 100644 recipes-bsp/u-boot/u-boot-ls1-tools-native_2013.10.bb diff --git a/recipes-bsp/u-boot/u-boot-ls1-tools-native_2013.10.bb b/recipes-bsp/u-boot/u-boot-ls1-tools-native_2013.10.bb deleted file mode 100644 index 09cf1f7..000 --- a/recipes-bsp/u-boot/u-boot-ls1-tools-native_2013.10.bb +++ /dev/null @@ -1,16 +0,0 @@ -require u-boot-ls1.inc - -SRC_URI = git://git.freescale.com/layerscape/ls1021a/u-boot.git;branch=LS1-dev -SRCREV = 50d684801cd05ed6b77d52d1ca9ed00fefeac469 - -RDEPENDS += tcl-native - -inherit native - -do_configure[noexec] = 1 -do_compile[noexec] = 1 - -do_install () { -install -d ${D}/${bindir} -install -m 755 ${S}/byte_swap.tcl ${D}/${bindir} -} -- 1.9.2 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] [meta-fsl-arm][PATCH 1/2] u-boot-ls1: u-boot-ls1: provides the tcl script for endian swap
Please ignore this patch. -Original Message- From: b40...@freescale.com [mailto:b40...@freescale.com] Sent: Tuesday, February 03, 2015 2:49 PM To: meta-freescale@yoctoproject.org Cc: Liu Ting-B28495; Luo Zhenhua-B19537; Guo Chunrong-B40290 Subject: [meta-fsl-arm][PATCH 1/2] u-boot-ls1: u-boot-ls1: provides the tcl script for endian swap From: Chunrong Guo b40...@freescale.com Signed-off-by: Chunrong Guo b40...@freescale.com --- .../u-boot/u-boot-ls1-tools-native_2013.10.bb | 16 recipes-bsp/u-boot/u-boot-ls1.inc | 4 ++- recipes-bsp/u-boot/u-boot-ls1/byte_swap.tcl| 29 ++ recipes-bsp/u-boot/u-boot-ls1_2014.07.bb | 4 +-- 4 files changed, 34 insertions(+), 19 deletions(-) delete mode 100644 recipes-bsp/u-boot/u-boot-ls1-tools-native_2013.10.bb create mode 100755 recipes-bsp/u-boot/u-boot-ls1/byte_swap.tcl diff --git a/recipes-bsp/u-boot/u-boot-ls1-tools-native_2013.10.bb b/recipes-bsp/u-boot/u-boot-ls1-tools-native_2013.10.bb deleted file mode 100644 index 09cf1f7..000 --- a/recipes-bsp/u-boot/u-boot-ls1-tools-native_2013.10.bb +++ /dev/null @@ -1,16 +0,0 @@ -require u-boot-ls1.inc - -SRC_URI = git://git.freescale.com/layerscape/ls1021a/u-boot.git;branch=LS1-dev -SRCREV = 50d684801cd05ed6b77d52d1ca9ed00fefeac469 - -RDEPENDS += tcl-native - -inherit native - -do_configure[noexec] = 1 -do_compile[noexec] = 1 - -do_install () { -install -d ${D}/${bindir} -install -m 755 ${S}/byte_swap.tcl ${D}/${bindir} -} diff --git a/recipes-bsp/u-boot/u-boot-ls1.inc b/recipes-bsp/u-boot/u-boot-ls1.inc index ccd37c6..5712549 100644 --- a/recipes-bsp/u-boot/u-boot-ls1.inc +++ b/recipes-bsp/u-boot/u-boot-ls1.inc @@ -9,7 +9,9 @@ LIC_FILES_CHKSUM = \ SRCBRANCH = sdk-v1.7.x -SRC_URI = git://git.freescale.com/ppc/sdk/u-boot.git;branch=${SRCBRANCH} +SRC_URI = git://git.freescale.com/ppc/sdk/u-boot.git;branch=${SRCBRANCH} \ +file://byte_swap.tcl \ + SRCREV = 659b6a23a8b1f3026200bc6352dbacef53f4dcb1 LOCALVERSION ?= -${SRCBRANCH} diff --git a/recipes-bsp/u-boot/u-boot-ls1/byte_swap.tcl b/recipes-bsp/u-boot/u-boot-ls1/byte_swap.tcl new file mode 100755 index 000..aca956b --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-ls1/byte_swap.tcl @@ -0,0 +1,29 @@ +puts $argv +set i_file [lindex $argv 0] +set o_file [lindex $argv 1] +set num_b [lindex $argv 2] +puts + +set fileid_i [open $i_file r] +set fileid_o [open $o_file w+] +fconfigure $fileid_i -translation {binary binary} fconfigure $fileid_o +-translation {binary binary} + +set old_bin [read $fileid_i] +set new_bin {} +for {set i 0} {$i[string length $old_bin]} {incr i $num_b} { +for {set j $num_b} {$j0} {incr j -1} { +append new_bin [string index $old_bin [expr $i+($j-1)]] +} +} + +for {set i 0} {$i[string length $old_bin]} {incr i $num_b} { +set binValue [string range $old_bin [expr $i+0] [expr $i+($num_b-1)]] +binary scan $binValue H[expr $num_b*2] hexValue + +set binValue [string range $new_bin [expr $i+0] [expr $i+($num_b-1)]] +binary scan $binValue H[expr $num_b*2] hexValue } + +puts -nonewline $fileid_o $new_bin +close $fileid_o diff --git a/recipes-bsp/u-boot/u-boot-ls1_2014.07.bb b/recipes-bsp/u-boot/u-boot-ls1_2014.07.bb index 7b4fb58..9a1aec2 100644 --- a/recipes-bsp/u-boot/u-boot-ls1_2014.07.bb +++ b/recipes-bsp/u-boot/u-boot-ls1_2014.07.bb @@ -4,12 +4,12 @@ inherit fsl-u-boot-localversion LOCALVERSION ?= -${SRCBRANCH} -DEPENDS += u-boot-ls1-tools-native +DEPENDS += tcl-native PROVIDES += u-boot do_compile_append () { case ${UBOOT_MACHINE} in -*spi*) tclsh ${STAGING_BINDIR_NATIVE}/byte_swap.tcl ${S}/u-boot.bin ${S}/u-boot.swap.bin 8 +*spi*) tclsh ../byte_swap.tcl ${S}/u-boot.bin + ${S}/u-boot.swap.bin 8 mv ${S}/u-boot.swap.bin ${S}/u-boot.bin;; *sdcard*) mv ${S}/u-boot-with-spl-pbl.bin ${S}/u-boot.bin;; esac -- 1.9.2 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] [meta-fsl-arm][PATCH 2/2] rcw: provides the tcl script for endian swap
Please ignore this patch. -Original Message- From: b40...@freescale.com [mailto:b40...@freescale.com] Sent: Tuesday, February 03, 2015 2:49 PM To: meta-freescale@yoctoproject.org Cc: Liu Ting-B28495; Luo Zhenhua-B19537; Guo Chunrong-B40290 Subject: [meta-fsl-arm][PATCH 2/2] rcw: provides the tcl script for endian swap From: Chunrong Guo b40...@freescale.com Signed-off-by: Chunrong Guo b40...@freescale.com --- recipes-bsp/rcw/rcw/byte_swap.tcl | 29 ++ ...ake-BOARDS-DESTDIR-overidable-in-Makefile.patch | 2 +- recipes-bsp/rcw/rcw_git.bb | 3 ++- 3 files changed, 32 insertions(+), 2 deletions(-) create mode 100755 recipes-bsp/rcw/rcw/byte_swap.tcl diff --git a/recipes-bsp/rcw/rcw/byte_swap.tcl b/recipes-bsp/rcw/rcw/byte_swap.tcl new file mode 100755 index 000..aca956b --- /dev/null +++ b/recipes-bsp/rcw/rcw/byte_swap.tcl @@ -0,0 +1,29 @@ +puts $argv +set i_file [lindex $argv 0] +set o_file [lindex $argv 1] +set num_b [lindex $argv 2] +puts + +set fileid_i [open $i_file r] +set fileid_o [open $o_file w+] +fconfigure $fileid_i -translation {binary binary} fconfigure $fileid_o +-translation {binary binary} + +set old_bin [read $fileid_i] +set new_bin {} +for {set i 0} {$i[string length $old_bin]} {incr i $num_b} { +for {set j $num_b} {$j0} {incr j -1} { +append new_bin [string index $old_bin [expr $i+($j-1)]] +} +} + +for {set i 0} {$i[string length $old_bin]} {incr i $num_b} { +set binValue [string range $old_bin [expr $i+0] [expr $i+($num_b-1)]] +binary scan $binValue H[expr $num_b*2] hexValue + +set binValue [string range $new_bin [expr $i+0] [expr $i+($num_b-1)]] +binary scan $binValue H[expr $num_b*2] hexValue } + +puts -nonewline $fileid_o $new_bin +close $fileid_o diff --git a/recipes-bsp/rcw/rcw/rcw-make-BOARDS-DESTDIR-overidable-in-Makefile.patch b/recipes-bsp/rcw/rcw/rcw-make-BOARDS-DESTDIR-overidable-in-Makefile.patch index 51f6eeb..f2617a3 100644 --- a/recipes-bsp/rcw/rcw/rcw-make-BOARDS-DESTDIR-overidable-in-Makefile.patch +++ b/recipes-bsp/rcw/rcw/rcw-make-BOARDS-DESTDIR-overidable-in-Makefile +++ .patch @@ -45,7 +45,7 @@ index 4cadb2e..6e8b78f 100644 - $(INSTALL) -m 644 -D $$file $(DESTDIR)/$$file; \ + case $$file in \ + *qspiboot*) file_swap=`echo $$file | sed -e 's/qspiboot/qspiboot_swap/'`; \ -+ tclsh byte_swap.tcl $$file $$file_swap 8 ; \ ++ tclsh ../../byte_swap.tcl $$file $$file_swap 8 ; \ + $(INSTALL) -m 644 -D $$file_swap $(DESTDIR)/$$file_swap ;; \ + *) $(INSTALL) -m 644 -D $$file $(DESTDIR)/$$file; \ +esac \ diff --git a/recipes-bsp/rcw/rcw_git.bb b/recipes-bsp/rcw/rcw_git.bb index 0d10548..2b9949e 100644 --- a/recipes-bsp/rcw/rcw_git.bb +++ b/recipes-bsp/rcw/rcw_git.bb @@ -3,7 +3,7 @@ DESCRIPTION = Reset Configuration Word - hardware boot-time parameters for the LICENSE = BSD LIC_FILES_CHKSUM = file://rcw.py;beginline=8;endline=28;md5=9ba0b28922dd187b06b6c8ebcfdd208e -DEPENDS += u-boot-ls1-tools-native +DEPENDS += tcl-native inherit deploy @@ -11,6 +11,7 @@ SRCBRANCH = sdk-v1.7.x SRCREV = 3e89f378ed70e9b856756de8c3dbdfccb045fa0c SRC_URI = git://git.freescale.com/ppc/sdk/rcw.git;branch=${SRCBRANCH} \ file://rcw-make-BOARDS-DESTDIR-overidable-in-Makefile.patch \ +file://byte_swap.tcl \ S = ${WORKDIR}/git -- 1.9.2 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] [meta-fsl-arm-extra][PATCH] 2/3] qmx6-addons-gpio: Add gpio.sh configuration script
Hi Otavio, It seems for me this could be better if documented in the Congatec's documentation or even in the Release Notes (adding Daiane on Cc so she can comment if she thinks this applies or not). The biggest problem I see with this kind of script is that it will always be changed by the user and end not being tracked. What do you think? I see your point and I agree, we cannot track the changes, so I will include the script in the Congatec's documentation. -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] [meta-fsl-arm][PATCH 1/4] byte-swap: add recipe
From: Chunrong Guo b40...@freescale.com *provides the tcl script for endian swap Signed-off-by: Chunrong Guo b40...@freescale.com --- recipes-bsp/byte-swap/byte-swap.bb| 21 +++ recipes-bsp/byte-swap/byte-swap/byte_swap.tcl | 29 +++ 2 files changed, 50 insertions(+) create mode 100644 recipes-bsp/byte-swap/byte-swap.bb create mode 100755 recipes-bsp/byte-swap/byte-swap/byte_swap.tcl diff --git a/recipes-bsp/byte-swap/byte-swap.bb b/recipes-bsp/byte-swap/byte-swap.bb new file mode 100644 index 000..9e7e868 --- /dev/null +++ b/recipes-bsp/byte-swap/byte-swap.bb @@ -0,0 +1,21 @@ +DESCRIPTION = provides the tcl script for endian swap +LICENSE = MIT +LIC_FILES_CHKSUM = file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420 + + +SRC_URI = file://byte_swap.tcl + +RDEPENDS += tcl-native + +inherit native + +S = ${WORKDIR} + +do_configure[noexec] = 1 +do_compile[noexec] = 1 + +do_install () { +install -d ${D}/${bindir} +install -m 755 ${WORKDIR}/byte_swap.tcl ${D}/${bindir} +} diff --git a/recipes-bsp/byte-swap/byte-swap/byte_swap.tcl b/recipes-bsp/byte-swap/byte-swap/byte_swap.tcl new file mode 100755 index 000..aca956b --- /dev/null +++ b/recipes-bsp/byte-swap/byte-swap/byte_swap.tcl @@ -0,0 +1,29 @@ +puts $argv +set i_file [lindex $argv 0] +set o_file [lindex $argv 1] +set num_b [lindex $argv 2] +puts + +set fileid_i [open $i_file r] +set fileid_o [open $o_file w+] +fconfigure $fileid_i -translation {binary binary} +fconfigure $fileid_o -translation {binary binary} + +set old_bin [read $fileid_i] +set new_bin {} +for {set i 0} {$i[string length $old_bin]} {incr i $num_b} { +for {set j $num_b} {$j0} {incr j -1} { +append new_bin [string index $old_bin [expr $i+($j-1)]] +} +} + +for {set i 0} {$i[string length $old_bin]} {incr i $num_b} { +set binValue [string range $old_bin [expr $i+0] [expr $i+($num_b-1)]] +binary scan $binValue H[expr $num_b*2] hexValue + +set binValue [string range $new_bin [expr $i+0] [expr $i+($num_b-1)]] +binary scan $binValue H[expr $num_b*2] hexValue +} + +puts -nonewline $fileid_o $new_bin +close $fileid_o -- 1.9.2 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] iMX6 - CPU usage not able to achieve 100%
Hi, 2015-01-30 14:58 GMT+01:00 ansaris ansa...@iwavesystems.com: Hi, We are using imx6Q custom platform based on sabresd platform for our development with Linux 3.10.17_1.0.0-GA BSP. We have checked the CPU usage using top command. A simple test program running on a PC shows 100% whereas the same program running on this module (compiled with different compiler, of course) shows again 25%. Now, 25% is not hard limit, I have, albeit rarely, seen it to get to 33%, as well. Why a single core does not usually go more than 25%? Please suggest us. Thanks in advance. Thank You, Regards, Ansari Maybe can it help (you noticed of course that you have a quad core, and 25% is 100%/4) : http://unix.stackexchange.com/questions/41311/cpu-and-core-usage-stats JM -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] iMX6 - CPU usage not able to achieve 100%
Hi, We are using imx6Q custom platform based on sabresd platform for our development with Linux 3.10.17_1.0.0-GA BSP. We have checked the CPU usage using top command. A simple test program running on a PC shows 100% whereas the same program running on this module (compiled with different compiler, of course) shows again 25%. Now, 25% is not hard limit, I have, albeit rarely, seen it to get to 33%, as well. Why a single core does not usually go more than 25%? Please suggest us. Thanks in advance. Thank You, Regards, Ansari -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
[meta-freescale] U-Boot preferred provider (dizzy)
Hi guys, Is it needed to set both PREFERRED_PROVIDER_u-boot and PREFERRED_PROVIDER_virtual/bootloader variables in my machine file? This was the way done in Daisy, but now in Dizzy I see more boards are only using PREFERRED_PROVIDER_u-boot. The latter obviously works, the question is which is the right way to do it :D. Regards, Nikolay -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] [meta-fsl-arm][PATCH 1/4] byte-swap: add recipe
On Tue, Feb 3, 2015 at 9:05 AM, Otavio Salvador ota...@ossystems.com.br wrote: On Tue, Feb 3, 2015 at 7:01 AM, b40...@freescale.com wrote: From: Chunrong Guo b40...@freescale.com *provides the tcl script for endian swap Signed-off-by: Chunrong Guo b40...@freescale.com The only thing which currently uses this is the U-Boot. Is it worth splitting this out? You drop the u-boot tools native recipe, which is good. So let's find a more meaningful name for this recipe. Maybe: 'change-file-endianess' ? byte swap does not make clear for me it acts in whole file. -- 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] [meta-fsl-arm][PATCH] imx-base: enable fsl-alsa-plugins conditionally
Stop adding fsl-alsa-plugins to the MACHINE_EXTRA_RRECOMMENDS when DISTRO_FEATURES doesn't contain alsa to avoid building alsa-utils. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- conf/machine/include/imx-base.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index a4501f90fad2..06c9d588f098 100644 --- a/conf/machine/include/imx-base.inc +++ b/conf/machine/include/imx-base.inc @@ -75,7 +75,7 @@ MACHINE_EXTRA_RRECOMMENDS += ${MACHINE_FIRMWARE} # Extra audio support # FIXME: Add support for ALL SoC families -MACHINE_EXTRA_RRECOMMENDS_append_mx6 = fsl-alsa-plugins +MACHINE_EXTRA_RRECOMMENDS_append_mx6 = ${@base_contains('DISTRO_FEATURES', 'alsa', 'fsl-alsa-plugins', '', d)} # Extra udev rules MACHINE_EXTRA_RRECOMMENDS += udev-rules-imx -- 2.1.0 -- ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale