=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for u-boot-2022.01.tar.bz2 => Checksum SHA512 OK for u-boot-2022.01.tar.bz2 ===> Installing dependencies for u-boot-rock64-2022.01 ========================================================================== The supported build options for u-boot-rock64 are: el1 You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.u-boot-rock64 (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, u-boot-rock64-2022.01. Their current value is shown below: * PYTHON_VERSION_DEFAULT = 310 Based on these variables, the following variables have been set: * PYPACKAGE = python310 You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency dtc>=1.4.2: found dtc-1.4.7 => Tool dependency swig3>=3.0.12: found swig3-3.0.12nb5 => Tool dependency py310-setuptools-[0-9]*: found py310-setuptools-67.3.3 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency bison>=1.0: found bison-3.8.2nb1 => Tool dependency bsdtar-[0-9]*: found bsdtar-3.4.3 => Tool dependency gawk>=3.1.1: found gawk-5.2.1 => Tool dependency gmake>=3.81: found gmake-4.4 => Tool dependency gsed>=3.0.2: found gsed-4.9 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.9.4 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency cross-aarch64-none-elf-gcc-[0-9]*: found cross-aarch64-none-elf-gcc-8.2.0nb5 => Build dependency trusted-firmware-a-rk3328>=2.6: found trusted-firmware-a-rk3328-2.6 => Build dependency python310>=3.10: found python310-3.10.10 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for u-boot-rock64-2022.01 ===> Extracting for u-boot-rock64-2022.01 ===> Patching for u-boot-rock64-2022.01 => Applying pkgsrc patches for u-boot-rock64-2022.01 => Verifying /usr/pkgsrc/sysutils/u-boot-rock64/../../sysutils/u-boot/patches-2022.01/patch-arch_arm_lib_interrupts__64.c => Applying pkgsrc patch /usr/pkgsrc/sysutils/u-boot-rock64/../../sysutils/u-boot/patches-2022.01/patch-arch_arm_lib_interrupts__64.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-arch_arm_lib_interrupts__64.c,v 1.1 2022/02/11 21:46:14 mrg Exp $ | |u-boot-rockpro64: fix broken PCI config space handling: | |- Program bus number into the ECAM decoder for each access |- Use type 1 PCI config cycles for config spaces behind bridge |- Add a platform specific hack to the synchronous exception handler | to deal with PCI-e subsystem triggering data aborts when probing | nonexistent PCI devices. |- properly delay after deasserting reset for downstream devices to | have time to initialize. | |Allows booting from PCI devices behind bridges and probing |devices other than 0:0:0 and 1:0:0. | |--- arch/arm/lib/interrupts_64.c.orig 2021-07-05 15:11:28.000000000 +0000 |+++ arch/arm/lib/interrupts_64.c -------------------------- Patching file arch/arm/lib/interrupts_64.c using Plan A... Hunk #1 succeeded at 111. done => Verifying /usr/pkgsrc/sysutils/u-boot-rock64/../../sysutils/u-boot/patches-2022.01/patch-arch_arm_mach-rockchip_rk3399_rk3399.c => Applying pkgsrc patch /usr/pkgsrc/sysutils/u-boot-rock64/../../sysutils/u-boot/patches-2022.01/patch-arch_arm_mach-rockchip_rk3399_rk3399.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-arch_arm_mach-rockchip_rk3399_rk3399.c,v 1.1 2022/02/11 21:46:14 mrg Exp $ | |adjusted by mrg to restrict to CONFIG_TARGET_PINEBOOK_PRO_RK3399. | | |Author: dhivael |Date: Sat Jan 11 15:04:46 2020 +0100 | | rk3399: light pinebook power and standby leds during early boot | | this is a hack, but it works for now. | | |--- arch/arm/mach-rockchip/rk3399/rk3399.c.orig 2021-04-05 08:03:29.000000000 -0700 |+++ arch/arm/mach-rockchip/rk3399/rk3399.c 2021-05-08 00:46:34.547804408 -0700 -------------------------- Patching file arch/arm/mach-rockchip/rk3399/rk3399.c using Plan A... Hunk #1 succeeded at 20. Hunk #2 succeeded at 124. Hunk #3 succeeded at 159. done => Verifying /usr/pkgsrc/sysutils/u-boot-rock64/../../sysutils/u-boot/patches-2022.01/patch-board_pine64_pinebook-pro-rk3399_pinebook-pro-rk3399.c => Applying pkgsrc patch /usr/pkgsrc/sysutils/u-boot-rock64/../../sysutils/u-boot/patches-2022.01/patch-board_pine64_pinebook-pro-rk3399_pinebook-pro-rk3399.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-board_pine64_pinebook-pro-rk3399_pinebook-pro-rk3399.c,v 1.1 2022/02/11 21:46:14 mrg Exp $ | |Fix panel reset. | | |From 352cb7b28bf4a16330f148043e8d10b0141bbfcb Mon Sep 17 00:00:00 2001 |From: Arnaud Patard |Date: Wed, 8 Jul 2020 21:43:36 -0400 |Subject: [PATCH 4/4] PBP: Fix panel reset | |On warm reset, the pinebook pro panel is not working correctly. |The issue is not yet debugged so, for now, this hack seems to be |enough. It toggles the GPIO1_C6 gpio [ LCDVCC_EN signal in the |schematics ] used by the vcc3v3_panel regulator. | |There's no gpio_request, since the gpio is already in use at this |stage, so it can only fail. | |Origin: http://people.hupstream.com/~rtp/pbp/20200706/patches/hack-reset.patch | | |--- board/pine64/pinebook-pro-rk3399/pinebook-pro-rk3399.c.orig 2021-04-26 17:53:51.000000000 -0700 |+++ board/pine64/pinebook-pro-rk3399/pinebook-pro-rk3399.c 2021-05-08 15:36:55.355143117 -0700 -------------------------- Patching file board/pine64/pinebook-pro-rk3399/pinebook-pro-rk3399.c using Plan A... Hunk #1 succeeded at 7. Hunk #2 succeeded at 61. Hunk #3 succeeded at 73. done => Verifying /usr/pkgsrc/sysutils/u-boot-rock64/../../sysutils/u-boot/patches-2022.01/patch-configs_pinebook-pro-rk3399_defconfig => Applying pkgsrc patch /usr/pkgsrc/sysutils/u-boot-rock64/../../sysutils/u-boot/patches-2022.01/patch-configs_pinebook-pro-rk3399_defconfig Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configs_pinebook-pro-rk3399_defconfig,v 1.2 2022/02/12 07:44:55 mrg Exp $ | |Load u-boot from 256KB, and environment from 4MB-32KB. | |--- configs/pinebook-pro-rk3399_defconfig.orig 2022-01-10 12:46:34.000000000 -0600 |+++ configs/pinebook-pro-rk3399_defconfig 2022-02-11 19:07:48.402914218 -0600 -------------------------- Patching file configs/pinebook-pro-rk3399_defconfig using Plan A... Hunk #1 succeeded at 4. done => Verifying /usr/pkgsrc/sysutils/u-boot-rock64/../../sysutils/u-boot/patches-2022.01/patch-configs_rock64-rk3328_defconfig => Applying pkgsrc patch /usr/pkgsrc/sysutils/u-boot-rock64/../../sysutils/u-boot/patches-2022.01/patch-configs_rock64-rk3328_defconfig Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configs_rock64-rk3328_defconfig,v 1.1 2022/02/11 21:46:14 mrg Exp $ | |Load u-boot from 256KB. | |--- configs/rock64-rk3328_defconfig.orig 2022-01-10 10:46:34.000000000 -0800 |+++ configs/rock64-rk3328_defconfig 2022-02-07 02:26:32.821429380 -0800 -------------------------- Patching file configs/rock64-rk3328_defconfig using Plan A... Hunk #1 succeeded at 1. done => Verifying /usr/pkgsrc/sysutils/u-boot-rock64/../../sysutils/u-boot/patches-2022.01/patch-configs_rockpro64-rk3399_defconfig => Applying pkgsrc patch /usr/pkgsrc/sysutils/u-boot-rock64/../../sysutils/u-boot/patches-2022.01/patch-configs_rockpro64-rk3399_defconfig Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configs_rockpro64-rk3399_defconfig,v 1.1 2022/02/11 21:46:14 mrg Exp $ | |Load u-boot from 256KB. |Enable AHCI and Silicon Image PCIe SATA controllers. | |--- configs/rockpro64-rk3399_defconfig.orig 2022-01-10 10:46:34.000000000 -0800 |+++ configs/rockpro64-rk3399_defconfig 2022-02-07 17:35:17.409379259 -0800 -------------------------- Patching file configs/rockpro64-rk3399_defconfig using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 65 (offset 1 line). done => Verifying /usr/pkgsrc/sysutils/u-boot-rock64/../../sysutils/u-boot/patches-2022.01/patch-drivers_pci_pcie__rockchip.c => Applying pkgsrc patch /usr/pkgsrc/sysutils/u-boot-rock64/../../sysutils/u-boot/patches-2022.01/patch-drivers_pci_pcie__rockchip.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-drivers_pci_pcie__rockchip.c,v 1.1 2022/02/11 21:46:14 mrg Exp $ | |u-boot-rockpro64: fix broken PCI config space handling: | |- Program bus number into the ECAM decoder for each access |- Use type 1 PCI config cycles for config spaces behind bridge |- Add a platform specific hack to the synchronous exception handler | to deal with PCI-e subsystem triggering data aborts when probing | nonexistent PCI devices. |- properly delay after deasserting reset for downstream devices to | have time to initialize. | |Allows booting from PCI devices behind bridges and probing |devices other than 0:0:0 and 1:0:0. | |--- drivers/pci/pcie_rockchip.c.orig 2021-07-05 15:11:28.000000000 +0000 |+++ drivers/pci/pcie_rockchip.c -------------------------- Patching file drivers/pci/pcie_rockchip.c using Plan A... Hunk #1 succeeded at 73. Hunk #2 succeeded at 105. Hunk #3 succeeded at 131. Hunk #4 succeeded at 184. Hunk #5 succeeded at 221. Hunk #6 succeeded at 391. Hunk #7 succeeded at 428. done => Verifying /usr/pkgsrc/sysutils/u-boot-rock64/../../sysutils/u-boot/patches-2022.01/patch-drivers_usb_host_usb-uclass.c => Applying pkgsrc patch /usr/pkgsrc/sysutils/u-boot-rock64/../../sysutils/u-boot/patches-2022.01/patch-drivers_usb_host_usb-uclass.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-drivers_usb_host_usb-uclass.c,v 1.1 2022/02/11 21:46:14 mrg Exp $ | |Disable USB. Hangs in usb_stop() / 'usb stop', if started. | |Should be obsoleted by upstream: | https://source.denx.de/u-boot/u-boot/-/commit/226fce6108fe364e35f3eb9a84ff1a7ec93727ce |but this breaks the USB3 port on RockPro64 and Pinebook Pro. | |--- drivers/usb/host/usb-uclass.c.orig 2021-07-05 08:11:28.000000000 -0700 |+++ drivers/usb/host/usb-uclass.c 2021-07-24 12:49:38.736439999 -0700 -------------------------- Patching file drivers/usb/host/usb-uclass.c using Plan A... Hunk #1 succeeded at 175 (offset 2 lines). Hunk #2 succeeded at 222 (offset 2 lines). done => Verifying /usr/pkgsrc/sysutils/u-boot-rock64/../../sysutils/u-boot/patches-2022.01/patch-include_config_distro_bootcmd.h => Applying pkgsrc patch /usr/pkgsrc/sysutils/u-boot-rock64/../../sysutils/u-boot/patches-2022.01/patch-include_config_distro_bootcmd.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-include_config_distro_bootcmd.h,v 1.1 2022/02/11 21:46:14 mrg Exp $ | |Fix bug in BOOTENV_SET_SCSI_NEED_INIT that skips the SCSI scan. |Probably fix virtio as well. | |--- include/config_distro_bootcmd.h.orig 2022-01-10 10:46:34.000000000 -0800 |+++ include/config_distro_bootcmd.h 2022-02-09 01:21:58.541415139 -0800 -------------------------- Patching file include/config_distro_bootcmd.h using Plan A... Hunk #1 succeeded at 217. Hunk #2 succeeded at 295. done => Verifying /usr/pkgsrc/sysutils/u-boot-rock64/../../sysutils/u-boot/patches-2022.01/patch-include_configs_rockchip-common.h => Applying pkgsrc patch /usr/pkgsrc/sysutils/u-boot-rock64/../../sysutils/u-boot/patches-2022.01/patch-include_configs_rockchip-common.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-include_configs_rockchip-common.h,v 1.1 2022/02/11 21:46:14 mrg Exp $ | |Add SCSI/AHCI support. |Default to booting from SD, USB, EMMC, NVME, SCSI, PXE, DHCP and then SF. | |--- include/configs/rockchip-common.h.orig 2022-01-10 10:46:34.000000000 -0800 |+++ include/configs/rockchip-common.h 2022-02-07 02:27:47.781052660 -0800 -------------------------- Patching file include/configs/rockchip-common.h using Plan A... Hunk #1 succeeded at 16. Hunk #2 succeeded at 52. done => Verifying /usr/pkgsrc/sysutils/u-boot-rock64/../../sysutils/u-boot/patches-2022.01/patch-include_configs_rockpro64_rk3399.h => Applying pkgsrc patch /usr/pkgsrc/sysutils/u-boot-rock64/../../sysutils/u-boot/patches-2022.01/patch-include_configs_rockpro64_rk3399.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-include_configs_rockpro64_rk3399.h,v 1.1 2022/02/11 21:46:14 mrg Exp $ | |Add CONFIG_SCSI support. | |--- include/configs/rockpro64_rk3399.h.orig 2021-04-26 17:53:51.000000000 -0700 |+++ include/configs/rockpro64_rk3399.h 2021-05-22 16:57:19.869714755 -0700 -------------------------- Patching file include/configs/rockpro64_rk3399.h using Plan A... Hunk #1 succeeded at 17. done ===> Creating toolchain wrappers for u-boot-rock64-2022.01 ===> Configuring for u-boot-rock64-2022.01 => Checking for portability problems in extracted files /bin/mkdir -p -p /usr/pkgsrc/sysutils/u-boot-rock64/work/.buildlink/bin /bin/rm -f /usr/pkgsrc/sysutils/u-boot-rock64/work/.buildlink/bin/swig /bin/ln -s /usr/pkg/bin/swig3.0 /usr/pkgsrc/sysutils/u-boot-rock64/work/.buildlink/bin/swig cd /usr/pkgsrc/sysutils/u-boot-rock64/work/u-boot-2022.01 && /usr/bin/env BL31=/usr/pkg/share/trusted-firmware-a/rk3328/bl31.elf USETOOLS=no PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\ DL_LDFLAGS=\ -pthread DL_LIBS= CROSS_COMPILE=/usr/pkg/cross-aarch64-none-elf/bin/aarch64-none-elf- PYTHON=/usr/pkg/bin/python3.10 PYTHON3=/usr/pkg/bin/python3.10 PYTHONCONFIG=/usr/pkg/bin/python3.10-config PYTHONLIBPATH=-L/usr/pkg/lib CC=gcc CFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.10 CPPFLAGS=-I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.10 CXX=c++ CXXFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.10 COMPILER_RPATH_FLAG=-Wl,-R F77=g77 FC=g77 FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-Wl,-zrelro\ -L/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/usr/pkgsrc/sysutils/u-boot-rock64/work/.cwrapper/bin:/usr/pkgsrc/sysutils/u-boot-rock64/work/.buildlink/bin:/usr/pkgsrc/sysutils/u-boot-rock64/work/.gcc/bin:/usr/pkgsrc/sysutils/u-boot-rock64/work/.tools/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/pbulk/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/usr/pkgsrc/sysutils/u-boot-rock64/work/.home CWRAPPERS_CONFIG_DIR=/usr/pkgsrc/sysutils/u-boot-rock64/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ users\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ users\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ users\ -m\ 775 INSTALL_INFO= MAKEINFO=/usr/pkgsrc/sysutils/u-boot-rock64/work/.tools/bin/makeinfo FLEX=/usr/pkgsrc/sysutils/u-boot-rock64/work/.tools/bin/flex BISON=/usr/pkgsrc/sysutils/u-boot-rock64/work/.tools/bin/bison ITSTOOL=/usr/pkgsrc/sysutils/u-boot-rock64/work/.tools/bin/itstool GDBUS_CODEGEN=/usr/pkgsrc/sysutils/u-boot-rock64/work/.tools/bin/gdbus-codegen PKG_CONFIG=/usr/pkgsrc/sysutils/u-boot-rock64/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/usr/pkgsrc/sysutils/u-boot-rock64/work/.buildlink/lib/pkgconfig:/usr/pkgsrc/sysutils/u-boot-rock64/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/usr/pkgsrc/sysutils/u-boot-rock64/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/usr/pkgsrc/sysutils/u-boot-rock64/work/.cwrapper/config /usr/pkg/bin/gmake rock64-rk3328_defconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o YACC scripts/kconfig/zconf.tab.c LEX scripts/kconfig/zconf.lex.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf # # configuration written to .config #