sgofferj Posted January 7 Posted January 7 Morning all, so I got myself a FriendlyElec CM3588 NAS board for testing and in the end integrating in my homelab. I tried a few Armbian images - FriendlyElec suggests the NanoPi R6S image and I tried the NanoPC T6 image. Both boot but both have some issues, e.g. no USB connectivity and no HDMI out (T6). While not a being developer or SBC specialist, I am a Linux user since 1995 (server)/1996 (desktop) and I am used to some pain, tinkering and problem solving. Is there any kind of "getting started with a new board"- or similar document that I could use as a starting point to tinker with this board? Any hints, advice? Of course I could use the stock Debian/Ubuntu images from FriendlyElec but I grew to like Armbian a little after running it on a bunch of RPis and a Banana Pi... Happy New Year! Stefan 0 Quote
Werner Posted January 7 Posted January 7 Hi, try here: https://docs.armbian.com/Developer-Guide_Adding-Board-Family/ 0 Quote
sgofferj Posted January 16 Author Posted January 16 Thanks. I was though more looking for hints on how to get hardware working. 0 Quote
lanefu Posted January 20 Posted January 20 This won't feel very helpful, but basically you'll need to make a device tree for the cm3588 nas board. I've yet to find a good read on introducing people to device tree and how to navigate but hopefully you can find something. Example: https://github.com/torvalds/linux/blob/master/arch/arm64/boot/dts/rockchip/rk3588-nanopc-t6.dts 0 Quote
sgofferj Posted January 23 Author Posted January 23 Thanks! I have heard about device trees and had a look at some DTS for the Banana Pi CM4 but I was lacking reference to understand the bigger picture. Looking at it, I'm probably not the one who is going to make Armbian work on this board but maybe I can do some prep work at least... 0 Quote
going Posted January 23 Posted January 23 There are a lot of interesting things here: Documentation/devicetree P.S. In fact, there are a lot of differences between which source code the kernel for your image was compiled from. Feel free to provide additional information. 0 Quote
wasuu Posted January 23 Posted January 23 (edited) Is it possible to just use the dts file from the friendly elecs github repository ? https://github.com/friendlyarm/kernel-rockchip/blob/nanopi6-v6.1.y/arch/arm64/boot/dts/rockchip/rk3588-nanopi6-rev09.dts Edited January 23 by wasuu 0 Quote
lanefu Posted January 24 Posted January 24 11 hours ago, wasuu said: Is it possible to just use the dts file from the friendly elecs github repository ? nope that's from the rockchip 6.1 vendor kernel. It's not compatible with mainline linux 0 Quote
sgofferj Posted January 24 Author Posted January 24 @going I have tried all of FriendlyElec "Official images", most recent the debian. It's 6.1.25. @wasuu I don't think that dts even would even work for the CM3588 NAS. At least when I tried Armbian for the T6 on the CM3588 it booted but didn't run without quirks, e.g. no USB or HDMI out. I'm swamped this week and probably also next. But when I get to it, I'll try to find the dtb files from the "official" image and decompile them... 0 Quote
going Posted January 24 Posted January 24 11 часов назад, sgofferj сказал: But when I get to it, I'll try to find the dtb files from the "official" image and decompile them Extract dts from the file system on a running device dtc --sort -I fs -O dts /sys/firmware/devicetree/base > dts-$(uname -r).txt This is especially useful when you are trying to apply a dtbo overlay on boot. 0 Quote
sgofferj Posted February 5 Author Posted February 5 (edited) @going Fantastic! Thank you! Edited February 5 by sgofferj 0 Quote
sgofferj Posted February 5 Author Posted February 5 If nothing else yet, I at least have a 3D printable case design to show for the CM3588 NAS... https://github.com/sgofferj/CM3588-NAS-case 0 Quote
r3x.asadun Posted October 26 Posted October 26 I did what you mentioned and have attached the output here. It's a very big file so I can't copy paste the text. I am also interested in trying to add a new board support! Preferably FreeBSD but I am happy with anything at this point. dts-6.1.57.txt 0 Quote
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.