Hello,
I've been using OpenWRT on a Nexx WT3020 for a while. But the OpenWRT image got bigger and bigger over time and I decided to move to something more flexible.
I decided to go the custom way with a Raspberry Pi basis.
I bought a DFRobot router mini carrier board : https://www.dfrobot.com/product-2242.html
This board was initially designed for Compute Module 4.
I also bought a CM5 with 16Gb eMMC, 2Gb of RAM and embedded WiFi.
I installed Raspberry Pi 5b image, adding the missing dtb files, changing the config.txt and cmdline.txt to get the console redirected to the UART. I also added the missing modules to get the RTL8111 chip working.
I get boot, prompt, and RTL8111 recognised by the system.
Now my issue : I can't reach LuCi interface from the computer. In fact it seems there is no network communication between OpenWRT and the computer. While OpenWRT IP is 192.168.1.1 for BR-LAN, the computer selects another IP after a while like 169.x.x.x. Even manually setting the computer's IP to 192.168.1.2 does not change anything.
I'm now trying with plain Raspberry Pi 5 image with no modification (so RT8111 is not recognized), just modifying the config.txt and cmdline.txt to get the console over UART and using the correct dtb file. Situation is the same. This same image works fine on a Raspberry Pi 5.
Chip is the same between CM5 and RPi5 so there should be no difference.
Once the cable is disconnected, OpenWRT reacts saying the port is in disabled state, and gets in forwarding state when the cable is plugged in again which makes me thinking that there is no HW issue.
The RJ45 cable works fine as well.
brctl show br-lan is associated to eth0 which is the port I'm connecting to.
I'm now quite stuck here in my debugging becaus I don't know where to search next.
Could someone more experienced provide assistance ?
Thanks !