Luckfox Pico Pro_Max要编译ubuntu系统问题

  • 是的,目前仅支持从TF卡启动,编译Ubuntu请参考:
    https://wiki.luckfox.com/zh/Luckfox-Pic ... C%E5%83%8F
  • Eng38 wrote: 2024-02-22 8:23 是的,目前仅支持从TF卡启动,编译Ubuntu请参考:
    https://wiki.luckfox.com/zh/Luckfox-Pic ... C%E5%83%8F
    源配置成export LF_SUBMODULES_BY=gitee后编译的时候还是用github上去拿代码?是不是仓出了问题?
    以下是我编译的时候的报错.
    wangwei@wangwei-virtual-machine:~/code/luckfox-pico$ ./build.sh
    Cloning into '/home/wangwei/code/luckfox-pico/sysdrv/tools/board/ubuntu'...
    fatal: unable to access 'https://github.com/luckfox-eng33/pico_ubuntu.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
    fatal: clone of 'https://github.com/luckfox-eng33/pico_ubuntu.git' into submodule path '/home/wangwei/code/luckfox-pico/sysdrv/tools/board/ubuntu' failed
    Failed to clone 'sysdrv/tools/board/ubuntu'. Retry scheduled
    Cloning into '/home/wangwei/code/luckfox-pico/sysdrv/tools/board/ubuntu'...
    fatal: unable to access 'https://github.com/luckfox-eng33/pico_ubuntu.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
    fatal: clone of 'https://github.com/luckfox-eng33/pico_ubuntu.git' into submodule path '/home/wangwei/code/luckfox-pico/sysdrv/tools/board/ubuntu' failed
    Failed to clone 'sysdrv/tools/board/ubuntu' a second time, aborting
    [build.sh:error] Running main failed!
    [build.sh:error] exit code 1 from line 1998:
    [build.sh:info] git submodule update --init --recursive
  • 试试重新选择下再编译

    Code: Select all

    sudo ./build.sh lunch   
    sudo ./build.sh
    
  • Eng38 wrote: 2024-02-22 9:38 试试重新选择下再编译

    Code: Select all

    sudo ./build.sh lunch   
    sudo ./build.sh
    
    root@wangwei-virtual-machine:/home/wangwei/code/luckfox-pico# sudo ./build.sh
    fatal: detected dubious ownership in repository at '/home/wangwei/code/luckfox-pico'
    To add an exception for this directory, call:

    git config --global --add safe.directory /home/wangwei/code/luckfox-pico
    [build.sh:error] Running main failed!
    [build.sh:error] exit code 128 from line 1998:
    [build.sh:info] git submodule update --init --recursive
  • 执行:

    Code: Select all

    git submodule update --init --recursive
    sudo ./build.sh lunch   
    sudo ./build.sh