tspi-linux-sdk-archived icon indicating copy to clipboard operation
tspi-linux-sdk-archived copied to clipboard

这个操作顺序需要调整一下

Open bruce-the-terrible opened this issue 1 year ago • 2 comments

sudo apt install git-lfs 安装得太早了,导致后面git clone会报lfs错误。

Smudge error: Error downloading firmware/fw_awnb108.bin (8ec0c4548383c1bc4a8876bb485340578eb75831da7545a24ec3db1523c29f1d): batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.

#sudo apt install git-lfs 从这里移除 git clone https://github.com/CmST0us/tspi-linux-sdk.git cd tspi-linux-sdk git lfs fetch git lfs checkout

sudo apt install git-lfs #添加到这里

sudo apt update sudo apt install -y git ssh make gcc libssl-dev liblz4-tool expect
g++ patchelf chrpath gawk texinfo chrpath diffstat binfmt-support
qemu-user-static live-build bison flex fakeroot cmake gcc-multilib
g++-multilib unzip device-tree-compiler ncurses-dev python2 ./build.sh init ./build.sh

bruce-the-terrible avatar Sep 28 '24 02:09 bruce-the-terrible

不对,调整了也没用,lfs就是会报错 后面的编译操作也跟着错了 ///////////////////// Start building rootfs(ubuntu)

==============Start building ubuntu ============== TARGET_ARCH =arm64 TARGET_KERNEL_CONFIG =rockchip_linux_defconfig TARGET_KERNEL_CONFIG_FRAGMENT =rockchip_linux_docker.config

Decompress ubuntu rootfs

gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now ERROR: Running /home/bruce/workspace/tspi-linux-sdk/device/rockchip/common/scripts/mk-rootfs.sh - build_ubuntu failed! ERROR: exit code 2 from line 171: sudo tar zxf ubuntu/ubuntu.tar.gz -C ubuntu/.ubuntu-rootfs ERROR: call stack: mk-rootfs.sh: build_ubuntu(171) mk-rootfs.sh: build_hook(289) mk-rootfs.sh: main(378) ERROR: Running /home/bruce/workspace/tspi-linux-sdk/device/rockchip/common/build-hooks/99-all.sh - build_all failed! ERROR: exit code 2 from line 27: "$SCRIPTS_DIR/mk-rootfs.sh" ERROR: call stack: 99-all.sh: build_all(27) 99-all.sh: build_hook(131) build-helper: try_func(63) build-helper: try_hook(95) build-helper: source(158) 99-all.sh: main(142) ERROR: Running /home/bruce/workspace/tspi-linux-sdk/device/rockchip/common/build-hooks/99-all.sh - try_func build_hook all failed! ERROR: exit code 2 from line 67: build_hook ERROR: call stack: build-helper: try_func(67) build-helper: try_hook(95) build-helper: source(158) 99-all.sh: main(142) ERROR: Running ./build.sh - run_hooks build all failed! ERROR: exit code 2 from line 152: /home/bruce/workspace/tspi-linux-sdk/device/rockchip/common/build-hooks/99-all.sh build all ERROR: call stack: build.sh: run_hooks(152) build.sh: run_build_hooks(171) build.sh: main(437) build.sh: main(452) ERROR: Running ./build.sh - run_build_hooks build all failed! ERROR: exit code 2 from line 174: build ERROR: call stack: build.sh: run_build_hooks(174) build.sh: main(437) build.sh: main(452)

bruce-the-terrible avatar Sep 28 '24 02:09 bruce-the-terrible

我仓库lfs带宽用完了,要等14天才会重置流量

CmST0us avatar Sep 28 '24 08:09 CmST0us