LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > slarm64
User Name
Password
slarm64 This forum is for the discussion of slarm64.

Notices


Reply
  Search this Thread
Old 04-21-2022, 08:27 AM   #16
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,917

Rep: Reputation: Disabled

perhaps this is a problem in the kernel support itself, try the new 5.17.4
 
Old 04-21-2022, 10:20 AM   #17
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,124

Original Poster
Rep: Reputation: Disabled
OK, I've upgraded the kernel - no noticeable difference. I can confirm that now I have sound over hdmi, it is working!

I'm attaching the dmesg file for 5.17.4 with the exaga bluetooth fix. Bluetooth is working, audio is working over hdmi, but no wifi.

One other thing I've found is that if I set inittab to 4 (launch into sddm), dmesg fills up with the following message:
Code:
[  200.166481] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
[  200.166541] vc4-drm gpu: [drm]                           dumb: 280212kb BOs (32)
[  200.169316] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
[  200.169376] vc4-drm gpu: [drm]                           dumb: 280172kb BOs (31)
This repeats continuously as long as X is running. It doesn't show in the attached dmesg because I ran it from runlevel 3. I think this has only started since the uEnv.txt location was moved - at least, I'd not noticed it before.

--
Pete
Attached Files
File Type: txt dmesg-5.17.4.exaga_hdmi.txt (30.6 KB, 5 views)
 
Old 04-21-2022, 12:11 PM   #18
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,917

Rep: Reputation: Disabled
Quote:
Originally Posted by pchristy View Post
OK, I've upgraded the kernel - no noticeable difference. I can confirm that now I have sound over hdmi, it is working!

I'm attaching the dmesg file for 5.17.4 with the exaga bluetooth fix. Bluetooth is working, audio is working over hdmi, but no wifi.

One other thing I've found is that if I set inittab to 4 (launch into sddm), dmesg fills up with the following message:
Code:
[  200.166481] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
[  200.166541] vc4-drm gpu: [drm]                           dumb: 280212kb BOs (32)
[  200.169316] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
[  200.169376] vc4-drm gpu: [drm]                           dumb: 280172kb BOs (31)
This repeats continuously as long as X is running. It doesn't show in the attached dmesg because I ran it from runlevel 3. I think this has only started since the uEnv.txt location was moved - at least, I'd not noticed it before.

--
Pete
CMA in kernel is set to CONFIG_CMA_SIZE_MBYTES=128

No WIFI due to firmware loading error
Code:
[    5.583935] brcmfmac: F1 signature read @0x18000000=0x15294345
[    5.588456] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9
[    5.589055] usbcore: registered new interface driver brcmfmac
[    5.619373] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43456-sdio.raspberrypi,400.bin failed with error -2
 
Old 04-21-2022, 01:06 PM   #19
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,917

Rep: Reputation: Disabled
i split the firmware for pi 400

update kernel and firmware

Last edited by sndwvs; 04-21-2022 at 03:34 PM. Reason: update kernel
 
Old 04-22-2022, 04:53 AM   #20
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,124

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sndwvs View Post
i split the firmware for pi 400

update kernel and firmware
Yes, I had already done that. However, I did make one error. A while back, I blacklisted all the kernel stuff in /etc/slackpkg/blacklist so that kernel stuff wouldn't overwrite your kernel packages. Unfortunately, I must have been too late and there was an old kernel-firmware file still there. I removed it, re-installed your kernel-firmware package, but alas, no change:
Code:
$ ls /var/log/packages/kernel-*
/var/log/packages/kernel-bcm2711-5.17.4-aarch64-1mara
/var/log/packages/kernel-firmware-bcm2711-5.17.4-aarch64-1mara
/var/log/packages/kernel-headers-bcm2711-5.17.4-aarch64-1mara
/var/log/packages/kernel-modules-bcm2711-5.17.4-aarch64-1mara
/var/log/packages/kernel-source-5.14.0-noarch-1
/var/log/packages/kernel-source-bcm2711-5.17.4-noarch-1mara


$ dmesg | grep brcmfmac
[    5.672848] brcmfmac: F1 signature read @0x18000000=0x15294345
[    5.677406] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9
[    5.678069] usbcore: registered new interface driver brcmfmac
[    5.720479] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43456-sdio.raspberrypi,400.bin failed with error -2
[    6.881672] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
[    7.897821] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
and still no wifi.

Quote:
CMA in kernel is set to CONFIG_CMA_SIZE_MBYTES=128
er, OK. And the fix for this is?

Cheers,

--
Pete
 
Old 04-22-2022, 05:13 AM   #21
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,124

Original Poster
Rep: Reputation: Disabled
One other piece of information that may (or may not!) help. If I boot into slackwareaarch64, I see this:
Code:
$ dmesg | grep brcmfmac
[   20.560612] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9
[   20.572420] usbcore: registered new interface driver brcmfmac
[   20.587363] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43456-sdio.raspberrypi,400.bin failed with error -2
[   20.589214] brcmfmac mmc1:0001:1: Falling back to sysfs fallback for: brcm/brcmfmac43456-sdio.raspberrypi,400.bin
[   80.882760] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43456-sdio.raspberrypi,400.txt failed with error -2
[   80.882784] brcmfmac mmc1:0001:1: Falling back to sysfs fallback for: brcm/brcmfmac43456-sdio.raspberrypi,400.txt
It looks like the same error, but with some kind of fallback position for when the firmware fails to load.

Despite those errors, wifi works as expected.

--
Pete
 
Old 04-22-2022, 05:33 AM   #22
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,917

Rep: Reputation: Disabled
yes, first the brcmfmac43456-sdio.bin is searched for the standard firmware file and then personalized.

in the new image everything should work.
 
Old 04-22-2022, 05:38 AM   #23
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,124

Original Poster
Rep: Reputation: Disabled
But is that not the image I have installed? (see #20 above)

Ah! I see! The filenames are the same, but the dates are different! No wonder I was confused!

Watch this space...

I've renamed the files from -1mara to -2mara, and slackpkg is currently doing its stuff. It does take a while...

--
Pete

Last edited by pchristy; 04-22-2022 at 05:50 AM. Reason: update
 
Old 04-22-2022, 06:27 AM   #24
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,124

Original Poster
Rep: Reputation: Disabled
Yay! We're getting somewhere!
Code:
$ dmesg | grep brcmfmac
[    5.863160] brcmfmac: F1 signature read @0x18000000=0x15294345
[    5.867848] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9
[    5.868447] usbcore: registered new interface driver brcmfmac
[    5.902055] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43456-sdio.raspberrypi,400.bin failed with error -2
[    6.100452] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9
[    6.100520] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9
[    6.111848] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/9 wl0: May 14 2020 17:26:08 version 7.84.17.1 (r871554) FWID 01-3d9e1d87
[   12.595859] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[   13.121093] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
I now have wifi showing as enabled in NetworkManager, but no networks showing. This might have something to do with that "power saving enabled" message. I will investigate!

I'm still getting those cma messages, though. Clutching at straws, I modified the config.txt file to
Code:
[pi400]
#device_tree=bcm2711-rpi-400.dtb
#dtoverlay=vc4-fkms-v3d
#dtoverlay=vc4-kms-v3d
dtoverlay=vc4-kms-v3d-pi4,cma512
arm_boost=1
max_framebuffers=2
gpu_mem=128
dtparam=krnbt=on	### Exaga bluetooth fix
#dtoverlay=enable-bt
adding -pi4,cma512 to the vc4-kms-v3d line (as per slackwareaarch64), but it has made no difference.

I'll have a look at the wifi issue further. At least the firmware is there now!



--
Pete
 
Old 04-22-2022, 10:48 AM   #25
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,124

Original Poster
Rep: Reputation: Disabled
OK, this is odd. I've disabled the power saving, but still no wifi. Wifi appears to be working:
Code:
As root:

# iwlist wlan0 scan
wlan0     Scan completed :
<snip>
          Cell 05 - Address: 30:B5:C2:FE:B4:CF
                    Channel:48
                    Frequency:5.24 GHz (Channel 48)
                    Quality=47/70  Signal level=-63 dBm  
                    Encryption key:on
                    ESSID:"MyWiFi"
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 4ms ago
                    IE: Unknown: 000A436872697374656C2D35
                    IE: Unknown: 01088C129824B048606C
                    IE: Unknown: 030130
                    IE: Unknown: 070A474220240817640B1D00
                    IE: Unknown: 200100
                    IE: Unknown: 2D1A6E001EFFFF000001000000000000000000000000000000000000
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 3D1630070400000000000000000000000000000000000000
                    IE: Unknown: 7F0100
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                    IE: Unknown: DD050009860000
                    IE: Unknown: DD8F0050F204104A0001101044000102103B000103104700100000000000001000000030B5C2FEB4101021000754502D4C494E4B1023000854442D573939383010240003312E301042000C3330423543324645423443441054000800000000000000001011001F576972656C657373204475616C2042616E64204D6F64656D20526F75746572100800020000103C000101
So its found my router, but NetworkManager is not picking it up:
Code:
As user:

$ nmcli device wifi rescan
Error: Scanning not allowed while unavailable.

$ nmcli device wifi list
IN-USE  BSSID  SSID  MODE  CHAN  RATE  SIGNAL  BARS  SECURITY
NetworkManager is showing the wifi icon as active, so it knows its there.

Any NetworkManager experts out there?

--
Pete
 
Old 04-24-2022, 08:18 AM   #26
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,124

Original Poster
Rep: Reputation: Disabled
I'm still not getting anywhere with this, and its driving me nuts! However, I'm beginning to wonder if its a memory issue, as since I relocated the uEnv.txt location, some strange things have been happening...

1) I get this error repeating in dmesg:
Code:
53.622540] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from CMA:
[   53.622674] vc4-drm gpu: [drm]                           dumb: 308960kb BOs (18)
2) I get odd crashes in KDE - trying to run systemsettings produces an instant segfault:
Code:
$ systemsettings
kf.kirigami: Failed to find a Kirigami platform plugin
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/ApplicationItem.qml:151:9: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 13. Use 'sequences: [ <key> ]' to bind to all of them.
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/ApplicationItem.qml:147:9: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 14. Use 'sequences: [ <key> ]' to bind to all of them.
kf.kirigami: Failed to find a Kirigami platform plugin
QQmlEngine::setContextForObject(): Object already has a QQmlContext
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/ApplicationItem.qml:151:9: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 13. Use 'sequences: [ <key> ]' to bind to all of them.
file:///usr/lib64/qt5/qml/org/kde/kirigami.2/ApplicationItem.qml:147:9: QML Shortcut: Shortcut: Only binding to one of multiple key bindings associated with 14. Use 'sequences: [ <key> ]' to bind to all of them.
DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
Failed to create scanout resource
DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory
Failed to create scanout resource
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = systemsettings path = /usr/bin pid = 2069
KCrash: Arguments: /usr/bin/systemsettings 
KCrash: Attempting to start /usr/lib64/libexec/drkonqi

[1]+  Stopped                 systemsettings
both of these seem to be complaining about being unable to allocate memory.

I've reinstalled the whole of kde, qt and NetworkManager, to no avail.

On the WiFi front, I get this:
Code:
sudo iwlist wlan0 scan
Password: 
wlan0     Scan completed :
          Cell 01 - Address: 10:BE:F5:03:A9:16
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=30/70  Signal level=-80 dBm  
                    Encryption key:on
                    ESSID:"TALKTALK03A916"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                              18 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 4ms ago
                    IE: Unknown: 000E54414C4B54414C4B303341393136
                    IE: Unknown: 010882848B961224486C
                    IE: Unknown: 030101
                    IE: Unknown: 2A0104
                    IE: Unknown: 32040C183060
                    IE: Unknown: 2D1A8C1117FFFF000001000000000000000000000000000000000000
                    IE: Unknown: 3D1601000600000000000000000000000000000000000000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 7F080000000100000000
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: 7F080000000100000000
                    IE: Unknown: 0706474220010D10
                    IE: Unknown: DDAD0050F204104A00011010440001021057000101103B00010310470010BC329E001DD811B2860110BEF503A9161021001852616C696E6B20546563686E6F6C6F67792C20436F72702E1023001C52616C696E6B20576972656C6573732041636365737320506F696E74102400065254323836301042000831323334353637381054000800060050F20400011011000A44534C2D33373832545410080002218C103C0001011049000600372A000120
                    IE: Unknown: DD07000C4300000000
          Cell 02 - Address: 30:B5:C2:FE:B4:CD
                    Channel:7
                    Frequency:2.442 GHz (Channel 7)
                    Quality=63/70  Signal level=-47 dBm  
                    Encryption key:on
                    ESSID:"Christel"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 4ms ago
                    IE: Unknown: 0008436872697374656C
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030107
                    IE: Unknown: 2A0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32043048606C
                    IE: Unknown: 2D1AEE111BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 331AEE111BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D16070F0600000000000000000000000000000000000000
                    IE: Unknown: 3416070F0600000000000000000000000000000000000000
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: 7F0101
                    IE: Unknown: DD180050F2020101860003A4000027A4000042435E0062322F00
                    IE: Unknown: DD0900037F01010000FF7F
                    IE: Unknown: DDA70050F204104A0001101044000102103B000103104700100000000000001000000030B5C2FEB4101021000754502D4C494E4B1023000854442D573939383010240003312E301042000C3330423543324645423443441054000800060050F20400011011001F576972656C657373204475616C2042616E64204D6F64656D20526F75746572100800020086103C000100104900140024E26002000101600000020001600100020001
          Cell 03 - Address: EC:BE:DD:2E:9D:08
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=35/70  Signal level=-75 dBm  
                    Encryption key:on
                    ESSID:"PLUSNET-RRP37Q"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 4ms ago
                    IE: Unknown: 000E504C55534E45542D525250333751
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 03010B
                    IE: Unknown: 0706474220010D14
                    IE: Unknown: 2A0100
                    IE: Unknown: 2F0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32040C121860
                    IE: Unknown: 2D1AFC181BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D160B081100000000000000000000000000000000000000
                    IE: Unknown: DD800050F204104A0001101044000102103B000103104700108F3AC74EED5E85AFC69C4A6205D2D4061021000842726F6164636F6D1023000842726F6164636F6D1024000631323334353610420004313233341054000800060050F20400011011000A42726F6164636F6D415010080002200C103C0001011049000600372A000120
                    IE: Unknown: DD090010180200F02C0000
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
          Cell 04 - Address: 30:B5:C2:FE:B4:CF
                    Channel:48
                    Frequency:5.24 GHz (Channel 48)
                    Quality=40/70  Signal level=-70 dBm  
                    Encryption key:on
                    ESSID:"Christel-5"
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 4ms ago
                    IE: Unknown: 000A436872697374656C2D35
                    IE: Unknown: 01088C129824B048606C
                    IE: Unknown: 030130
                    IE: Unknown: 070A474220240817640B1D00
                    IE: Unknown: 200100
                    IE: Unknown: 2D1A6E001EFFFF000001000000000000000000000000000000000000
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 3D1630070400000000000000000000000000000000000000
                    IE: Unknown: 7F0100
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                    IE: Unknown: DD050009860000
                    IE: Unknown: DD8F0050F204104A0001101044000102103B000103104700100000000000001000000030B5C2FEB4101021000754502D4C494E4B1023000854442D573939383010240003312E301042000C3330423543324645423443441054000800000000000000001011001F576972656C657373204475616C2042616E64204D6F64656D20526F75746572100800020000103C000101
which accounts for all the neighbourhood wifi signals. In other words, the hardware is working!

Also:
Code:
rfkill list
0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
But:
Code:
nmcli d
DEVICE  TYPE      STATE        CONNECTION         
eth0    ethernet  connected    Wired connection 1 
wlan0   wifi      unavailable  --                 
lo      loopback  unmanaged    --
Why is wifi showing as unavailable? Is it possible it is also suffering from memory allocation issues? I have googled this problem to death without success.

Any and all suggestions welcome!

--
Pete
 
Old 04-24-2022, 11:59 AM   #27
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,917

Rep: Reputation: Disabled
try not to use u-boot.bin, boot the kernel directly, if the situation is the same it is a support issue in the new kernel.

you can also try passing the kernel parameter cma=512MG
 
Old 04-24-2022, 01:06 PM   #28
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,124

Original Poster
Rep: Reputation: Disabled
Ok, tried booting the kernel directly (as an aside, the reason it had stopped working was missing initrd. Copying uInitrd to initrd got kernel boot working again).

I've tried to adding a line "cma=512MG" to config txt and also appending it to the vc4 overlay:
Code:
dtoverlay=vc4-kms-v3d,cma-512
I've also tried the vc4pkms-v3d-pi4 overlay, but nothing has worked. Still getting the error message, and still no wifi.

One thought: If I'm booting the kernel directly, does uEnv.txt still get called? I thought it was part of uBoot? What was the original location for it? (I should have written that down!) Is it worth trying it back at its original location, now that I've got the kernel to boot directly again?

I'm going to call it a night at this point, as my eyes are starting to funny from staring at the monitor so long!

Thanks for your help!

UPDATE: Found the original address higher up this thread. Tried it, but no difference.

--
Pete

Last edited by pchristy; 04-24-2022 at 01:16 PM. Reason: update
 
Old 04-25-2022, 11:04 AM   #29
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,917

Rep: Reputation: Disabled
I'm in slackware64/slarm64 using the classic system wpa_supplicant + rc.inet1.conf
 
Old 04-25-2022, 11:35 AM   #30
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,124

Original Poster
Rep: Reputation: Disabled
Yes, I use rc.inet1.conf on my desktop, but that's hardwired. I use NetworkManager on my laptop (Slackware64-15.0) without any issues, and I have had it working on the Pi400. The annoying thing is that all the tests (rfkill, iwlist, etc) say that it is there and available, but NetworkManager insists its NOT available. There are lots of reports of similar problems on Google, but none of the fixes I've found there have worked.

One other interesting thing, and one other question, if I may? When I fired up the machine today, the cma error messages had disappeared! I can only assume that a reboot wasn't enough to clear the old memory, and it needed a full shutdown - wait a while - and then restart to clear! (This is with "dtoverlay=vc4-kms-v3d,cma-512")

The other question is that since uEnv.txt is called by uBoot, how does this configuration get done when booting the kernel directly, without uBoot?

Oh, and one final thing: Probably the reason that "dtoverlay=enable-bt" didn't work is that I can find no such overlay on my machine! Where should it be?

Cheers,

--
Pete
 
  


Reply

Tags
uboot, uenv.txt



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to automatically update U-boot environment variables using uEnv.txt via TFTPBOOT? efriel_linux Linux - Embedded & Single-board computer 0 05-21-2019 07:44 PM
u-boot not reading uEnv.txt file from SDCard on Beaglebone black olaoni Linux - Embedded & Single-board computer 1 12-21-2017 08:30 PM
[SOLVED] awk question - read in txt files, offset data by given amount, output new txt files pomico Programming 19 09-17-2012 11:43 AM
cat onelinefile.txt >> newfile.txt; cat twofile.txt >> newfile.txt keep newline? tmcguinness Programming 4 02-12-2009 06:38 AM
How can read from file.txt C++ where can save this file(file.txt) to start reading sam_22 Programming 1 01-11-2007 05:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > slarm64

All times are GMT -5. The time now is 09:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration