Support for Raspberry Pi 3B+

Questions & Discussion about the right Hardware to run IPFire on
chubeez
Posts: 18
Joined: October 28th, 2015, 8:19 pm

Support for Raspberry Pi 3B+

Post by chubeez » November 28th, 2018, 8:38 am

Hello,

I just purchased a Raspberry Pi 3B+ without properly reading the ipfire documentation :-[ . I found that it does not work as seen on this page: https://wiki.ipfire.org/hardware/arm/rpi/threeplus

My question is obviously when will it be fully supported?
Image

Testing Raspberry Pi 3 B+: Core Update 126-dirty
Image

User avatar
Arne.F
Core Developer
Core Developer
Posts: 8297
Joined: May 7th, 2006, 8:57 am
Location: BS <-> NDH
Contact:

Re: Support for Raspberry Pi 3B+

Post by Arne.F » November 28th, 2018, 10:22 am

The usb support for the RPi3 in mainline kernel is still buggy and im not able to fix this at the moment.
I have spend some hours into solve this and the RP3 (without +) was working with kernel 4.14.50 but newer kernels are again buggy so i cannot suggest to use the RPi at all...
Arne

Support the project on the donation!

Image

Image

Image
PS: I will not answer support questions via email and ignore IPFire related messages on my non IPFire.org mail addresses.

JonM
Posts: 113
Joined: August 4th, 2017, 5:49 pm
Location: US

Re: Support for Raspberry Pi 3B+

Post by JonM » November 29th, 2018, 4:24 am

Yesterday and today and I experimented a Raspberry Pi 3 model B and Core 125. All has worked A-OK for me with no crashes. I haven't finished testing yet (still need to load it with large file transfers) but so far so good.

What kernel crashes do you see? I see no kernel issues in the messages log.

I added the fireinfo below.
Production:
Image

Testing Raspi 3B+:
Image

User avatar
Arne.F
Core Developer
Core Developer
Posts: 8297
Joined: May 7th, 2006, 8:57 am
Location: BS <-> NDH
Contact:

Re: Support for Raspberry Pi 3B+

Post by Arne.F » November 29th, 2018, 8:55 am

I run in some DMA Interrupt errors like this:
dwc2 3f980000.usb: dwc2_hc_chhltd_intr_dma: Channel 3 - ChHltd set, but reason is unknown
dwc2 3f980000.usb: hcint 0x00000002, intsts 0x04400009
While this messages the USB hung. And after some of this messages the kernel crash.

A Fedora has the same issues reported:
https://bugzilla.redhat.com/show_bug.cgi?id=1495438

I have tested both arm32bit and experimental aarch64 builds.
Arne

Support the project on the donation!

Image

Image

Image
PS: I will not answer support questions via email and ignore IPFire related messages on my non IPFire.org mail addresses.

chubeez
Posts: 18
Joined: October 28th, 2015, 8:19 pm

Re: Support for Raspberry Pi 3B+

Post by chubeez » November 29th, 2018, 3:39 pm

Thank you for your reply Arne.F

I have some programming experience but not at a core or kernel level - I wish I could help at this point.

Just to clarify: are you saying that it is unlikely that the Pi3B+ will ever be supported or are you working on it so that the Pi3B+ will be supported eventually?

@JonM: did you test the Pi3B or Pi3B+ (or is there no difference - excuse my ignorance)
Image

Testing Raspberry Pi 3 B+: Core Update 126-dirty
Image

User avatar
Arne.F
Core Developer
Core Developer
Posts: 8297
Joined: May 7th, 2006, 8:57 am
Location: BS <-> NDH
Contact:

Re: Support for Raspberry Pi 3B+

Post by Arne.F » November 29th, 2018, 4:28 pm

I have some stability issues with both RPi3B and RPi3B+.

The issues mentioned in the wiki with LAN and WLAN will be fixed. (LAN is already ok since core124 except the status LED's) and wlan
will added with the next kernel update. (planned for core126)
Arne

Support the project on the donation!

Image

Image

Image
PS: I will not answer support questions via email and ignore IPFire related messages on my non IPFire.org mail addresses.

JonM
Posts: 113
Joined: August 4th, 2017, 5:49 pm
Location: US

Re: Support for Raspberry Pi 3B+

Post by JonM » November 29th, 2018, 5:32 pm

chubeez wrote:
November 29th, 2018, 3:39 pm
@JonM: did you test the Pi3B or Pi3B+ (or is there no difference - excuse my ignorance)
I have the Pi3B

There are a few differences:
Screen Shot 2018-11-29 at 11.31.11 AM.png
https://www.datenreise.de/en/raspberry- ... omparison/
Production:
Image

Testing Raspi 3B+:
Image

chubeez
Posts: 18
Joined: October 28th, 2015, 8:19 pm

Re: Support for Raspberry Pi 3B+

Post by chubeez » November 29th, 2018, 6:35 pm

@JonM thanks for your response.

@Arne.F
LAN is already ok since core124 except the status LED's
I cannot get the onboard LAN to work. Restarting dhcp and network also does not show any errors in /var/log/messages.

If I use an external (Realtek Semiconductor) USB LAN interface it works as expected.

In setup -> assigning cards, 2 interfaces are listed:
sdio: brcmfmac
usb: Standard Microsystems Corp.

Which one is LAN and WLAN (i have tried both without success)?

Can you give me any tips?
Image

Testing Raspberry Pi 3 B+: Core Update 126-dirty
Image

JonM
Posts: 113
Joined: August 4th, 2017, 5:49 pm
Location: US

Re: Support for Raspberry Pi 3B+

Post by JonM » November 29th, 2018, 6:39 pm

chubeez wrote:
November 29th, 2018, 6:35 pm
In setup -> assigning cards, 2 interfaces are listed:
sdio: brcmfmac
usb: Standard Microsystems Corp.

Which one is LAN and WLAN (i have tried both without success)?

The GREEN network is the Raspi Ethernet port. The RED network is the wireless/WiFi and it known as sdio: brcmfmac in the Extended Network Menu.

I added some notes here:
https://wiki.ipfire.org/hardware/arm/rpi/three

EDIT: Oops, I forgot one part. The usb: Standard Microsystems Corp. SMSC95... is the Ethernet port.
Production:
Image

Testing Raspi 3B+:
Image

chubeez
Posts: 18
Joined: October 28th, 2015, 8:19 pm

Re: Support for Raspberry Pi 3B+

Post by chubeez » November 29th, 2018, 6:56 pm

JonM wrote:
November 29th, 2018, 6:39 pm
EDIT: Oops, I forgot one part. The usb: Standard Microsystems Corp. SMSC95... is the Ethernet port.
Thanks. That clears that up.
Arne.F wrote:
November 29th, 2018, 4:28 pm
(LAN is already ok since core124 except the status LED's)
Should the Ethernet port work on the Pi3B+? I'm using core125.
Image

Testing Raspberry Pi 3 B+: Core Update 126-dirty
Image

JonM
Posts: 113
Joined: August 4th, 2017, 5:49 pm
Location: US

Re: Support for Raspberry Pi 3B+

Post by JonM » November 29th, 2018, 7:36 pm

chubeez wrote:
November 29th, 2018, 6:56 pm
Should the Ethernet port work on the Pi3B+? I'm using core125.
Give it a try! I am running Core 125 also but I don't have a Pi3B+.
Production:
Image

Testing Raspi 3B+:
Image

JonM
Posts: 113
Joined: August 4th, 2017, 5:49 pm
Location: US

Re: Support for Raspberry Pi 3B+

Post by JonM » November 29th, 2018, 7:45 pm

Arne.F - I've warmed up the Raspi3b for a hour but I cannot get it to crash. No DMA error.

Maybe you have something turned on that I do not.

Screen Shot 2018-11-29 at 1.37.09 PM.png
Screen Shot 2018-11-29 at 1.39.37 PM.png
Screen Shot 2018-11-29 at 1.41.55 PM.png
Screen Shot 2018-11-29 at 1.43.19 PM.png
Production:
Image

Testing Raspi 3B+:
Image

User avatar
Roberto Peña
Posts: 746
Joined: July 16th, 2014, 3:56 pm
Location: Bilbao (España)
Contact:

Re: Support for Raspberry Pi 3B+

Post by Roberto Peña » November 29th, 2018, 8:01 pm

Hi all

I have installed the core 125 in a Pi 3B (without the +) and it works perfect for me. I have not checked any errors since as I comment, I have no problem.

Do not either have the Pi B3 +, since for some scenarios, it seems a very good option (for the cost).

For example. An application could be for a group of users (for a few users, of course), go to the Internet using a USB 3G / 4G and Ethernet, a switch.

Greetings.
Image
Image

╔════════════════════════════════════════════════╗
Donate to improve IPFire: https://www.ipfire.org/donate
╚════════════════════════════════════════════════╝

JonM
Posts: 113
Joined: August 4th, 2017, 5:49 pm
Location: US

Re: Support for Raspberry Pi 3B+

Post by JonM » November 30th, 2018, 2:12 am

Arne.F - I was digging thru the IPFire WUI logs and came across lots of these in the kernel section:

Code: Select all

smsc95xx 1-1.1:1.0 green0: kevent 2 may have been dropped
Screen Shot 2018-11-29 at 8.03.24 PM.png

Not sure if it is related to what you see...
Production:
Image

Testing Raspi 3B+:
Image

chubeez
Posts: 18
Joined: October 28th, 2015, 8:19 pm

Re: Support for Raspberry Pi 3B+

Post by chubeez » November 30th, 2018, 5:13 am

JonM wrote:
November 29th, 2018, 7:36 pm
Give it a try! I am running Core 125 also but I don't have a Pi3B+.
I have tried without success :(

I did notice a kernel issue in logs last night while I was trying different things. I'll have to see if I can get those logs here - I can't ssh until I have a working connection to the Pi. I may be able to use the Pi with multiple external USB devices in the meantime.

I'll attach logs when I can...

Thanks everyone for the feedback!
Image

Testing Raspberry Pi 3 B+: Core Update 126-dirty
Image

Post Reply