BPI-SINOVOIP / BPI-W2-bsp

Supports Banana Pi BPI-W2 (RTD1296) (Kernel 4.9.119)
65 stars 58 forks source link

build error #9

Closed tiev0li closed 5 years ago

tiev0li commented 5 years ago

/home/BPI-W2-bsp/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-ld.bfd -r -o image/rtd1295/src/app/libbootload.o image/rtd1295/src/app/bootload.o /home/BPI-W2-bsp/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-objcopy --add-section .v_entry=image/rtd1295/v_entry.img image/rtd1295/src/app/libbootload.o /home/BPI-W2-bsp/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-objcopy --add-section .exc_redirect=image/rtd1295/exc_redirect.img image/rtd1295/src/app/libbootload.o /home/BPI-W2-bsp/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-objcopy --add-section .exc_dispatch=image/rtd1295/exc_dispatch.img image/rtd1295/src/app/libbootload.o /home/BPI-W2-bsp/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-objcopy --add-section .isrvideoimg=image/rtd1295/isr_video.img image/rtd1295/src/app/libbootload.o /home/BPI-W2-bsp/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-objcopy --add-section .rosbootvectorimg=image/rtd1295/ros_bootvector.img image/rtd1295/src/app/libbootload.o /home/BPI-W2-bsp/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-objcopy --add-section .a_entry=image/rtd1295/a_entry.img image/rtd1295/src/app/libbootload.o LD u-boot common/built-in.o: In function GET_KF_IN_OTP': /home/BPI-W2-bsp/u-boot-rtk/common/cmd_rpmb.c:1081: undefined reference toOTP_Get_Byte' Segmentation fault (core dumped) Makefile:1289: recipe for target 'u-boot' failed make[1]: [u-boot] Error 139 make[1]: Leaving directory '/home/BPI-W2-bsp/u-boot-rtk' Makefile:36: recipe for target 'u-boot' failed make: [u-boot] Error 2

pablo-new17 commented 5 years ago

Hi, May we know your compile environment ? Mine is Ubuntu 16.04(64 bit) and I have no problem to build W2

tiev0li notifications@github.com 於 2019年10月20日 週日 18:18 寫道:

/home/BPI-W2-bsp/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-ld.bfd -r -o image/rtd1295/src/app/libbootload.o image/rtd1295/src/app/bootload.o /home/BPI-W2-bsp/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-objcopy --add-section .v_entry=image/rtd1295/v_entry.img image/rtd1295/src/app/libbootload.o /home/BPI-W2-bsp/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-objcopy --add-section .exc_redirect=image/rtd1295/exc_redirect.img image/rtd1295/src/app/libbootload.o /home/BPI-W2-bsp/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-objcopy --add-section .exc_dispatch=image/rtd1295/exc_dispatch.img image/rtd1295/src/app/libbootload.o /home/BPI-W2-bsp/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-objcopy --add-section .isrvideoimg=image/rtd1295/isr_video.img image/rtd1295/src/app/libbootload.o /home/BPI-W2-bsp/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-objcopy --add-section .rosbootvectorimg=image/rtd1295/ros_bootvector.img image/rtd1295/src/app/libbootload.o /home/BPI-W2-bsp/toolchains/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-objcopy --add-section .a_entry=image/rtd1295/a_entry.img image/rtd1295/src/app/libbootload.o LD u-boot common/built-in.o: In function GET_KF_IN_OTP': /home/BPI-W2-bsp/u-boot-rtk/common/cmd_rpmb.c:1081: undefined reference to OTP_Get_Byte' Segmentation fault (core dumped) Makefile:1289: recipe for target 'u-boot' failed make[1]: [u-boot] Error 139 make[1]: Leaving directory '/home/BPI-W2-bsp/u-boot-rtk' Makefile:36: recipe for target 'u-boot' failed make: [u-boot] Error 2

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/BPI-SINOVOIP/BPI-W2-bsp/issues/9?email_source=notifications&email_token=ABNNSATGTFMDBCPNFBAC6RTQPQV6XA5CNFSM4JCTUXVKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HS7PS5Q, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNNSATGWERRZJFK2JAVQELQPQV6XANCNFSM4JCTUXVA .

tiev0li commented 5 years ago

use docker images write in readme .

Dangku commented 5 years ago

@tiev0li https://github.com/BPI-SINOVOIP/BPI-W2-bsp/commit/6e6aefc35dc50b1b8231cdb03a995d088f29eb21