Advertisement
gvalkov

uboot-mediatek OpenWRT 2021-03-13

Mar 13th, 2021
1,166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 80.47 KB | None | 0 0
  1. g@gMac:/Volumes/mt7622/openwrt$ make -j 16
  2. time: target/linux/prereq#0.15#0.10#0.29
  3.  make[1] world
  4.  make[2] tools/compile
  5.  make[2] package/cleanup
  6.  make[3] -C tools/flock compile
  7.  make[3] -C tools/xz compile
  8.  make[3] -C tools/sed compile
  9.  make[3] -C tools/patch compile
  10.  make[3] -C tools/tar compile
  11.  make[3] -C tools/mtools compile
  12.  make[3] -C tools/pkgconf compile
  13.  make[3] -C tools/m4 compile
  14.  make[3] -C tools/lzma compile
  15.  make[3] -C tools/autoconf-archive compile
  16.  make[3] -C tools/patch-image compile
  17.  make[3] -C tools/sstrip compile
  18.  make[3] -C tools/cpio compile
  19.  make[3] -C tools/xxd compile
  20.  make[3] -C tools/coreutils compile
  21.  make[3] -C tools/expat compile
  22.  make[3] -C tools/zip compile
  23.  make[3] -C tools/libressl compile
  24.  make[3] -C tools/autoconf compile
  25.  make[3] -C tools/automake compile
  26.  make[3] -C tools/missing-macros compile
  27.  make[3] -C tools/libtool compile
  28.  make[3] -C tools/dosfstools compile
  29.  make[3] -C tools/cmake compile
  30.  make[3] -C tools/mkimage compile
  31.  make[3] -C tools/e2fsprogs compile
  32.  make[3] -C tools/mklibs compile
  33.  make[3] -C tools/flex compile
  34.  make[3] -C tools/gengetopt compile
  35.  make[3] -C tools/fakeroot compile
  36.  make[3] -C tools/patchelf compile
  37.  make[3] -C tools/gmp compile
  38.  make[3] -C tools/libelf compile
  39.  make[3] -C tools/mm-macros compile
  40.  make[3] -C tools/bison compile
  41.  make[3] -C tools/mpfr compile
  42.  make[3] -C tools/bc compile
  43.  make[3] -C tools/findutils compile
  44.  make[3] -C tools/zstd compile
  45.  make[3] -C tools/zlib compile
  46.  make[3] -C tools/mpc compile
  47.  make[3] -C tools/make-ext4fs compile
  48.  make[3] -C tools/mtd-utils compile
  49.  make[3] -C tools/firmware-utils compile
  50.  make[3] -C tools/squashfskit4 compile
  51.  make[3] -C tools/padjffs2 compile
  52.  make[3] -C tools/quilt compile
  53.  make[2] toolchain/compile
  54.  make[3] -C toolchain/gdb compile
  55.  make[3] -C toolchain/binutils compile
  56.  make[3] -C toolchain/fortify-headers compile
  57.  make[3] -C toolchain/gcc/initial compile
  58.  make[3] -C toolchain/kernel-headers compile
  59.  make[3] -C toolchain/musl compile
  60.  make[3] -C toolchain/gcc/final compile
  61.  make[2] target/compile
  62.  make[3] -C target/linux compile
  63.  make[2] buildinfo
  64.  make[2] package/compile
  65.  make[3] diffconfig buildversion feedsversion
  66.  make[3] -C package/libs/ncurses host-compile
  67.  make[3] -C package/libs/toolchain compile
  68.  make[3] -C package/system/fwtool host-compile
  69.  make[3] -C package/libs/libjson-c host-compile
  70.  make[3] -C package/system/usign host-compile
  71.  make[3] -C package/kernel/gpio-button-hotplug compile
  72.  make[3] -C package/boot/arm-trusted-firmware-tools host-compile
  73.  make[3] -C package/utils/e2fsprogs host-compile
  74.  make[3] -C package/libs/libjson-c compile
  75.  make[3] -C package/system/fwtool compile
  76.  make[3] -C package/libs/libnl-tiny compile
  77.  make[3] -C package/utils/lua compile
  78.  make[3] -C package/firmware/linux-firmware compile
  79.  make[3] -C package/libs/zlib compile
  80.  make[3] -C package/firmware/prism54-firmware compile
  81.  make[3] -C package/system/openwrt-keyring compile
  82.  make[3] -C package/boot/arm-trusted-firmware-mediatek compile
  83.  make[3] -C package/firmware/wireless-regdb compile
  84.  make[3] -C package/firmware/b43legacy-firmware compile
  85.  make[3] -C package/libs/openssl compile
  86.  make[3] -C package/libs/gettext compile
  87.  make[3] -C package/libs/libiconv compile
  88.  make[3] -C package/libs/libtool compile
  89.  make[3] -C package/libs/mbedtls compile
  90.  make[3] -C package/network/services/dropbear compile
  91.  make[3] -C package/libs/libpcap compile
  92.  make[3] -C package/network/utils/linux-atm compile
  93.  make[3] -C package/network/utils/resolveip compile
  94.  make[3] -C package/system/ca-certificates compile
  95.  make[3] -C package/libs/libsepol compile
  96.  make[3] -C package/libs/pcre compile
  97.  make[3] -C package/libs/musl-fts compile
  98.  make[3] -C package/kernel/linux compile
  99.  make[3] -C package/network/utils/iw compile
  100.  make[3] -C package/boot/arm-trusted-firmware-mediatek compile
  101.  make[3] -C package/libs/libubox compile
  102.  make[3] -C package/libs/libubox host-compile
  103.  make[3] -C package/libs/wolfssl compile
  104.  make[3] -C package/network/utils/iptables compile
  105.  make[3] -C package/boot/arm-trusted-firmware-mediatek compile
  106.  make[3] -C package/system/ubus compile
  107.  make[3] -C package/system/uci compile
  108.  make[3] -C package/utils/jsonfilter compile
  109.  make[3] -C package/system/usign compile
  110.  make[3] -C package/network/ipv6/odhcp6c compile
  111.  make[3] -C package/system/mtd compile
  112.  make[3] -C package/system/urngd compile
  113.  make[3] -C package/system/opkg host-compile
  114.  make[3] -C package/system/ucert host-compile
  115.  make[3] -C package/network/config/netifd compile
  116.  make[3] -C package/system/ubox compile
  117.  make[3] -C package/network/services/dnsmasq compile
  118.  make[3] -C package/network/services/odhcpd compile
  119.  make[3] -C package/network/utils/iwinfo compile
  120.  make[3] -C package/boot/uboot-mediatek compile
  121.  make[3] -C package/system/urandom-seed compile
  122.  make[3] -C package/network/services/ppp compile
  123.  make[3] -C package/libs/libselinux compile
  124.  make[3] -C package/network/config/firewall compile
  125.     ERROR: package/boot/uboot-mediatek failed to build (build variant: mt7622_bananapi_bpi-r64-emmc).
  126. make -r world: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on
  127. make: *** [/Volumes/mt7622/openwrt/include/toplevel.mk:230: world] Error 1
  128. g@gMac:/Volumes/mt7622/openwrt$
  129.  
  130.  
  131. g@gMac:/Volumes/mt7622/openwrt$ make package/boot/uboot-mediatek/{clean,compile} V=sc
  132. make[1]: Entering directory '/Volumes/mt7622/openwrt'
  133. make[2]: Entering directory '/Volumes/mt7622/openwrt/package/boot/uboot-mediatek'
  134. Makefile:109: extraneous text after 'ifeq' directive
  135. rm -rf /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-mt7622_bananapi_bpi-r64-emmc/u-boot-2021.04-rc3
  136. rm -rf /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/u-boot-mt7622_bananapi_bpi-r64-emmc
  137. rm -f /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.uboot-mediatek.mt7622_bananapi_bpi-r64-emmc_installed
  138. rm -f /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/packages/uboot-mediatek.mt7622_bananapi_bpi-r64-emmc.list
  139. make[2]: Leaving directory '/Volumes/mt7622/openwrt/package/boot/uboot-mediatek'
  140. time: package/boot/uboot-mediatek/mt7622_bananapi_bpi-r64-emmc/clean#0.18#1.70#2.68
  141. make[2]: Entering directory '/Volumes/mt7622/openwrt/package/boot/uboot-mediatek'
  142. Makefile:109: extraneous text after 'ifeq' directive
  143. rm -rf /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-mt7622_bananapi_bpi-r64-sdmmc/u-boot-2021.04-rc3
  144. rm -rf /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/u-boot-mt7622_bananapi_bpi-r64-sdmmc
  145. rm -f /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.uboot-mediatek.mt7622_bananapi_bpi-r64-sdmmc_installed
  146. rm -f /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/packages/uboot-mediatek.mt7622_bananapi_bpi-r64-sdmmc.list
  147. make[2]: Leaving directory '/Volumes/mt7622/openwrt/package/boot/uboot-mediatek'
  148. time: package/boot/uboot-mediatek/mt7622_bananapi_bpi-r64-sdmmc/clean#0.15#0.12#0.33
  149. make[2]: Entering directory '/Volumes/mt7622/openwrt/package/boot/uboot-mediatek'
  150. Makefile:109: extraneous text after 'ifeq' directive
  151. rm -rf /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-mt7622_linksys_e8450/u-boot-2021.04-rc3
  152. rm -rf /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/u-boot-mt7622_linksys_e8450
  153. rm -f /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.uboot-mediatek.mt7622_linksys_e8450_installed
  154. rm -f /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/packages/uboot-mediatek.mt7622_linksys_e8450.list
  155. make[2]: Leaving directory '/Volumes/mt7622/openwrt/package/boot/uboot-mediatek'
  156. time: package/boot/uboot-mediatek/mt7622_linksys_e8450/clean#0.14#0.11#0.30
  157. make[2]: Entering directory '/Volumes/mt7622/openwrt/package/boot/uboot-mediatek'
  158. Makefile:109: extraneous text after 'ifeq' directive
  159. rm -rf /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-mt7622_rfb1/u-boot-2021.04-rc3
  160. rm -rf /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/u-boot-mt7622_rfb1
  161. rm -f /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.uboot-mediatek.mt7622_rfb1_installed
  162. rm -f /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/packages/uboot-mediatek.mt7622_rfb1.list
  163. make[2]: Leaving directory '/Volumes/mt7622/openwrt/package/boot/uboot-mediatek'
  164. time: package/boot/uboot-mediatek/mt7622_rfb1/clean#0.14#0.11#0.31
  165. make[1]: Leaving directory '/Volumes/mt7622/openwrt'
  166. make[1]: Entering directory '/Volumes/mt7622/openwrt'
  167. make[2]: Entering directory '/Volumes/mt7622/openwrt/package/libs/toolchain'
  168. touch /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.prepared_b00f0235b4fd4e77d9bb389d9d5ca75d_6664517399ebbbc92a37c5bb081b5c53_check
  169. mkdir -p /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain
  170. touch /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.prepared_b00f0235b4fd4e77d9bb389d9d5ca75d_6664517399ebbbc92a37c5bb081b5c53
  171. rm -f /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.configured_*
  172. rm -f /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.toolchain_installed
  173. (cd /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/./; if [ -x ./configure ]; then find /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ -name config.guess | xargs -r chmod u+w; find /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ -name config.guess | xargs -r -n1 cp --remove-destination /Volumes/mt7622/openwrt/scripts/config.guess; find /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ -name config.sub | xargs -r chmod u+w; find /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ -name config.sub | xargs -r -n1 cp --remove-destination /Volumes/mt7622/openwrt/scripts/config.sub; AR="aarch64-openwrt-linux-musl-gcc-ar" AS="aarch64-openwrt-linux-musl-gcc -c -Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain=toolchain -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" LD=aarch64-openwrt-linux-musl-ld NM="aarch64-openwrt-linux-musl-gcc-nm" CC="aarch64-openwrt-linux-musl-gcc" GCC="aarch64-openwrt-linux-musl-gcc" CXX="aarch64-openwrt-linux-musl-g++" RANLIB="aarch64-openwrt-linux-musl-gcc-ranlib" STRIP=aarch64-openwrt-linux-musl-strip OBJCOPY=aarch64-openwrt-linux-musl-objcopy OBJDUMP=aarch64-openwrt-linux-musl-objdump SIZE=aarch64-openwrt-linux-musl-size CFLAGS="-Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain=toolchain -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro " CXXFLAGS="-Os -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -fmacro-prefix-map=/Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain=toolchain -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro " CPPFLAGS="-I/Volumes/mt7622/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/include -I/Volumes/mt7622/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include/fortify -I/Volumes/mt7622/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/include " LDFLAGS="-L/Volumes/mt7622/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/usr/lib -L/Volumes/mt7622/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib -znow -zrelro "   ./configure --target=aarch64-openwrt-linux --host=aarch64-openwrt-linux --build=x86_64-apple-darwin20.3.0 --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls  ; fi; )
  174. touch /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.configured_68b329da9893e34099c7d8ad5cb9c940
  175. rm -f /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.built
  176. touch /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.built_check
  177. cp -fpR /Volumes/mt7622/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/libgcc_s.so.1 /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/
  178. touch /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.built
  179. rm -rf /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/libc.installed /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/libc
  180. mkdir -p /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/libc
  181. install -d -m0755 /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/libc/lib /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/libc/usr/bin
  182. cp -fpR /Volumes/mt7622/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/ld-musl-*.so* /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/libc/lib/
  183. cp -fpR /Volumes/mt7622/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/libc.so* /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/libc/lib/
  184. ln -sf ../../lib/libc.so /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/libc/usr/bin/ldd
  185. cp -fpR /Volumes/mt7622/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/libatomic.a /Volumes/mt7622/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/libc.a /Volumes/mt7622/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/libcrypt.a /Volumes/mt7622/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/libdl.a /Volumes/mt7622/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/libitm.a /Volumes/mt7622/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/libm.a /Volumes/mt7622/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/libpthread.a /Volumes/mt7622/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/libresolv.a /Volumes/mt7622/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/librt.a /Volumes/mt7622/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/libssp_nonshared.a /Volumes/mt7622/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/libstdc++.a /Volumes/mt7622/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/libstdc++fs.a /Volumes/mt7622/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/libsupc++.a /Volumes/mt7622/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/libutil.a /Volumes/mt7622/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/libxnet.a /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/libc/lib/
  186. cp -fpR /Volumes/mt7622/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/gcc/aarch64-openwrt-linux-musl/8.4.0/libgcc_pic.a /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/libc/lib/libgcc_s_pic.a; cp -fpR /Volumes/mt7622/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/gcc/aarch64-openwrt-linux-musl/8.4.0/libgcc.map /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/libc/lib/libgcc_s_pic.map
  187. touch /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/libc.installed
  188. mkdir -p /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp
  189. SHELL= flock /Volumes/mt7622/openwrt/tmp/.root-copy.flock -c 'cp -fpR /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/libc/. /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/'
  190. touch /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp/.libc_installed
  191. /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/packages/libgcc1_8.4.0-3_aarch64_cortex-a53.ipk
  192. mkdir -p /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/packages /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/libgcc/CONTROL /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/pkginfo
  193. install -d -m0755 /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/libgcc/lib
  194. cp -fpR /Volumes/mt7622/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/libgcc_s.so.* /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/libgcc/lib/
  195. find /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/libgcc -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
  196. export CROSS="aarch64-openwrt-linux-musl-"  NO_RENAME=1 ; NM="aarch64-openwrt-linux-musl-nm" STRIP="/Volumes/mt7622/openwrt/staging_dir/host/bin/sstrip -z" STRIP_KMOD="/Volumes/mt7622/openwrt/scripts/strip-kmod.sh" PATCHELF="/Volumes/mt7622/openwrt/staging_dir/host/bin/patchelf" /Volumes/mt7622/openwrt/scripts/rstrip.sh /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/libgcc
  197. rstrip.sh: /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/libgcc/lib/libgcc_s.so.1: shared object
  198. (cd /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/libgcc/CONTROL; ( echo "$CONTROL"; printf "Description: "; echo "$DESCRIPTION" | sed -e 's,^[[:space:]]*, ,g'; ) > control; chmod 644 control; ( echo "#!/bin/sh"; echo "[ \"\${IPKG_NO_SCRIPT}\" = \"1\" ] && exit 0"; echo "[ -s "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_postinst \$0 \$@"; ) > postinst; ( echo "#!/bin/sh"; echo "[ -s "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_prerm \$0 \$@"; ) > prerm; chmod 0755 postinst prerm;  )
  199. install -d -m0755 /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/packages
  200. /Volumes/mt7622/openwrt/staging_dir/host/bin/fakeroot /Volumes/mt7622/openwrt/scripts/ipkg-build -m "" /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/libgcc /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/packages
  201. Packaged contents of /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/libgcc into /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/packages/libgcc1_8.4.0-3_aarch64_cortex-a53.ipk
  202. /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/packages/libc_1.1.24-3_aarch64_cortex-a53.ipk
  203. mkdir -p /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/packages /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/libc/CONTROL /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/pkginfo
  204. install -d -m0755 /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/libc/lib /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/libc/usr/bin
  205. cp -fpR /Volumes/mt7622/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/ld-musl-*.so* /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/libc/lib/
  206. cp -fpR /Volumes/mt7622/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/libc.so* /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/libc/lib/
  207. ln -sf ../../lib/libc.so /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/libc/usr/bin/ldd
  208. find /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/libc -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
  209. export CROSS="aarch64-openwrt-linux-musl-"  NO_RENAME=1 ; NM="aarch64-openwrt-linux-musl-nm" STRIP="/Volumes/mt7622/openwrt/staging_dir/host/bin/sstrip -z" STRIP_KMOD="/Volumes/mt7622/openwrt/scripts/strip-kmod.sh" PATCHELF="/Volumes/mt7622/openwrt/staging_dir/host/bin/patchelf" /Volumes/mt7622/openwrt/scripts/rstrip.sh /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/libc
  210. rstrip.sh: /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/libc/lib/libc.so: shared object
  211. (cd /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/libc/CONTROL; ( echo "$CONTROL"; printf "Description: "; echo "$DESCRIPTION" | sed -e 's,^[[:space:]]*, ,g'; ) > control; chmod 644 control; ( echo "#!/bin/sh"; echo "[ \"\${IPKG_NO_SCRIPT}\" = \"1\" ] && exit 0"; echo "[ -s "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_postinst \$0 \$@"; ) > postinst; ( echo "#!/bin/sh"; echo "[ -s "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_prerm \$0 \$@"; ) > prerm; chmod 0755 postinst prerm;  )
  212. install -d -m0755 /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/packages
  213. /Volumes/mt7622/openwrt/staging_dir/host/bin/fakeroot /Volumes/mt7622/openwrt/scripts/ipkg-build -m "" /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/libc /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/packages
  214. Packaged contents of /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/libc into /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/packages/libc_1.1.24-3_aarch64_cortex-a53.ipk
  215. /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/packages/libpthread_1.1.24-3_aarch64_cortex-a53.ipk
  216. mkdir -p /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/packages /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/libpthread/CONTROL /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/pkginfo
  217. install -d -m0755 /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/libpthread/lib
  218. find /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/libpthread -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
  219. export CROSS="aarch64-openwrt-linux-musl-"  NO_RENAME=1 ; NM="aarch64-openwrt-linux-musl-nm" STRIP="/Volumes/mt7622/openwrt/staging_dir/host/bin/sstrip -z" STRIP_KMOD="/Volumes/mt7622/openwrt/scripts/strip-kmod.sh" PATCHELF="/Volumes/mt7622/openwrt/staging_dir/host/bin/patchelf" /Volumes/mt7622/openwrt/scripts/rstrip.sh /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/libpthread
  220. (cd /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/libpthread/CONTROL; ( echo "$CONTROL"; printf "Description: "; echo "$DESCRIPTION" | sed -e 's,^[[:space:]]*, ,g'; ) > control; chmod 644 control; ( echo "#!/bin/sh"; echo "[ \"\${IPKG_NO_SCRIPT}\" = \"1\" ] && exit 0"; echo "[ -s "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_postinst \$0 \$@"; ) > postinst; ( echo "#!/bin/sh"; echo "[ -s "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_prerm \$0 \$@"; ) > prerm; chmod 0755 postinst prerm;  )
  221. install -d -m0755 /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/packages
  222. /Volumes/mt7622/openwrt/staging_dir/host/bin/fakeroot /Volumes/mt7622/openwrt/scripts/ipkg-build -m "" /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/libpthread /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/packages
  223. Packaged contents of /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/libpthread into /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/packages/libpthread_1.1.24-3_aarch64_cortex-a53.ipk
  224. /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/packages/librt_1.1.24-3_aarch64_cortex-a53.ipk
  225. mkdir -p /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/packages /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/librt/CONTROL /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/pkginfo
  226. install -d -m0755 /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/librt/lib
  227. find /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/librt -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
  228. export CROSS="aarch64-openwrt-linux-musl-"  NO_RENAME=1 ; NM="aarch64-openwrt-linux-musl-nm" STRIP="/Volumes/mt7622/openwrt/staging_dir/host/bin/sstrip -z" STRIP_KMOD="/Volumes/mt7622/openwrt/scripts/strip-kmod.sh" PATCHELF="/Volumes/mt7622/openwrt/staging_dir/host/bin/patchelf" /Volumes/mt7622/openwrt/scripts/rstrip.sh /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/librt
  229. (cd /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/librt/CONTROL; ( echo "$CONTROL"; printf "Description: "; echo "$DESCRIPTION" | sed -e 's,^[[:space:]]*, ,g'; ) > control; chmod 644 control; ( echo "#!/bin/sh"; echo "[ \"\${IPKG_NO_SCRIPT}\" = \"1\" ] && exit 0"; echo "[ -s "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_postinst \$0 \$@"; ) > postinst; ( echo "#!/bin/sh"; echo "[ -s "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_prerm \$0 \$@"; ) > prerm; chmod 0755 postinst prerm;  )
  230. install -d -m0755 /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/packages
  231. /Volumes/mt7622/openwrt/staging_dir/host/bin/fakeroot /Volumes/mt7622/openwrt/scripts/ipkg-build -m "" /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/librt /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/packages
  232. Packaged contents of /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/ipkg-aarch64_cortex-a53/librt into /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/packages/librt_1.1.24-3_aarch64_cortex-a53.ipk
  233. echo "libc" >> /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/toolchain.default.install
  234. rm -rf /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/libgcc.installed /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/libgcc
  235. mkdir -p /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/libgcc
  236. install -d -m0755 /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/libgcc/lib
  237. cp -fpR /Volumes/mt7622/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-8.4.0_musl/lib/libgcc_s.so.* /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/libgcc/lib/
  238. touch /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/libgcc.installed
  239. rm -rf /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/libpthread.installed /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/libpthread
  240. mkdir -p /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/libpthread
  241. install -d -m0755 /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/libpthread/lib
  242. touch /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/libpthread.installed
  243. rm -rf /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/librt.installed /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/librt
  244. mkdir -p /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/librt
  245. install -d -m0755 /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/librt/lib
  246. touch /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/librt.installed
  247. mkdir -p /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp
  248. echo '1' | cmp -s - /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/libgcc.version || { echo '1' > /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/libgcc.version;  }
  249. SHELL= flock /Volumes/mt7622/openwrt/tmp/.root-copy.flock -c 'cp -fpR /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/libgcc/. /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/'
  250. touch /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp/.libgcc_installed
  251. echo "libgcc" >> /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/toolchain.default.install
  252. mkdir -p /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp
  253. SHELL= flock /Volumes/mt7622/openwrt/tmp/.root-copy.flock -c 'cp -fpR /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/libpthread/. /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/'
  254. touch /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp/.libpthread_installed
  255. echo "libpthread" >> /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/toolchain.default.install
  256. mkdir -p /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp
  257. SHELL= flock /Volumes/mt7622/openwrt/tmp/.root-copy.flock -c 'cp -fpR /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/toolchain/.pkgdir/librt/. /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/'
  258. touch /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/root-mediatek/stamp/.librt_installed
  259. echo "librt" >> /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/toolchain.default.install
  260. make[2]: Leaving directory '/Volumes/mt7622/openwrt/package/libs/toolchain'
  261. time: package/libs/toolchain/compile#0.72#0.77#1.81
  262. make[2]: Entering directory '/Volumes/mt7622/openwrt/package/boot/arm-trusted-firmware-mediatek'
  263. mkdir -p /Volumes/mt7622/openwrt/dl
  264. SHELL= flock /Volumes/mt7622/openwrt/tmp/.arm-trusted-firmware-mediatek-2021-03-10-8b635f61.tar.xz.flock -c '   /Volumes/mt7622/openwrt/scripts/download.pl "/Volumes/mt7622/openwrt/dl" "arm-trusted-firmware-mediatek-2021-03-10-8b635f61.tar.xz" "ffe233a19b51504f605a90a88c7a1bb74303e4a7173a59b24a4dfa572ce99139" "" || (  /Volumes/mt7622/openwrt/scripts/dl_github_archive.py --dl-dir="/Volumes/mt7622/openwrt/dl" --url="https://github.com/mtk-openwrt/arm-trusted-firmware.git" --version="8b635f61091f2e5bce88269468c53fc30bb4cd64" --subdir="arm-trusted-firmware-mediatek-2021-03-10-8b635f61" --source="arm-trusted-firmware-mediatek-2021-03-10-8b635f61.tar.xz" --hash="ffe233a19b51504f605a90a88c7a1bb74303e4a7173a59b24a4dfa572ce99139" || (     echo "Checking out files from the git repository..."; mkdir -p /Volumes/mt7622/openwrt/tmp/dl && cd /Volumes/mt7622/openwrt/tmp/dl && rm -rf arm-trusted-firmware-mediatek-2021-03-10-8b635f61 && [ \! -d arm-trusted-firmware-mediatek-2021-03-10-8b635f61 ] && git clone  https://github.com/mtk-openwrt/arm-trusted-firmware.git arm-trusted-firmware-mediatek-2021-03-10-8b635f61 && (cd arm-trusted-firmware-mediatek-2021-03-10-8b635f61 && git checkout 8b635f61091f2e5bce88269468c53fc30bb4cd64 && git submodule update --init --recursive) && echo "Packing checkout..." && export TAR_TIMESTAMP=`cd arm-trusted-firmware-mediatek-2021-03-10-8b635f61 && git log -1 --format='\''@%ct'\''` && rm -rf arm-trusted-firmware-mediatek-2021-03-10-8b635f61/.git &&    tar --numeric-owner --owner=0 --group=0 --mode=a-s --sort=name ${TAR_TIMESTAMP:+--mtime="$TAR_TIMESTAMP"} -c arm-trusted-firmware-mediatek-2021-03-10-8b635f61 |    xz -zc -7e > /Volumes/mt7622/openwrt/tmp/dl/arm-trusted-firmware-mediatek-2021-03-10-8b635f61.tar.xz && mv /Volumes/mt7622/openwrt/tmp/dl/arm-trusted-firmware-mediatek-2021-03-10-8b635f61.tar.xz /Volumes/mt7622/openwrt/dl/ && rm -rf arm-trusted-firmware-mediatek-2021-03-10-8b635f61; );  )    '
  265. rm -rf /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/trusted-firmware-a-mt7622-snand-1ddr
  266. rmdir /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/arm-trusted-firmware-mediatek-mt7622-snand-1ddr/arm-trusted-firmware-mediatek-2021-03-10-8b635f61/.pkgdir/trusted-firmware-a-mt7622-snand-1ddr >/dev/null 2>/dev/null
  267. make[2]: [Makefile:105: install-bin-trusted-firmware-a-mt7622-snand-1ddr] Error 1 (ignored)
  268. if [ -d /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/arm-trusted-firmware-mediatek-mt7622-snand-1ddr/arm-trusted-firmware-mediatek-2021-03-10-8b635f61/.pkgdir/trusted-firmware-a-mt7622-snand-1ddr ]; then install -d -m0755 /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/trusted-firmware-a-mt7622-snand-1ddr && cp -fpR /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/arm-trusted-firmware-mediatek-mt7622-snand-1ddr/arm-trusted-firmware-mediatek-2021-03-10-8b635f61/.pkgdir/trusted-firmware-a-mt7622-snand-1ddr/. /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/trusted-firmware-a-mt7622-snand-1ddr/; fi
  269. make[2]: Leaving directory '/Volumes/mt7622/openwrt/package/boot/arm-trusted-firmware-mediatek'
  270. time: package/boot/arm-trusted-firmware-mediatek/mt7622-snand-1ddr/compile#0.25#0.22#0.50
  271. make[2]: Entering directory '/Volumes/mt7622/openwrt/package/boot/arm-trusted-firmware-mediatek'
  272. mkdir -p /Volumes/mt7622/openwrt/dl
  273. SHELL= flock /Volumes/mt7622/openwrt/tmp/.arm-trusted-firmware-mediatek-2021-03-10-8b635f61.tar.xz.flock -c '   /Volumes/mt7622/openwrt/scripts/download.pl "/Volumes/mt7622/openwrt/dl" "arm-trusted-firmware-mediatek-2021-03-10-8b635f61.tar.xz" "ffe233a19b51504f605a90a88c7a1bb74303e4a7173a59b24a4dfa572ce99139" "" || (  /Volumes/mt7622/openwrt/scripts/dl_github_archive.py --dl-dir="/Volumes/mt7622/openwrt/dl" --url="https://github.com/mtk-openwrt/arm-trusted-firmware.git" --version="8b635f61091f2e5bce88269468c53fc30bb4cd64" --subdir="arm-trusted-firmware-mediatek-2021-03-10-8b635f61" --source="arm-trusted-firmware-mediatek-2021-03-10-8b635f61.tar.xz" --hash="ffe233a19b51504f605a90a88c7a1bb74303e4a7173a59b24a4dfa572ce99139" || (     echo "Checking out files from the git repository..."; mkdir -p /Volumes/mt7622/openwrt/tmp/dl && cd /Volumes/mt7622/openwrt/tmp/dl && rm -rf arm-trusted-firmware-mediatek-2021-03-10-8b635f61 && [ \! -d arm-trusted-firmware-mediatek-2021-03-10-8b635f61 ] && git clone  https://github.com/mtk-openwrt/arm-trusted-firmware.git arm-trusted-firmware-mediatek-2021-03-10-8b635f61 && (cd arm-trusted-firmware-mediatek-2021-03-10-8b635f61 && git checkout 8b635f61091f2e5bce88269468c53fc30bb4cd64 && git submodule update --init --recursive) && echo "Packing checkout..." && export TAR_TIMESTAMP=`cd arm-trusted-firmware-mediatek-2021-03-10-8b635f61 && git log -1 --format='\''@%ct'\''` && rm -rf arm-trusted-firmware-mediatek-2021-03-10-8b635f61/.git &&    tar --numeric-owner --owner=0 --group=0 --mode=a-s --sort=name ${TAR_TIMESTAMP:+--mtime="$TAR_TIMESTAMP"} -c arm-trusted-firmware-mediatek-2021-03-10-8b635f61 |    xz -zc -7e > /Volumes/mt7622/openwrt/tmp/dl/arm-trusted-firmware-mediatek-2021-03-10-8b635f61.tar.xz && mv /Volumes/mt7622/openwrt/tmp/dl/arm-trusted-firmware-mediatek-2021-03-10-8b635f61.tar.xz /Volumes/mt7622/openwrt/dl/ && rm -rf arm-trusted-firmware-mediatek-2021-03-10-8b635f61; );  )    '
  274. rm -rf /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/trusted-firmware-a-mt7622-emmc-2ddr
  275. rmdir /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/arm-trusted-firmware-mediatek-mt7622-emmc-2ddr/arm-trusted-firmware-mediatek-2021-03-10-8b635f61/.pkgdir/trusted-firmware-a-mt7622-emmc-2ddr >/dev/null 2>/dev/null
  276. make[2]: [Makefile:105: install-bin-trusted-firmware-a-mt7622-emmc-2ddr] Error 1 (ignored)
  277. if [ -d /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/arm-trusted-firmware-mediatek-mt7622-emmc-2ddr/arm-trusted-firmware-mediatek-2021-03-10-8b635f61/.pkgdir/trusted-firmware-a-mt7622-emmc-2ddr ]; then install -d -m0755 /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/trusted-firmware-a-mt7622-emmc-2ddr && cp -fpR /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/arm-trusted-firmware-mediatek-mt7622-emmc-2ddr/arm-trusted-firmware-mediatek-2021-03-10-8b635f61/.pkgdir/trusted-firmware-a-mt7622-emmc-2ddr/. /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/trusted-firmware-a-mt7622-emmc-2ddr/; fi
  278. make[2]: Leaving directory '/Volumes/mt7622/openwrt/package/boot/arm-trusted-firmware-mediatek'
  279. time: package/boot/arm-trusted-firmware-mediatek/mt7622-emmc-2ddr/compile#0.24#0.22#0.49
  280. make[2]: Entering directory '/Volumes/mt7622/openwrt/package/boot/arm-trusted-firmware-mediatek'
  281. mkdir -p /Volumes/mt7622/openwrt/dl
  282. SHELL= flock /Volumes/mt7622/openwrt/tmp/.arm-trusted-firmware-mediatek-2021-03-10-8b635f61.tar.xz.flock -c '   /Volumes/mt7622/openwrt/scripts/download.pl "/Volumes/mt7622/openwrt/dl" "arm-trusted-firmware-mediatek-2021-03-10-8b635f61.tar.xz" "ffe233a19b51504f605a90a88c7a1bb74303e4a7173a59b24a4dfa572ce99139" "" || (  /Volumes/mt7622/openwrt/scripts/dl_github_archive.py --dl-dir="/Volumes/mt7622/openwrt/dl" --url="https://github.com/mtk-openwrt/arm-trusted-firmware.git" --version="8b635f61091f2e5bce88269468c53fc30bb4cd64" --subdir="arm-trusted-firmware-mediatek-2021-03-10-8b635f61" --source="arm-trusted-firmware-mediatek-2021-03-10-8b635f61.tar.xz" --hash="ffe233a19b51504f605a90a88c7a1bb74303e4a7173a59b24a4dfa572ce99139" || (     echo "Checking out files from the git repository..."; mkdir -p /Volumes/mt7622/openwrt/tmp/dl && cd /Volumes/mt7622/openwrt/tmp/dl && rm -rf arm-trusted-firmware-mediatek-2021-03-10-8b635f61 && [ \! -d arm-trusted-firmware-mediatek-2021-03-10-8b635f61 ] && git clone  https://github.com/mtk-openwrt/arm-trusted-firmware.git arm-trusted-firmware-mediatek-2021-03-10-8b635f61 && (cd arm-trusted-firmware-mediatek-2021-03-10-8b635f61 && git checkout 8b635f61091f2e5bce88269468c53fc30bb4cd64 && git submodule update --init --recursive) && echo "Packing checkout..." && export TAR_TIMESTAMP=`cd arm-trusted-firmware-mediatek-2021-03-10-8b635f61 && git log -1 --format='\''@%ct'\''` && rm -rf arm-trusted-firmware-mediatek-2021-03-10-8b635f61/.git &&    tar --numeric-owner --owner=0 --group=0 --mode=a-s --sort=name ${TAR_TIMESTAMP:+--mtime="$TAR_TIMESTAMP"} -c arm-trusted-firmware-mediatek-2021-03-10-8b635f61 |    xz -zc -7e > /Volumes/mt7622/openwrt/tmp/dl/arm-trusted-firmware-mediatek-2021-03-10-8b635f61.tar.xz && mv /Volumes/mt7622/openwrt/tmp/dl/arm-trusted-firmware-mediatek-2021-03-10-8b635f61.tar.xz /Volumes/mt7622/openwrt/dl/ && rm -rf arm-trusted-firmware-mediatek-2021-03-10-8b635f61; );  )    '
  283. rm -rf /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/trusted-firmware-a-mt7622-sdmmc-2ddr
  284. rmdir /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/arm-trusted-firmware-mediatek-mt7622-sdmmc-2ddr/arm-trusted-firmware-mediatek-2021-03-10-8b635f61/.pkgdir/trusted-firmware-a-mt7622-sdmmc-2ddr >/dev/null 2>/dev/null
  285. make[2]: [Makefile:105: install-bin-trusted-firmware-a-mt7622-sdmmc-2ddr] Error 1 (ignored)
  286. if [ -d /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/arm-trusted-firmware-mediatek-mt7622-sdmmc-2ddr/arm-trusted-firmware-mediatek-2021-03-10-8b635f61/.pkgdir/trusted-firmware-a-mt7622-sdmmc-2ddr ]; then install -d -m0755 /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/trusted-firmware-a-mt7622-sdmmc-2ddr && cp -fpR /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/arm-trusted-firmware-mediatek-mt7622-sdmmc-2ddr/arm-trusted-firmware-mediatek-2021-03-10-8b635f61/.pkgdir/trusted-firmware-a-mt7622-sdmmc-2ddr/. /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/trusted-firmware-a-mt7622-sdmmc-2ddr/; fi
  287. make[2]: Leaving directory '/Volumes/mt7622/openwrt/package/boot/arm-trusted-firmware-mediatek'
  288. time: package/boot/arm-trusted-firmware-mediatek/mt7622-sdmmc-2ddr/compile#0.26#0.24#0.52
  289. make[2]: Entering directory '/Volumes/mt7622/openwrt/package/boot/arm-trusted-firmware-tools'
  290. make[2]: Leaving directory '/Volumes/mt7622/openwrt/package/boot/arm-trusted-firmware-tools'
  291. time: package/boot/arm-trusted-firmware-tools/host-compile#0.15#0.15#0.32
  292. make[2]: Entering directory '/Volumes/mt7622/openwrt/package/boot/uboot-mediatek'
  293. Makefile:109: extraneous text after 'ifeq' directive
  294. mkdir -p /Volumes/mt7622/openwrt/dl
  295. SHELL= flock /Volumes/mt7622/openwrt/tmp/.u-boot-2021.04-rc3.tar.bz2.flock -c '     /Volumes/mt7622/openwrt/scripts/download.pl "/Volumes/mt7622/openwrt/dl" "u-boot-2021.04-rc3.tar.bz2" "7c418e07f6065c8761eb2df890bb524d7109864325d8850ddb0c93eb345734f9" "" "https://mirror.cyberbits.eu/u-boot" "https://ftp.denx.de/pub/u-boot" "ftp://ftp.denx.de/pub/u-boot"    '
  296. touch /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-mt7622_bananapi_bpi-r64-emmc/u-boot-2021.04-rc3/.prepared_d1b3d862811f40c7f7313cc8e3d7484c_6664517399ebbbc92a37c5bb081b5c53_check
  297. . /Volumes/mt7622/openwrt/include/shell.sh; bzcat /Volumes/mt7622/openwrt/dl/u-boot-2021.04-rc3.tar.bz2 | tar -C /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-mt7622_bananapi_bpi-r64-emmc/u-boot-2021.04-rc3/.. -xf -
  298. [ ! -d ./src/ ] || cp -fpR ./src/. /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-mt7622_bananapi_bpi-r64-emmc/u-boot-2021.04-rc3
  299.  
  300. Applying ./patches/000-mtk-01-Revert-clk-Add-debugging-for-return-values.patch using plaintext:
  301. patching file drivers/clk/clk-uclass.c
  302.  
  303. Applying ./patches/000-mtk-02-configs-RPi2-Disable-EFI-Grub-workaround.patch using plaintext:
  304. patching file configs/rpi_2_defconfig
  305.  
  306. Applying ./patches/000-mtk-03-pinctrl-mediatek-fix-wrong-assignment-in-mtk_get_pin.patch using plaintext:
  307. patching file drivers/pinctrl/mediatek/pinctrl-mtk-common.c
  308.  
  309. Applying ./patches/000-mtk-04-pinctrl-mediatek-add-get_pin_muxing-ops-for-mediatek.patch using plaintext:
  310. patching file drivers/pinctrl/mediatek/pinctrl-mtk-common.c
  311.  
  312. Applying ./patches/000-mtk-05-pinctrl-mediatek-do-not-probe-gpio-driver-if-not-ena.patch using plaintext:
  313. patching file drivers/pinctrl/mediatek/pinctrl-mtk-common.c
  314.  
  315. Applying ./patches/000-mtk-06-pinctrl-mt7629-add-jtag-function-and-pin-group.patch using plaintext:
  316. patching file drivers/pinctrl/mediatek/pinctrl-mt7629.c
  317.  
  318. Applying ./patches/000-mtk-07-configs-mt7622-use-ARMv8-Generic-Timer-instead-of-mt.patch using plaintext:
  319. patching file configs/mt7622_rfb_defconfig
  320.  
  321. Applying ./patches/000-mtk-08-dts-mt7629-enable-JTAG-pins-by-default.patch using plaintext:
  322. patching file arch/arm/dts/mt7629-rfb.dts
  323. patching file arch/arm/dts/mt7629.dtsi
  324.  
  325. Applying ./patches/000-mtk-09-board-mediatek-add-more-network-configurations.patch using plaintext:
  326. patching file include/configs/mt7622.h
  327. patching file include/configs/mt7623.h
  328. patching file include/configs/mt7629.h
  329.  
  330. Applying ./patches/000-mtk-10-mmc-mtk-sd-increase-the-minimum-bus-frequency.patch using plaintext:
  331. patching file drivers/mmc/mtk-sd.c
  332.  
  333. Applying ./patches/000-mtk-11-serial-serial-mtk-rewrite-the-setbrg-function.patch using plaintext:
  334. patching file drivers/serial/serial_mtk.c
  335.  
  336. Applying ./patches/000-mtk-12-board-mt7629-enable-compression-of-u-boot-to-reduce-.patch using plaintext:
  337. patching file Makefile
  338. patching file arch/arm/dts/mt7629-rfb-u-boot.dtsi
  339. patching file arch/arm/mach-mediatek/Kconfig
  340. patching file configs/mt7629_rfb_defconfig
  341.  
  342. Applying ./patches/000-mtk-13-configs-mt7622-enable-debug-uart-for-mt7622_rfb_defc.patch using plaintext:
  343. patching file configs/mt7622_rfb_defconfig
  344.  
  345. Applying ./patches/000-mtk-14-drivers-mtd-add-support-for-MediaTek-SPI-NAND-flash-.patch using plaintext:
  346. patching file drivers/mtd/Kconfig
  347. patching file drivers/mtd/Makefile
  348. patching file drivers/mtd/mtk-snand/Kconfig
  349. patching file drivers/mtd/mtk-snand/Makefile
  350. patching file drivers/mtd/mtk-snand/mtk-snand-def.h
  351. patching file drivers/mtd/mtk-snand/mtk-snand-ecc.c
  352. patching file drivers/mtd/mtk-snand/mtk-snand-ids.c
  353. patching file drivers/mtd/mtk-snand/mtk-snand-mtd.c
  354. patching file drivers/mtd/mtk-snand/mtk-snand-os.c
  355. patching file drivers/mtd/mtk-snand/mtk-snand-os.h
  356. patching file drivers/mtd/mtk-snand/mtk-snand.c
  357. patching file drivers/mtd/mtk-snand/mtk-snand.h
  358.  
  359. Applying ./patches/000-mtk-15-mtd-mtk-snand-add-support-for-SPL.patch using plaintext:
  360. patching file drivers/mtd/mtk-snand/Kconfig
  361. patching file drivers/mtd/mtk-snand/Makefile
  362. patching file drivers/mtd/mtk-snand/mtk-snand-spl.c
  363.  
  364. Applying ./patches/000-mtk-16-env-add-support-for-generic-MTD-device.patch using plaintext:
  365. patching file cmd/nvedit.c
  366. patching file env/Kconfig
  367. patching file env/Makefile
  368. patching file env/env.c
  369. patching file env/mtd.c
  370. patching file include/env_internal.h
  371. patching file tools/Makefile
  372.  
  373. Applying ./patches/000-mtk-17-board-mt7629-add-support-for-booting-from-SPI-NAND.patch using plaintext:
  374. patching file arch/arm/dts/mt7629-rfb-u-boot.dtsi
  375. patching file arch/arm/dts/mt7629-rfb.dts
  376. patching file arch/arm/dts/mt7629.dtsi
  377. patching file board/mediatek/mt7629/Kconfig
  378. patching file configs/mt7629_nand_rfb_defconfig
  379. patching file include/configs/mt7629.h
  380.  
  381. Applying ./patches/000-mtk-18-board-mt7622-use-new-spi-nand-driver.patch using plaintext:
  382. patching file arch/arm/dts/mt7622-rfb.dts
  383. patching file arch/arm/dts/mt7622.dtsi
  384. patching file configs/mt7622_rfb_defconfig
  385.  
  386. Applying ./patches/000-mtk-19-configs-mt7629-remove-unused-options-and-add-dm-comm.patch using plaintext:
  387. patching file configs/mt7629_rfb_defconfig
  388.  
  389. Applying ./patches/000-mtk-20-configs-mt7622-enable-environment-for-mt7622_rfb.patch using plaintext:
  390. patching file configs/mt7622_rfb_defconfig
  391.  
  392. Applying ./patches/000-mtk-21-mmc-mtk-sd-don-t-ignore-max-frequency-from-device-tr.patch using plaintext:
  393. patching file drivers/mmc/mtk-sd.c
  394.  
  395. Applying ./patches/100-scripts-remove-dependency-on-swig.patch using plaintext:
  396. patching file scripts/dtc/Makefile
  397.  
  398. Applying ./patches/200-cmd-add-imsz-and-imszb.patch using plaintext:
  399. patching file cmd/bootm.c
  400. patching file common/image-fit.c
  401. patching file include/image.h
  402.  
  403. Applying ./patches/210-cmd-bootmenu-add-ability-to-select-item-by-shortkey.patch using plaintext:
  404. patching file cmd/bootmenu.c
  405.  
  406. Applying ./patches/211-cmd-bootmenu-custom-title.patch using plaintext:
  407. patching file cmd/bootmenu.c
  408.  
  409. Applying ./patches/220-cmd-env-readmem.patch using plaintext:
  410. patching file cmd/Kconfig
  411. patching file cmd/nvedit.c
  412.  
  413. Applying ./patches/300-mt7622-generic-reset-button-ignore-env.patch using plaintext:
  414. patching file board/mediatek/mt7622/mt7622_rfb.c
  415.  
  416. Applying ./patches/400-update-bpir2-defconfig.patch using plaintext:
  417. patching file configs/mt7623n_bpir2_defconfig
  418.  
  419. Applying ./patches/401-update-u7623-defconfig.patch using plaintext:
  420. patching file configs/mt7623a_unielec_u7623_02_defconfig
  421.  
  422. Applying ./patches/402-update-bananapi-bpi-r64-device-tree.patch using plaintext:
  423. patching file arch/arm/dts/mt7622-bananapi-bpi-r64.dts
  424.  
  425. Applying ./patches/403-add-bananapi_bpi-r64_defconfigs.patch using plaintext:
  426. patching file configs/mt7622_bananapi_bpi-r64-sdmmc_defconfig
  427. patching file bananapi_bpi-r64-sdmmc_env
  428. patching file configs/mt7622_bananapi_bpi-r64-emmc_defconfig
  429. patching file bananapi_bpi-r64-emmc_env
  430.  
  431. Applying ./patches/410-add-linksys-e8450.patch using plaintext:
  432. patching file configs/mt7622_linksys_e8450_defconfig
  433. patching file arch/arm/dts/mt7622-linksys-e8450-ubi.dts
  434. patching file arch/arm/dts/Makefile
  435. patching file linksys_e8450_env
  436. touch /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-mt7622_bananapi_bpi-r64-emmc/u-boot-2021.04-rc3/.prepared_d1b3d862811f40c7f7313cc8e3d7484c_6664517399ebbbc92a37c5bb081b5c53
  437. rm -f /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-mt7622_bananapi_bpi-r64-emmc/u-boot-2021.04-rc3/.configured_*
  438. rm -f /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.uboot-mediatek.mt7622_bananapi_bpi-r64-emmc_installed
  439. make  -C /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-mt7622_bananapi_bpi-r64-emmc/u-boot-2021.04-rc3  mt7622_bananapi_bpi-r64-emmc_config
  440. make[3]: Entering directory '/Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-mt7622_bananapi_bpi-r64-emmc/u-boot-2021.04-rc3'
  441. Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
  442.   HOSTCC  scripts/basic/fixdep
  443.   HOSTCC  scripts/kconfig/conf.o
  444.   YACC    scripts/kconfig/zconf.tab.c
  445.   LEX     scripts/kconfig/zconf.lex.c
  446.   HOSTCC  scripts/kconfig/zconf.tab.o
  447.   HOSTLD  scripts/kconfig/conf
  448. #
  449. # configuration written to .config
  450. #
  451. make[3]: Leaving directory '/Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-mt7622_bananapi_bpi-r64-emmc/u-boot-2021.04-rc3'
  452. touch /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-mt7622_bananapi_bpi-r64-emmc/u-boot-2021.04-rc3/.configured_68b329da9893e34099c7d8ad5cb9c940
  453. rm -f /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-mt7622_bananapi_bpi-r64-emmc/u-boot-2021.04-rc3/.built
  454. touch /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-mt7622_bananapi_bpi-r64-emmc/u-boot-2021.04-rc3/.built_check
  455. make  -C /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-mt7622_bananapi_bpi-r64-emmc/u-boot-2021.04-rc3 CROSS_COMPILE=aarch64-openwrt-linux-musl- DTC="/Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_mt7622/linux-5.10.20/scripts/dtc/dtc" HOSTCC="gcc" HOSTCFLAGS="-O2 -I/Volumes/mt7622/openwrt/staging_dir/host/include -I/Volumes/mt7622/openwrt/staging_dir/hostpkg/include -I/Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/include -I/Volumes/mt7622/openwrt/staging_dir/host/include -I/Volumes/mt7622/openwrt/staging_dir/hostpkg/include -I/Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/include -std=gnu11" HOSTLDFLAGS="-L/Volumes/mt7622/openwrt/staging_dir/host/lib -L/Volumes/mt7622/openwrt/staging_dir/hostpkg/lib -L/Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/lib" u-boot.bin
  456. make[3]: Entering directory '/Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-mt7622_bananapi_bpi-r64-emmc/u-boot-2021.04-rc3'
  457.   HOSTCC  scripts/basic/fixdep
  458.   HOSTCC  scripts/kconfig/conf.o
  459.   HOSTCC  scripts/kconfig/zconf.tab.o
  460.   HOSTLD  scripts/kconfig/conf
  461. ld: warning: directory not found for option '-L/Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/lib'
  462. scripts/kconfig/conf  --syncconfig Kconfig
  463.   UPD     include/config.h
  464.   CFG     u-boot.cfg
  465.   GEN     include/autoconf.mk
  466.   GEN     include/autoconf.mk.dep
  467.   UPD     include/config/uboot.release
  468.   UPD     include/generated/version_autogenerated.h
  469.   UPD     include/generated/timestamp_autogenerated.h
  470.   UPD     include/generated/dt.h
  471.   UPD     include/generated/defaultenv_autogenerated.h
  472.   CC      lib/asm-offsets.s
  473.   UPD     include/generated/generic-asm-offsets.h
  474.   CC      arch/arm/lib/asm-offsets.s
  475.   UPD     include/generated/asm-offsets.h
  476.   HOSTCC  scripts/dtc/dtc.o
  477.   HOSTCC  scripts/dtc/flattree.o
  478.   HOSTCC  scripts/dtc/fstree.o
  479.   HOSTCC  scripts/dtc/data.o
  480.   HOSTCC  scripts/dtc/livetree.o
  481.   HOSTCC  scripts/dtc/treesource.o
  482.   HOSTCC  scripts/dtc/srcpos.o
  483.   HOSTCC  scripts/dtc/checks.o
  484.   HOSTCC  scripts/dtc/util.o
  485.   LEX     scripts/dtc/dtc-lexer.lex.c
  486.   YACC    scripts/dtc/dtc-parser.tab.h
  487.   HOSTCC  scripts/dtc/dtc-lexer.lex.o
  488.   YACC    scripts/dtc/dtc-parser.tab.c
  489.   HOSTCC  scripts/dtc/dtc-parser.tab.o
  490.   HOSTLD  scripts/dtc/dtc
  491. ld: warning: directory not found for option '-L/Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/lib'
  492.   HOSTCC  scripts/bin2c
  493.   HOSTCC  tools/gen_eth_addr
  494.   HOSTCC  tools/gen_ethaddr_crc.o
  495.   WRAP    tools/lib/crc8.c
  496.   HOSTCC  tools/lib/crc8.o
  497.   HOSTLD  tools/gen_ethaddr_crc
  498. ld: warning: directory not found for option '-L/Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/lib'
  499.   HOSTCC  tools/img2srec
  500.   HOSTCC  tools/mkenvimage.o
  501.   HOSTCC  tools/os_support.o
  502.   WRAP    tools/lib/crc32.c
  503.   HOSTCC  tools/lib/crc32.o
  504.   HOSTLD  tools/mkenvimage
  505. ld: warning: directory not found for option '-L/Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/host/lib'
  506.   HOSTCC  tools/aisimage.o
  507. In file included from tools/aisimage.c:9:
  508. In file included from include/image.h:19:
  509. In file included from ./arch/arm/include/asm/byteorder.h:29:
  510. In file included from include/linux/byteorder/little_endian.h:13:
  511. include/linux/types.h:146:9: error: unknown type name '__u64'; did you mean '__s64'?
  512. typedef __u64 __bitwise __le64;
  513.         ^
  514. /Volumes/mt7622/openwrt/staging_dir/host/include/asm/types.h:19:44: note: '__s64' declared here
  515. __extension__ typedef __signed__ long long __s64;
  516.                                            ^
  517. In file included from tools/aisimage.c:9:
  518. In file included from include/image.h:19:
  519. In file included from ./arch/arm/include/asm/byteorder.h:29:
  520. In file included from include/linux/byteorder/little_endian.h:13:
  521. include/linux/types.h:147:9: error: unknown type name '__u64'; did you mean '__s64'?
  522. typedef __u64 __bitwise __be64;
  523.         ^
  524. /Volumes/mt7622/openwrt/staging_dir/host/include/asm/types.h:19:44: note: '__s64' declared here
  525. __extension__ typedef __signed__ long long __s64;
  526.                                            ^
  527. In file included from tools/aisimage.c:9:
  528. In file included from include/image.h:19:
  529. In file included from ./arch/arm/include/asm/byteorder.h:29:
  530. In file included from include/linux/byteorder/little_endian.h:14:
  531. include/linux/byteorder/swab.h:125:42: error: unknown type name '__u64'; did you mean '__s64'?
  532. static __inline__ __attribute__((const)) __u64 __fswab64(__u64 x)
  533.                                          ^
  534. /Volumes/mt7622/openwrt/staging_dir/host/include/asm/types.h:19:44: note: '__s64' declared here
  535. __extension__ typedef __signed__ long long __s64;
  536.                                            ^
  537. In file included from tools/aisimage.c:9:
  538. In file included from include/image.h:19:
  539. In file included from ./arch/arm/include/asm/byteorder.h:29:
  540. In file included from include/linux/byteorder/little_endian.h:14:
  541. include/linux/byteorder/swab.h:125:58: error: unknown type name '__u64'; did you mean '__s64'?
  542. static __inline__ __attribute__((const)) __u64 __fswab64(__u64 x)
  543.                                                          ^
  544. /Volumes/mt7622/openwrt/staging_dir/host/include/asm/types.h:19:44: note: '__s64' declared here
  545. __extension__ typedef __signed__ long long __s64;
  546.                                            ^
  547. In file included from tools/aisimage.c:9:
  548. In file included from include/image.h:19:
  549. In file included from ./arch/arm/include/asm/byteorder.h:29:
  550. In file included from include/linux/byteorder/little_endian.h:14:
  551. include/linux/byteorder/swab.h:130:12: error: use of undeclared identifier '__u64'
  552.         return (((__u64)__swab32(l)) << 32) | ((__u64)(__swab32(h)));
  553.                   ^
  554. include/linux/byteorder/swab.h:130:42: error: use of undeclared identifier '__u64'
  555.         return (((__u64)__swab32(l)) << 32) | ((__u64)(__swab32(h)));
  556.                                                 ^
  557. include/linux/byteorder/swab.h:135:19: error: unknown type name '__u64'; did you mean '__s64'?
  558. static __inline__ __u64 __swab64p(const __u64 *x)
  559.                   ^
  560. /Volumes/mt7622/openwrt/staging_dir/host/include/asm/types.h:19:44: note: '__s64' declared here
  561. __extension__ typedef __signed__ long long __s64;
  562.                                            ^
  563. In file included from tools/aisimage.c:9:
  564. In file included from include/image.h:19:
  565. In file included from ./arch/arm/include/asm/byteorder.h:29:
  566. In file included from include/linux/byteorder/little_endian.h:14:
  567. include/linux/byteorder/swab.h:135:41: error: unknown type name '__u64'; did you mean '__s64'?
  568. static __inline__ __u64 __swab64p(const __u64 *x)
  569.                                         ^
  570. /Volumes/mt7622/openwrt/staging_dir/host/include/asm/types.h:19:44: note: '__s64' declared here
  571. __extension__ typedef __signed__ long long __s64;
  572.                                            ^
  573. In file included from tools/aisimage.c:9:
  574. In file included from include/image.h:19:
  575. In file included from ./arch/arm/include/asm/byteorder.h:29:
  576. In file included from include/linux/byteorder/little_endian.h:14:
  577. include/linux/byteorder/swab.h:137:9: error: use of undeclared identifier '__u64'
  578.         return __arch__swab64p(x);
  579.                ^
  580. include/linux/byteorder/swab.h:62:30: note: expanded from macro '__arch__swab64p'
  581. #  define __arch__swab64p(x) __swab64(*(x))
  582.                              ^
  583. include/linux/byteorder/swab.h:89:24: note: expanded from macro '__swab64'
  584. (__builtin_constant_p((__u64)(x)) ? \
  585.                        ^
  586. include/linux/byteorder/swab.h:137:9: error: use of undeclared identifier '__u64'
  587. include/linux/byteorder/swab.h:62:30: note: expanded from macro '__arch__swab64p'
  588. #  define __arch__swab64p(x) __swab64(*(x))
  589.                              ^
  590. include/linux/byteorder/swab.h:90:2: note: expanded from macro '__swab64'
  591.  ___swab64((x)) : \
  592.  ^
  593. include/linux/byteorder/swab.h:32:4: note: expanded from macro '___swab64'
  594.         ((__u64)( \
  595.           ^
  596. include/linux/byteorder/swab.h:137:9: error: use of undeclared identifier '__u64'
  597. include/linux/byteorder/swab.h:62:30: note: expanded from macro '__arch__swab64p'
  598. #  define __arch__swab64p(x) __swab64(*(x))
  599.                              ^
  600. include/linux/byteorder/swab.h:90:2: note: expanded from macro '__swab64'
  601.  ___swab64((x)) : \
  602.  ^
  603. include/linux/byteorder/swab.h:33:4: note: expanded from macro '___swab64'
  604.                 (__u64)(((__u64)(x) & (__u64)0x00000000000000ffULL) << 56) | \
  605.                  ^
  606. include/linux/byteorder/swab.h:137:9: error: use of undeclared identifier '__u64'
  607. include/linux/byteorder/swab.h:62:30: note: expanded from macro '__arch__swab64p'
  608. #  define __arch__swab64p(x) __swab64(*(x))
  609.                              ^
  610. include/linux/byteorder/swab.h:90:2: note: expanded from macro '__swab64'
  611.  ___swab64((x)) : \
  612.  ^
  613. include/linux/byteorder/swab.h:33:13: note: expanded from macro '___swab64'
  614.                 (__u64)(((__u64)(x) & (__u64)0x00000000000000ffULL) << 56) | \
  615.                           ^
  616. include/linux/byteorder/swab.h:137:9: error: use of undeclared identifier '__u64'
  617. include/linux/byteorder/swab.h:62:30: note: expanded from macro '__arch__swab64p'
  618. #  define __arch__swab64p(x) __swab64(*(x))
  619.                              ^
  620. include/linux/byteorder/swab.h:90:2: note: expanded from macro '__swab64'
  621.  ___swab64((x)) : \
  622.  ^
  623. include/linux/byteorder/swab.h:33:26: note: expanded from macro '___swab64'
  624.                 (__u64)(((__u64)(x) & (__u64)0x00000000000000ffULL) << 56) | \
  625.                                        ^
  626. include/linux/byteorder/swab.h:137:9: error: use of undeclared identifier '__u64'
  627. include/linux/byteorder/swab.h:62:30: note: expanded from macro '__arch__swab64p'
  628. #  define __arch__swab64p(x) __swab64(*(x))
  629.                              ^
  630. include/linux/byteorder/swab.h:90:2: note: expanded from macro '__swab64'
  631.  ___swab64((x)) : \
  632.  ^
  633. include/linux/byteorder/swab.h:34:4: note: expanded from macro '___swab64'
  634.                 (__u64)(((__u64)(x) & (__u64)0x000000000000ff00ULL) << 40) | \
  635.                  ^
  636. include/linux/byteorder/swab.h:137:9: error: use of undeclared identifier '__u64'
  637. include/linux/byteorder/swab.h:62:30: note: expanded from macro '__arch__swab64p'
  638. #  define __arch__swab64p(x) __swab64(*(x))
  639.                              ^
  640. include/linux/byteorder/swab.h:90:2: note: expanded from macro '__swab64'
  641.  ___swab64((x)) : \
  642.  ^
  643. include/linux/byteorder/swab.h:34:13: note: expanded from macro '___swab64'
  644.                 (__u64)(((__u64)(x) & (__u64)0x000000000000ff00ULL) << 40) | \
  645.                           ^
  646. include/linux/byteorder/swab.h:137:9: error: use of undeclared identifier '__u64'
  647. include/linux/byteorder/swab.h:62:30: note: expanded from macro '__arch__swab64p'
  648. #  define __arch__swab64p(x) __swab64(*(x))
  649.                              ^
  650. include/linux/byteorder/swab.h:90:2: note: expanded from macro '__swab64'
  651.  ___swab64((x)) : \
  652.  ^
  653. include/linux/byteorder/swab.h:34:26: note: expanded from macro '___swab64'
  654.                 (__u64)(((__u64)(x) & (__u64)0x000000000000ff00ULL) << 40) | \
  655.                                        ^
  656. include/linux/byteorder/swab.h:137:9: error: use of undeclared identifier '__u64'
  657. include/linux/byteorder/swab.h:62:30: note: expanded from macro '__arch__swab64p'
  658. #  define __arch__swab64p(x) __swab64(*(x))
  659.                              ^
  660. include/linux/byteorder/swab.h:90:2: note: expanded from macro '__swab64'
  661.  ___swab64((x)) : \
  662.  ^
  663. include/linux/byteorder/swab.h:35:4: note: expanded from macro '___swab64'
  664.                 (__u64)(((__u64)(x) & (__u64)0x0000000000ff0000ULL) << 24) | \
  665.                  ^
  666. include/linux/byteorder/swab.h:137:9: error: use of undeclared identifier '__u64'
  667. include/linux/byteorder/swab.h:62:30: note: expanded from macro '__arch__swab64p'
  668. #  define __arch__swab64p(x) __swab64(*(x))
  669.                              ^
  670. include/linux/byteorder/swab.h:90:2: note: expanded from macro '__swab64'
  671.  ___swab64((x)) : \
  672.  ^
  673. include/linux/byteorder/swab.h:35:13: note: expanded from macro '___swab64'
  674.                 (__u64)(((__u64)(x) & (__u64)0x0000000000ff0000ULL) << 24) | \
  675.                           ^
  676. include/linux/byteorder/swab.h:137:9: error: use of undeclared identifier '__u64'
  677. include/linux/byteorder/swab.h:62:30: note: expanded from macro '__arch__swab64p'
  678. #  define __arch__swab64p(x) __swab64(*(x))
  679.                              ^
  680. include/linux/byteorder/swab.h:90:2: note: expanded from macro '__swab64'
  681.  ___swab64((x)) : \
  682.  ^
  683. include/linux/byteorder/swab.h:35:26: note: expanded from macro '___swab64'
  684.                 (__u64)(((__u64)(x) & (__u64)0x0000000000ff0000ULL) << 24) | \
  685.                                        ^
  686. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  687. 20 errors generated.
  688. make[4]: *** [scripts/Makefile.host:112: tools/aisimage.o] Error 1
  689. make[3]: *** [Makefile:1795: tools] Error 2
  690. make[3]: Leaving directory '/Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-mt7622_bananapi_bpi-r64-emmc/u-boot-2021.04-rc3'
  691. make[2]: *** [Makefile:112: /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-mt7622_bananapi_bpi-r64-emmc/u-boot-2021.04-rc3/.built] Error 2
  692. make[2]: Leaving directory '/Volumes/mt7622/openwrt/package/boot/uboot-mediatek'
  693. time: package/boot/uboot-mediatek/mt7622_bananapi_bpi-r64-emmc/compile#10.59#5.55#17.34
  694.     ERROR: package/boot/uboot-mediatek failed to build (build variant: mt7622_bananapi_bpi-r64-emmc).
  695. make[1]: *** [package/Makefile:114: package/boot/uboot-mediatek/compile] Error 1
  696. make[1]: Leaving directory '/Volumes/mt7622/openwrt'
  697. make: *** [/Volumes/mt7622/openwrt/include/toplevel.mk:230: package/boot/uboot-mediatek/compile] Error 2
  698. g@gMac:/Volumes/mt7622/openwrt$
  699.  
  700.  
  701. Last login: Sat Mar 13 11:04:20 on ttys007
  702. root@gMac:~# logout
  703. g@gMac:/Volumes/mt7622/openwrt$ git checkout -b gvalkov
  704. Switched to a new branch 'gvalkov'
  705. g@gMac:/Volumes/mt7622/openwrt$ git revert e2cffbb80528b1c13bbaba6e53835de378ef3923
  706. [gvalkov d9bef7c96f] Revert "arm-trusted-firmware-mediatek: update to 2021-03-10"
  707.  1 file changed, 4 insertions(+), 8 deletions(-)
  708. g@gMac:/Volumes/mt7622/openwrt$ git log
  709. commit d9bef7c96fa50ff50784f4a536beeecdb058a196 (HEAD -> gvalkov)
  710. Author: Georgi Valkov <gvalkov@abv.bg>
  711. Date:   Sat Mar 13 11:46:56 2021 +0200
  712.  
  713.     Revert "arm-trusted-firmware-mediatek: update to 2021-03-10"
  714.    
  715.     This reverts commit e2cffbb80528b1c13bbaba6e53835de378ef3923.
  716.  
  717. commit 9530b9bb78845910de711d425f1e4b1c7d539b13 (origin/master, origin/HEAD, master)
  718. Author: Rafał Miłecki <rafal@milecki.pl>
  719. Date:   Fri Mar 12 21:08:24 2021 +0100
  720.  
  721.     bcm47xx: make WGT634U NVRAM patch apply again
  722.    
  723.     Fixes: 1c48eee5b2bc ("kernel: backport Broadcom NVRAM driver cleanups")
  724.     Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
  725.  
  726. commit 3d1ea0d77f9d313c85ee82ef90082083f9e0176e
  727. Author: Felix Fietkau <nbd@nbd.name>
  728. Date:   Fri Mar 12 14:45:19 2021 +0100
  729.  
  730.     kernel: add compatibility with upstream threaded NAPI patch
  731.    
  732.     Enable threading if dev->threaded is set. This will be used to bring mt76 back
  733.     in sync with upstream
  734.    
  735.     Signed-off-by: Felix Fietkau <nbd@nbd.name>
  736.  
  737. commit 0d5bf53197481d291f9a541eefa03b11a34033f9
  738. Author: Felix Fietkau <nbd@nbd.name>
  739. Date:   Mon Mar 8 17:20:20 2021 +0100
  740.  
  741.     kernel: update 5.10 flow offload patches
  742.    
  743.     Includes PPPoE support and VLAN related fixes
  744.    
  745.     Signed-off-by: Felix Fietkau <nbd@nbd.name>
  746.  
  747. commit e90e75b12c818c49704755b9e530491aee2d554c
  748. Author: Rafał Miłecki <rafal@milecki.pl>
  749. Date:   Fri Mar 12 18:30:01 2021 +0100
  750.  
  751.     kernel: add pending mtd patches adding NVMEM support
  752.    
  753.     It's meant to provide upstream support for mtd & NVMEM. It's required
  754.     e.g. for reading MAC address from mtd partition content. It seems to be
  755.     in a final shape so it's worth testing.
  756.    
  757.    Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
  758.  
  759. commit deceb039931cd8eb011a0eb65731f335662070d0
  760. Author: Rafał Miłecki <rafal@milecki.pl>
  761. Date:   Fri Mar 12 17:37:59 2021 +0100
  762.  
  763.    kernel: move mtd ofpart accepted patch
  764.    
  765.    Move upstream patch to the backport directory.
  766.    
  767.    Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
  768.  
  769. commit b2b75e1939313ee64e6ff3f3374477a81fdb3746
  770. Author: Rafał Miłecki <rafal@milecki.pl>
  771. Date:   Fri Mar 12 17:36:58 2021 +0100
  772.  
  773.    kernel: add two more missed 5.10 backports
  774.    
  775.    Those were added to 5.4 but missed while introducing 5.10 kernel.
  776.    
  777.    Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
  778.  
  779. commit baf04eed028a838518c65be48cbaabe0892343aa
  780. Author: Rafał Miłecki <rafal@milecki.pl>
  781. Date:   Fri Mar 12 18:10:09 2021 +0100
  782.  
  783.    bcm53xx: initialize NVRAM from NVMEM driver
  784.    
  785. g@gMac:/Volumes/mt7622/openwrt$ make package/boot/uboot-mediatek/{clean,compile} V=sc
  786. Collecting package info: done
  787. make[1]: Entering directory '/Volumes/mt7622/openwrt'
  788. make[2]: Entering directory '/Volumes/mt7622/openwrt/package/boot/uboot-mediatek'
  789. Makefile:109: extraneous text after 'ifeq' directive
  790. rm -rf /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-mt7622_bananapi_bpi-r64-emmc/u-boot-2021.04-rc3
  791. rm -rf /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/u-boot-mt7622_bananapi_bpi-r64-emmc
  792. rm -f /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.uboot-mediatek.mt7622_bananapi_bpi-r64-emmc_installed
  793. rm -f /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/packages/uboot-mediatek.mt7622_bananapi_bpi-r64-emmc.list
  794. make[2]: Leaving directory '/Volumes/mt7622/openwrt/package/boot/uboot-mediatek'
  795. time: package/boot/uboot-mediatek/mt7622_bananapi_bpi-r64-emmc/clean#0.18#1.70#2.77
  796. make[2]: Entering directory '/Volumes/mt7622/openwrt/package/boot/uboot-mediatek'
  797. Makefile:109: extraneous text after 'ifeq' directive
  798. rm -rf /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-mt7622_bananapi_bpi-r64-sdmmc/u-boot-2021.04-rc3
  799. rm -rf /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/u-boot-mt7622_bananapi_bpi-r64-sdmmc
  800. rm -f /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.uboot-mediatek.mt7622_bananapi_bpi-r64-sdmmc_installed
  801. rm -f /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/packages/uboot-mediatek.mt7622_bananapi_bpi-r64-sdmmc.list
  802. make[2]: Leaving directory '/Volumes/mt7622/openwrt/package/boot/uboot-mediatek'
  803. time: package/boot/uboot-mediatek/mt7622_bananapi_bpi-r64-sdmmc/clean#0.15#0.11#0.32
  804. make[2]: Entering directory '/Volumes/mt7622/openwrt/package/boot/uboot-mediatek'
  805. Makefile:109: extraneous text after 'ifeq' directive
  806. rm -rf /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-mt7622_linksys_e8450/u-boot-2021.04-rc3
  807. rm -rf /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/u-boot-mt7622_linksys_e8450
  808. rm -f /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.uboot-mediatek.mt7622_linksys_e8450_installed
  809. rm -f /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/packages/uboot-mediatek.mt7622_linksys_e8450.list
  810. make[2]: Leaving directory '/Volumes/mt7622/openwrt/package/boot/uboot-mediatek'
  811. time: package/boot/uboot-mediatek/mt7622_linksys_e8450/clean#0.14#0.11#0.30
  812. make[2]: Entering directory '/Volumes/mt7622/openwrt/package/boot/uboot-mediatek'
  813. Makefile:109: extraneous text after 'ifeq' directive
  814. rm -rf /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/u-boot-mt7622_rfb1/u-boot-2021.04-rc3
  815. rm -rf /Volumes/mt7622/openwrt/bin/targets/mediatek/mt7622/u-boot-mt7622_rfb1
  816. rm -f /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.uboot-mediatek.mt7622_rfb1_installed
  817. rm -f /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/packages/uboot-mediatek.mt7622_rfb1.list
  818. make[2]: Leaving directory '/Volumes/mt7622/openwrt/package/boot/uboot-mediatek'
  819. time: package/boot/uboot-mediatek/mt7622_rfb1/clean#0.14#0.11#0.31
  820. make[1]: Leaving directory '/Volumes/mt7622/openwrt'
  821. make[1]: Entering directory '/Volumes/mt7622/openwrt'
  822. make[2]: Entering directory '/Volumes/mt7622/openwrt/package/libs/toolchain'
  823. echo "libc" >> /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/toolchain.default.install
  824. echo "libgcc" >> /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/toolchain.default.install
  825. echo "libpthread" >> /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/toolchain.default.install
  826. echo "librt" >> /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/pkginfo/toolchain.default.install
  827. make[2]: Leaving directory '/Volumes/mt7622/openwrt/package/libs/toolchain'
  828. time: package/libs/toolchain/compile#0.19#0.15#0.42
  829. make[2]: Entering directory '/Volumes/mt7622/openwrt/package/boot/arm-trusted-firmware-mediatek'
  830. mkdir -p /Volumes/mt7622/openwrt/dl
  831. SHELL= flock /Volumes/mt7622/openwrt/tmp/.arm-trusted-firmware-mediatek-2021-02-25-1220acb0.tar.xz.flock -c '   /Volumes/mt7622/openwrt/scripts/download.pl "/Volumes/mt7622/openwrt/dl" "arm-trusted-firmware-mediatek-2021-02-25-1220acb0.tar.xz" "f2ca44b9b8acfbd3a6be30aba316c765f73bad6231a821f524c9f21a845e50a3" "" || (  /Volumes/mt7622/openwrt/scripts/dl_github_archive.py --dl-dir="/Volumes/mt7622/openwrt/dl" --url="https://github.com/mtk-openwrt/arm-trusted-firmware.git" --version="1220acb044a9db9a201aba3be0bb4ce0c9ed3702" --subdir="arm-trusted-firmware-mediatek-2021-02-25-1220acb0" --source="arm-trusted-firmware-mediatek-2021-02-25-1220acb0.tar.xz" --hash="f2ca44b9b8acfbd3a6be30aba316c765f73bad6231a821f524c9f21a845e50a3" || (     echo "Checking out files from the git repository..."; mkdir -p /Volumes/mt7622/openwrt/tmp/dl && cd /Volumes/mt7622/openwrt/tmp/dl && rm -rf arm-trusted-firmware-mediatek-2021-02-25-1220acb0 && [ \! -d arm-trusted-firmware-mediatek-2021-02-25-1220acb0 ] && git clone  https://github.com/mtk-openwrt/arm-trusted-firmware.git arm-trusted-firmware-mediatek-2021-02-25-1220acb0 && (cd arm-trusted-firmware-mediatek-2021-02-25-1220acb0 && git checkout 1220acb044a9db9a201aba3be0bb4ce0c9ed3702 && git submodule update --init --recursive) && echo "Packing checkout..." && export TAR_TIMESTAMP=`cd arm-trusted-firmware-mediatek-2021-02-25-1220acb0 && git log -1 --format='\''@%ct'\''` && rm -rf arm-trusted-firmware-mediatek-2021-02-25-1220acb0/.git &&    tar --numeric-owner --owner=0 --group=0 --mode=a-s --sort=name ${TAR_TIMESTAMP:+--mtime="$TAR_TIMESTAMP"} -c arm-trusted-firmware-mediatek-2021-02-25-1220acb0 |    xz -zc -7e > /Volumes/mt7622/openwrt/tmp/dl/arm-trusted-firmware-mediatek-2021-02-25-1220acb0.tar.xz && mv /Volumes/mt7622/openwrt/tmp/dl/arm-trusted-firmware-mediatek-2021-02-25-1220acb0.tar.xz /Volumes/mt7622/openwrt/dl/ && rm -rf arm-trusted-firmware-mediatek-2021-02-25-1220acb0; );  )    '
  832. + curl -f --connect-timeout 20 --retry 5 --location --insecure https://sources.cdn.openwrt.org/arm-trusted-firmware-mediatek-2021-02-25-1220acb0.tar.xz
  833.   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  834.                                  Dload  Upload   Total   Spent    Left  Speed
  835. 100 4843k  100 4843k    0     0  3435k      0  0:00:01  0:00:01 --:--:-- 3432k
  836. touch /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/arm-trusted-firmware-mediatek-mt7622-snand-1ddr/arm-trusted-firmware-mediatek-2021-02-25-1220acb0/.prepared_ea680083e3684e614611388f9afdc086_6664517399ebbbc92a37c5bb081b5c53_check
  837. . /Volumes/mt7622/openwrt/include/shell.sh; xzcat /Volumes/mt7622/openwrt/dl/arm-trusted-firmware-mediatek-2021-02-25-1220acb0.tar.xz | tar -C /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/arm-trusted-firmware-mediatek-mt7622-snand-1ddr/arm-trusted-firmware-mediatek-2021-02-25-1220acb0/.. -xf -
  838. [ ! -d ./src/ ] || cp -fpR ./src/. /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/arm-trusted-firmware-mediatek-mt7622-snand-1ddr/arm-trusted-firmware-mediatek-2021-02-25-1220acb0
  839. touch /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/arm-trusted-firmware-mediatek-mt7622-snand-1ddr/arm-trusted-firmware-mediatek-2021-02-25-1220acb0/.prepared_ea680083e3684e614611388f9afdc086_6664517399ebbbc92a37c5bb081b5c53
  840. rm -f /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/arm-trusted-firmware-mediatek-mt7622-snand-1ddr/arm-trusted-firmware-mediatek-2021-02-25-1220acb0/.configured_*
  841. rm -f /Volumes/mt7622/openwrt/staging_dir/target-aarch64_cortex-a53_musl/stamp/.arm-trusted-firmware-mediatek.mt7622-snand-1ddr_installed
  842. touch /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/arm-trusted-firmware-mediatek-mt7622-snand-1ddr/arm-trusted-firmware-mediatek-2021-02-25-1220acb0/.configured_68b329da9893e34099c7d8ad5cb9c940
  843. rm -f /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/arm-trusted-firmware-mediatek-mt7622-snand-1ddr/arm-trusted-firmware-mediatek-2021-02-25-1220acb0/.built
  844. touch /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/arm-trusted-firmware-mediatek-mt7622-snand-1ddr/arm-trusted-firmware-mediatek-2021-02-25-1220acb0/.built_check
  845. make  -C /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/arm-trusted-firmware-mediatek-mt7622-snand-1ddr/arm-trusted-firmware-mediatek-2021-02-25-1220acb0 CROSS_COMPILE=aarch64-openwrt-linux-musl- OPENSSL_DIR=/Volumes/mt7622/openwrt/staging_dir/host PLAT=mt7622 BUILD_STRING="OpenWrt v2021-02-25-1220acb0-1 (mt7622-snand-1ddr)" BOOT_DEVICE=snand  all
  846. make[3]: Entering directory '/Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/arm-trusted-firmware-mediatek-mt7622-snand-1ddr/arm-trusted-firmware-mediatek-2021-02-25-1220acb0'
  847.   CC      common/desc_image_load.c
  848.   CC      drivers/arm/gic/common/gic_common.c
  849. drivers/arm/gic/common/gic_common.c:7:9: note: #pragma message: drivers/arm/gic/common/gic_common.c is deprecated, use gicv2.mk instead
  850.  #pragma message __FILE__ " is deprecated, use gicv2.mk instead"
  851.          ^~~~~~~
  852.   CC      drivers/arm/gic/v2/gicv2_main.c
  853.   CC      drivers/arm/gic/v2/gicv2_helpers.c
  854.   CC      drivers/delay_timer/delay_timer.c
  855.   CC      drivers/delay_timer/generic_delay_timer.c
  856.   CC      drivers/gpio/gpio.c
  857.   CC      drivers/io/io_storage.c
  858.   CC      drivers/io/io_block.c
  859.   CC      drivers/io/io_fip.c
  860.   CC      plat/mediatek/common/mtk_plat_common.c
  861.   CC      plat/mediatek/mt7622/aarch64/platform_common.c
  862.   CC      plat/mediatek/mt7622/bl2_plat_setup.c
  863.   CC      plat/mediatek/mt7622/drivers/pinctrl/pinctrl.c
  864.   CC      plat/mediatek/mt7622/drivers/pll/pll.c
  865.   CC      plat/mediatek/mt7622/drivers/pmic/pmic_wrap.c
  866.   CC      plat/mediatek/mt7622/drivers/pmic/pmic.c
  867.   CC      plat/mediatek/mt7622/drivers/spm/mtcmos.c
  868.   CC      plat/mediatek/mt7622/drivers/timer/cpuxgpt.c
  869.   CC      plat/mediatek/mt7622/mtk_ar_table.c
  870.   CC      plat/mediatek/common/drivers/snfi/mtk-snand.c
  871.   CC      plat/mediatek/common/drivers/snfi/mtk-snand-ecc.c
  872.   CC      plat/mediatek/common/drivers/snfi/mtk-snand-ids.c
  873.   CC      plat/mediatek/common/drivers/snfi/mtk-snand-os.c
  874.   CC      plat/mediatek/common/mempool.c
  875.   CC      plat/mediatek/mt7622/bl2_boot_snand.c
  876.   CC      bl2/bl2_image_load_v2.c
  877.   CC      bl2/bl2_main.c
  878.   CC      bl2/aarch64/bl2_arch_setup.c
  879.   CC      lib/cpus/errata_report.c
  880.   CC      common/bl_common.c
  881.   CC      common/tf_log.c
  882.   CC      drivers/console/multi_console.c
  883.   CC      plat/common/plat_bl_common.c
  884.   CC      plat/common/plat_log_common.c
  885.   CC      plat/common/aarch64/plat_common.c
  886.   CC      lib/compiler-rt/builtins/popcountdi2.c
  887.   CC      lib/compiler-rt/builtins/popcountsi2.c
  888.   CC      lib/xlat_tables/xlat_tables_common.c
  889.   CC      lib/xlat_tables/aarch64/xlat_tables.c
  890.   CC      plat/arm/common/arm_gicv2.c
  891.   CC      plat/common/plat_gicv2.c
  892.   AS      lib/cpus/aarch64/cortex_a53.S
  893.   AS      plat/mediatek/common/drivers/uart/aarch64/hsuart.S
  894.   AS      plat/mediatek/mt7622/aarch64/plat_helpers.S
  895.   AS      lib/locks/exclusive/aarch64/spinlock.S
  896.   AS      plat/common/aarch64/platform_up_stack.S
  897.   AS      common/aarch64/early_exceptions.S
  898.   AS      bl2/aarch64/bl2_el3_entrypoint.S
  899.   AS      bl2/aarch64/bl2_el3_exceptions.S
  900.   AS      lib/cpus/aarch64/cpu_helpers.S
  901.   AS      lib/cpus/aarch64/dsu_helpers.S
  902.   AS      common/aarch64/debug.S
  903.   AS      lib/aarch64/cache_helpers.S
  904.   AS      lib/aarch64/misc_helpers.S
  905.   AS      plat/common/aarch64/platform_helpers.S
  906.   PP      bl2/bl2_el3.ld.S
  907.   CC      lib/libc/abort.c
  908.   CC      lib/libc/assert.c
  909.   CC      lib/libc/exit.c
  910.   CC      lib/libc/memchr.c
  911.   CC      lib/libc/memcmp.c
  912.   CC      lib/libc/memcpy.c
  913.   CC      lib/libc/memmove.c
  914.   CC      lib/libc/memrchr.c
  915.   CC      lib/libc/memset.c
  916.   CC      lib/libc/printf.c
  917.   CC      lib/libc/putchar.c
  918.   CC      lib/libc/puts.c
  919.   CC      lib/libc/snprintf.c
  920.   CC      lib/libc/strchr.c
  921.   CC      lib/libc/strcmp.c
  922.   CC      lib/libc/strlcat.c
  923.   CC      lib/libc/strlcpy.c
  924.   CC      lib/libc/strlen.c
  925.   CC      lib/libc/strncmp.c
  926.   CC      lib/libc/strnlen.c
  927.   CC      lib/libc/strrchr.c
  928.   CC      lib/libc/strtok.c
  929.   CC      lib/libc/strtoul.c
  930.   CC      lib/libc/strtoll.c
  931.   CC      lib/libc/strtoull.c
  932.   CC      lib/libc/strtol.c
  933.   AS      lib/libc/aarch64/setjmp.S
  934.   AR      /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/arm-trusted-firmware-mediatek-mt7622-snand-1ddr/arm-trusted-firmware-mediatek-2021-02-25-1220acb0/build/mt7622/release/lib/libc.a
  935.   LD      /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/arm-trusted-firmware-mediatek-mt7622-snand-1ddr/arm-trusted-firmware-mediatek-2021-02-25-1220acb0/build/mt7622/release/bl2/bl2.elf
  936.   BIN     /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/arm-trusted-firmware-mediatek-mt7622-snand-1ddr/arm-trusted-firmware-mediatek-2021-02-25-1220acb0/build/mt7622/release/bl2.bin
  937.  
  938. Built /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/arm-trusted-firmware-mediatek-mt7622-snand-1ddr/arm-trusted-firmware-mediatek-2021-02-25-1220acb0/build/mt7622/release/bl2.bin successfully
  939.  
  940. bromimage is not supported on Darwin-x86_64!
  941. make[3]: *** [plat/mediatek/mt7622/platform.mk:236: /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/arm-trusted-firmware-mediatek-mt7622-snand-1ddr/arm-trusted-firmware-mediatek-2021-02-25-1220acb0/build/mt7622/release/bl2.img] Error 1
  942. make[3]: Leaving directory '/Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/arm-trusted-firmware-mediatek-mt7622-snand-1ddr/arm-trusted-firmware-mediatek-2021-02-25-1220acb0'
  943. make[2]: *** [Makefile:103: /Volumes/mt7622/openwrt/build_dir/target-aarch64_cortex-a53_musl/arm-trusted-firmware-mediatek-mt7622-snand-1ddr/arm-trusted-firmware-mediatek-2021-02-25-1220acb0/.built] Error 2
  944. make[2]: Leaving directory '/Volumes/mt7622/openwrt/package/boot/arm-trusted-firmware-mediatek'
  945. time: package/boot/arm-trusted-firmware-mediatek/mt7622-snand-1ddr/compile#3.41#1.74#6.73
  946.     ERROR: package/boot/arm-trusted-firmware-mediatek failed to build (build variant: mt7622-snand-1ddr).
  947. make[1]: *** [package/Makefile:114: package/boot/arm-trusted-firmware-mediatek/compile] Error 1
  948. make[1]: Leaving directory '/Volumes/mt7622/openwrt'
  949. make: *** [/Volumes/mt7622/openwrt/include/toplevel.mk:230: package/boot/uboot-mediatek/compile] Error 2
  950. g@gMac:/Volumes/mt7622/openwrt$
  951.  
  952.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement