Pi in the sky V (Raspberry Pi 5 support)

Wake up call. NanoPI R6S.

R6S is a complete package, which can provide a failover Internet connection. Have one 2.5 Gbps Ethernet port plugged in your primary Internet connection, the other 2.5 Gbps Ethernet port plugged in your LAN switch, and the 1 Gbps Ethernet port plugged in your secondary Internet connection. Run the mwan3 module in OpenWRTfor the failover from primary to secondary Internet connections. I had this running for several months on the R6S with FriendlyWRT.

1 Like

Nice, always good to have options. If there is a full OpenWrt version for the R6S maybe move that discussion into its own thread?

1 Like

I've only reviewed the basic part of the RPi 5 Pull Request and since I don't have much time lately I'm not going to waste it on some device that I don't have and that I can't test it myself since it's a whole new subtarget.
When the Raspberry Pi 5 was announced I contacted the Raspberry Pi foundation to request an alpha unit, which I thought that wouldn't be a problem since I've added OpenWrt support for most of the Raspberry Pi devices in the past (which I bought myself). And also considering that half of YouTube and tech websites got a free sample for marketing purposes.
But no, the Raspberry Pi foundation just ignored me, so I'm going to ignore the Raspberry Pi 5 Pull Request and wait for the release of OpenWrt One in order to replace my current Raspberry Pi 4 as my main router :slight_smile:.
I hope everyone can understand my reasons.
Anyhow, if any other OpenWrt developer wants to take over and fully review that Pull Request...

2 Likes

This may also be an opportunity for interested parties to investigate if the RPi4/ RPi5 might not be interesting (device additions to/) for the armsr target (using u-boot+uefi+grub), in an attempt to ease future support.

@Noltari any chance you could accept a donated rpi5 if that's the only blocker in going ahead with the MR ? (i'm offering to support all costs)

@maurer I don't think that you or anyone else apart from the Raspberry Pi foundation should assume the costs of a Raspberry Pi 5 for development purposes.
The point here is the fact that the Raspberry Pi foundation is willing to send alpha units for marketing purposes and not for development purposes, or at least not for OpenWrt development, because I think that some maintainers from other RPi OSes do receive them.
And the fact that they just ignored the request even though the RPi images are among the most downloaded OpenWrt images annoys me even more...

EDIT: I created a new post on the Raspberry Pi forum to give it a shot:
https://forums.raspberrypi.com/viewtopic.php?p=2182270

3 Likes

Update: Raspberry Pi Ltd is sending me a Raspberry Pi 5 for OpenWrt development which I should receive within next week.
Once I receive it I will fully review and test the (now closed) PR as soon as possible.

13 Likes

That's excellent! Sincere thanks for all the work you do and have done getting the RPix hardware working with Openwrt. I enjoyed running a RPi4B router/firewall for a long time before going Mini PC x86. I am sure many users for the RPi5 will also appreciate your time investment.

2 Likes

2 posts were split to a new topic: Setting up PPTP client VPN on Raspberry Pi 5

@Noltari Many thanks for doing this! I really love OpenWrt and got an RPi5 just for this. I have been running the custom firmware linked to this post but it has some bugs. Hope everything is well during tests and we will soon see an official OpenWrt release for the RPi5. Thanks again!

@lostamuro the RPi5 is already officially supported https://downloads.openwrt.org/snapshots/targets/bcm27xx/bcm2712/

1 Like

I think that is snapshot and not official release. It makes it difficult to add packages and update things later for newbies like me.

It will become part of the next stable relase (24.xy.0) naturally, it does not meet the backporting criteria for 23.05.x though. So unless you want to wait ~a year, snapshots is what you have right now.

1 Like

@annunity you can add any packages you want with the OpenWrt firmware selector and create a customized image for your needs:
https://firmware-selector.openwrt.org/?version=SNAPSHOT&target=bcm27xx%2Fbcm2712&id=rpi-5
Or you can install the snapshots and add packages via OPKG after that.

As @slh pointed out, an official release with RPi 5 support will take time.

4 Likes

Anyone else getting errors when trying to build custom images for snapshot build? I get issues with the default list.

Yes, and I got the same errors. I gave up and built from source using the instructions from the Build System Usage page in the Developer Guide.

Hi, do you have any links where we can read up on this? Any help is appreciated!
Thanks!

First, set up your build system:

Then follow the steps here:

These instructions are what I used to build the firmware when I was bringing up OpenWrt support for another device (Ubiquiti U6+).

So I'm curious, is

# Download and update the sources
git clone https://git.openwrt.org/openwrt/openwrt.git
cd openwrt
git pull
 
# Select a specific code revision
git branch -a
git tag
git checkout v23.05.0
 
# Update the feeds
./scripts/feeds update -a
./scripts/feeds install -a
 
# Configure the firmware image
make menuconfig
 
# Optional: configure the kernel (usually not required)
# Don't, unless have a strong reason to
make -j$(nproc) kernel_menuconfig
 
# Build the firmware image
make -j$(nproc) defconfig download clean world

I know this might be a dumb question, but im having a tough time understanding This part.

Would you possibly give an example (lets say I wanna use @mj82 source list)

And also maybe~ have other packages~ for the RPi5 specifically