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?