Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.

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

Open
bruce-the-terrible opened this issue Sep 28, 2024 · 2 comments
Open

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

bruce-the-terrible opened this issue Sep 28, 2024 · 2 comments

Comments

@bruce-the-terrible
Copy link

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
Copy link
Author

不对,调整了也没用,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)

@CmST0us
Copy link
Owner

CmST0us commented Sep 28, 2024

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants