CentOS7 Raspberry Pi 4 4GB Support

Issues related to hardware problems
pgreco
Posts: 14
Joined: 2018/04/14 17:23:02

Re: CentOS7 Raspberry Pi 4 4GB Support

Post by pgreco » 2019/08/28 17:42:54

wangxuesong wrote:
2019/08/26 05:47:06
hello @pgreco,
I boot an older rpi3 with that image, and update to the linked kernel, it can boot the rpi4 ,but system lost wlan ,I want use rpi4 wifi ,but I don't know how to drive it.
thank you .
Yes, I'm aware of the wlan problem. I'm hoping to get my rpi4 next week so I can test myself.
In the meantime, did you find any info in the logs related to this?, maybe it helps

Pablo.

markVnl
Posts: 2
Joined: 2019/08/29 22:35:36

Re: CentOS7 Raspberry Pi 4 4GB Support

Post by markVnl » 2019/08/29 22:44:09

Wifi works for me after editing

Code: Select all

/usr/lib/firmware/brcm/brcmfmac43455-sdio.txt
to match this content: https://github.com/RPi-Distro/firmware- ... 5-sdio.txt

i.e:

Code: Select all

cat > /usr/lib/firmware/brcm/brcmfmac43455-sdio.txt << EOF
# Cloned from bcm94345wlpagb_p2xx.txt 
NVRAMRev=$Rev: 498373 $
sromrev=11
vendid=0x14e4
devid=0x43ab
manfid=0x2d0
prodid=0x06e4
#macaddr=00:90:4c:c5:12:38
macaddr=b8:27:eb:74:f2:6c
nocrc=1
boardtype=0x6e4
boardrev=0x1304

#XTAL 37.4MHz
xtalfreq=37400

btc_mode=1
#------------------------------------------------------
#boardflags: 5GHz eTR switch by default
#            2.4GHz eTR switch by default
#            bit1 for btcoex
boardflags=0x00480201
boardflags2=0x40800000
boardflags3=0x44200100
phycal_tempdelta=15
rxchain=1
txchain=1
aa2g=1
aa5g=1
tssipos5g=1
tssipos2g=1
femctrl=0
AvVmid_c0=1,165,2,100,2,100,2,100,2,100
pa2ga0=-129,6525,-718
pa2ga1=-149,4408,-601
pa5ga0=-185,6836,-815,-186,6838,-815,-184,6859,-815,-184,6882,-818
pa5ga1=-202,4285,-574,-201,4312,-578,-196,4391,-586,-201,4294,-575
itrsw=1
pdoffsetcckma0=2
pdoffset2gperchan=0,-2,1,0,1,0,1,1,1,0,0,-1,-1,0
pdoffset2g40ma0=16
pdoffset40ma0=0x8888
pdoffset80ma0=0x8888
extpagain5g=2
extpagain2g=2
tworangetssi2g=1
tworangetssi5g=1
# LTECX flags
# WCI2
ltecxmux=0
ltecxpadnum=0x0504
ltecxfnsel=0x22
ltecxgcigpio=0x32

maxp2ga0=80
ofdmlrbw202gpo=0x0022
dot11agofdmhrbw202gpo=0x4442
mcsbw202gpo=0x98444422
mcsbw402gpo=0x98444422
maxp5ga0=82,82,82,82
mcsbw205glpo=0xb9555000
mcsbw205gmpo=0xb9555000
mcsbw205ghpo=0xb9555000
mcsbw405glpo=0xb9555000
mcsbw405gmpo=0xb9555000
mcsbw405ghpo=0xb9555000
mcsbw805glpo=0xb9555000
mcsbw805gmpo=0xb9555000
mcsbw805ghpo=0xb9555000

swctrlmap_2g=0x00000000,0x00000000,0x00000000,0x010000,0x3ff
swctrlmap_5g=0x00100010,0x00200020,0x00200020,0x010000,0x3fe
swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x3
swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x3

vcodivmode=1
deadman_to=481500000

ed_thresh2g=-54
ed_thresh5g=-54
eu_edthresh2g=-54
eu_edthresh5g=-54
ldo1=4
rawtempsense=0x1ff
cckPwrIdxCorr=3
cckTssiDelay=150
ofdmTssiDelay=150
txpwr2gAdcScale=1
txpwr5gAdcScale=1
dot11b_opts=0x3aa85
cbfilttype=1
fdsslevel_ch11=6

# Improved Bluetooth coexistence parameters from Cypress
btc_mode=1
btc_params8=0x4e20
btc_params1=0x7530

EOF

EDIT:
One little typo in first code line :missing 't' at the end..(sorry)
And the simplest way to make the changes take effect is to reboot your RPI;
This way you are sure it will stick to as this seems to be a problem
(https://github.com/RPi-Distro/firmware- ... f34badc543)

Grtz mark
Last edited by markVnl on 2019/08/30 18:05:15, edited 3 times in total.

Lagrik
Posts: 2
Joined: 2019/08/23 23:26:26

Re: CentOS7 Raspberry Pi 4 4GB Support

Post by Lagrik » 2019/08/30 14:48:19

markVnl, just trired doing that and it brought up my WLAN interface. Thank you!

kim
Posts: 1
Joined: 2019/08/31 15:07:40

Re: CentOS7 Raspberry Pi 4 4GB Support

Post by kim » 2019/08/31 15:15:27

My wlan is working well.But I cannot connect PI with ssh. And ping PI's IP address return message is "connect time out".I don't know why. Please help me.Thanks.

knuckl3dragg3r
Posts: 2
Joined: 2019/08/21 15:03:33

Re: CentOS7 Raspberry Pi 4 4GB Support

Post by knuckl3dragg3r » 2019/09/06 00:43:36

@kim If the Pi is running wireless correctly, have you checked the basics such as ensuring that your other host is on the same network, etc.? I don't see a reason why it would not return a ping if both the Pi and the other host you are attempting to ping it from are both connected and on the same network. Once you are able to successfully ping, verify that the Pi has SSH enabled and running.

StephanG
Posts: 1
Joined: 2019/08/22 19:10:52

Re: CentOS7 Raspberry Pi 4 4GB Support

Post by StephanG » 2019/09/07 18:15:03

Tried method #1 few days back: OK.
Tried method #2 today: OK too.

ftimmers
Posts: 4
Joined: 2019/09/07 21:14:12

Re: CentOS7 Raspberry Pi 4 4GB Support

Post by ftimmers » 2019/09/07 21:35:50

@pgreco, this image is working fine on my Pi4. Thank you for that!
I managed to put the root-partition on a ssd and boot it. Also I tried to put this root-partition on LVM, but this did not work, so definitely I am doing something wrong. I tried to create a ramfs, but it doesn't work.
Can you give me a hint or put me in the right direction to make this work?

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

Re: CentOS7 Raspberry Pi 4 4GB Support

Post by pgreco » 2019/09/08 13:06:31

ftimmers wrote:
2019/09/07 21:35:50
I managed to put the root-partition on a ssd and boot it. Also I tried to put this root-partition on LVM, but this did not work, so definitely I am doing something wrong. I tried to create a ramfs, but it doesn't work.
Can you give me a hint or put me in the right direction to make this work?
It may be that you're doing something wrong, but I have a feeling that is not the main problem :lol:
My (completely untested) theory is that since the rpi boots from a zImage generated at build time, instead of an initramfs generated at install time, the image doesn't include the necessary things to boot from LVM.
To confirm this, I'd need to build a kernel setting the correct conf to y instead of m (I think it is CONFIG_BLK_DEV_DM).
In the meantime, can you confirm that you can see the lvm once booted?

ftimmers
Posts: 4
Joined: 2019/09/07 21:14:12

Re: CentOS7 Raspberry Pi 4 4GB Support

Post by ftimmers » 2019/09/08 15:11:03

@pgreco, Hello Pablo,
Thank you for the response. I don't know what you mean exactly:
When I boot with this image the LVM-disks are not recognized, I have to yum install lvm2 to have them recognized.
In /proc/config.gz I found:
CONFIG_BLK_DEV_DM_BUILTIN=y
CONFIG_BLK_DEV_DM=m

michael9000
Posts: 4
Joined: 2019/07/25 13:24:55

Re: CentOS7 Raspberry Pi 4 4GB Support

Post by michael9000 » 2019/09/09 00:57:28

Hi

What is the default username and root password to log in at first bootup? I tried username:raspberrypi and password:centos but no luck.

Michael

Post Reply

Return to “CentOS 7 - Hardware Support”