导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页
    1. 主页
    2. fengshulin
    3. 最佳
    F
    • 资料
    • 关注 0
    • 粉丝 0
    • 我的积分 335
    • 主题 2
    • 帖子 7
    • 最佳 2
    • 群组 0

    fengshulin 发布的最佳帖子

    • 回复: 【开源开发板】D1s-Nezha开发板全全开源上架(内含购买链接和全部软硬件资料)

      @yuzukitsuru
      关闭了,重新编译,还是报错!
      部分logo如下:

      # update .config
      export MAKEFLAGS= ; [ -f /home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/linux-5.4.61/.config ] || cp /home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/linux-5.4.61/.config.set /home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/linux-5.4.61/.config
      export MAKEFLAGS= ; make -C /home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/linux-5.4.61 HOSTCFLAGS="-O2 -I/home/embedfire/tina-d1-h/out/host/include -I/home/embedfire/tina-d1-h/out/host/usr/include  -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="riscv64-unknown-linux-gnu-" ARCH="riscv" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST="" CONFIG_SHELL="bash" V=''  EXTRA_LDSFLAGS="-I/home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha -include symtab.h" CC="riscv64-unknown-linux-gnu-gcc" INSTALL_HDR_PATH=/home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/linux-5.4.61/user_headers headers_install
      make[5]: Entering directory '/home/embedfire/tina-d1-h/lichee/linux-5.4'
        INSTALL /home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/linux-5.4.61/user_headers/include
      make[5]: Leaving directory '/home/embedfire/tina-d1-h/lichee/linux-5.4'
      . /home/embedfire/tina-d1-h/build/shell.sh; grep '=[ym]' /home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/linux-5.4.61/.config.set | LC_ALL=C sort | md5s > /home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/linux-5.4.61/.vermagic
      touch /home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/linux-5.4.61/.configured
      rm -f /home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/symtab.h
      touch /home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/symtab.h
      make -C /home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/linux-5.4.61 HOSTCFLAGS="-O2 -I/home/embedfire/tina-d1-h/out/host/include -I/home/embedfire/tina-d1-h/out/host/usr/include  -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="riscv64-unknown-linux-gnu-" ARCH="riscv" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST="" CONFIG_SHELL="bash" V=''  EXTRA_LDSFLAGS="-I/home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha -include symtab.h" CC="riscv64-unknown-linux-gnu-gcc" vmlinux
      make[5]: Entering directory '/home/embedfire/tina-d1-h/lichee/linux-5.4'
      scripts/Makefile.asm-generic:25: redundant generic-y found in arch/riscv/include/asm/Kbuild: device.h
        CALL    scripts/checksyscalls.sh
        CALL    scripts/atomic/check-atomics.sh
        CHK     include/generated/compile.h
        GEN     .version
        CHK     include/generated/compile.h
        UPD     include/generated/compile.h
        CC      init/version.o
        AR      init/built-in.a
        LD      vmlinux.o
      /home/embedfire/tina-d1-h/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/bin/riscv64-unknown-linux-gnu-ld: drivers/bluetooth/xradio_btlpm.o: in function `bluesleep_sleep_wakeup':
      xradio_btlpm.c:(.text.unlikely+0x204): multiple definition of `bluesleep_sleep_wakeup'; drivers/bluetooth/rtl_btlpm.o:rtl_btlpm.c:(.text+0x4b4): first defined here
      /home/embedfire/tina-d1-h/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/bin/riscv64-unknown-linux-gnu-ld: drivers/bluetooth/xradio_btlpm.o: in function `.LANCHOR0':
      xradio_btlpm.c:(.bss+0x10): multiple definition of `sleep_dir'; drivers/bluetooth/rtl_btlpm.o:rtl_btlpm.c:(.bss+0x0): first defined here
      /home/embedfire/tina-d1-h/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/bin/riscv64-unknown-linux-gnu-ld: drivers/bluetooth/xradio_btlpm.o: in function `.LANCHOR0':
      xradio_btlpm.c:(.bss+0x18): multiple definition of `bluetooth_dir'; drivers/bluetooth/rtl_btlpm.o:rtl_btlpm.c:(.bss+0x8): first defined here
      /home/embedfire/tina-d1-h/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/bin/riscv64-unknown-linux-gnu-ld: drivers/bluetooth/xradio_btlpm.o: in function `.LANCHOR2':
      xradio_btlpm.c:(.data+0xe8): multiple definition of `sleep_workqueue'; drivers/bluetooth/rtl_btlpm.o:rtl_btlpm.c:(.data+0xe8): first defined here
      Makefile:1178: recipe for target 'vmlinux' failed
      make[5]: *** [vmlinux] Error 1
      make[5]: Leaving directory '/home/embedfire/tina-d1-h/lichee/linux-5.4'
      Makefile:29: recipe for target '/home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/symtab.h' failed
      make[4]: *** [/home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/symtab.h] Error 2
      make[4]: Leaving directory '/home/embedfire/tina-d1-h/target/allwinner/d1s-nezha'
      Makefile:13: recipe for target 'install' failed
      make[3]: *** [install] Error 2
      make[3]: Leaving directory '/home/embedfire/tina-d1-h/target/allwinner'
      target/Makefile:21: recipe for target 'target/allwinner/install' failed
      make[2]: *** [target/allwinner/install] Error 2
      make[2]: Leaving directory '/home/embedfire/tina-d1-h'
      target/Makefile:17: recipe for target '/home/embedfire/tina-d1-h/out/d1s-nezha/staging_dir/target/stamp/.target_install' failed
      make[1]: *** [/home/embedfire/tina-d1-h/out/d1s-nezha/staging_dir/target/stamp/.target_install] Error 2
      make[1]: Leaving directory '/home/embedfire/tina-d1-h'
      /home/embedfire/tina-d1-h/build/toplevel.mk:304: recipe for target 'world' failed
      make: *** [world] Error 2
      [2]+  已完成               $T/tools/build/buildserver --path $T 2> /dev/null 1>&2
      
      #### make failed to build some targets (40 seconds) ####
      
      embedfire@embedfire:~/tina-d1-h$ 
      
      
      发布在 MR Series
      F
      fengshulin
    • 回复: 【开源开发板】D1s-Nezha开发板全全开源上架(内含购买链接和全部软硬件资料)

      @yuzukitsuru
      可以了。我在kernel menuconfig 中关闭了蓝牙子系统。

      发布在 MR Series
      F
      fengshulin
    • 1 / 1