UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Adventurer
Adventurer
351 Views
Registered: ‎04-11-2019

how to build u-boot from existing files?

Jump to solution

I have Device-tree.mss and HDF files . How can I build u-boot? 

0 Kudos
1 Solution

Accepted Solutions
Explorer
Explorer
197 Views
Registered: ‎10-03-2018

Re: how to build u-boot from existing files?

Jump to solution

Hello @olkhramus,

You need to use a virtual drive formatted with a Linux/Unix file system.  Shared folders on Windows file systems do not support symbolic links in the same manner that Linux does. 

Yes, some of the Windows file systems support symbolic links, but they are a nuissance to use, and I do not believe that "hgfs" will properly map them. 

Good Luck!

 

Kind Regards,
Peimann, S. M.
----
Toddlers are the Storm-Troopers of the Great God Entropy.
Physics: Not Just a Good Idea, It's THE LAW.

View solution in original post

0 Kudos
7 Replies
Moderator
Moderator
327 Views
Registered: ‎06-27-2017

Re: how to build u-boot from existing files?

Jump to solution

Hi @olkhramus ,

 

You might need to export hdf to your petalinux project and build project. You will get images/linux/u-boot.elf binary at the end.

Please refer https://www.xilinx.com/support/documentation/sw_manuals/xilinx2019_1/ug1144-petalinux-tools-reference-guide.pdf

on how to build petalinux project[u-boot] for reference

Best Regards
Kranthi
--------------------------
Don't forget to reply, kudo, and accept as solution.
0 Kudos
Adventurer
Adventurer
316 Views
Registered: ‎04-11-2019

Re: how to build u-boot from existing files?

Jump to solution

after the command :  petalinux-build -c bootloader I got the next messages . Can you advise?

Parsing of 2331 .bb files complete (2295 cached, 36 parsed). 2946 targets, 195 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
tar: ./x86_64-linux/lib/libanl.so.1: Cannot create symlink to 'libanl-2.23.so': Operation not permitted
tar: ./x86_64-linux/lib/libutil.so.1: Cannot create symlink to 'libutil-2.23.so': Operation not permitted
tar: ./x86_64-linux/lib/libnss_compat.so.2: Cannot create symlink to 'libnss_compat-2.23.so': Operation not permitted
tar: ./x86_64-linux/lib/libcrypt.so.1: Cannot create symlink to 'libcrypt-2.23.so': Operation not permitted
tar: ./x86_64-linux/lib/libBrokenLocale.so.1: Cannot create symlink to 'libBrokenLocale-2.23.so': Operation not permitted
tar: ./x86_64-linux/lib/librt.so.1: Cannot create symlink to 'librt-2.23.so': Operation not permitted
tar: ./x86_64-linux/lib/libnss_files.so.2: Cannot create symlink to 'libnss_files-2.23.so': Operation not permitted
tar: ./x86_64-linux/lib/libc.so.6: Cannot create symlink to 'libc-2.23.so': Operation not permitted
tar: ./x86_64-linux/lib/libnss_dns.so.2: Cannot create symlink to 'libnss_dns-2.23.so': Operation not permitted
tar: ./x86_64-linux/lib/ld-linux-x86-64.so.2: Cannot create symlink to 'ld-2.23.so': Operation not permitted
tar: ./x86_64-linux/lib/libm.so.6: Cannot create symlink to 'libm-2.23.so': Operation not permitted
tar: ./x86_64-linux/lib/libmvec.so.1: Cannot create symlink to 'libmvec-2.23.so': Operation not permitted
tar: ./x86_64-linux/lib/libresolv.so.2: Cannot create symlink to 'libresolv-2.23.so': Operation not permitted
tar: ./x86_64-linux/lib/libdl.so.2: Cannot create symlink to 'libdl-2.23.so': Operation not permitted
tar: ./x86_64-linux/lib/libpthread.so.0: Cannot create symlink to 'libpthread-2.23.so': Operation not permitted
tar: ./x86_64-linux/lib/libnsl.so.1: Cannot create symlink to 'libnsl-2.23.so': Operation not permitted
tar: ./x86_64-linux/usr/lib/libstdc++.so.6: Cannot create symlink to 'libstdc++.so.6.0.21': Operation not permitted
tar: ./x86_64-linux/etc/ld.so.cache: Cannot create symlink to '/etc/ld.so.cache': Operation not permitted
tar: Exiting with failure status due to previous errors
Traceback (most recent call last):
File "/media/sf_SharedUB/test_prj_1510/ZZ/build/tmp/sysroots-uninative/relocate_sdk.py", line 228, in <module>
perms = os.stat(e)[stat.ST_MODE]
OSError: [Errno 2] No such file or directory: '/media/sf_SharedUB/test_prj_1510/ZZ/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2'

0 Kudos
Explorer
Explorer
295 Views
Registered: ‎10-03-2018

Re: how to build u-boot from existing files?

Jump to solution

Hello @olkhramus,

Are you running on a Linux file-system or a Windoze file-system? 

Kind Regards,
Peimann, S. M.
----
Toddlers are the Storm-Troopers of the Great God Entropy.
Physics: Not Just a Good Idea, It's THE LAW.
0 Kudos
Moderator
Moderator
278 Views
Registered: ‎04-24-2017

Re: how to build u-boot from existing files?

Jump to solution

Hi @olkhramus ,

Never install petalinux tools or build petalinux/yocto project on windows shared drive on VM's it may cause havoc in builds.

Thanks,
Sandeep
PetaLinux Yocto | Embedded SW Support

---------------------------------------------------------------------------
Don’t forget to Reply, Kudo, and Accept as Solution.
---------------------------------------------------------------------------
0 Kudos
Adventurer
Adventurer
240 Views
Registered: ‎04-11-2019

Re: how to build u-boot from existing files?

Jump to solution

Indeed I'm using Oracle VM Virual Box 6.0 and Ubuntu 16.04  at  Windows 10 PC. Should I expect the problems with Petalinux 2016.4?

0 Kudos
Adventurer
Adventurer
238 Views
Registered: ‎04-11-2019

Re: how to build u-boot from existing files?

Jump to solution

... and yes , I arranged the Petalinux project in the Shared folder....

0 Kudos
Explorer
Explorer
198 Views
Registered: ‎10-03-2018

Re: how to build u-boot from existing files?

Jump to solution

Hello @olkhramus,

You need to use a virtual drive formatted with a Linux/Unix file system.  Shared folders on Windows file systems do not support symbolic links in the same manner that Linux does. 

Yes, some of the Windows file systems support symbolic links, but they are a nuissance to use, and I do not believe that "hgfs" will properly map them. 

Good Luck!

 

Kind Regards,
Peimann, S. M.
----
Toddlers are the Storm-Troopers of the Great God Entropy.
Physics: Not Just a Good Idea, It's THE LAW.

View solution in original post

0 Kudos