mmie4jbcu
Members-
Posts
14 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
@Hqnicolas Take a chill pill dude. I am not trying to prove/disprove anything. I am simply suggesting that the board may indeed be of 8/64 config. Sometimes, due to screwed up u-boot, not all the RAM is reported correctly. And here, I can see that adding up the memory (3.8) and zram (1.9), it comes to around 6GB. Hence, I suspect the memory is still there, it's just not reported correctly because of the zram/swap thing. Removing the swap/zram completely may indeed show it to be 8GB. On your note of TV boxes being unreliable, I never refuted your claim. I agree about the unreliability. At the same time, I own two of these x88 pro20 boxes (8/128 and 4/32) and looking at the chips and the markings on the board, I have certain confidence that it would be an 8/64 indeed. And, I own a total of 4 tv boxes, and a total of 4 sbcs (2 raspberry pis, one orange pi 5 plus, 1 starfive vision V 2), so I know what to expect and how wild things are out in the tv box world. I am sure you also know better than to claim to be the final authority on declaring all tv boxes as "unreliable"
-
@MMorales I think your board may still be of the 8GB RAM/64 GB emmc config. Why don't you try installing the armbian image for station m2 from here: https://www.armbian.com/station-m2/ After flashing the image, change the fdtfile=rockchip/rk3566-firefly-roc-pc.dtb line in the boot/armbianEnv.txt file to fdtfile=rockchip/rk3566-box-demo.dtb And also remove or comment out the line overlay_prefix=rk35xx
-
@FuSan Cheers! Have fun with your device Do you mean which Armbian build I started with for my device? I started with Station M2 community builds (edge), because it is also a rk3566 device. These days I run Fedora on my box.
-
@FuSan So, you have kernel 6.1.x running on your Armbian install. The driver for RTL8821CS chip was added in version 6.3 or 6.4 in the mainline kernel. You can change to a kernel with version 6.6 or later. Try searching for 'linux-image-rockchip64' using apt search command and install that kernel. I usually prefer the edge kernels because I like to stay on the bleeding edge Then, also install 'armbian-firmware-full' because it has firmware blobs to enable both wifi and bt for 8821cs.
-
@FuSan Please share the output of the dmesg command just after you log in into Armbian. I recall that the swap configuration can be changed by editing the file /etc/default/armbian-zram-config. If you disable zram, then you will see almost 8GB ram in your htop output.
-
Hi @FuSan The latest version of Armbian will work just fine. The mainline dtb named rk3566-box-demo.dtb has pretty much everything working for a x88 pro 20 box (except BT and USB 2.0 port) I have attached the dtb file that I use (and its source dts file too, in case you want to have a look). This dtb enables the bluetooth to work and also USB 2.0 port. Try it out and let us know. rk3566-box-demo.dtb rk3566-box-demo.dts
-
Try an image from here: https://fi.mirror.armbian.de/archive/aml-s9xx-box/archive/ Armbian_23.02.2_Aml-s9xx-box_jammy_current_6.1.11.img.xz - only command line Armbian_23.02.2_Aml-s9xx-box_jammy_current_6.1.11_xfce_desktop.img.xz - with XFCE desktop environment. Extract the .xz file to get the .img file. After you have written the img file to your sdcard, you would need to do the following 2 steps: 1. Use the correct dtb for your box. For TV boxes, it can be difficult to get the exact dtb file. However, you can try out the different dtb files that are for the same amlogic chip as your TV box and see what works best for you. In the /boot partition in your sdcard (the partition named armbi_boot), go to dtb -> amlogic directory. You would need to look for dtb files named meson-g12a-*.dtb (g12a is the codename for S905x2). Then open up the file /boot/extlinux/extlinux.conf and look for a line FDT /dtb/amlogic/meson-gxl-s905w-tx3-mini.dtb or similar that is not commented out. Replace the name of the dtb file with the one that you want to try out. 2. Inside the /boot directory, rename the file u-boot-s905x2-s922 to u-boot.ext Insert the sdcard in your box and power it on. If anything shows up on the screen after sometime, its good!. If not, then you have to try another dtb from the list of meson-g12a-* dtbs. If no dtb seems to work, then things are going to get complex. However, for now, try out the steps and let us know how it goes. Also, read this informative post by @SteeMan for amlogic boxes:
-
Hi @Petru Susa As @hotnikq mentioned in his comment, please go through the links he shared. Feel free to ask here about any follow up questions. To directly answer your question, dtb files are found usually under the dtb directory in the /boot directory. If you have written an armbian image onto a sdcard, you can insert in your computer and browse to where it is mounted. The dtb files for rockchip will be in /boot/dtb/rockchip directory. The extlinux.conf file is used to define the path to kernel as well as the dtb file. In extlinux.conf, you can update the dtb path to whatever dtb you want to use. What is the box that you have got? Can you share some pictures of the board? This way, awesome people in this community will be able to help - someone may recognize this board or offer some more hints to where to look further.
-
> mmie4jbcu has reported armbian on x88 pro 20 Thanks @maka for mentioning @Lelle I usually use the Station M2 edge images from the community builds: https://github.com/armbian/community I prefer the Ubuntu based images (lunar as of now). Most importantly, you'd need a proper dtb to point to. I have attached the rk3566-box-demo dtb (and its source dts) that I'm using right now. This dts is the latest from mainline kernel with an additional patch to allow the usb 2.0 port to function. I assume you know where to place the dtb file and how to update your extlinux.conf file to point to it. If not, then please feel free to ask further questions. rk3566-box-demo.zip
-
Efforts to develop firmware for H96 MAX V56 RK3566 4G/32G
mmie4jbcu replied to Hqnicolas's topic in Rockchip CPU Boxes
@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. -
Efforts to develop firmware for H96 MAX V56 RK3566 4G/32G
mmie4jbcu replied to Hqnicolas's topic in Rockchip CPU Boxes
@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: -
Efforts to develop firmware for H96 MAX V56 RK3566 4G/32G
mmie4jbcu replied to Hqnicolas's topic in Rockchip CPU Boxes
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.