Created
May 11, 2025 23:46
-
-
Save fensoft/1ff3ef81ab2bd9ed9364a564aa2cbcd5 to your computer and use it in GitHub Desktop.
dq08
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/ilyakurdyukov/rk3528-tvbox.git | |
cd rk3528-tvbox | |
git clone --depth=1 https://github.com/armbian/build armbian-build | |
cp -R armbian-patch/* armbian-build/ | |
cd armbian-build | |
./compile.sh build BOARD=rk3528-tvbox BRANCH=legacy BUILD_DESKTOP=no BUILD_MINIMAL=yes EXPERT=yes KERNEL_CONFIGURE=no KERNEL_GIT=shallow RELEASE=bookworm | |
cd ../.. | |
cat <<EOF > rk3528-tvbox/build.sh | |
#!/bin/bash | |
cd /build | |
IMAGE=\`ls /build/armbian-build/output/images/*.img\` | |
losetup -D | |
losetup --partscan /dev/loop0 \$IMAGE | |
mount /dev/loop0p1 /mnt | |
cd devicetree | |
cp orig/*.dtsi . | |
patch -p1 -i rk3528-tvbox.patch | |
make NAME=rk3528-vontar-dq08 PRESET=LINUX | |
cp rk3528-vontar-dq08.dtb /mnt/dtb/rockchip | |
sed "s#fdtfile=.*#fdtfile=rockchip/rk3528-vontar-dq08.dtb#" -i /mnt/armbianEnv.txt | |
losetup -D | |
cat \$IMAGE | gzip > /build/\`basename \$IMAGE\`.gz | |
EOF | |
chmod a+x rk3528-tvbox/build.sh | |
docker run -it -v /dev:/dev --privileged=true -v `pwd`/rk3528-tvbox:/build --rm armbian.local.only/armbian-build:initial /build/build.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
to install haos: