Hi There,
I tried several time on latest ubuntu 22.04 but failed. There are several issue i have seen while building the image.
I downgraded the ubuntu OS to 20.04 and i was able to build but it tooks 4 to 5 hours to build and stoped twiced to build. Below are the imx linux branch i tried to build.
I have 8GB RAM.
What is the RAM size requirement to build faster?
IMX Linux Mickledore - Passed
https://github.com/nxp-imx/imx-manifest/tree/imx-linux-mickledore
ganesh@ganesh-Precision-3520:~/imx-mickledor-yocto-bsp/build-imx6ullevk-fb$ bitbake core-image-base
Loading cache: 100% |#######################################################################################################################################| Time: 0:00:07
Loaded 5306 entries from dependency cache.
Parsing recipes: 100% |#############################################################################################################################################################################| Time: 0:00:01
Parsing of 3444 .bb files complete (3443 cached, 1 parsed). 5307 targets, 753 skipped, 17 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "2.4.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6ull14x14evk"
DISTRO = "fsl-imx-fb"
DISTRO_VERSION = "6.1-mickledore"
TUNE_FEATURES = "arm vfp cortexa7 neon thumb callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky = "HEAD:ddb298ce894482467d82699d223c5555baad6591"
meta-oe
meta-multimedia
meta-python = "HEAD:54b177f4acb3048d21a68f180fc183d0fdf47a94"
meta-freescale = "HEAD:39d8f0d5ee44aae9932923e9fe95b7f2838563af"
meta-freescale-3rdparty = "HEAD:48cc5dd42007d09295677bc8bc0377fe96b5b270"
meta-freescale-distro = "HEAD:a4efa17a9f6b25d8d9290dfee8275059d40b83df"
meta-bsp
meta-sdk
meta-ml
meta-v2x = "HEAD:64a864ab77de06a557afcb01e6dd4d21606e6948"
meta-nxp-demo-experience = "HEAD:ec9d5592dc6369622dc027ad456cadb844451226"
meta-arm
meta-arm-toolchain = "HEAD:0b5724266a8e559cac1724350c1ff2f9e6580326"
meta-chromium = "HEAD:e232c2e21b96dc092d9af8bea4b3a528e7a46dd6"
meta-clang = "HEAD:1e0af2f5bb797d7bb639c2ac03c1248cc8d00bc9"
meta-gnome
meta-networking
meta-filesystems = "HEAD:54b177f4acb3048d21a68f180fc183d0fdf47a94"
meta-qt6 = "HEAD:1406d0a85525a71fe5d7892d7f915404290a78ad"
meta-parsec
meta-tpm = "HEAD:d7db0a3bd1a8639df7570483f003ce00cbe274a2"
meta-virtualization = "HEAD:2bb4071ad372d4b5a092c872c0d42b261f757681"
Initialising tasks: 100% |##########################################################################################################################################################################| Time: 0:00:07
Sstate summary: Wanted 0 Local 0 Mirrors 0 Missed 0 Current 1539 (0% match, 100% complete)
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 3887 tasks of which 3887 didn't need to be rerun and all succeeded.
IMX Linux Warrior - Failed
https://github.com/nxp-imx/imx-manifest/tree/imx-linux-warrior
I know that this required python2. Ubuntu OS 20.04 has python3 installed. Do i need to install python2?
ganesh@ganesh-Precision-3520:~/imx-warrior-yocto-bsp/build-imx6ullevk-fb$ python --version
Python 3.8.10
ganesh@ganesh-Precision-3520:~/imx-warrior-yocto-bsp/build-imx6ullevk-fb$ python3 --version
Python 3.8.10
ganesh@ganesh-Precision-3520:~/imx-warrior-yocto-bsp/build-imx6ullevk-fb$
ganesh@ganesh-Precision-3520:~/imx-warrior-yocto-bsp/build-imx6ullevk-fb$ bitbake core-image-base
ERROR: Unable to start bitbake server (None)
ERROR: Last 60 lines of server log for this session (/home/ganesh/imx-warrior-yocto-bsp/build-imx6ullevk-fb/bitbake-cookerdaemon.log):
File "/home/ganesh/imx-warrior-yocto-bsp/sources/poky/bitbake/lib/bb/event.py", line 124, in fire_class_handlers
execute_handler(name, handler, event, d)
File "/home/ganesh/imx-warrior-yocto-bsp/sources/poky/bitbake/lib/bb/event.py", line 96, in execute_handler
ret = handler(event)
File "/home/ganesh/imx-warrior-yocto-bsp/sources/poky/meta/classes/base.bbclass", line 238, in base_eventhandler
setup_hosttools_dir(d.getVar('HOSTTOOLS_DIR'), 'HOSTTOOLS', d)
File "/home/ganesh/imx-warrior-yocto-bsp/sources/poky/meta/classes/base.bbclass", line 139, in setup_hosttools_dir
os.symlink(srctool, desttool)
FileExistsError: [Errno 17] File exists: 'python2' -> '/home/ganesh/imx-warrior-yocto-bsp/build-imx6ullevk-fb/tmp/hosttools/python'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ganesh/imx-warrior-yocto-bsp/sources/poky/bitbake/lib/bb/daemonize.py", line 87, in createDaemon
function()
File "/home/ganesh/imx-warrior-yocto-bsp/sources/poky/bitbake/lib/bb/server/process.py", line 459, in _startServer
self.cooker = bb.cooker.BBCooker(self.configuration, self.featureset)
File "/home/ganesh/imx-warrior-yocto-bsp/sources/poky/bitbake/lib/bb/cooker.py", line 199, in __init__
self.initConfigurationData()
File "/home/ganesh/imx-warrior-yocto-bsp/sources/poky/bitbake/lib/bb/cooker.py", line 364, in initConfigurationData
self.databuilder.parseBaseConfiguration()
File "/home/ganesh/imx-warrior-yocto-bsp/sources/poky/bitbake/lib/bb/cookerdata.py", line 313, in parseBaseConfiguration
raise bb.BBHandledException
bb.BBHandledException
ERROR: Execution of event handler 'base_eventhandler' failed
Traceback (most recent call last):
File "/home/ganesh/imx-warrior-yocto-bsp/sources/poky/meta/classes/base.bbclass", line 238, in base_eventhandler(e=<bb.event.ConfigParsed object at 0x7f5c02089700>):
# Works with the line in layer.conf which changes PATH to point here
> setup_hosttools_dir(d.getVar('HOSTTOOLS_DIR'), 'HOSTTOOLS', d)
setup_hosttools_dir(d.getVar('HOSTTOOLS_DIR'), 'HOSTTOOLS_NONFATAL', d, fatal=False)
File "/home/ganesh/imx-warrior-yocto-bsp/sources/poky/meta/classes/base.bbclass", line 139, in setup_hosttools_dir(dest='/home/ganesh/imx-warrior-yocto-bsp/build-imx6ullevk-fb/tmp/hosttools', toolsvar='HOSTTOOLS', d=<bb.data_smart.DataSmart object at 0x7f5c024f6790>, fatal=True):
srctool = "python2"
> os.symlink(srctool, desttool)
FileExistsError: [Errno 17] File exists: 'python2' -> '/home/ganesh/imx-warrior-yocto-bsp/build-imx6ullevk-fb/tmp/hosttools/python'
ERROR: Error parsing configuration files
Traceback (most recent call last):
File "/home/ganesh/imx-warrior-yocto-bsp/sources/poky/bitbake/lib/bb/event.py", line 215, in fire(event=<bb.event.ConfigParsed object at 0x7f5c02089700>, d=<bb.data_smart.DataSmart object at 0x7f5c024f6790>):
> fire_class_handlers(event, d)
if worker_fire:
File "/home/ganesh/imx-warrior-yocto-bsp/sources/poky/bitbake/lib/bb/event.py", line 124, in fire_class_handlers(event=<bb.event.ConfigParsed object at 0x7f5c02089700>, d=<bb.data_smart.DataSmart object at 0x7f5c024f6790>):
continue
> execute_handler(name, handler, event, d)
File "/home/ganesh/imx-warrior-yocto-bsp/sources/poky/bitbake/lib/bb/event.py", line 96, in execute_handler(name='base_eventhandler', handler=<function base_eventhandler at 0x7f5c0208b160>, event=<bb.event.ConfigParsed object at 0x7f5c02089700>, d=<bb.data_smart.DataSmart object at 0x7f5c024f6790>):
try:
> ret = handler(event)
except (bb.parse.SkipRecipe, bb.BBHandledException):
File "/home/ganesh/imx-warrior-yocto-bsp/sources/poky/meta/classes/base.bbclass", line 238, in base_eventhandler(e=<bb.event.ConfigParsed object at 0x7f5c02089700>):
# Works with the line in layer.conf which changes PATH to point here
> setup_hosttools_dir(d.getVar('HOSTTOOLS_DIR'), 'HOSTTOOLS', d)
setup_hosttools_dir(d.getVar('HOSTTOOLS_DIR'), 'HOSTTOOLS_NONFATAL', d, fatal=False)
File "/home/ganesh/imx-warrior-yocto-bsp/sources/poky/meta/classes/base.bbclass", line 139, in setup_hosttools_dir(dest='/home/ganesh/imx-warrior-yocto-bsp/build-imx6ullevk-fb/tmp/hosttools', toolsvar='HOSTTOOLS', d=<bb.data_smart.DataSmart object at 0x7f5c024f6790>, fatal=True):
srctool = "python2"
> os.symlink(srctool, desttool)
FileExistsError: [Errno 17] File exists: 'python2' -> '/home/ganesh/imx-warrior-yocto-bsp/build-imx6ullevk-fb/tmp/hosttools/python'
So my question is which branch works for imx6ull evk? Is it mickledore or warrior?
Thanks
Ganesh