1. make CROSS_COMPILE=../toolchain/gcc-linaro-aarch/bin/aarch64-linux-gnu- -j4
  2. scripts/kconfig/conf --syncconfig Kconfig
  3. CHK include/config.h
  4. CFG u-boot.cfg
  5. GEN include/autoconf.mk.dep
  6. CFG spl/u-boot.cfg
  7. GEN include/autoconf.mk
  8. GEN spl/include/autoconf.mk
  9. CHK include/config/uboot.release
  10. CHK include/generated/timestamp_autogenerated.h
  11. ./"board/sunxi/mksunxi_fit_atf.sh" \
  12. arch/arm/dts/sun50i-h6-orangepi-one-plus.dtb > u-boot.its
  13. UPD include/generated/timestamp_autogenerated.h
  14. CHK include/generated/version_autogenerated.h
  15. HOSTCC scripts/dtc/dtc.o
  16. PYMOD scripts/dtc/pylibfdt/_libfdt.so
  17. CC lib/asm-offsets.s
  18. unable to execute 'swig': No such file or directory
  19. error: command 'swig' failed with exit status 1
  20. scripts/dtc/pylibfdt/Makefile:27: recipe for target 'scripts/dtc/pylibfdt/_libfdt.so' failed
  21. make[3]: *** [scripts/dtc/pylibfdt/_libfdt.so] Error 1
  22. scripts/Makefile.build:434: recipe for target 'scripts/dtc/pylibfdt' failed
  23. make[2]: *** [scripts/dtc/pylibfdt] Error 2
  24. make[2]: *** Waiting for unfinished jobs....
  25. CC arch/arm/lib/asm-offsets.s
  26. CHK include/generated/generic-asm-offsets.h
  27. CHK include/config.h
  28. CHK include/generated/asm-offsets.h
  29. CFG u-boot.cfg
  30. LDS u-boot.lds
  31. scripts/Makefile.build:434: recipe for target 'scripts/dtc' failed
  32. make[1]: *** [scripts/dtc] Error 2
  33. Makefile:508: recipe for target 'scripts' failed
  34. make: *** [scripts] Error 2

problems compiling Uboot, after bl31 copy to ./uboot

bl32 compiled with debug symbols..

exported BL32 env var:

export BL31=./bl31.bin

it fails:

unable to execute 'swig': No such file or directory

error: command 'swig' failed with exit status 1