Facing issue in yocto zeus u-boot compilation

cancel
Showing results for 
Search instead for 
Did you mean: 

Facing issue in yocto zeus u-boot compilation

236 Views
Contributor III

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

3 Replies

28 Views
NXP TechSupport
NXP TechSupport

Dear Nikhil sahu, 

When you compile for the first time  the u-boot before you use the clean state did it works properly or has failures or crashes?
If you want to compile the u-boot without using yocto you can follow the linux user guide in the part 4.5.11. (How to build U-Boot and Kernel in standalone environment)
You can download that from the next link:https://www.nxp.com/webapp/Download?colCode=L5.4.3_1.0.0_LINUX_DOCS
Also please check the  document repository in the next link:https://source.codeaurora.org/external/imx
Hope this might help you.

Do you still have the problem? Or is working properly now?

Regards,
Israel H.

28 Views
Contributor III

Just adding in original thread, I am using the yocto zeus BSP (imx-5.4.3-1.0.0.xml) below is the url and xml info.

repo init -u https://source.codeaurora.org/external/imx/imx-manifest  -b imx-linux-zeus -m imx-5.4.3-1.0.0.xml

And I am able to compile the "core-image-base" successfully. after that i tried to clean(bitbake -c cleansstate linux-imx) and compile (bitbake  linux-imx) the kernel, i am succeed.

Similarly when i am going to clean the u-boot (bitbake -c cleansstate u-boot-imx), i was facing the above error.

Thanks in advance.

0 Kudos

28 Views
NXP TechSupport
NXP TechSupport

Dear Nikhil sahu,

Did you already solve your problem? Or still need help on this? Please let us know.

Regards,

Israel H.

0 Kudos