antony Posted August 22, 2017 Posted August 22, 2017 I am compiling H5 boards, Nano Pi Neo 2 (wip) and Nano Pi Neo Plus 2 (disabled board) and getting errors building u-boot. [ o.k. ] Compiling u-boot [ 1.0.0 ] [ o.k. ] Compiler version [ aarch64-linux-gnu-gcc 7.1.1 ] [ .... ] Checking out sources [ o.k. ] Started patching process for [ u-boot sun50iw2-nanopineo2-dev ] [ o.k. ] Looking for user patches in [ userpatches/u-boot/u-boot-sun50i-dev ] [ warn ] ... [l][c] add-FIT-config-name-match-function.patch [ failed ] [ warn ] ... [l][c] add-FIT-support-A64-spl.patch [ failed ] [ warn ] ... [l][c] add-FIT-support-H5-spl.patch [ failed ] [ warn ] ... [l][c] add-disp2-video-driver-jernej.patch [ failed ] [ o.k. ] ... [l][c] add-nanopineo2.patch [ succeeded ] [ warn ] ... [l][c] add-opiprime-to-u-boot-sun50i-h5.patch [ failed ] [ warn ] ... [l][c] add-opiwinplus-to-u-boot-sun50i-a64.patch [ failed ] [ warn ] ... [l][c] add-opizeroplus-to-u-boot-sun50i-h5.patch [ failed ] [ warn ] ... [l][c] add-spl-switch-H5.patch [ failed ] [ warn ] ... [l][c] add-sy8106a.patch [ failed ] [ warn ] ... [l][c] badd-nanopim1plus2.patch [ failed ] [ warn ] ... [l][c] disable-usb-keyboards.patch [ failed ] [ warn ] ... [l][c] enable-DT-overlays-support.patch [ failed ] [ warn ] ... [l][c] fix-fdt-print-endianness.patch [ failed ] [ warn ] ... [l][c] pll1-clock-fix-h5.patch [ failed ] [ warn ] ... [l][c] refactor-FIT-loading.patch [ failed ] [ warn ] ... [l][c] sunxi-boot-splash.patch [ failed ] '/home/a/armbian-ref/.tmp/atf-sun50iw2-nanopineo2-dev/bl31.bin' -> './bl31.bin' make -C u-boot clean make[1]: *** No rule to make target 'clean'. Stop. make[1]: Entering directory '/home/a/armbian-ref/cache/sources/u-boot-sun50i/master/u-boot' make[1]: Leaving directory '/home/a/armbian-ref/cache/sources/u-boot-sun50i/master/u-boot' make: *** [u_boot_h5] Error 2 Makefile:19: recipe for target 'u_boot_h5' failed [ error ] ERROR in function compile_uboot [ compilation.sh:177 ] [ error ] U-boot file not found [ u-boot-sunxi-with-spl.bin ] [ o.k. ] Process terminated Looking further I noticed cache/sources/u-boot-sun50i/master/.gitmodules is points to a missing git repo [submodule "u-boot"] path = u-boot url = https://github.com/apritzel/u-boot.git branch = h5 I don't see h5 brnach in that repo. config/sources/sunxi64_common.inc has this line BOOTSOURCE='https://github.com/zador-blood-stained/u-boot-sun50i.git' https://github.com/armbian/u-boot-sun50i/blob/master/.gitmodules points to missing repository. points missing repo. Can someone share a copy of https://github.com/apritzel/u-boot.git h5 via github? or know a replacement repository for this? I thought getting a copy would be a quick fix for me, since these boards are not supported. A proper fix could take a while. I tried u-boot-sunxi and patches does not seems apply. thanks, -antony
antony Posted August 23, 2017 Author Posted August 23, 2017 seems like known issue, @smaeul pointed me to
zador.blood.stained Posted August 23, 2017 Posted August 23, 2017 The u-boot branch that we were using was deleted just 2 days ago. Since the migration was planned within a month, it will take some time to migrate. possibly more than a week.
reverend_t Posted August 23, 2017 Posted August 23, 2017 7 minutes ago, zador.blood.stained said: The u-boot branch that we were using was deleted just 2 days ago. Since the migration was planned within a month, it will take some time to migrate. possibly more than a week. Ah great, this explains why I've not been able to build a Pine64 image.
antony Posted August 23, 2017 Author Posted August 23, 2017 I salvaged an old copy from my backup now I can build Nano PI Neo 2 and Nano Pi Neo Plus2 again. Here my copy while waiting for a real fix from Amrbian developers. https://github.com/antonyantony/armbian-h5-copy The commit you need https://github.com/antonyantony/armbian-h5-copy/commit/aea856c0f589b3595b3e5e8663125ec6518dabd0
Recommended Posts