Raspberry Pi 3 B+ OpenWrt/LEDE Image

Thanks. I'm up-and-running with the RPi 3B+ including all 4 cores, the upgraded Ethernet and upgraded wireless! My Ethernet activity LEDs don't seem to be working, but I haven't noticed any other issues in brief testing.

Here's the post I did over at the ROOter forum on the subject:

http://whrl.pl/Re8CE8

That's great. Is the ROOter build using 64-bit aarch64 (uname -a)?

Also I'm not seeing any Ethernet LEDs either.

1 Like

uname -a returns aarch64.

ROOter is really just a collection of pre-installed packages and scripts using the latest stable release of LEDE/OpenWRT. Builds are sometimes made from snapshots for special situations (like this one). It's very GUI oriented.

Ah ok that’s interesting to know it’s aarch64. So I guess it’s also using OpenWRT’s Lua-based LuCI web GUI? I should give it a shot...

An update - The latest Openwrt snapshot (From: Mon Apr 23 23:59:36 2018) boots all 4 CPU cores with aarch64 - though these stock firmware snapshots don't include support for eth0 or wlan0. (To get eth0 one still needs to add the lan78xx driver and rebuild the kernel and add the Broadcom firmware to get the WiFi going).

I tried that ROOter snapshot and it booted with 4 cores after updating the start.elf and bootcode.bin files, but the LuCI web interface appeared to be slightly broken (Lua errors). So it's probably based on the newer OpenWRT tree than I originally tested with.

Service announcement for all interested parties:

Support for the raspi B+ was sent on the mailing list a week ago and was merged 3 days ago into OpenWrt master with this commit https://github.com/openwrt/openwrt/commit/50b09196282eff24e19541003dfcb248d616006e

It has altered the Raspi 3 B image to work on both devices (as said above the Raspi 3 B+ is basically the same thing with different peripherals, and on a SDcard you don't notice a few MBs more or less).

Buildbots rebuilt the image yesterday with the latest source, so the same Raspi 3 image from snapshots should now work on both devices https://downloads.openwrt.org/snapshots/targets/brcm2708/bcm2710/

2 Likes

I want to run OpenWRT on my new Raspi 3 B+, but for me it somehow does not work out. Any guidance would be highly appreciated.

I naively started with trying out the image of the stable branch. Finding that B+ support was only added recently to the master branch. So i tried to use the latest snapshot image for the bcm2710 target. Trying to connect via eth0 did not work. Finding that there were issues with the LAN support, I tried to manually compile a new image, adding the relevant firmware manually. Again I could not connect via eth0.

As the LED's of the Pi are blinking, I assumed that it was booting, so i tried to connect with an USB to TTL Cable to somehow get an serial console running. This does not not work either (I assume that the GPIO's should be working with default configurations?). Using Rasbian I was able to establish a serial terminal, so my basic setup should be correct ...
Am I missing something?

@bobafetthotmail Thanks for the info but some key pieces still seem to be missing. For instance, the following is empty: https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/
Any idea when the packages will be populated?

Looking at the dates, it seems buildbots have tried to recompile the packages like they always do on snapshot, but failed. Some of the latest changes in master broke that target, now the buildbot needs also gtime tool to compile.

You can see the failure logs from this folder https://downloads.openwrt.org/snapshots/faillogs/aarch64_cortex-a53/

@wolfm2 they are now available again, after I sent a report on the mailing list about the issue.

Actually these snapshots dont seem to work. The pi3b+ will just sit there with green led flashing. Nothing output to the UART pins either.

You still need to replace the start.elf and bootcode.bin in /boot on the snapshot images with those from the latest Raspbian images then it should boot. For WiFi support - once it boots, or if you mount the partition beforehand, you'll need to copy over the Broadcom firmware files (brcmfmac43455-sdio.*) from Raspbian to /lib/firmware/brmc/ then reboot.

Hi friends,
I am trying to compile an image for Raspberry PI B+ but I do not know how to attach lan78xx drivers.
I was looking everywhere on the menu but I did not find such a position (via make kernel_menuconfig).

Can you help me how can I add this driver so that I can connect via the LAN port in RPi B+??

EDIT:
OK I found :wink:

There is now some commits that should fix that (they add newer GPU firmware, it is used for booting, as said also by pierz after your post) http://lists.infradead.org/pipermail/openwrt-devel/2018-May/012362.html

This isn't merged yet.

Will notify the guy about adding the firmware file too for the wifi, so maybe he can add that too.

My one boot just fine!
Actually I have a few patches more!
Wifi drivers are on the way as well!

@christo.nedev I know that you are trying to get things working in Pi targets.
But you cant just send patches without any explanation what they do and no SoB line.
They will never get merged or even looked into if they do not meet the formal criteria

brcm2708-gpu-fw package is from 2017-08-08

Should I track all the changes the guys from Raspberry Pi have done and explain them?

[OpenWrt-Devel] brcm2708: update brcm2708-gpu-fw

Everything is in the title!
The package is being updated!
Why? I don''t know why! Old one just don't work! New one work! I have it up and running!

With that attitude nothing will be accomplished.
Take a look at patches submitted by others.

If old one does not work and new one does just write that as a reason.

I apologize for the attitude.
I did not want to be rude.

I tried the latest snapshot, it turned out to bahave in the same way. Do we still need to copy the start.elf and bootcode.bin?