Nikhil sahu

Facing issue in yocto zeus u-boot compilation

Discussion created by Nikhil sahu on Apr 24, 2020
Latest reply on Jun 4, 2020 by Israel Hernandez

Hi Experts,

 

I downloaded and successfully compiled the "core-image-base" for yocto zeus, I am able to compile the standalone kernel with some modification. Similarly when i am able to compile the u-boot even without any modification, I am facing below errors. Kindly help what i am missing or is there any to way to compile standalone u-boot only.

 

ubuntu@ubuntu:~/zeus/build_sabresd$ bitbake -c cleansstate u-boot-imx
NOTE: Your conf/bblayers.conf has been automatically updated.
Loading cache: 100% |#########################################################################################################################################################################| Time: 0:00:00
Loaded 4067 entries from dependency cache.
ERROR: /home/ubuntu/_zeus/sources/meta-imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2019.04.bb: Error executing a python function in <code>: | ETA: --:--:--

The stack trace of python calls that resulted in this exception/failure was:
File: '<code>', lineno: 3, function: <module>
0001:__anon_20__home_ubuntu_zeus_sources_poky_meta_conf_machine_include_arm_feature_arm_thumb_inc(d)
0002:__anon_25__home_ubuntu_zeus_sources_poky_meta_classes_patch_bbclass(d)
*** 0003:__anon_705__home_ubuntu_zeus_sources_poky_meta_classes_base_bbclass(d)
0004:__anon_64__home_ubuntu_zeus_sources_meta_freescale_classes_fsl_dynamic_packagearch_bbclass(d)
0005:__anon_1023__home_ubuntu_zeus_sources_poky_meta_classes_insane_bbclass(d)
0006:__anon_1263__home_ubuntu_zeus_sources_poky_meta_classes_insane_bbclass(d)
0007:__anon_252__home_ubuntu_zeus_sources_poky_meta_classes_package_bbclass(d)
File: '/home/ubuntu/zeus/sources/poky/meta/classes/base.bbclass', lineno: 589, function: __anon_705__home_ubuntu_zeus_sources_poky_meta_classes_base_bbclass
0585:
0586: needsrcrev = False
0587: srcuri = d.getVar('SRC_URI')
0588: for uri in srcuri.split():
*** 0589: (scheme, _ , path) = bb.fetch.decodeurl(uri)[:3]
0590:
0591: # HTTP/FTP use the wget fetcher
0592: if scheme in ("http", "https", "ftp"):
0593: d.appendVarFlag('do_fetch', 'depends', ' wget-native:do_populate_sysroot')
File: '/home/ubuntu/zeus/sources/poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 355, function: decodeurl
0351: """
0352:
0353: m = re.compile('(?P<type>[^:]*)://((?P<user>[^/;]+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
0354: if not m:
*** 0355: raise MalformedUrl(url)
0356:
0357: type = m.group('type')
0358: location = m.group('location')
0359: if not location:
Exception: bb.fetch2.MalformedUrl: The URL: '\' is invalid and cannot be interpreted

ERROR: Failed to parse recipe: /home/ubuntu/zeus/sources/meta-imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2019.04.bb

Outcomes