CentOS - Raspberry PI 4

Issues related to hardware problems
t3kg33k
Posts: 24
Joined: 2016/02/26 19:45:27

Re: CentOS - Raspberry PI 4

Post by t3kg33k » 2020/07/30 20:59:22

Not sure if this is the place to post this or a new thread but I am seeing the following message repeatedly on console now that I have loaded CentOS 8:

brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled

Is there a way to disable the power management?
I'm assuming this is referring to the wireless interface, which I don't even use.

pgreco
Posts: 31
Joined: 2018/04/14 17:23:02

Re: CentOS - Raspberry PI 4

Post by pgreco » 2020/07/31 12:34:00

t3kg33k wrote:
2020/07/30 20:59:22
brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
If you're absolutely not using wifi, you could run

Code: Select all

nmcli radio wifi off

smallphd
Posts: 9
Joined: 2020/08/04 08:45:46

Re: CentOS - Raspberry PI 4

Post by smallphd » 2020/08/06 01:15:18

hi, pgreco: I want install centos8.2 in my raspberry pi 4b and I found you image in https://people.centos.org/pgreco/CentOS ... sda.raw.xz. Thank you very much for your effort! After login to your OS, I found the kernel is Linux 5.4.53-v8.1.el8. I want use a self defined kernel in raspberry pi, can you provide your matter to create such a image using my own kernel edition (4.18.0-193 based). Thank you very much!
pgreco wrote:
2020/07/29 23:38:36
I've been updating the rpi4/aarch64/c8stream image in the last few days. The link is the same that was posted a few days ago (https://people.centos.org/pgreco/CentOS ... Minimal-4/).

As always, userspace is stock c8, but the kernel is built in my servers, unsigned.
I'm trying to keep this kernels update with what we build for c7, so you could use this as a temporary repo https://people.centos.org/pgreco/rpi_aarch64_el8/

Pablo.

pgreco
Posts: 31
Joined: 2018/04/14 17:23:02

Re: CentOS - Raspberry PI 4

Post by pgreco » 2020/08/07 02:21:54

smallphd wrote:
2020/08/06 01:15:18
hi, pgreco: I want install centos8.2 in my raspberry pi 4b and I found you image in https://people.centos.org/pgreco/CentOS ... sda.raw.xz. Thank you very much for your effort! After login to your OS, I found the kernel is Linux 5.4.53-v8.1.el8. I want use a self defined kernel in raspberry pi, can you provide your matter to create such a image using my own kernel edition (4.18.0-193 based). Thank you very much!
pgreco wrote:
2020/07/29 23:38:36
I've been updating the rpi4/aarch64/c8stream image in the last few days. The link is the same that was posted a few days ago (https://people.centos.org/pgreco/CentOS ... Minimal-4/).

As always, userspace is stock c8, but the kernel is built in my servers, unsigned.
I'm trying to keep this kernels update with what we build for c7, so you could use this as a temporary repo https://people.centos.org/pgreco/rpi_aarch64_el8/

Pablo.
I'm not expecting the rpi4 to work with that kernel, tbh.
For mainline kernels, it started working around 5.6/5.7, and I don't think RH backported the patches to make it work.
The other option would be to use a kernel based on the rpi-foundation's github, which is what is used in the image.

Still, if you wanted to test that, I'd download a cloud image of c8/aarch64 and put a firmware that makes the rpi look like an actual server (https://rpi4-uefi.dev/)

Pablo.

smallphd
Posts: 9
Joined: 2020/08/04 08:45:46

Re: CentOS - Raspberry PI 4

Post by smallphd » 2020/08/07 03:40:23

Thank you very much! The rpi4 uefi method is useful for me. I will try it.

brentx
Posts: 1
Joined: 2020/08/08 06:27:53

Re: CentOS - Raspberry PI 4

Post by brentx » 2020/08/08 06:36:32

smallphd wrote:
2020/08/07 03:40:23
Thank you very much! The rpi4 uefi method is useful for me. I will try it.
Just be aware that a lot of onboard things will not work if you go the UEFI method and run the stock 4.18 kernel. The biggest annoyance is the NIC - support was not added to the Linux kernel for the NIC until kernel 5.6 when booted in UEFI mode. The SD-Card does not work either, so you’ll need an external USB drive and NIC.

I’ve attempted to back port the Ethernet driver from kernel 5.7 into the CentOS 4.18 kernel, but there were same large changes to the network stack that the newer module depends on, so it was a bit over my head. If Red Hat doesn’t backport it, which is unlikely, you are probably going to need to roll your own kernel if you care about that stuff while biotin in UEFI mode.

smallphd
Posts: 9
Joined: 2020/08/04 08:45:46

Re: CentOS - Raspberry PI 4

Post by smallphd » 2020/08/10 01:28:31

brentx wrote:
2020/08/08 06:36:32
smallphd wrote:
2020/08/07 03:40:23
Thank you very much! The rpi4 uefi method is useful for me. I will try it.
Just be aware that a lot of onboard things will not work if you go the UEFI method and run the stock 4.18 kernel. The biggest annoyance is the NIC - support was not added to the Linux kernel for the NIC until kernel 5.6 when booted in UEFI mode. The SD-Card does not work either, so you’ll need an external USB drive and NIC.

I’ve attempted to back port the Ethernet driver from kernel 5.7 into the CentOS 4.18 kernel, but there were same large changes to the network stack that the newer module depends on, so it was a bit over my head. If Red Hat doesn’t backport it, which is unlikely, you are probably going to need to roll your own kernel if you care about that stuff while biotin in UEFI mode.
I installed CentOS 8.2 to a USB device in UEFI mode and found NIC is not supported.
External USB drive is OK.
I am looking forward a method to solve the NIC problem.

smallphd
Posts: 9
Joined: 2020/08/04 08:45:46

Re: CentOS - Raspberry PI 4

Post by smallphd » 2020/08/10 01:35:40

brentx wrote:
2020/08/08 06:36:32
smallphd wrote:
2020/08/07 03:40:23
Thank you very much! The rpi4 uefi method is useful for me. I will try it.
Just be aware that a lot of onboard things will not work if you go the UEFI method and run the stock 4.18 kernel. The biggest annoyance is the NIC - support was not added to the Linux kernel for the NIC until kernel 5.6 when booted in UEFI mode. The SD-Card does not work either, so you’ll need an external USB drive and NIC.

I’ve attempted to back port the Ethernet driver from kernel 5.7 into the CentOS 4.18 kernel, but there were same large changes to the network stack that the newer module depends on, so it was a bit over my head. If Red Hat doesn’t backport it, which is unlikely, you are probably going to need to roll your own kernel if you care about that stuff while biotin in UEFI mode.
There is a wifi device in the rpi4. Do you try this device to connect to network?

smallphd
Posts: 9
Joined: 2020/08/04 08:45:46

Re: CentOS - Raspberry PI 4

Post by smallphd » 2020/08/11 02:57:38

brentx wrote:
2020/08/08 06:36:32
smallphd wrote:
2020/08/07 03:40:23
Thank you very much! The rpi4 uefi method is useful for me. I will try it.
Just be aware that a lot of onboard things will not work if you go the UEFI method and run the stock 4.18 kernel. The biggest annoyance is the NIC - support was not added to the Linux kernel for the NIC until kernel 5.6 when booted in UEFI mode. The SD-Card does not work either, so you’ll need an external USB drive and NIC.

I’ve attempted to back port the Ethernet driver from kernel 5.7 into the CentOS 4.18 kernel, but there were same large changes to the network stack that the newer module depends on, so it was a bit over my head. If Red Hat doesn’t backport it, which is unlikely, you are probably going to need to roll your own kernel if you care about that stuff while biotin in UEFI mode.
The NIC problem is solved through adding a USB gb ethernet. This ethernet is based on AX88179 chip whose driver is included in vannila CentOS 8.2.

ajayc123
Posts: 1
Joined: 2020/09/03 14:17:29

Re: CentOS - Raspberry PI 4

Post by ajayc123 » 2020/09/03 14:27:12

pgreco wrote:
2020/07/29 23:38:36
I've been updating the rpi4/aarch64/c8stream image in the last few days. The link is the same that was posted a few days ago (https://people.centos.org/pgreco/CentOS ... Minimal-4/).

As always, userspace is stock c8, but the kernel is built in my servers, unsigned.
I'm trying to keep this kernels update with what we build for c7, so you could use this as a temporary repo https://people.centos.org/pgreco/rpi_aarch64_el8/

Pablo.
Pablo, thanks a lot for this. It works quite fine, and I did not face any issues so far (in my limited use). I am curious if you are planning to publish a version with gui (like gnome) in near future ?

Post Reply