Radxa Rock 4 SE supported? Not booting

I haven’t encountered any booting issues with my current DietPi image; however, I had some challenges have with older Radxa images, particularly as Janno’s mentioned reinstallation of the Radxa firmware… as he posed the github link for the once that work.
I apologize for lack of clarity in my communication. :fearful:

Allow me to provide the specifications of my current setup using DietPi on the Rock 4 SE:

dietpi@cube2:~$ cat /proc/device-tree/model
Radxa ROCK Pi 4B

Do you still want to test https://dietpi.com/downloads/images/testing/DietPi_ROCK4SE-ARMv8-Bookworm.img.xz ?

It’s just a hunch, but it seems like Janno might be using a Rock Pi 4A. They seem to have success booting from RK3399 images but run into trouble with RK3399-T images.

I think i missed the comment that the new image is ready to use. I already sent all units out, but i need 2 more , so will buy them tomorrow and test it out.

I’m not running Rock4A. It’s clearly 4SE

Will check back soon.

Jep, we generated new images for ROCK 4 SE on particular, available on our download page on the ROCK 4 tile.

I downloaded the image from official link under download page and I can confirm that it reports now “Radxa ROCK 4SE” under device-tree. It still does report as 4A in uboot, but i don’t think thats an issue.

Now it also seems to run with correct clocks of 1Ghz/1.5Ghz. Before it was running same clocks as 4A (1.4Ghz/1.8Ghz, so we were kinda overlclocking it.

1 Like

Great, thanks for testing and feedback. I guess U-Boot gives all ROCK 4 systems the same name, as they are all built with a generic ROCK 4 config: build/config/boards/rock-4se.csc at 40d9c0b6101cde3205661b86961dd3f78d307d63 · armbian/build · GitHub
The ROCK 4 SE specific U-Boot config is broken, respectively was half a year ago: Rock 4SE: change uboot defconfig by lanefu · Pull Request #5612 · armbian/build · GitHub
We could test an own U-Boot build with rock-4se-rk3399_defconfig being used, if you have time and mood. Probably it does work now. I don’t think there won’t be any real benefits, aside of probably some DHCP/TFTP boot cases, if something changed regarding the Ethernet adapters. But it would tell the correct device name at least :smile:.

Well , it’s fine by me to make tests. I have now total of 10 units as it’s usable device with thin linux.

Does onboard WiFi work for you? We have a case where it does not work: Onboard wifi not detected, no hotspot possible ROCK 4SE · Issue #6943 · MichaIng/DietPi · GitHub

Since the device tree defines the WiFi device, generally pretty similar to 4B, the only explanation I have is that it uses a different chip which has no driver in the kernel, or where it needs to be enabled explicitly. As the log in the linked issue does not contain any firmware loading error, I guess missing firmware is not the issue, but indeed no driver.

Are you refering to latest build?
I have already stated that wifi does not work in my prev post. I can retest it in next 24h if you think it’s changed.:

There seems to be two possible wifis on the SE https://github.com/MichaIng/DietPi/issues/6943#issuecomment-1975457184

At that time, you used the wrong device tree. Did you install the new kernel and enforce the correct device tree as I suggested here?

Sorry about that. I think i red your post as soon as you wrote it and later on my brain filtered edit out.

So testing it out:

Seems no go. I did step one and no wifi. After that step two, but it said it already existed.

If it’s not too much to ask , could the limit of “one embedded image per post” be removed so I don’t have to photoshop them all together.

Also one minor but kinda useful thing - on stock fw it has blue heartbeat led. It’s currently not lighting up or not doing anything to show that OS is booted.

I have the opposite here, led blinking but no wlan detected

Are you sure? I literally downloaded the image from downloads area and was waiting like crazy to get it to blink and then resorted to checking router dhcp table. Sure enough it had already gotten the ip ( i did not have serial hooked on this time). Not blinking on me.

yes i am : https://photos.app.goo.gl/gUTxbsirQADrwUg27

Can you give pictures of front and back of pcb.

As I stated here, can you test with ROCK 4B device tree instead?

I mean it did all work in the past, so while some U-Boot update obviously broke it, maybe the previously used 4B device tree still works (better). Quite possible that Armbian applies some patches for it, which are missing for the 4 SE device tree.

Cancel that. One radxa came without physical blue led. It’s all good on other devices. I guess the quality :smiley:

I tested, still the same result…

Answering here now instead of on GitHub, so you both are involved :smile::

root@DietPi:~# dmesg | grep brcmfmac
[    7.411031] brcmfmac: F1 signature read @0x18000000=0x15264345
[    7.430174] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    7.442834] brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.radxa,rockpi4b.bin failed with error -2
[    7.468786] usbcore: registered new interface driver brcmfmac
[    8.509931] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
[    9.539272] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50

At least we see now that this direct firmware load error is indeed more a warning that the generic firmware is used, since on ROCK 4B it works even that the symlinks are missing there as well.

So at this point I have no idea what is missing: The correct driver is loaded automatically, the correct firmware is loaded, but the adapter just does not show up :thinking:. Confusing what changed, as both used to work on ROCK 4 SE previously, just using the ROCK 4B image. That a recent bootloader update broke it has been reported to Armbian already: Rock 4 SE not booting - Rockchip - Armbian Community Forums
Strange that something broke WiFi moreless in the same time range. Who knows whether whichever change at the bootloader indirectly affected WiFi device init as well and brought it into a stage where it cannot be fully initialised anymore when the kernel takes over.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.