Toradex Colibri IMx6 ULL

Hey there,

I’m using Colibri Imx6 ULL 512MB with Iris Carrier Board.
My goal is to run Qt Application on it with Modbus Communication and Mysql Server installed.
Can someone guide me through the process or can send me links to the articles guiding me on how to approach the solution.
Right now I’m not looking forward to use boot2qt , I’m more interested in using Linux based image file.
I could find many articles here on toradex website but got confused on where to start exactly.
Note: I’m using Linux based host system(Ubuntu 16.04).

Thank you!

Hi @mvsri
Welcome to Toradex community.

you would need to build a custom BSP image with libmodbus and mariadb integrated by adding it to IMAGE_INSTALL in conf/local.conf (e.g. IMAGE_INSTALL_append = " libmodbus mariadb").

@ashok.tx Thank you for the response, I will try it and let you know the result.

@ashok.tx I have followed the steps as you suggested from here build a custom BSP image and in build/conf/local.conf added the line

IMAGE_INSTALL_append = " libmodbus mariadb"

When I try to build using bitbake < image > the process got stuck, I’m attaching the image for reference.

Any help would be appreciated here, is it the right process or i missed something.

Note: It got stuck at 44% for several hours

Thank You!

Hi @mvsri

I could able to build the image without any hang/errors.Could you try the below steps
1.bitbake -c clean tdx-reference-multimedia-image
2.bitbake -k tdx-reference-multimedia-image

@ashok.tx I will try it, I had one query though I have added
IMAGE_INSTALL_append = " libmodbus mariadb” in local.conf file is that all required or should i have to add any extra source files with that in other locations.

Can you post the output of dmesg after you kill the build and see if something strange happens during the build stall? I’ve seen the aggressive nature of BB_NUMBER_THREADS and PARALLEL_MAKE causes stalling of the bitbake build, and when looking at dmesg output you’ll see memory problems.

@DaveM Do you want only dmesg output or anything added to dmesg output.
Because after cancelling when I type dmesg on terminal I get this kind of output

I was hoping for information during the bitbake build?

@DaveM Is this the log output you wanted to check,

--- Starting bitbake server pid 4874 at 2021-12-16 19:55:25.125330 ---
Started bitbake server pid 4874
Entering server connection loop
Accepting [<socket.socket fd=6, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=bitbake.sock>] ([])
Processing Client
Connecting Client
Running command ['setFeatures', [2, 1]]
Running command ['updateConfig', {'dump_signatures': [], 'profile': False, 'debug': 0, 'postfile': [], 'build_verbose_shell': False, 'extra_assume_provided': [], 'server_timeout': None, 'prefile': [], 'force': False, 'dry_run': False, 'build_verbose_stdout': False, 'debug_domains': [], 'invalidate_stamp': None, 'abort': True}, {'PWD': '/home/unknown/oe-core/build', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'DEFAULTS_PATH': '/usr/share/gconf/ubuntu.default.path', 'LOGNAME': 'unknown', 'GTK2_MODULES': 'overlay-scrollbar', 'XDG_SESSION_PATH': '/org/freedesktop/DisplayManager/Session0', 'XDG_GREETER_DATA_DIR': '/var/lib/lightdm-data/unknown', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'UPSTART_EVENTS': 'started starting', 'XDG_SESSION_TYPE': 'x11', 'GPG_AGENT_INFO': '/home/unknown/.gnupg/S.gpg-agent:0:1', 'COMPIZ_CONFIG_PROFILE': 'ubuntu', 'XDG_RUNTIME_DIR': '/run/user/1000', 'XDG_SESSION_DESKTOP': 'ubuntu', 'GTK_IM_MODULE': 'ibus', 'SHELL': '/bin/bash', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:', 'USER': 'unknown', 'JOB': 'gnome-session', 'UPSTART_INSTANCE': '', 'QT_LINUX_ACCESSIBILITY_ALWAYS_ON': '1', 'MANDATORY_PATH': '/usr/share/gconf/ubuntu.mandatory.path', 'BB_ENV_EXTRAWHITE': 'ALL_PROXY BBPATH_EXTRA BB_LOGCONFIG BB_NO_NETWORK BB_NUMBER_THREADS BB_SETSCENE_ENFORCE BB_SRCREV_POLICY DISTRO FTPS_PROXY FTP_PROXY GIT_PROXY_COMMAND HTTPS_PROXY HTTP_PROXY MACHINE NO_PROXY PARALLEL_MAKE SCREENDIR SDKMACHINE SOCKS5_PASSWD SOCKS5_USER SSH_AGENT_PID SSH_AUTH_SOCK STAMPS_DIR TCLIBC TCMODE all_proxy ftp_proxy ftps_proxy http_proxy https_proxy no_proxy ', 'XAUTHORITY': '/home/unknown/.Xauthority', 'GDM_LANG': 'en_US', 'XDG_VTNR': '7', 'VTE_VERSION': '4205', 'INSTANCE': 'Unity', 'XDG_SEAT': 'seat0', 'QT_QPA_PLATFORMTHEME': 'appmenu-qt5', 'TERM': 'xterm-256color', 'LANG': 'en_IN', 'QT_IM_MODULE': 'xim', 'GNOME_KEYRING_PID': '', 'QT4_IM_MODULE': 'xim', 'XMODIFIERS': '@im=ibus', 'GDMSESSION': 'ubuntu', 'XDG_SEAT_PATH': '/org/freedesktop/DisplayManager/Seat0', 'QT_ACCESSIBILITY': '1', 'UPSTART_SESSION': 'unix:abstract=/com/ubuntu/upstart-session/1000/1128', 'DISPLAY': ':0', 'SSH_AUTH_SOCK': '/run/user/1000/keyring/ssh', 'PATH': '/home/unknown/oe-core/layers/openembedded-core/scripts:/home/unknown/oe-core/layers/openembedded-core/bitbake/bin:/home/unknown/bin:/home/unknown/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'SHLVL': '1', 'UPSTART_JOB': 'unity-settings-daemon', 'OLDPWD': '/home/unknown/oe-core/layers/openembedded-core', 'BUILDDIR': '/home/unknown/oe-core/build', 'XDG_CONFIG_DIRS': '/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg', 'XDG_DATA_DIRS': '/usr/share/ubuntu:/usr/share/gnome:/usr/local/share:/usr/share:/var/lib/snapd/desktop', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-RP1xsh1URh', 'CLUTTER_IM_MODULE': 'xim', 'GNOME_DESKTOP_SESSION_ID': 'this-is-deprecated', 'LANGUAGE': 'en_IN:en', '_': '/home/unknown/oe-core/layers/openembedded-core/bitbake/bin/bitbake-layers', 'IM_CONFIG_PHASE': '1', 'LC_ALL': 'en_US.UTF-8', 'WINDOWID': '56623114', 'GTK_MODULES': 'gail:atk-bridge:unity-gtk-module', 'GNOME_KEYRING_CONTROL': '', 'XDG_CURRENT_DESKTOP': 'Unity', 'SESSIONTYPE': 'gnome-session', 'HOME': '/home/unknown', 'BBPATH': '/home/unknown/oe-core/build', 'XDG_SESSION_ID': 'c1', 'DESKTOP_SESSION': 'ubuntu'}, ['/home/unknown/oe-core/layers/openembedded-core/bitbake/bin/bitbake-layers']]
Running command ['parseConfiguration']
Running command ['dataStoreConnectorCmd', 0, 'getVar', ('BBMULTICONFIG',), {}]
Running command ['dataStoreConnectorCmd', 0, 'getVar', ('BBPATH',), {}]
Running command ['dataStoreConnectorCmd', 0, 'getVar', ('BBLAYERS',), {}]
Running command ['dataStoreConnectorVarHistCmd', 0, 'get_variable_items_files', ('BBFILE_COLLECTIONS',), {}]
Running command ['dataStoreConnectorCmd', 0, 'getVar', ('BBLAYERS',), {}]
Running command ['dataStoreConnectorVarHistCmd', 0, 'get_variable_items_files', ('BBFILE_COLLECTIONS',), {}]
Running command ['dataStoreConnectorCmd', 0, 'getVar', ('BBLAYERS',), {}]
Running command ['dataStoreConnectorVarHistCmd', 0, 'get_variable_items_files', ('BBFILE_COLLECTIONS',), {}]
Running command ['dataStoreConnectorCmd', 0, 'getVar', ('BBLAYERS',), {}]
Running command ['dataStoreConnectorVarHistCmd', 0, 'get_variable_items_files', ('BBFILE_COLLECTIONS',), {}]
Running command ['clientComplete']
Processing Client
Disconnecting Client
No timeout, exiting.
Exiting
--- Starting bitbake server pid 5034 at 2021-12-16 19:57:03.171736 ---
Started bitbake server pid 5034
Entering server connection loop
Accepting [<socket.socket fd=6, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=bitbake.sock>] ([])
Processing Client
Connecting Client
Running command ['setFeatures', [2]]
Running command ['updateConfig', {'build_verbose_shell': False, 'abort': False, 'dry_run': False, 'force': False, 'profile': False, 'dump_signatures': [], 'server_timeout': None, 'build_verbose_stdout': False, 'invalidate_stamp': None, 'postfile': [], 'extra_assume_provided': [], 'debug': 0, 'debug_domains': [], 'prefile': []}, {'DEFAULTS_PATH': '/usr/share/gconf/ubuntu.default.path', 'XDG_GREETER_DATA_DIR': '/var/lib/lightdm-data/unknown', 'GNOME_KEYRING_PID': '', 'GDM_LANG': 'en_US', 'XAUTHORITY': '/home/unknown/.Xauthority', 'XDG_CURRENT_DESKTOP': 'Unity', 'XDG_CONFIG_DIRS': '/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg', 'PWD': '/home/unknown/oe-core/build', 'BB_ENV_EXTRAWHITE': 'ALL_PROXY BBPATH_EXTRA BB_LOGCONFIG BB_NO_NETWORK BB_NUMBER_THREADS BB_SETSCENE_ENFORCE BB_SRCREV_POLICY DISTRO FTPS_PROXY FTP_PROXY GIT_PROXY_COMMAND HTTPS_PROXY HTTP_PROXY MACHINE NO_PROXY PARALLEL_MAKE SCREENDIR SDKMACHINE SOCKS5_PASSWD SOCKS5_USER SSH_AGENT_PID SSH_AUTH_SOCK STAMPS_DIR TCLIBC TCMODE all_proxy ftp_proxy ftps_proxy http_proxy https_proxy no_proxy ', 'OLDPWD': '/home/unknown/oe-core/layers/openembedded-core', 'PATH': '/home/unknown/oe-core/layers/openembedded-core/scripts:/home/unknown/oe-core/layers/openembedded-core/bitbake/bin:/home/unknown/bin:/home/unknown/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'GTK2_MODULES': 'overlay-scrollbar', 'VTE_VERSION': '4205', 'BUILDDIR': '/home/unknown/oe-core/build', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-RP1xsh1URh', 'GNOME_DESKTOP_SESSION_ID': 'this-is-deprecated', 'XDG_SESSION_PATH': '/org/freedesktop/DisplayManager/Session0', 'UPSTART_INSTANCE': '', 'SSH_AUTH_SOCK': '/run/user/1000/keyring/ssh', 'XMODIFIERS': '@im=ibus', 'XDG_SESSION_TYPE': 'x11', 'BBPATH': '/home/unknown/oe-core/build', 'HOME': '/home/unknown', 'UPSTART_JOB': 'unity-settings-daemon', 'WINDOWID': '56623114', 'CLUTTER_IM_MODULE': 'xim', 'JOB': 'gnome-session', 'QT_QPA_PLATFORMTHEME': 'appmenu-qt5', 'DESKTOP_SESSION': 'ubuntu', 'IM_CONFIG_PHASE': '1', 'DISPLAY': ':0', 'XDG_VTNR': '7', 'XDG_DATA_DIRS': '/usr/share/ubuntu:/usr/share/gnome:/usr/local/share:/usr/share:/var/lib/snapd/desktop', '_': '/home/unknown/oe-core/layers/openembedded-core/bitbake/bin/bitbake', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'XDG_SEAT_PATH': '/org/freedesktop/DisplayManager/Seat0', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:', 'UPSTART_SESSION': 'unix:abstract=/com/ubuntu/upstart-session/1000/1128', 'USER': 'unknown', 'LC_ALL': 'en_US.UTF-8', 'MANDATORY_PATH': '/usr/share/gconf/ubuntu.mandatory.path', 'QT4_IM_MODULE': 'xim', 'XDG_SESSION_DESKTOP': 'ubuntu', 'XDG_RUNTIME_DIR': '/run/user/1000', 'COMPIZ_CONFIG_PROFILE': 'ubuntu', 'LOGNAME': 'unknown', 'LANGUAGE': 'en_IN:en', 'XDG_SESSION_ID': 'c1', 'QT_IM_MODULE': 'xim', 'SESSIONTYPE': 'gnome-session', 'SHELL': '/bin/bash', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'UPSTART_EVENTS': 'started starting', 'LANG': 'en_IN', 'QT_ACCESSIBILITY': '1', 'XDG_SEAT': 'seat0', 'SHLVL': '1', 'GNOME_KEYRING_CONTROL': '', 'GTK_IM_MODULE': 'ibus', 'INSTANCE': 'Unity', 'TERM': 'xterm-256color', 'GTK_MODULES': 'gail:atk-bridge:unity-gtk-module', 'QT_LINUX_ACCESSIBILITY_ALWAYS_ON': '1', 'GPG_AGENT_INFO': '/home/unknown/.gnupg/S.gpg-agent:0:1', 'GDMSESSION': 'ubuntu'}, ['/home/unknown/oe-core/layers/openembedded-core/bitbake/bin/bitbake', '-k', 'tdx-reference-multimedia-image']]
Running command ['getVariable', 'BBINCLUDELOGS']
Running command ['getVariable', 'BBINCLUDELOGS_LINES']
Running command ['getSetVariable', 'BB_CONSOLELOG']
Running command ['getSetVariable', 'BB_LOGCONFIG']
Running command ['getUIHandlerNum']
Running command ['setEventMask', 1, 20, {'BitBake.RunQueue.HashEquiv': 19, 'BitBake.SigGen.HashEquiv': 19}, ['bb.runqueue.runQueueExitWait', 'bb.event.LogExecTTY', 'logging.LogRecord', 'bb.build.TaskFailed', 'bb.build.TaskBase', 'bb.event.ParseStarted', 'bb.event.ParseProgress', 'bb.event.ParseCompleted', 'bb.event.CacheLoadStarted', 'bb.event.CacheLoadProgress', 'bb.event.CacheLoadCompleted', 'bb.command.CommandFailed', 'bb.command.CommandExit', 'bb.command.CommandCompleted', 'bb.cooker.CookerExit', 'bb.event.MultipleProviders', 'bb.event.NoProvider', 'bb.runqueue.sceneQueueTaskStarted', 'bb.runqueue.runQueueTaskStarted', 'bb.runqueue.runQueueTaskFailed', 'bb.runqueue.sceneQueueTaskFailed', 'bb.event.BuildBase', 'bb.build.TaskStarted', 'bb.build.TaskSucceeded', 'bb.build.TaskFailedSilent', 'bb.build.TaskProgress', 'bb.event.ProcessStarted', 'bb.event.ProcessProgress', 'bb.event.ProcessFinished']]
Running command ['getVariable', 'BB_DEFAULT_TASK']
Running command ['setConfig', 'cmd', 'build']
Running command ['buildTargets', ['tdx-reference-multimedia-image'], 'build']
--2021-12-16 20:05:16--  https://artifacts.toradex.com/artifactory/tdxref-torizoncore-sources-frankfurt/5/x86_64-nativesdk-libc.tar.xz
Resolving artifacts.toradex.com (artifacts.toradex.com)... 3.125.132.142
Connecting to artifacts.toradex.com (artifacts.toradex.com)|3.125.132.142|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-12-16 20:05:18 ERROR 404: Not Found.

--2021-12-16 20:05:18--  https://artifacts.toradex.com/artifactory/tdxref-torizoncore-sources-frankfurt/5/uninative/126f4f7f6f21084ee140dac3eb4c536b963837826b7c38599db0b512c3377ba2/x86_64-nativesdk-libc.tar.xz
Resolving artifacts.toradex.com (artifacts.toradex.com)... 3.125.132.142
Connecting to artifacts.toradex.com (artifacts.toradex.com)|3.125.132.142|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-12-16 20:05:19 ERROR 404: Not Found.

--2021-12-16 20:05:19--  http://downloads.yoctoproject.org/releases/uninative/3.4/x86_64-nativesdk-libc.tar.xz
Resolving downloads.yoctoproject.org (downloads.yoctoproject.org)... 198.145.29.63
Connecting to downloads.yoctoproject.org (downloads.yoctoproject.org)|198.145.29.63|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5874172 (5.6M) [application/octet-stream]
Saving to: ‘/home/unknown/oe-core/build/../downloads/uninative/126f4f7f6f21084ee140dac3eb4c536b963837826b7c38599db0b512c3377ba2/x86_64-nativesdk-libc.tar.xz’


2021-12-16 20:05:23 (1.76 MB/s) - ‘/home/unknown/oe-core/build/../downloads/uninative/126f4f7f6f21084ee140dac3eb4c536b963837826b7c38599db0b512c3377ba2/x86_64-nativesdk-libc.tar.xz’ saved [5874172/5874172]

and in build/tmp/log/cooker/colibri-imx6ull/console-latest.log

NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.46.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-16.04"
TARGET_SYS           = "arm-tdx-linux-gnueabi"
MACHINE              = "colibri-imx6ull"
DISTRO               = "tdx-xwayland"
DISTRO_VERSION       = "5.5.0-devel-20211216162747+build.0"
TUNE_FEATURES        = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU           = "hard"
meta-toradex-nxp     = "HEAD:fa2215c138be815e678c9fe320229401c9e3e0c2"
meta-freescale       = "HEAD:6d2922bee372157454e422df518b6cf0bfcf6700"
meta-freescale-3rdparty = "HEAD:c52f64973cd4043a5e8be1c7e29bb9690eb4c3e5"
meta-toradex-tegra   = "HEAD:a33369073cddf81a633d2a2d9694bf1182cc4072"
meta-toradex-bsp-common = "HEAD:fddb6e505929b44dc7c98e9bb061648562e30de0"
meta-oe              
meta-filesystems     
meta-gnome           
meta-xfce            
meta-initramfs       
meta-networking      
meta-multimedia      
meta-python          = "HEAD:7889158dcd187546fc5e99fd81d0779cad3e8d17"
meta-freescale-distro = "HEAD:5d882cdf079b3bde0bd9869ce3ca3db411acbf3b"
meta-toradex-demos   = "HEAD:eeaa1fa0f22496a84d42c2b54e4ae23b567b07f2"
meta-qt5             = "HEAD:b4d24d70aca75791902df5cd59a4f4a54aa4a125"
meta-toradex-distro  = "HEAD:3f6705ce88f7a8dd1f026334743d6b6bf8747965"
meta-poky            = "HEAD:8a9d89df2c50128130a40119a4827ace761c236c"
meta                 = "HEAD:44b1970c40e9d73f6e63fb10cdc55837a26f5921"

NOTE: Fetching uninative binary shim http://downloads.yoctoproject.org/releases/uninative/3.4/x86_64-nativesdk-libc.tar.xz;sha256sum=126f4f7f6f21084ee140dac3eb4c536b963837826b7c38599db0b512c3377ba2 (will check PREMIRRORS first)
NOTE: No reply from server in 30s

I was actually looking for out of memory errors in dmesg output (because that was what happened to me). I ended up adding a line in local.conf of:
BB_NUMBER_THREADS = “10”
to leave some cpu cores open for other activities on the server. There are fancier ways of doing it, but I just quickly took the output of “echo $(nproc)”, subtracted a few, and used it. You could try that, but I’m not sure that’s your problem.

Can you do a build without your changes for libmodbus and mariadb? Eliminate that from the equation?

And that “no reply from server” doesn’t look very good. Do you ever have any type of networking issues there?

@DaveM Thank you for your response,
I have modified BB_NUMBER_THREADS from 2 to 8 in local.conf and tried to build an image still the issue is the same.

I will check the output of "echo $(nproc)"

I have removed libmodbus and mariadb from local.conf and checked it, still the issue persists.

no reply from server” even I am confused a bit because of this, as I don’t have any networking issues here and the internet is also pretty fast.

meanwhile, I will try to repeat all the steps on another Laptop and also get you an output of nproc.

echo $(nproc) just gives you a number. Subtract 2 from that number and use it for BB_NUMBER_THREADS. But if you’ve tried a “2” already in there, then I doubt that’s the problem.

It is interesting how https://artifacts.toradex.com/artifactory/tdxref-torizoncore-sources-frankfurt/5/x86_64-nativesdk-libc.tar.xz is being queried. That file really does not exist on that server, so I’m curious why it would be asked for? Perhaps the toradex folks can explain that one? It seems to find it later in another spot, so probably no big deal.

Your home directory of “/home/unknown/” seems a bit strange also?

Have you tried removing the contents of:
/home/unknown/oe-core/build/buildhistory
/home/unknown/oe-core/build/cache
/home/unknown/oe-core/build/deploy
/home/unknown/oe-core/build/tmp
and doing a new build? That will really give you a clean environment.

@DaveM Actually I have kept unknown as the directory name.

I have tried cleaning everything, even I tried cleaning oe-core and repeating the whole procedure once again from scratch, still I’m facing the same issue.

Also, I have manually tried this link on browser http://downloads.yoctoproject.org/releases/uninative/3.4/x86_64-nativesdk-libc.tar.xz
tar file is being downloaded in that file there is one folder(x86_64-linux) and one python file (relocate_sdk.py)

Gosh… Maybe try building the minimal image? You could also try building inside a docker container using crops Cross Platform Enablement (CROPS) for the Yocto Project with Containers – Yocto Project to see if your environment has something strange about it?

Hi @mvsri

Have you tried by adding PARALLEL_MAKE = “-j 10” and BB_NUMBER_THREADS = “12” in the local.conf and rebuild?if not,could you check and let me know.

BB_NUMBER_THREADS

PARALLEL_MAKE

@ashok.tx I have tried this but still the same thing.

@DaveM This approach seems interesting I will try it. once I try the old process in other system