[BPI-R4-PRO] Mainline OpenWRT

Hello, is anyone working on having OpenWRT main working with the R4 PRO?

I know @frank-w is working on the “official” support for upstream linux 6.19 (?) but, in the meanwhile, I was trying to cook something working.

I have a “buildable” - about to test - project merging the non-autobuild master folder of the MTK feed. To that I added my own changes to have U-Boot support and SD image build, in anyone needs it. I put at

Help wanted… :wink:

Thank you.

1 Like

if someone is more familiar with openwrt build system it can add my patches for uboot and linux (atf is same as R4)

i have one issue left so far that is a deadlock when switching phylink from sfp back to phy (phy is default and changed on insertion of SFP, back switch on removing SFP).

the one can contact me to figure out whats needed (mxl driver, phy-driver, eth-mux, gpio sharing, dts).

1 Like

The image built merging the master from the MTK feed compiles fine.
My SD image generation and UBoot config build something that actually boots on the board. Then, when kernel takes over, it starts, something crashes 3 times and then it reboots in recovery so… it was too good to be true. :stuck_out_tongue_winking_eye: