Jump to content

20USD 4GRAM RK3528 host (cheap dq08 tvbox)


Recommended Posts

What you need:
- A DQ08 (got mine from aliexpress)
- An sdcard (4g if you want to use external usb3 ssd or 32g if not)

 

If you're lazy and trust my image (you shouln't, as I can bundle malwares inside):
- flash this using this - usb2serial included
- put in DQ08 and plug it in ethernet
- scan for the ip using this
- in windows terminal, using password=1234:

ssh root@BOXIP



To build the sd card, i've used this tutorial:
- install wsl on your windows
- apply this patch

 


- open wsl shell
- install docker on wsl:

curl -fsSL get.docker.com | sh


- run docker:

sudo /etc/init.d/docker start


- permit to use docker:

sudo usermod -aG docker $USER


- open a new shell (important)
- follow this

Spoiler

 

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

 


- flash the img file found in Linux/Ubuntu/home/XXX/armbian-build/output/image using this
- put in DQ08 and plug it in ethernet
- scan for the ip using this
- in windows terminal, using password=1234:

ssh root@BOXIP


 

If, like me, you want to use an USB3 SSD:
- flash the usb3 drive with the same image
- plug to the box
-

e2label /dev/sda2 ssd


- change /boot/armbianEnv.txt:

rootdev=LABEL=ssd


- reboot
- check free size with:

df -h /


- optional: remove unused boot partition:

fdisk /dev/sda

+ d + 1 + w + q
- optional: remove unused data partition:

fdisk /dev/mmcblk0

+ d + 2 + w + q

 

If, like me, you have usb2serial adapters:
- follow this but remove all parameters at the end of

./compile.sh build

and during kernel configuration, enable this: Device Drivers -> USB Support -> USB Serial Converter Support -> FTDI and PL230x

Edited by fensoft
Link to comment
Share on other sites

  • fensoft changed the title to 20USD 4GRAM RK3528 host (cheap dq08 tvbox)

Armbian & Khadas are rewarding contributors

Please do not promote forks of Armbian on these forums.  If you what to help Armbian, please submit PRs and contribute code that makes Armbian better.  It doesn't help to have yet another fork of stuff out there that never gets contributed back.

 

Your warning about using external builds applies equally well to external git sources.  No one should trust this unless they inspect all the changes you have made from genuine Armbian.  User be warned.

Link to comment
Share on other sites

Posted (edited)

do you want me to remove all binaries ?

 

about tvbox in the genuine armbian, i'm pretty sure that i've read somewhere armbian would not support them

Edited by fensoft
Link to comment
Share on other sites

They aren't officially supported, but there are many TV boxes that are Community Maintained and available on the Armbian download page.

 

No need to remove the binaries, your warnings are good enough.

Link to comment
Share on other sites

On 4/12/2024 at 7:02 AM, Hqnicolas said:

please stop acting like you dont live in society. Just do it in a PR. Or Compile 30x backdoor images to US.

Toxicity level over 9000, you better keep it for yourself next time.

 

About PR, I can't and dont want. It's not my patch. Feel free to do it yourself if it's so important.

Link to comment
Share on other sites

22 minutes ago, Shinjin said:

Is it possible to install Armbian into internal memory

If I understand well, boot loader is at the begining of the emmc. Doing armbian-install will probably ends with system not booting anymore.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines