sekarlsseb Posted January 18 Share Posted January 18 Thanks everyone. The information here has helped me a lot! I haven't managed to get the wifi drivers working though. @jpegqs or anyone...could you help me with a more detailed explanation on how to apply the patch to use the driver, apply correct changes to kernel config and where to find the Android files to copy? TIA 0 Quote Link to comment Share on other sites More sharing options...
Nick A Posted January 24 Share Posted January 24 The HK2735M wifi chip is compatible to the bcm4335. the Linux driver is brcmfmac, controlled by kernel config CONFIG_BRCMFMAC_SDIO and CONFIG_BRCMFMAC. The driver expects the firmware files brcmfmac4335-sdio.bin (may need to rename the file, the driver tells you the filename it was looking for) and brcmfmac4335-sdio.txt under /lib/firmware/brcm I'm using a different TV Box. Transpeed 8K618-T TV box. I had some success with the firmware files from https://github.com/LibreELEC/brcmfmac_sdio-firmware/blob/master/. You may need to patch your DT to enable wifi. Haven't checked your DT for your box yet. 0 Quote Link to comment Share on other sites More sharing options...
jpegqs Posted January 25 Share Posted January 25 (edited) The preinstalled Android on the RK3528 uses the BCMDHD driver, which is located in the "drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd" directory. As you can see, Rockchip has its own driver for Broadcom. Which is missing some patches. I'm pretty sure that these patches must include this line: {BCM4335_CHIP_ID, 1, DONT_CARE, "bcm4335b0_ag", "bcm4335"}, There's number of repositories on Github that have this line (link). But they have no history of driver updates. Edited January 25 by jpegqs fix typo 0 Quote Link to comment Share on other sites More sharing options...
Nick A Posted January 26 Share Posted January 26 (edited) I tried the /vendor/etc/firmware/nvram_bcm4335.txt and /vendor/etc/firmware/firmware/bcm4335b0_ag that came with my android box. But it didn't work. When I used the brcmfmac4335-sdio.txt from LibreELEC. Everything worked. Didn't matter which firmware.bin I used (I tried bcm4335b0_ag, LibreELEC and Original Linux Kernel firmware.bin). I think there may be a problem with nvram_bcm4335.txt. Something is missing. Right now, I'm changing the values in brcmfmac4335-sdio.txt because the values in nvram_bcm4335.txt might be more optimal. I'm not sure how armbian rockchip loads your drivers. but if your patches are correct and the wifi still doesn't load. Try the brcmfmac4335-sdio.txt from LibreELEC. Worth a try. It worked for me. Edited January 26 by Nick A 0 Quote Link to comment Share on other sites More sharing options...
jpegqs Posted January 26 Share Posted January 26 2 hours ago, Nick A said: When I used the brcmfmac4335-sdio.txt from LibreELEC. Everything worked. With BRCMFMAC driver or BCMDHD driver? Or did it work with both drivers? 0 Quote Link to comment Share on other sites More sharing options...
Nick A Posted January 26 Share Posted January 26 (edited) I only used the BRCMFMAC driver... I guess your BCMDHD driver might read the nvram_bcm4335.txt correctly. It could be an issue with BRCMFMAC. If not try the brcmfmac4335-sdio.txt. Both nvram_bcm4335.txt and brcmfmac4335-sdio.txt are very similar. It's the config file for the firmware.bin. I'll setup BCMDHD on my box and see if the original nvram_bcm4335.txt works. Edited January 26 by Nick A 0 Quote Link to comment Share on other sites More sharing options...
fensoft Posted January 31 Share Posted January 31 (edited) How did you managed to flash @Shinjin image from mega.nz ? I've tried to dd it + add dtb + edit armbianEnv.txt but it doesn't show anything on my screen. as I still want to use android, should i need to use SDDiskTool_v1.7 or update emmc's uboot ? Edited January 31 by fensoft 0 Quote Link to comment Share on other sites More sharing options...
jpegqs Posted February 1 Share Posted February 1 7 hours ago, fensoft said: but it doesn't show anything on my screen. There's an unsolved problem with the RK3528 video driver, it is necessary to connect an HDMI cable or turn on the monitor a few seconds after turning on the TV-box. Also, at the first boot there is nothing on screen, because first you need to enter the Armbian configuration script using ssh (over a LAN connection). 0 Quote Link to comment Share on other sites More sharing options...
fensoft Posted February 2 Share Posted February 2 (edited) everything is working. i've plugged an uart to have boot logs. as i want a debian flavor to use it as a lowcost homeassistant, i'll try to create a script to "create" an image from scratch (with just your armbi_boot + any other armbi_root like an official one) did you create a git repo with Image + uInitrd + dtb + armbianEnv.txt + boot.scr ? what modifications did you do to armbi_root ? also, the automatic partition extender seems to corrupt everything after a first reboot Edited February 2 by fensoft 0 Quote Link to comment Share on other sites More sharing options...
jpegqs Posted February 2 Share Posted February 2 3 hours ago, fensoft said: did you create a git repo with Image + uInitrd + dtb + armbianEnv.txt + boot.scr ? No. 3 hours ago, fensoft said: what modifications did you do to armbi_root ? I don't know what you're talking about. I didn't make any changes to armbi_root, whatever this is. 3 hours ago, fensoft said: also, the automatic partition extender seems to corrupt everything after a first reboot Sounds like a fake flash media that reports more capacity than it actually has. 0 Quote Link to comment Share on other sites More sharing options...
fensoft Posted February 2 Share Posted February 2 armbi_boot is the label of the first ext4 partition with boot files mounted as /boot. armbi_root is the second partition, the root / one 9 hours ago, jpegqs said: Sounds like a fake flash media that reports more capacity than it actually has. it's not a fake one. works fine with other armbian releases. 0 Quote Link to comment Share on other sites More sharing options...
fensoft Posted February 3 Share Posted February 3 (edited) As i don't trust img distributed over googledrive/mega, here is a script to build it yourself: https://github.com/ilyakurdyukov/rk3528-tvbox/issues/4 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 Tooks almost 30minutes to generate the image. Should works with WSL if you have docker. Note that you can change BUILD_DESKTOP BUILD_MINIMAL and RELEASE if you want. Also, nomore corruption with automatic partition extender. I've put the link here for lazy guys Edited February 4 by fensoft 1 Quote Link to comment Share on other sites More sharing options...
fensoft Posted February 3 Share Posted February 3 (edited) I also added a usb3 ssd to the usb3 port. To use it, you still need to load the kernel from an internal SD. - flash the usb3 drive - plug to the box - e2label /dev/sda2 ssd - change /boot/armbianEnv.txt : rootdev=LABEL=ssd i also removed /dev/sda1 and /dev/mmcblk0p2 with fdisk also, to install homeassistant/haos, here's the tutorial Reboot and voilà ! Edited February 4 by fensoft 1 Quote Link to comment Share on other sites More sharing options...
An An Posted February 6 Share Posted February 6 I was planning to buy a few Android TV boxes to install home assistants, but after researching and following the debate between @Energokom and @jock , I decided to buy a Mini PC Intel NUC and Raspberry Pi for my house instead. The quality of these devices is much more reliable than gambling with Android TV boxes and inviting trouble and headaches. Finally, I would like to thank everyone who has contributed to supporting these products from unknown Chinese manufacturers. 0 Quote Link to comment Share on other sites More sharing options...
fensoft Posted February 9 Share Posted February 9 On 2/6/2024 at 10:24 PM, An An said: I decided to buy a Mini PC Intel NUC and Raspberry Pi for my house instead. you're comparing 20USD android tv box with a 60USD rpi4/4go or a 300USD with ram intel nuc. That's not comparable, sorry 2 Quote Link to comment Share on other sites More sharing options...
Lizzo69 Posted February 12 Share Posted February 12 @fensoft i flashed your image from mega, but i'm not getting anything on screen. any idea why? 0 Quote Link to comment Share on other sites More sharing options...
jpegqs Posted February 12 Share Posted February 12 (edited) 2 hours ago, Lizzo69 said: @fensoft i flashed your image from mega, but i'm not getting anything on screen. any idea why? Most likely this: On 2/1/2024 at 12:03 PM, jpegqs said: There's an unsolved problem with the RK3528 video driver, it is necessary to connect an HDMI cable or turn on the monitor a few seconds after turning on the TV-box. Also, at the first boot there is nothing on screen, because first you need to enter the Armbian configuration script using ssh (over a LAN connection). But did you notice that this is a "minimal" build? You need to install desktop packages if you need a desktop. Edited February 12 by jpegqs note about minimal 0 Quote Link to comment Share on other sites More sharing options...
Lizzo69 Posted February 12 Share Posted February 12 @jpegqsI did notice it's minimal and I don't mind it as I plan on using it to run kipper for a 3d printer. But can you gimme a brief rundown of how to ssh into into it at first boot? Because as far as I'm aware, in order to ssh like I do with a raspberry pi, I need to enter the user name followed by the IP. But I'm not seeing the IP pop up when connected to lan, while using my network watcher app and I also wouldn't have the name and password to ssh (correct me if I'm wrong) 0 Quote Link to comment Share on other sites More sharing options...
fensoft Posted February 15 Share Posted February 15 don't know why. can you solder serial to usb on it to get boot messages ? baudrade=1500000 0 Quote Link to comment Share on other sites More sharing options...
lebrun Posted February 21 Share Posted February 21 Hello I'm starting from scratch. I would like to install an armbian mage on this box that I bought on amazon. https://www.amazon.fr/dp/B0C3D3ZT9Q?psc=1&ref=ppx_yo2ov_dt_b_product_details Where can I find the procedure? Is the procedure https://docs.armbian.com/User-Guide_Getting-Started/#how-to-prepare-a-sd-card valid for the EU box I bought? What is the purpose of the script published on this page on February 3rd? Thanks for your help 0 Quote Link to comment Share on other sites More sharing options...
fensoft Posted February 22 Share Posted February 22 On 2/21/2024 at 8:44 PM, lebrun said: What is the purpose of the script published on this page on February 3rd? it's written on the post: "As i don't trust img distributed over googledrive/mega, here is a script to build it yourself". use the prebuilt file if you trust a random guy with 5 posts on a forum 0 Quote Link to comment Share on other sites More sharing options...
fensoft Posted February 27 Share Posted February 27 On 2/21/2024 at 8:44 PM, lebrun said: this box that I bought on amazon. https://www.amazon.fr/dp/B0C3D3ZT9Q?psc=1&ref=ppx_yo2ov_dt_b_product_details also, this box is not a dq08. if you want me to port for it, i can do it for you if you send me one. 0 Quote Link to comment Share on other sites More sharing options...
Shinjin Posted March 3 Share Posted March 3 Hello, I'm thinking of a possible use case for this box, but I would need to use the internal emmc. Is it still not possible to install armbian internally? On 2/3/2024 at 7:40 PM, fensoft said: i also removed /dev/sda1 and /dev/mmcblk0p2 with fdisk What are these 2 partitions? SDcard? On 2/22/2024 at 10:58 PM, fensoft said: a random guy with 5 posts on a forum Well, I did post that image after @Lizzo69's request and you only have 2 posts more 😉 0 Quote Link to comment Share on other sites More sharing options...
Tamer Posted March 13 Share Posted March 13 My DQ08 RK3528 4/64 has a bootloader error. I want to reinstall the software. Is there any original or properly working software? Thanks. 0 Quote Link to comment Share on other sites More sharing options...
fensoft Posted March 16 Share Posted March 16 (edited) On 3/13/2024 at 12:46 PM, Tamer said: Is there any original or properly working software? DQ08 manufacturer sent me this original software few weeks ago. Edited March 16 by fensoft 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.