technexion / edm-yocto-bsp Goto Github PK
View Code? Open in Web Editor NEW(Archived, please change to use tn-imx-yocto-manifest) Yocto Project manifests
(Archived, please change to use tn-imx-yocto-manifest) Yocto Project manifests
Hi
I am not getting tool chain file for pico-imx6 (at build-x11-pico/tmp/deploy/sdk) ie,
poky-glibc-x86_64-meta-toolchain-cortexa9hf-vfp-neon-toolchain-1.7.sh
Instead fsl-imx-x11-glibc-x86_64-meta-toolchain-cortexa9hf-vfp-neon-toolchain-4.1.15-1.2.0.sh is available.
Bit bake commands
For yocto build
DISPLAY=lvds7 MACHINE=pico-imx6 BASEBOARD=nymph source edm-setup-release.sh
-b build-x11-pico -e x11
bitbake fsl-image-qt5
For toolchain build
bitbake meta-toolchain
Please tell me what is the issue. I am using ubuntu 16.04
Hi,
with patch below elfutils buids OK
0009-elfutils-Fix-gcc-compile-time-alignment-errors.tar.gz
../edm_yocto/sources/poky/meta/recipes-devtools/elfutils/elfutils_0.170.bb
Miro
When i try to build linux using the exact steps outlined in this guide i get the following error.
ERROR: Task 888 (virtual:native:/home/hatter/edm-yocto/sources/poky/meta/recipes-core/ncurses/ncurses_5.9.bb, do_compile) failed with exit code '1'
Hi,
I modified .bb recipes according to https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f0ccd96a6434e45bc885c5b6128630c4ad510da8
../edm_yocto/sources/poky/meta/recipes-support/libfm/libfm-extra_1.2.5.bb
DEPENDS and inherit changed to:
DEPENDS = "glib-2.0-native glib-2.0 intltool-native"
inherit autotools pkgconfig gtk-doc gettext
../edm_yocto/sources/poky/meta/recipes-support/libfm/libfm_1.2.5.bb
DEPENDS and inherit changed to:
DEPENDS = "glib-2.0 glib-2.0-native pango gtk+3 menu-cache intltool-native libexif libfm-extra
inherit autotools pkgconfig gtk-doc gettext distro_features_check
With this modification libfm, libfm-extra_1.2.5 build OK.
Miro
Apparently the pico-imx7d board is not supported , any plan to implement the support for this?
Hello,
While the board is not connected to internet and rebooted it sometimes happens that the reboot freezes. In 99% of time it happens at:
[ Ok ] Stopped Update UTMP about System Boot/Shutdown.
Is there a fix for this issue?
Thank you,
Renegade
Hello Richard
Is a release done with Yocto 2.5 ?
We want to move to QT5.12 and Yocto 2.4 is linked to QT5.9
Thanks
Hi
Do you provide as how to integrate systemd for Pico Nymph.
I'm building an image for my pico-imx6ul. The result is an image running without the right device tree.
For example, the board can't load any wifi card.
This is my build configuration:
Build Configuration:
BB_VERSION = "1.36.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "pico-imx6ul-itl"
DISTRO = "fsl-imx-fb"
DISTRO_VERSION = "4.9.88-2.0.0"
TUNE_FEATURES = "arm armv7ve vfp neon callconvention-hard cortexa7"
TARGET_FPU = "hard"
meta
meta-poky = "HEAD:0ec241873367e18f5371a3ad9aca1e2801dcd4ee"
meta-oe
meta-multimedia = "HEAD:dacfa2b1920e285531bec55cd2f08743390aaf57"
meta-freescale = "HEAD:49ac225a38f6d84519798e3264f2e4d19b84f70a"
meta-freescale-3rdparty = "HEAD:1d6d5961dbf82624b28bb318b4950a64abc31d12"
meta-freescale-distro = "HEAD:0ec6d7e206705702b5b534611754de0787f92b72"
meta-bsp
meta-sdk = "HEAD:d65692ecb3a4136fc1cc137152634e8633ddb3c6"
meta-browser = "HEAD:d6f9aed41c73b75a97d71bff060b03a66ee087b1"
meta-gnome
meta-networking
meta-python
meta-filesystems = "HEAD:dacfa2b1920e285531bec55cd2f08743390aaf57"
meta-qt5 = "HEAD:32bb7d18a08d1c48873d7ab6332d4cc3815a4dff"
meta-edm-bsp-release = "added-wifi-drivers:10f5373fedd09c19ffb1a393272e3f3ed83b643a"
At the moment I use dd to flash the content of this archive:
core-image-base-pico-imx6ul.sdcard.bz2
u-boot is using this device tree:
imx6ul-pico-qca_pi.dts
But I want this one:
imx6ul-pico_pi.dtb
Should I use a new Yocto version to correct this?
Hi
Please provide the password for virtual machine ubuntu 16.4.
Hi
I am getting below while building tn_imx_yocto-2.0-jethro_qt5_source_20161209.zip
insn-opinit.c: In function 'void init_all_optabs(target_optabs*)':
insn-opinit.c:764:1: internal compiler error: Segmentation fault
init_all_optabs (struct target_optabs *optabs)
I was able to build it earlier.
I made a layer and some recipes to:
When I do:
modprobe bcmdhd
This is the output and this is correct:
dhd_module_init in
wifi_plat_dev_drv_probe no GPIO for OOB in device tree.
wifi_plat_dev_drv_probe continue with non-OOB mode.
Power-up adapter 'DHD generic adapter'
wifi_platform_bus_enumerate device present 1
mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
mmc1: new high speed SDIO card at address 0001
F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x0 pkg:0x3
DHD: dongle ram size is set to 524288(orig 524288) at 0x0
wifi_platform_get_mac_addr
fw path is /lib/firmware/brcm/fw_bcm43438a0.bin
nvram_path is /lib/firmware/brcm/nvram_ap6212.txt
wl_create_event_handler(): thread:wl_event_handler:107 started
dhd_attach(): thread:dhd_watchdog_thread:108 started
dhd_attach(): thread:dhd_dpc:109 started
dhd_deferred_work_init: work queue initialized
fw path is /lib/firmware/brcm/fw_bcm43438a0.bin
nvram_path is /lib/firmware/brcm/nvram_ap6212.txt
random: crng init done
dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
wifi_platform_get_mac_addr
Firmware up: op_mode=0x0005, MAC=44:2c:05:be:c7:16
Firmware version = wl0: Nov 25 2016 15:04:47 version 7.46.57.5.apsta.r4.o12 (Station/Softap) FWID 01-b70fff29 es6.c5.n4.a3
dhd_wlfc_init(): successfully enabled bdcv2 tlv signaling, 79
dhd_wlfc_init: query wlfc_mode succeed, fw_caps=0x1c
dhd_wlfc_init(): wlfc_mode=0x1c, ret=0
Dongle Host Driver, version 1.141.100.6 (r)
Compiled in drivers/net/wireless/bcmdhd
Register interface [wlan0] MAC: 44:2c:05:be:c7:16
The problem is if I add connman or connman-client to my machine, I get:
dhd_module_init in
wifi_plat_dev_drv_probe no GPIO for OOB in device tree.
wifi_plat_dev_drv_probe continue with non-OOB mode.
Power-up adapter 'DHD generic adapter'
wifi_platform_bus_enumerate device present 1
mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
mmc1: new high speed SDIO card at address 0001
F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x0 pkg:0x3
DHD: dongle ram size is set to 524288(orig 524288) at 0x0
wifi_platform_get_mac_addr
fw path is /lib/firmware/brcm/fw_bcm43438a0.bin
nvram_path is /lib/firmware/brcm/nvram_ap6212.txt
wl_create_event_handler(): thread:wl_event_handler:115 started
dhd_attach(): thread:dhd_watchdog_thread:117 started
dhd_attach(): thread:dhd_dpc:118 started
dhd_deferred_work_init: work queue initialized
fw path is /lib/firmware/brcm/fw_bcm43438a0.bin
nvram_path is /lib/firmware/brcm/nvram_ap6212.txt
dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
wifi_platform_get_mac_addr
Firmware up: op_mode=0x0005, MAC=44:2c:05:be:c7:16
Firmware version = wl0: Nov 25 2016 15:04:47 version 7.46.57.5.apsta.r4.o12 (Station/Softap) FWID 01-b70fff29 es6.c5.n4.a3
dhd_wlfc_init(): successfully enabled bdcv2 tlv signaling, 79
dhd_wlfc_init: query wlfc_mode succeed, fw_caps=0x1c
dhd_wlfc_init(): wlfc_mode=0x1c, ret=0
Dongle Host Driver, version 1.141.100.6 (r)
Compiled in drivers/net/wireless/bcmdhd
Register interface [wlan0] MAC: 44:2c:05:be:c7:16
CFG80211-ERROR) wl_update_wiphybands : error reading vhtmode (-23)
My connman version is:
1.34
I'm able to connect to the WiFi even if I've the error.
What's that error?
UPDATE
This last line seems to be a message from system that is printed in the debug serial console
CFG80211-ERROR) wl_update_wiphybands : error reading vhtmode (-23)
Audio playback issue on PICO-PI-IMX8M-2G using the linux tn-imx_4.14.98_2.0.0_ga-wip kernel (prebuilt image fsl-image-qt5-validation-imx-pico-imx8mq).
Running some test commands I get the following output:
aplay /usr/shar/sounds/alsa/noise.wav
[ 2992.099490] fsl-sai 30050000.sai: failed to derive required Tx rate: 2822400
[ 2992.106651] fsl-sai 30050000.sai: ASoC: can't set 30050000.sai hw params: -22
ALSA lib ../../../alsa-lib-1.1.5/src/pcm/pcm_direct.c:1271:(snd1_pcm_direct_initialize_slave) unable to install hw params
ALSA lib ../../../alsa-lib-1.1.5/src/pcm/pcm_dmix.c:1111:(snd_pcm_dmix_open) unable to initialize slave
aplay: main:828: audio open error: Invalid argument
I see similar "failed to derive required Tx rate" issues if I try to play an mp4 through gplay-1.0 along with:
====== BEEP: 4.4.5 build on Apr 20 2019 15:58:42. ======
Core: AAC decoder Wrapper build on Dec 7 2017 18:13:51
file: /usr/lib/imx-mm/audio-codec/wrap/lib_aacd_wrap_arm_elinux.so.3
CODEC: BLN_MAD-MMCODECS_AACD_ARM_03.09.00_ARMV8 build on Sep 20 2017 15:02:50.
[ 3104.543472] cma: cma_alloc: alloc failed, req-size: 3544 pages, ret: -12
[ 3104.551425] cma: cma_alloc: alloc failed, req-size: 3544 pages, ret: -12
I will try to setup a build environment to build the latest, but this is using the latest prebuilt image available for download.
Is the new BSP sumo 2.5 is compatible with pico-imx6 ?
Thanks
4.9.88-2.0.0 used to compile and support BCM modules. After a recent build, the drivers where present as expected, but hciconfig was not able to communicate with the wifi/bt module.
Configuration script:
WIFI_FIRMWARE=y WIFI_MODULE=brcm DISTRO=fsl-imx-fb MACHINE=pico-imx6 BASEBOARD=nymph source edm-setup-release.sh -b build-pico-imx6
local.conf:
MACHINE ??= 'pico-imx6'
DISTRO ?= 'fsl-imx-fb'
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks package-management ssh-server-dropbear"
DISTRO_FEATURES_append += "bluez5 bluetooth wifi systemd journald "
IMAGE_INSTALL_append += "packagegroup-core-buildessential sudo opkg apt connman
wget curl openssl nano git dhcp-client wireless-tools nodejs bluez5
python3 python3-pip python3-setuptools python3-dev python3-modules
kernel-modules iptables wpa-supplicant i2c-tools connman-client cmake swig"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS ??= "
STOPTASKS,${TMPDIR},1G,100K
STOPTASKS,${DL_DIR},1G,100K
STOPTASKS,${SSTATE_DIR},1G,100K
STOPTASKS,/tmp,100M,100K
ABORT,${TMPDIR},100M,1K
ABORT,${DL_DIR},100M,1K
ABORT,${SSTATE_DIR},100M,1K
ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
CONF_VERSION = "1"
BASE_BOARD ?= "nymph"
DISPLAY_INFO ?= "lcd"
RF_FIRMWARES ?= " qca "
MACHINEOVERRIDES =. "${@'' if d.getVar('RF_FIRMWARES', True) is None else '%s:' % ':'.join([fw.lower() for $
XZ_COMPRESSION_LEVEL = "-9"
XZ_INTEGRITY_CHECK = "crc64"
DL_DIR ?= "${BSPDIR}/downloads/"
bitbake:
bitbake core-image-base
ERROR: Task (~/edm_yocto/sources/poky/meta/recipes-graphics/mesa/mesa_17.1.7.bb:do_compile) failed with exit code '1'
i have been encountering fetch failure for the said branch "https://github.com/TechNexion/linux/tree/tn-imx_4.1.15_2.0.0_ga". It has been unable to fetch URL from any source. It was encountered when "bitbake fsl-image-qt5" process was initiated. The following url contains the error details
hi,
I try to add optee for pico-pi-imx7 board in current yocto version.
I add below lines in local.conf
..
DISTRO_FEATURES_append=" optee"
IMAGE_INSTALL_append = " optee-client-imx optee-os-imx optee-test-imx"
..
but I can not pass bitbake fsl-image-qt5-validation-imx
but I used a old version( a few month ago , I cloned it), It passed bitbake, I can find xtest. only there is no device /dev/tee? after boot
so I want to try the updated yocto source code version, but the error happended! I can find optee-test-imx_git.bb optee-client-imx _git.bb optee-os-imx_git.bb there but why can not bitbake?
I want to know if pico-pi-imx7 board can support optee?
=======================error====================
current (2019/10/10)yocto version error:
error:ERROR: Nothing RPROVIDES 'optee-os-imx' (but /opt/oe/configs/imx7/edm_yocto/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images/fsl-image-qt5-validation-imx.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'optee-os-imx' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['optee-os-imx']
ERROR: Required build target 'fsl-image-qt5-validation-imx' has no buildable providers.
Missing or unbuildable dependency chain was: ['fsl-image-qt5-validation-imx', 'optee-os-imx']
============my config================
my local.conf:
MACHINE ??= 'pico-imx7'
DISTRO ?= 'fsl-imx-xwayland'
DISTRO_FEATURES_append=" optee"
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
PARALLEL_MAKE ?= "-j 16"
BB_NUMBER_THREADS ?= "16"
BB_DISKMON_DIRS ??= "
STOPTASKS,${TMPDIR},1G,100K
STOPTASKS,${DL_DIR},1G,100K
STOPTASKS,${SSTATE_DIR},1G,100K
STOPTASKS,/tmp,100M,100K
ABORT,${TMPDIR},100M,1K
ABORT,${DL_DIR},100M,1K
ABORT,${SSTATE_DIR},100M,1K
ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
CONF_VERSION = "1"
BASE_BOARD ?= "pi"
DISPLAY_INFO ?= "lcd"
RF_FIRMWARES ?= "qca ath-pci"
MACHINEOVERRIDES =. "${@'' if d.getVar('RF_FIRMWARES', True) is None else '%s:' % ':'.join([fw.lower() for fw in d.getVar('RF_FIRMWARES', True).split(' ') if fw])}"
MACHINEOVERRIDES =. "${@'' if d.getVar('SOUNDCARD', True) is None else '%s:' % d.getVar('SOUNDCARD', True).lower()}"
DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = "1"
IMAGE_INSTALL_append = " gnupg atftp atftpd ntp ntpdate fping optee-client-imx optee-os-imx optee-test-imx"
EXTRA_IMAGE_FEATURES ?= "tools-debug tools-profile debug-tweaks eclipse-debug"
IMAGE_INSTALL_append = "
tcf-agent
openssh-sftp-server
gdbserver
apache2
"
CORE_IMAGE_EXTRA_INSTALL += "
trace-cmd i2c-tools e2fsprogs-resize2fs
bash bc cpio gawk tree rsync ldd vim nano
diffutils coreutils findutils iputils
git git-perltools libwebsockets vlan tcpdump
"
INHERIT += "extrausers"
ROOT_PASSWORD = "*******"
EXTRA_USERS_PARAMS = "usermod -P ${ROOT_PASSWORD} root;"
EXTRA_USERS_PARAMS += "useradd -P ${ROOT_PASSWORD} myuser;"
bblayers,conf:
LCONF_VERSION = "7"
BBPATH = "${TOPDIR}"
BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"
BBFILES ?= ""
BBLAYERS = "
${BSPDIR}/sources/poky/meta
${BSPDIR}/sources/poky/meta-poky
${BSPDIR}/sources/meta-openembedded/meta-oe
${BSPDIR}/sources/meta-openembedded/meta-webserver
${BSPDIR}/sources/meta-openembedded/meta-multimedia
${BSPDIR}/sources/meta-freescale
${BSPDIR}/sources/meta-freescale-3rdparty
${BSPDIR}/sources/meta-freescale-distro
"
BBLAYERS += " ${BSPDIR}/sources/meta-edm-bsp-release "
BBLAYERS += " ${BSPDIR}/sources/meta-fsl-bsp-release/imx/meta-bsp "
BBLAYERS += " ${BSPDIR}/sources/meta-fsl-bsp-release/imx/meta-sdk "
BBLAYERS += " ${BSPDIR}/sources/meta-browser "
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-gnome "
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-networking "
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-python "
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-filesystems "
BBLAYERS += " ${BSPDIR}/sources/meta-qt5 "
Wehn trying to follow the instructions here on ubuntu 16.04 LTS i glibc fails to build. Please see the attached logfiles of the error.
log.do_compile.7947.txt
20160725093559.log.txt
Hi,
with patch below I was able to build python-native_2.7.13
/edm_yocto/sources/poky/meta/recipes-devtools/python/python-native_2.7.13.bb
Miro
Hi I'm building sumo branch for the pico-imx8m, the compilation (besides some issues with building for the machine I had, for whatever reason) goes fine, but when I try to run the image on the board, everything is just fine up to the moment when weston should kick in.
I'm getting black screen with a cursor in top-left corner and nothing else.
Weston logs show nothing special the process is running, either started with systemd or manually.
I've build both for xwayland and wayland, and the result is the same.
Do you happen to know what is going on?
I had similar situation when I tried to port your rocko branch to sumo, by myself and I thought I messed something up, and put it on the hook until someone (that actually knows what he/she is/are doing ;) ) fix the stuff. But now I'm stuck ...
BR
Hi,
During adding php to the image i met such error when executing php in device:
root@pico-imx6:~# php
php: relocation error: php: symbol mysql_server_init, version libmysqlclient_16 not defined in file libmysqlclient.so.18 with link time reference
I found solution: http://www.variscite.com/support-forum/viewtopic.php?t=372
Needed new version of binutils
https://github.com/varigit/meta-variscite-imx/blob/Krogoth-imx-4.1.15-var01/recipes-devtools/binutils/binutils-cross_2.26.bbappend
After these path everything works fine. Please consider update in your yocto distribution.
Best regards,
Karol
Hello,
The ethernet connection works fine with the imx8mq-pico-pi.dtb file, however once I switch the dtb to imx8mq-pico-pi-voicehat.dtb , the ethernet connection stops running. I'm not using wifi - didn't install it during the yocto image build procedure.
I assume there is an issue with the dtb. Is there a fix for this issue or any directions what should be checked/fixed to get ethernet running even with the voicehat dtb?
Thank you very much for any kind of help and have a nice day,
Renegade
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.