ewww Posted December 4, 2022 Share Posted December 4, 2022 Hi, I found 1 patch there, hope it helps https://lkml.org/lkml/fancy/2022/11/4/454 1 Quote Link to comment Share on other sites More sharing options...
tmm1 Posted December 4, 2022 Share Posted December 4, 2022 eMMC boot partition is for u-boot. you don't need to touch that to change dtb, use /boot dir on rootfs partition. simply cd /boot and edit extlinux/extlinux.conf 0 Quote Link to comment Share on other sites More sharing options...
mvpwar Posted December 4, 2022 Share Posted December 4, 2022 @tmm1 the /boot dir is empty, this is reason why I try to mount the boot partition, it's different from armbian directory structure. root@rk3566-evb3-ddr3-v10:/home/ubuntu# cd /boot root@rk3566-evb3-ddr3-v10:/boot# ls root@rk3566-evb3-ddr3-v10:/boot# ls -al total 8 drwxr-xr-x 2 root root 4096 Apr 15 2020 . drwxr-xr-x 23 root root 4096 Dec 3 01:48 .. root@rk3566-evb3-ddr3-v10:/boot# df -h Filesystem Size Used Avail Use% Mounted on udev 2.0G 0 2.0G 0% /dev tmpfs 394M 1.1M 393M 1% /run /dev/mmcblk2p6 58G 5.7G 50G 11% / tmpfs 2.0G 0 2.0G 0% /dev/shm tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup tmpfs 394M 0 394M 0% /run/user/0 tmpfs 394M 4.0K 394M 1% /run/user/1000 @hotnikq 0 Quote Link to comment Share on other sites More sharing options...
Hqnicolas Posted December 4, 2022 Author Share Posted December 4, 2022 @mvpwar i think you need to recompile it, to change DTB and DTS Files. Change the boot img, parameter txt and the miniLiader bin before create the update img on SDK On 11/21/2022 at 11:04 PM, hotnikq said: Base Parameters to build: H96-MAX-Uboot-legacy.img Partition-Parameter.txt H96-MAX-8gb-MiniLoaderAll.bin H96-MAX-4gb-MiniLoaderAll.bin DTB + DTS + rockchip_defconfig SDK Used into this Build: SDK 4.19.219 LINUX to RK3566 H96 MAX 0 Quote Link to comment Share on other sites More sharing options...
Hqnicolas Posted December 4, 2022 Author Share Posted December 4, 2022 @ewww @mvpwar Thanks to @Piotr @Andyshrk you can add this patch to armbian kernel compiler, you can apply this kernel to a FIT update image! https://lkml.org/lkml/fancy/2022/11/4/454 rk3566-box-demo.dts 0 Quote Link to comment Share on other sites More sharing options...
tmm1 Posted December 4, 2022 Share Posted December 4, 2022 22 minutes ago, hotnikq said: https://lkml.org/lkml/fancy/2022/11/4/454 I'm not so sure about this one. It says "- 12V DC Power supply" but all these android box have 5v supply. If you want the proper DTB, you can find it in the rockchip-linux/kernel tree. For example: https://github.com/rockchip-linux/kernel/blob/develop-5.10/arch/arm64/boot/dts/rockchip/rk3566-box-demo-v10.dts and this one is more similar to H96 MAX V56: https://github.com/rockchip-linux/kernel/blob/develop-5.10/arch/arm64/boot/dts/rockchip/rk3566-evb3-ddr3-v10.dts 0 Quote Link to comment Share on other sites More sharing options...
Hqnicolas Posted December 5, 2022 Author Share Posted December 5, 2022 (edited) 4 hours ago, tmm1 said: I'm not so sure about this one. andy.yan@rock-chips.com start to patch the RK3566 boards i think this board will be supported by kernel 6.1 give it a try! Edited December 5, 2022 by hotnikq 1 Quote Link to comment Share on other sites More sharing options...
maka Posted December 6, 2022 Share Posted December 6, 2022 I can confirm that rk3566 is fully supported from 6.0 The patch is from Piotr Oniszczuk. Will see a box- demo device tree in mainline kernel? I have seen a distro kernel supporting a rk3566 TV box but this has not been reported to users. 1 Quote Link to comment Share on other sites More sharing options...
chinhhut Posted January 22, 2023 Share Posted January 22, 2023 (edited) @hotnikq have you taken a look on this armbian development yet? <External link deleted> I can see this repo also supported rk3568 and I guess it seems to be similar to Rk3566. Hope it may give you have some ideas to improve the build for rk3566. Edited January 22, 2023 by SteeMan Posted a link to an external site that uses the Armbian name without permission 0 Quote Link to comment Share on other sites More sharing options...
SteeMan Posted January 22, 2023 Share Posted January 22, 2023 @chinhhut The site you posted a link to, is a fork of Armbian, but continues to use the Armbian name without permission. This causes users to think they are using official Armbian when they are not, causing people to come here for support. 1 Quote Link to comment Share on other sites More sharing options...
Hqnicolas Posted January 24, 2023 Author Share Posted January 24, 2023 @chinhhut can you provide the .DTS .DTSi .DTB Files from your external source? With this files we can compile armbian "the real one" 0 Quote Link to comment Share on other sites More sharing options...
thc013 Posted January 29, 2023 Share Posted January 29, 2023 lol what a mess do just a proper reverse of the dts then just using a decompiled one . 1 Quote Link to comment Share on other sites More sharing options...
Hqnicolas Posted January 31, 2023 Author Share Posted January 31, 2023 (edited) @thc013 I didn't find any dts with functional HDMI on Linux. as the manufacturer used some android resources to render in 1080p and display in 4k and this ended up breaking all video functionality and device ram memory if you find something new feel free to refute all previous posts i pray you are that guy Some Russians managed to advance with armbian on RK3566 BOX You can Find Files here Try to Recompile this DTS/DTB files Edited January 31, 2023 by hotnikq 0 Quote Link to comment Share on other sites More sharing options...
maka Posted January 31, 2023 Share Posted January 31, 2023 There are two Linux images for X96 X6 this month !!! 0 Quote Link to comment Share on other sites More sharing options...
maka Posted January 31, 2023 Share Posted January 31, 2023 (edited) Sorry, device too slow and doubled message. Edited January 31, 2023 by maka 0 Quote Link to comment Share on other sites More sharing options...
mmie4jbcu Posted January 31, 2023 Share Posted January 31, 2023 (edited) I have had success in running the latest versions of Armbian on a X88 Pro 20 box. It has RTL8821CS wifi chip and RTL8211F ethernet. I have 2 variants of the box - 4/32G and 8/128G. HDMI works and I have been able to install the Gnome DE and run it in full 4k resolution. Though, there are intermediate stutters while in 4k resolution. Youtube playback is bad. I haven't tested playing 4k video in VLC or any other player yet. Summary: HDMI - works Gigabit Ethernet - works Wifi (RTL8821CS) - works with additional work - I took the 8821CS source from https://github.com/rockchip-linux/kernel/tree/develop-5.10/drivers/net/wireless/rockchip_wlan/rtl8821cs and built it after making some changes to support newer kernels. There are also patches submitted by Martin Blumenstingl for supporting 8821CS in the mainline. These are yet to be merged: rtw88: Add SDIO support I used the images(edge) for Station M2 and replaced the dtb with the one I built from mainline with the following patches and some minor changes: 1. [v2,1/2] dt-bindings: rockchip: Add Rockchip rk3566 box demo board 2. [v2,1/2] arm64: dts: rockchip: rk3566-box-demo: add io domain setting Here's the link of the dtb and dts, if anyone's interested to try out: https://www.dropbox.com/s/rerctigo4mdin9p/rk3566-box-demo.zip?dl=0 Big thanks to Andy Yan and Piotr Oniszczuk for the mainline patches for box demo dts. Edited January 31, 2023 by mmie4jbcu Correction 1 Quote Link to comment Share on other sites More sharing options...
maka Posted January 31, 2023 Share Posted January 31, 2023 3566-box-demo.dts has reached 6.2 kernel. Time to fly !!! 1 Quote Link to comment Share on other sites More sharing options...
thc013 Posted January 31, 2023 Share Posted January 31, 2023 @maka if you think every box is the same your complete wrong !!! only the t95 ,tr43 and x96 have box-demo as base dts so and it is not fully supported there is still no npu in mainline and video decoding is nah it works thats it @mmie4jbcu the x88 is based on the rk3566-evb5-lp4x-v10 so a board with a io-domain from a rk809 will do such as indeed a m2 from firefly but for making a proper dts compare it downstream with a rk3566-evb5-lp4x-v10. and the factory dtb has 2 dts files use the second @hotnikq some people as @tmm1 give you a very good hint wich is the base dts and a decompiled dts is not a proper dts it is a start , and what you now got is nothing and if you looked around you see there is also a android 12 image for your box with a little updated dts and is easy to compare to the armbian legacy build just decompile the dtb of rk3566-evb3-ddr3-v10 and compare it against the decompiled of the android 12 image . ow and the h96 factory dtb has 2 dts files one with a tcs4525 config and the other has a sti8070 so check your pcb wich it has . wonder what the dmesg says about the included dtb ow btw it is thc013 aka shaggy013 🤗 h96-v56-sti8070.dtb h96-v56-tcs4525.dtb 0 Quote Link to comment Share on other sites More sharing options...
maka Posted February 1, 2023 Share Posted February 1, 2023 It seems that you know about all hardware in the arm world. That's very good to help. I know all the rk3566 boxes won't work but let the lucky guys have their happy time, the first second when kernel shows its log. Do you know something about ethernet icplus Ip1001M on rockchip? 0 Quote Link to comment Share on other sites More sharing options...
thc013 Posted February 1, 2023 Share Posted February 1, 2023 @maka 🤣 if the rk35xx line is the whole arm world , and it is just old news did this a year ago a tvbox can just run linux same as a sbc it only how much work you wanna put into it . but other as nonsens what did you bring in ? 0 Quote Link to comment Share on other sites More sharing options...
maka Posted February 1, 2023 Share Posted February 1, 2023 I have checked the rk3566-box-demo.dtb and x96-x6 boots well new kernels but usb ports don't work. The patch describes clearly this box, three usb ports, but has been ported to other one. 0 Quote Link to comment Share on other sites More sharing options...
Hqnicolas Posted February 2, 2023 Author Share Posted February 2, 2023 (edited) @makaI believe many of you have the ability to compile a 6+ kernel on this box. feel free to continue the topic Edited February 2, 2023 by hotnikq 0 Quote Link to comment Share on other sites More sharing options...
Moe Posted February 4, 2023 Share Posted February 4, 2023 mmie4jbcu could i get that image for the 4gb x88 from you? I would appreciate it. Moe 0 Quote Link to comment Share on other sites More sharing options...
mmie4jbcu Posted February 4, 2023 Share Posted February 4, 2023 @Moe Do you mean the Armbian image? If yes, then I just used the edge images for Station M2. You can find those here under Rolling Weekly Releases: https://www.armbian.com/station-m2/ You'd then need to replace the dtb in the extlinux.conf with the dtb I shared in my earlier comment: 0 Quote Link to comment Share on other sites More sharing options...
mmie4jbcu Posted February 4, 2023 Share Posted February 4, 2023 On 2/1/2023 at 5:18 AM, thc013 said: @mmie4jbcu the x88 is based on the rk3566-evb5-lp4x-v10 so a board with a io-domain from a rk809 will do such as indeed a m2 from firefly but for making a proper dts compare it downstream with a rk3566-evb5-lp4x-v10. and the factory dtb has 2 dts files use the second @thc013 Thanks for the pointer. I am not good at creating a dts. At the moment I do not have the required knowledge of understanding device-trees in-depth. I am trying to read up and understand more about dts. Though, I can make some intelligent guesses at the most, which could very well be wrong. 0 Quote Link to comment Share on other sites More sharing options...
maka Posted February 4, 2023 Share Posted February 4, 2023 I have found bulk errors in rk3566-box-demo.dtb and managed to mend the file. I attached the one for x96_x6. I just copied from other dts files :X) The errors were for usb ports, cpu ang gpu. Ethernet doesn't work in my box because also fails in android and don't know if it is a broken hardware phy. rk3566-box-demo_x96_x6.dts rk3566-box-demo_x96_x6.dtb 1 Quote Link to comment Share on other sites More sharing options...
maka Posted February 6, 2023 Share Posted February 6, 2023 There´s a little error in the previous file. Fixed in this one. rk3566-box-demo_x96_x6.dtb rk3566-box-demo_x96_x6.dts 0 Quote Link to comment Share on other sites More sharing options...
maka Posted February 6, 2023 Share Posted February 6, 2023 It seems that someone has download my dts and this patch is now in the 6.2-rc7 kernel. Happy meal Yogi. 0 Quote Link to comment Share on other sites More sharing options...
thc013 Posted February 6, 2023 Share Posted February 6, 2023 @maka they sure did not 🤣 yours is just a bad decompiled one you stll don't listen and for your information that dts in mainline is from last year. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/arm64/boot/dts/rockchip?h=v6.2-rc7&id=2e0537b16b2557974f81db008a51f41c838dcb81 and it says Signed-off-by: Piotr Oniszczuk <piotr.oniszczuk@gmail.com> Signed-off-by: Andy Yan <andyshrk@163.com> and there is no maka in it 0 Quote Link to comment Share on other sites More sharing options...
maka Posted February 9, 2023 Share Posted February 9, 2023 Now I have make a device tree for the owners of X96_X6 with the icplus ethernet (ip1001m) . I don´t have it in android but works in linux Video acceleration works now and youtube plays well auto 1080p. rk3566-box-demo_x96_x6_ip1001m.dts rk3566-box-demo_x96_ip1001m.dtb 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.