GoGerriko Posted March 19, 2023 Share Posted March 19, 2023 (edited) I have a Rock4 SE Board (or Rock Pi 4 SE) and I'm using the Armbian_23.02.2_Rockpi-4b_bullseye_current_5.15.93 Debian version. (Linux rockpi-4b 5.15.93-rockchip64 #23.02.2 SMP PREEMPT Fri Feb 17 23:48:36 UTC 2023 aarch64 GNU/Linux) I am trying to set up the correct Device Tree Overlay configuration for my intended application. If I use Armbian-config as a tool to demonstrate the issue here. It starts by listing I2C7 and then I2C8. If I go to the Rock4 SE schematic and search for I2C8, it is not even setup as I2C: Then where is I2C6, for example. It's supposed to be there. If I then look further through the list, it is using RK3318 files (according to Internet search, they are from same 3300 family of chips but the 3318 has 4 x ARM Cortex-A53 @ 1.5 GHz cores). So are these correct. I'm rather confused by these. Could anyone explain. Thanks Colin PS. If I enable spi-spidev and then set the spi parameter to 0 it references SPI0, which is linked to the Ethernet port. I don't believe this is correct behaviour. The reason for this is that when setting it to 0, I cannot SSH into my board. When I set it to 1, I can. However when setting to 1, it shows the following (/dev/spidev1.0) when running ls /dev/spidev* Edited March 19, 2023 by GoGerriko 0 Quote Link to comment Share on other sites More sharing options...
GoGerriko Posted March 20, 2023 Author Share Posted March 20, 2023 Regarding SPI, I see the SPI0 is as intended, as per the README.rockchip-overlays file. However, I discovered that the SPI2 and SPI3 pins listed are reversed. As in pins for SPI2 are in fact for SPI3 and vice versa. 0 Quote Link to comment Share on other sites More sharing options...
erazer1 Posted March 24, 2023 Share Posted March 24, 2023 Hi! I can confirm that for the Rockpi SE there must be some errors at least with the Device Tree Overlay. I have the problem, that I can not boot the device from emmc using the latest image (f.e. Armbian_23.02.2_Rockpi-4b_bullseye_current_5.15.93). The same image can however, boot successfully from uSD card. I have tried several (archived) images from the past, none of them work correctly until the kernel version is ~ 5.10 and below. For example you could try out Armbian_21.08.1_Rockpi-4b_bullseye_current_5.10.60, Armbian_21.05.1_Rockpi-4b_buster_current_5.10.35.img, Armbian_21.02.1_Rockpi-4b_focal_current_5.10.12.img which I found to be working for booting the emmc. I guess all those problems are related to the wrong device tree. There was a change in the device tree overlay for the board in the kernel versions afterwards. There is also a thread about it in the forum - look at Regards, erazer 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.