stefanotpp
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Posts posted by stefanotpp
-
-
Hello,
I am trying to recompile the Zybo Z7-20 Petalinux BSP Project for Petalinux 2017.4 following the instructions at the following link
I'm using Ubuntu 16.04.3 LTS on a VMware virtual machine.
I'm experiencing the following problem after launching the build command :
stefano@ubuntu:~/Petalinux-Zybo-Z7-20/Zybo-Z7-20$ petalinux-build
[INFO] building project
[INFO] generating Kconfig for project
[INFO] oldconfig project
[INFO] sourcing bitbake
[INFO] generating plnxtool conf
[INFO] generating meta-plnx-generated layer
~/Petalinux-Zybo-Z7-20/Zybo-Z7-20/build/misc/plnx-generated ~/Petalinux-Zybo-Z7-20/Zybo-Z7-20
~/Petalinux-Zybo-Z7-20/Zybo-Z7-20
[INFO] generating machine configuration
[INFO] generating bbappends for project . This may take time !
~/Petalinux-Zybo-Z7-20/Zybo-Z7-20/build/misc/plnx-generated ~/Petalinux-Zybo-Z7-20/Zybo-Z7-20
~/Petalinux-Zybo-Z7-20/Zybo-Z7-20
[INFO] generating u-boot configuration files
[INFO] generating kernel configuration files
[INFO] generating kconfig for Rootfs
Generate rootfs kconfig
[INFO] oldconfig rootfs
[INFO] generating petalinux-user-image.bb
INFO: bitbake petalinux-user-image
Loading cache: 100% |########################################################################################################################################################################| Time: 0:00:01
Loaded 3257 entries from dependency cache.
Parsing recipes: 100% |######################################################################################################################################################################| Time: 0:00:05
Parsing of 2473 .bb files complete (2428 cached, 45 parsed). 3266 targets, 226 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:07
Checking sstate mirror object availability: 100% |###########################################################################################################################################| Time: 0:01:25
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: u-boot-xlnx-v2017.01-xilinx-v2017.4+gitAUTOINC+42deb242f9-r0 do_fetch: Failed to fetch URL git://github.com/digilent/u-boot-digilent.git;protocol=https;branch=master, attempting MIRRORS if available
ERROR: u-boot-xlnx-v2017.01-xilinx-v2017.4+gitAUTOINC+42deb242f9-r0 do_fetch: Fetcher failure: Unable to find revision 42deb242f961ce317366566666cbbddfb198bc9f in branch master even from upstream
ERROR: u-boot-xlnx-v2017.01-xilinx-v2017.4+gitAUTOINC+42deb242f9-r0 do_fetch: Fetcher failure for URL: 'git://github.com/digilent/u-boot-digilent.git;protocol=https;branch=master'. Unable to fetch URL from any source.
ERROR: u-boot-xlnx-v2017.01-xilinx-v2017.4+gitAUTOINC+42deb242f9-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/stefano/Petalinux-Zybo-Z7-20/Zybo-Z7-20/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/u-boot-xlnx/v2017.01-xilinx-v2017.4+gitAUTOINC+42deb242f9-r0/temp/log.do_fetch.25378
ERROR: Task (/opt/pkg/petalinux/components/yocto/source/arm/layers/meta-xilinx/recipes-bsp/u-boot/u-boot-xlnx_2017.01.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3344 tasks of which 2611 didn't need to be rerun and 1 failed.Summary: 1 task failed:
/opt/pkg/petalinux/components/yocto/source/arm/layers/meta-xilinx/recipes-bsp/u-boot/u-boot-xlnx_2017.01.bb:do_fetch
Summary: There was 1 WARNING message shown.
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
ERROR: Failed to build project
stefano@ubuntu:~/Petalinux-Zybo-Z7-20/Zybo-Z7-20$
It seems to me that it cannot find the correct revision of u-boot-digilent
Can someone help me ?Thank you in advance.
u-boot-digilent fetching error building Petalinux-Zybo-Z7-20 BSP Project
in Embedded Linux
Posted
Hello,
In order to to recompile the Zybo Z7-20 Petalinux BSP Project for Petalinux 2017.4 I manually downloaded the uboot-digilent repository
git clone https://github.com/Digilent/u-boot-digilent.git
that downloads the complete history of the repository, so I can switch to any version.
Next, I changed into the newly cloned repository:
cd u-boot-digilent and used git checkout <COMMIT> to change to the right commit:
git checkout 42deb242f961ce317366566666cbbddfb198bc9f
copy the repository to ${TOPDIR}/../components/ext_sources/u-boot-digilent
${TOPDIR} is a yocto variable pointing to <plnx-proj-root>/build directory
Then I configured Petalinux for building u-boot using local sources:
Run petalinux-config, and go into linux Components Selection ---> sub-menu,
For U-Boot, select u-boot () ---> and then select ext-local-src
( ) u-boot-plnx
( ) remote
(X) ext-local-src
For uboot, select External u-boot local source settings --->. Enter the path:
${TOPDIR}/../components/ext_sources/u-boot-digilent
Build the project:
petalinux-buid
Basically i did manually what petalinux (yocto) should do automatically
but i still don't understand why i can't fetch u-boot-digilent remotely.
anyone have any ideas?