Date   

Re: Yocto browser require low memory footprints #yocto #meta-freescale

S. Lockwood-Childs
 

On Thu, Jun 30, 2022 at 11:20:13AM -0700, yogeshbsa89@... wrote:
Hi ,

We are using Yocto Linux 3.0 zeus branch on imx6 based SOC.
we are looking for light weight web browser since our HW platform has only 1 GB of RAM supports.
as of now we are using chromium version 75. but in some use cases we are short falling of RAM. sometimes we have also seen chromium triggers OOM which crashes our main application.
please suggest some light weight browser options or any idea with which we can reduce memory requirement of chromium.
our use case of browser is to only send some predefined screens to one of the browser tab.
I've used 'links' browser, which is very light-weight but also very
minimal features. If your pre-rendered html is fairly simple, it might
work out; probably worth taking a look at how some example pages render
in 'links' installed on a Linux desktop.

http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-support/links


Re: Yocto browser require low memory footprints #yocto #meta-freescale

Joshua Watt
 

On Thu, Jun 30, 2022 at 1:20 PM <yogeshbsa89@...> wrote:

Hi ,

We are using Yocto Linux 3.0 zeus branch on imx6 based SOC.
we are looking for light weight web browser since our HW platform has only 1 GB of RAM supports.
as of now we are using chromium version 75. but in some use cases we are short falling of RAM. sometimes we have also seen chromium triggers OOM which crashes our main application.
please suggest some light weight browser options or any idea with which we can reduce memory requirement of chromium.
our use case of browser is to only send some predefined screens to one of the browser tab.
You might try WPEWebKit. I've used it before and it's good for a very
minimal display of web content while still being fairly full featured.



Yocto browser require low memory footprints #yocto #meta-freescale

yogeshbsa89@...
 

Hi ,

We are using Yocto Linux 3.0 zeus branch on imx6 based SOC.
we are looking for light weight web browser since our HW platform has only 1 GB of RAM supports.
as of now we are using chromium version 75. but in some use cases we are short falling of RAM. sometimes we have also seen chromium triggers OOM which crashes our main application. 
please suggest some light weight browser options or any idea with which we can reduce memory requirement of chromium. 
our use case of browser is to only send some predefined screens to one of the browser tab. 


Re: Comunity vs i.MX #yocto

Otavio Salvador
 

Hello,

Em qui., 23 de jun. de 2022 às 14:41, Константин Еременок <eremenok.k.by@...> escreveu:

Hi there.
I have not followed Yocto iMX for some time.
Today I found in the document "i.MX Yocto Project User's Guide" from NXP such text:

"i.MX joined the Yocto Project community providing  a release based on the Yocto Project framework."

1. Did I understand correctly: the war Community VS iMX is finished?

There was never a war. Both serves different goals.
 

2. Why here http://freescale.github.io development is stopped on "2.4 - codename Rocko:" version

Lack of people to help maintaining the website. Willing to help?

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


Re: Comunity vs i.MX #yocto

Andrey Zhizhikin
 

Hello Konstantin,

On Thu, Jun 23, 2022 at 7:41 PM Константин Еременок
<eremenok.k.by@...> wrote:

Hi there.
I have not followed Yocto iMX for some time.
Today I found in the document "i.MX Yocto Project User's Guide" from NXP such text:

"i.MX joined the Yocto Project community providing a release based on the Yocto Project framework."

1. Did I understand correctly: the war Community VS iMX is finished?
AFAIK, there was no war declared, not at least that I was aware of
when I started using Yocto Project and `meta-freescale` layer. ;-)

NXP is lacking a bit in pace to catch up with latest Yocto Project
releases when the do release their BSP, but overall - it is pretty
much aligned.

If there is a track record of this "war declaration", then I guess it
would be interesting for community to see it once you share it. :-)

2. Why here http://freescale.github.io development is stopped on "2.4 - codename Rocko:" version
This is maintained by Otavio IIRC, and perhaps it is a bit
"out-of-sync" with the current Documentation, which is available at
[1]. I guess it would be updated someday to reflect the current state
of development.


Thank you.

--
Regards,
Andrey.

Link: [1]: https://github.com/Freescale/Documentation


Comunity vs i.MX #yocto

Константин Еременок
 

Hi there.
I have not followed Yocto iMX for some time.
Today I found in the document "i.MX Yocto Project User's Guide" from NXP such text:

"i.MX joined the Yocto Project community providing  a release based on the Yocto Project framework."

1. Did I understand correctly: the war Community VS iMX is finished?
2. Why here http://freescale.github.io development is stopped on "2.4 - codename Rocko:" version

Thank you.


imx8mq no hdmi when booted from SD card

Marek Belisko
 

Hi,

I've tried on the NXP forum but the response was to try it on evk ;).
I have a custom imx8mq baseboard. I'be using dunfell release of
meta-freescale/ and image flashed using uuu to emmc have hdmi working
while same image flashed using uuu to SD card shows:
[ 2.032779] imx-spdif sound-hdmi-arc: snd-soc-dummy-dai <->
308a0000.spdif mapping ok

[ 2.040653] imx-spdif sound-hdmi-arc: ASoC: no DMI vendor name!

[ 2.078583] imx-cdnhdmi sound-hdmi: ASoC: failed to init link imx8 hdmi: -517

[ 2.085735] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)

[ 2.267068] GPIO line 68 (hdmi-enable) hogged as output/high

[ 2.450706] GPIO line 493 (hdmi-switch) hogged as output/low

[ 2.619341] cdns-mhdp-imx 32c00000.hdmi: NO HDMI FW running

[ 2.625007] imx-dcss 32e00000.display-controller: failed to bind
32c00000.hdmi (ops cdns_mhdp_imx_ops): -6

[ 2.948521] imx-cdnhdmi sound-hdmi: ASoC: failed to init link imx8 hdmi: -517

[ 2.955671] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)

[ 3.082666] imx-cdnhdmi sound-hdmi: ASoC: failed to init link imx8 hdmi: -517

[ 3.094821] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)

[ 3.125497] imx-cdnhdmi sound-hdmi: ASoC: failed to init link imx8 hdmi: -517

[ 3.139482] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)

[ 3.178399] imx-cdnhdmi sound-hdmi: ASoC: failed to init link imx8 hdmi: -517

[ 3.185688] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)

[ 3.228736] imx-cdnhdmi sound-hdmi: ASoC: failed to init link imx8 hdmi: -517

[ 3.242985] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)

[ 3.270651] imx-cdnhdmi sound-hdmi: ASoC: failed to init link imx8 hdmi: -517

[ 3.270655] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)

[ 3.277509] #0: imx-hdmi-arc

[ 3.434555] imx-cdnhdmi sound-hdmi: ASoC: failed to init link imx8 hdmi: -517

[ 3.445021] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)

[ 3.466363] imx-cdnhdmi sound-hdmi: ASoC: failed to init link imx8 hdmi: -517

[ 3.478897] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)

[ 3.621085] imx-cdnhdmi sound-hdmi: ASoC: failed to init link imx8 hdmi: -517

[ 3.628240] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)

[ 3.643004] imx-cdnhdmi sound-hdmi: ASoC: failed to init link imx8 hdmi: -517

[ 3.650147] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)

[ 4.275016] imx-cdnhdmi sound-hdmi: ASoC: failed to init link imx8 hdmi: -517

[ 4.282473] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)

[ 5.438009] imx-cdnhdmi sound-hdmi: ASoC: failed to init link imx8 hdmi: -517

[ 5.445206] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)

[ 6.383168] imx-cdnhdmi sound-hdmi: ASoC: failed to init link imx8 hdmi: -517

[ 6.391399] imx-cdnhdmi sound-hdmi: snd_soc_register_card failed (-517)


It looks like HDMI FW is not loaded or so (just guessing from this
message in log: NO HDMI FW running).

Does anybody have same experience or idea what can be the problem?

Thanks and BR,

marek

--
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com


Re: u-boot and devtool

Peter Bergin
 

Hi,

On 2022-06-17 17:48, Mauro Ziliani wrote:
Hi all.

I try to use devtool to make some patch for u-boot-fslc.

When I make the menuconfig for u-boot-fslc where is placed the .config file?
Check if you have 'workspace/sources/u-boot-fslc/oe-workdir/u-boot-fslc-v2022.04+git999/<board-name>_defconfig/.config'. I think this is the .config used when enabled devtool for u-boot-fslc.

/Peter


Re: u-boot and devtool

Otavio Salvador
 

Mauro,

I am afraid I cannot help as I don't use it myself. I use it with toolchain for patching.

Em sex., 17 de jun. de 2022 às 12:48, Mauro Ziliani <mauro@...> escreveu:

Hi all.

I try to use devtool to make some patch for u-boot-fslc.

When I make the menuconfig for u-boot-fslc where is placed the .config file?


MZ






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


u-boot and devtool

Mauro Ziliani
 

Hi all.

I try to use devtool to make some patch for u-boot-fslc.

When I make the menuconfig for u-boot-fslc where is placed the .config file?


MZ


Re: imx51evk and u-boot

Mauro Ziliani
 

Sorry for my offtopic.

I need to study better the schema


Thanks for your time.


MZ

Il 14/06/22 19:10, Fabio Estevam ha scritto:
Hi Mauro,

[Please note that this is offtopic here]

On Tue, Jun 14, 2022 at 2:03 PM Mauro Ziliani <mauro@...> wrote:
My boot stops here


U-Boot 2020.04-mz-imx_v2020.04_5.4.24_2.1.0+g4979a99482 (May 30 2020 -
06:50:01 +0000)

CPU: i.MX51 rev3.0 at 800 MHz
Reset cause: POR
Model: Freescale i.MX51 Babbage Board
Board: MX51EVK
DRAM: 512 MiB
Yes, this is expected.

You are using the U-Boot mx51evk target, but your board is a custom one.

You said it has 1GB of RAM, so you need to adapt the DDR
initialization to your custom board.

Using the imx51evk target with your board does not work.


Re: imx51evk and u-boot

Fabio Estevam
 

Hi Mauro,

[Please note that this is offtopic here]

On Tue, Jun 14, 2022 at 2:03 PM Mauro Ziliani <mauro@...> wrote:

My boot stops here


U-Boot 2020.04-mz-imx_v2020.04_5.4.24_2.1.0+g4979a99482 (May 30 2020 -
06:50:01 +0000)

CPU: i.MX51 rev3.0 at 800 MHz
Reset cause: POR
Model: Freescale i.MX51 Babbage Board
Board: MX51EVK
DRAM: 512 MiB
Yes, this is expected.

You are using the U-Boot mx51evk target, but your board is a custom one.

You said it has 1GB of RAM, so you need to adapt the DDR
initialization to your custom board.

Using the imx51evk target with your board does not work.


Re: imx51evk and u-boot

Mauro Ziliani
 

My boot stops here


U-Boot 2020.04-mz-imx_v2020.04_5.4.24_2.1.0+g4979a99482 (May 30 2020 - 06:50:01 +0000)

CPU:   i.MX51 rev3.0 at 800 MHz
Reset cause: POR
Model: Freescale i.MX51 Babbage Board
Board: MX51EVK
DRAM:  512 MiB

Il 11/06/22 22:33, Fabio Estevam ha scritto:
On Sat, Jun 11, 2022 at 2:50 PM Otavio Salvador
<otavio.salvador@...> wrote:

I'm trying to build Yocto dunfell for imx51evk derived board.

The board has only sd card with 1 dram of ram.
imx51evk has 512MB of RAM.

You need to adapt the DDR for your specific board to be able to boot it.

It has been ages since I used those. @Fabio Estevam have you tried them lately?
Yes, it boots well with the top of tree U-Boot:

U-Boot 2022.07-rc4-00007-g57bd363de7 (Jun 11 2022 - 17:26:16 -0300)

CPU: Freescale i.MX51 rev3.0 at 800 MHz
Reset cause: POR
Model: Freescale i.MX51 Babbage Board
Board: MX51EVK
DRAM: 512 MiB
Core: 20 devices, 9 uclasses, devicetree: separate
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... OK
In: serial
Out: serial
Err: serial
Net: No ethernet found.
Hit any key to stop autoboot: 0


Re: imx51evk and u-boot

Fabio Estevam
 

On Sat, Jun 11, 2022 at 2:50 PM Otavio Salvador
<otavio.salvador@...> wrote:

I'm trying to build Yocto dunfell for imx51evk derived board.

The board has only sd card with 1 dram of ram.
imx51evk has 512MB of RAM.

You need to adapt the DDR for your specific board to be able to boot it.

It has been ages since I used those. @Fabio Estevam have you tried them lately?
Yes, it boots well with the top of tree U-Boot:

U-Boot 2022.07-rc4-00007-g57bd363de7 (Jun 11 2022 - 17:26:16 -0300)

CPU: Freescale i.MX51 rev3.0 at 800 MHz
Reset cause: POR
Model: Freescale i.MX51 Babbage Board
Board: MX51EVK
DRAM: 512 MiB
Core: 20 devices, 9 uclasses, devicetree: separate
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... OK
In: serial
Out: serial
Err: serial
Net: No ethernet found.
Hit any key to stop autoboot: 0


Re: imx51evk and u-boot

Otavio Salvador
 



Em sáb., 11 de jun. de 2022 às 13:55, Mauro Ziliani <mauro@...> escreveu:
I'm trying to build Yocto dunfell for imx51evk derived board.

The board has only sd card with 1 dram of ram.


It is better u-boot-imx or u-boot-fslc as bootloader?


I try the two version of u-boot but I get only the presentation of uboot.

Uboot is not able to boot

u-boot-fslc

It has been ages since I used those. @Fabio Estevam have you tried them lately?

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


imx51evk and u-boot

Mauro Ziliani
 

Hi all.

I'm trying to build Yocto dunfell for imx51evk derived board.

The board has only sd card with 1 dram of ram.


It is better u-boot-imx or u-boot-fslc as bootloader?


I try the two version of u-boot but I get only the presentation of uboot.

Uboot is not able to boot


MZ


restool: build error

leimaohui
 

Hi, all

I built restool with new poky, but failed. The error is like the following. So, is there anybody can give me some suggestions?

----------------------------
| mc_v10/dprc.c: In function 'dprc_get_res_ids':
| mc_v10/fsl_mc_cmd.h:56:42: error: right shift count >= width of type [-Werror=shift-count-overflow]
| 56 | (((~0UL) << (l)) & (~0UL >> (BITS_PER_LONG - 1 - (h))))
| | ^~
| mc_v10/fsl_dprc_cmd.h:77:9: note: in expansion of macro 'GENMASK'
| 77 | GENMASK(DPRC_##field##_SHIFT + DPRC_##field##_SIZE - 1, \
| | ^~~~~~~
| mc_v10/fsl_dprc_cmd.h:80:54: note: in expansion of macro 'DPRC_MASK'
| 80 | ((var) |= (((val) << DPRC_##field##_SHIFT) & DPRC_MASK(field)))
| | ^~~~~~~~~
| mc_v10/dprc.c:611:9: note: in expansion of macro 'dprc_set_field'
| 611 | dprc_set_field(cmd_params->iter_status_lo,
| | ^~~~~~~~~~~~~~
| mc_v10/fsl_mc_cmd.h:56:42: error: right shift count >= width of type [-Werror=shift-count-overflow]
| 56 | (((~0UL) << (l)) & (~0UL >> (BITS_PER_LONG - 1 - (h))))
| | ^~
| mc_v10/fsl_dprc_cmd.h:77:9: note: in expansion of macro 'GENMASK'
| 77 | GENMASK(DPRC_##field##_SHIFT + DPRC_##field##_SIZE - 1, \
| | ^~~~~~~
......
| dpdmux_commands.c: In function 'print_dpdmux_endpoint':
| dpdmux_commands.c:380:41: error: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Werror=format=]
| 380 | printf("\t%s: %lu\n", dpdmux_counters[i], count);
| | ~~^ ~~~~~
| | | |
| | long unsigned int uint64_t {aka long long unsigned int}
| | %llu
| cc1: all warnings being treated as errors
| cc1: all warnings being treated as errors
| In file included from mc_v10/dpdbg.c:35:
| mc_v10/dpdbg.c: In function 'dpdbg_set_ctlu_profiling_counters':
| mc_v10/fsl_mc_cmd.h:56:42: error: right shift count >= width of type [-Werror=shift-count-overflow]
| 56 | (((~0UL) << (l)) & (~0UL >> (BITS_PER_LONG - 1 - (h))))
| | ^~
......


Best regards
Lei


libfdt_wrap.c:154:11: fatal error: Python.h: No such file or directory

Michael Glembotzki
 

Hi,

I have backported the following recipes from honister to dunfell:
- u-boot-fslc-common_2022.04.inc
- u-boot-fslc_2022.04.bb

u-boot-fslc and also my image that use the u-boot-fslc can be built easily.
$ bitbake u-boot-fslc
$ bitbake <MY_IMAGE_NAME>

When I build the SDK, u-boot-fslc fails to compile outside of Yocto. My SDK is still missing things.
$ bitbake <MY_IMAGE_NAME> -c populate_sdk

$ . /opt/poky/2.0.5-dev/environment-setup-aarch64-poky-linux
$ make imx8mp_evk_defconfig
$ make -j16
scripts/dtc/pylibfdt/libfdt_wrap.c:154:11: fatal error: Python.h: No such file or directory
  154 | # include <Python.h>
      |           ^~~~~~~~~~

With a quick fix setting PYTHON3=/usr/bin/python3 in the u-boot Makefile still throws an error:
aarch64-poky-linux-ld.bfd: cannot find -lgcc
make: *** [Makefile:1801: u-boot] Error 1

Which DEPENDS do I have to add where to compile u-boot-fslc incl. binman?

Best regards
Michael


[PATCH] fmlib: set precise BSD license

Meng Li <meng.li@...>
 

From: Meng Li <meng.li@...>

When building fmlib package based on Yocto 4.0, there is below
warning reported
WARNING: fmlib-git-r1 do_populate_lic: QA Issue: fmlib:
No generic license file exists for: BSD in any provider [license-exists]
Because "BSD" is ambiguous, and there is no corresponding license file
in COMMON_LICENSE_DIR directory. So, set precise BSD license to fix
this issue.

Signed-off-by: Meng Li <Meng.Li@...>
---
recipes-dpaa/fmlib/fmlib_git.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-dpaa/fmlib/fmlib_git.bb b/recipes-dpaa/fmlib/fmlib_git.bb
index cad064f2..bf834c4b 100644
--- a/recipes-dpaa/fmlib/fmlib_git.bb
+++ b/recipes-dpaa/fmlib/fmlib_git.bb
@@ -1,6 +1,6 @@
DESCRIPTION = "Frame Manager User Space Library"
SECTION = "fman"
-LICENSE = "BSD & GPL-2.0-only"
+LICENSE = "BSD-3-Clause & GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=9c7bd5e45d066db084bdb3543d55b1ac"

PR = "r1"
--
2.17.1


signing an initramfs kernel

Embedded 1
 

On my i.mx8mp board I have secure boot enabled. I can boot a signed kernel fine. I'd like to now sign the kernel used with the initramfs image. I don't understand if that kernel is the same as the regular kernel and if I can just replace the signed kernel with it?

when I build my initramfs image recipe I get a few new files including a rootfs.cpio.gz file and a Image-initramfs file. I'm unclear what the differences are between these files.

If I unpack the cpio.gz file I see an Image file in /boot/Image. I don't seem to be able to boot this cpio.gz image though.

1 - 20 of 24851