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

Notices


Reply
  Search this Thread
Old 12-22-2019, 04:41 PM   #46
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,907

Original Poster
Rep: Reputation: Disabled

mainline:
kernel 5.4.6
update rootfs image 14 Dec 19
update all packages Sat Dec 21 21:02:24 UTC 2019

slarm64-current-aarch64-base-rootfs-14Dec19-5.4.6-rock_pi_4-build-20191222.img.xz
slarm64-current-aarch64-base-rootfs-14Dec19-5.4.6-rock_pi_4-build-20191222.img.xz.md5

slarm64-current-aarch64-xfce-rootfs-14Dec19-5.4.6-rock_pi_4-build-20191222.img.xz
slarm64-current-aarch64-xfce-rootfs-14Dec19-5.4.6-rock_pi_4-build-20191222.img.xz.md5
 
1 members found this post helpful.
Old 12-23-2019, 11:04 AM   #47
aaditya
Member
 
Registered: Oct 2013
Location: India
Distribution: Slackware
Posts: 272
Blog Entries: 2

Rep: Reputation: 85
Hey Mara (sndwvs),

Would it be possible to upload and distribute your images via sourceforge or osdn? Both these services allow easy upload and download of files.

sf: https://sourceforge.net/p/forge/docu...or%20Download/
osdn: https://osdn.net/docs/FileStorage_Guide

When I try download directly from http://dl.fail.pp.ua its usually quite slow for me (b/w 20 - 50 kbps), so it takes hours to download.

Thanks.
 
Old 12-23-2019, 05:31 PM   #48
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,907

Original Poster
Rep: Reputation: Disabled
#post6070798
 
1 members found this post helpful.
Old 12-24-2019, 02:52 AM   #49
aaditya
Member
 
Registered: Oct 2013
Location: India
Distribution: Slackware
Posts: 272
Blog Entries: 2

Rep: Reputation: 85
Quote:
Originally Posted by sndwvs View Post
Wow, thanks!
You are my favourite Mara.
 
Old 12-24-2019, 05:02 AM   #50
aaditya
Member
 
Registered: Oct 2013
Location: India
Distribution: Slackware
Posts: 272
Blog Entries: 2

Rep: Reputation: 85
Current installation is on kernel 4.4.206.

I was having frequent wifi disconnects. Turns out I forgot to uninstall wicd which I had installed for testing. It seems to interfere with the rc.inet1 wifi step. After uninstalling not facing the wifi disconnect issue.

dmesg gives some errors about network:

Code:
[ 2770.265098] CFG80211-ERROR) wl_cfg80211_event : 
[ 2770.265098] dhd_conf_set_country: set country ALL, revision 0
[ 2770.265114] Event handler is not created
[ 2770.265655] CONFIG-ERROR) dhd_conf_set_bufiovar: country setting failed -2
[ 2770.266153] Country code: US (US/0)
[ 2770.272690] CONFIG-ERROR) dhd_conf_set_intiovar: txbf setting failed -23
To set country code, installed crda and iw packages. After that I am able to set wireless region via wpa_supplicant.conf as well as on command line using iw.

Have not been able to set it by default in the kernel, still checking how to do that. This link was helpful:
https://www.linuxquestions.org/quest...gs-4175559295/

Will check how wifi works with the 5.4.6 kernel.
 
Old 12-24-2019, 07:34 AM   #51
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,907

Original Poster
Rep: Reputation: Disabled
On the 5.4.6 kernel, the WIFI does not work for me, but the NVME SSD ADATA 8200 Pro works correctly, which is more important at the moment
 
1 members found this post helpful.
Old 12-28-2019, 11:48 AM   #52
aaditya
Member
 
Registered: Oct 2013
Location: India
Distribution: Slackware
Posts: 272
Blog Entries: 2

Rep: Reputation: 85
Linux 5.4.6 first impressions

Quote:
Originally Posted by sndwvs View Post
On the 5.4.6 kernel, the WIFI does not work for me, but the NVME SSD ADATA 8200 Pro works correctly, which is more important at the moment
Some observations with Linux 5.4.6:

Improvements:
* HDMI works out of the box!
* System feels more responsive.

Regressions:
* Wifi does not work as reported Mara. Get the following in dmesg:

Code:
[   17.639886] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9
[   17.693921] brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac43456-sdio.radxa,rockpi4.txt failed with error -2
[   18.747583] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
[   19.759043] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
It looks like a configuration issue. Will search and see if I can find something.

* USB 3 top port works in OTG mode by default, so attached devices dont show up.
Workaround: set it to host mode in device tree config: https://forum.radxa.com/t/mainline-s...ockpi-4/131/49

Requests / suggestions:

* Please add crda and iw for wireless configuration. Get message in log about it:

Code:
[   17.585708] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   17.585718] cfg80211: failed to load regulatory.db
Thanks!

Last edited by aaditya; 12-29-2019 at 02:14 AM. Reason: add 1 more improvement
 
Old 12-28-2019, 12:25 PM   #53
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,907

Original Poster
Rep: Reputation: Disabled
added packages, by default 2 ports usb3 as a host
 
1 members found this post helpful.
Old 12-28-2019, 03:00 PM   #54
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,907

Original Poster
Rep: Reputation: Disabled
fix WIFI (source manjaro)
Code:
cd /lib/firmware/brcm/
ln -s BCM4345C5.hcd BCM.hcd
ln -fs ../nvram_ap6256.txt brcmfmac43456-sdio.radxa,rockpi4.txt
ln -fs ../fw_bcm43456c5_ag.bin brcmfmac43456-sdio.bin

Code:
[   17.629891] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43456-sdio for chip BCM4345/9
[   17.639350] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/9 wl0: Jun 16 2017 12:38:26 version 7.45.96.2 (66c4e21@sh-git) (r) FWID 01-1813af84

Last edited by sndwvs; 12-28-2019 at 03:33 PM.
 
1 members found this post helpful.
Old 12-28-2019, 11:04 PM   #55
aaditya
Member
 
Registered: Oct 2013
Location: India
Distribution: Slackware
Posts: 272
Blog Entries: 2

Rep: Reputation: 85
Thanks sndwvs for the quick fixes! Will test it out.

Another improvement with Linux 5.4 is that the system seems more responsive, even running off a SD card.

Thanks.
 
Old 12-29-2019, 01:44 AM   #56
aaditya
Member
 
Registered: Oct 2013
Location: India
Distribution: Slackware
Posts: 272
Blog Entries: 2

Rep: Reputation: 85
Hey sndwvs,

Request you to add following packages:

l/newt
n/libqmi
n/libmbim

Code:
# nmtui
nmtui: error while loading shared libraries: libnewt.so.0.52: cannot open shared object file: No such file or directory
After installing newt package, am able to connect NetworkManager to Wifi using command line.

In syslog I noticed message about ModemManager failing:

Code:
Jan 18 08:55:33 rock-pi-4 dbus-daemon[709]: [system] Activating service name='org.freedesktop.ModemManager1' requested by ':1.52' (uid=0 pid=1598 comm="/usr/sbin/NetworkManager ") (using servicehelper)
Jan 18 08:55:33 rock-pi-4 dbus-daemon[709]: [system] Activated service 'org.freedesktop.ModemManager1' failed: Launch helper exited with unknown return code 127
On testing, found that ModemManager requires the libqmi and libmbim libraries.

Code:
# ModemManager 
ModemManager: error while loading shared libraries: libqmi-glib.so.5: cannot open shared object file: No such file or directory

# ModemManager 
ModemManager: error while loading shared libraries: libmbim-glib.so.4: cannot open shared object file: No such file or directory
To connect to networks graphically, I first connect to them via command line using nmtui, and afterwards it works via tray icon too. Will report if I find easier way.
Edit- check #58.

Thanks!

Last edited by aaditya; 12-29-2019 at 02:14 AM. Reason: list series for package
 
Old 12-29-2019, 02:07 AM   #57
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,907

Original Poster
Rep: Reputation: Disabled
thanks aaditya,

added packages
 
1 members found this post helpful.
Old 12-29-2019, 02:13 AM   #58
aaditya
Member
 
Registered: Oct 2013
Location: India
Distribution: Slackware
Posts: 272
Blog Entries: 2

Rep: Reputation: 85
Found issue with Networkmanager graphical tray: it was not able to ask for password and was failing!

Code:
Dec 29 08:00:19 rock-pi-4 dbus-daemon[922]: [session uid=1000 pid=920] Activating service name='org.freedesktop.secrets' requested by ':1.23' (uid=1000 pid=955 comm="nm-applet ")
Dec 29 08:00:19 rock-pi-4 dbus-daemon[922]: [session uid=1000 pid=920] Activated service 'org.freedesktop.secrets' failed: Process org.freedesktop.secrets exited with status 127
On searching, found that a library was missing:

Code:
$ gnome-keyring-daemon --start --components=secrets
gnome-keyring-daemon: error while loading shared libraries: libcap-ng.so.0: cannot open shared object file: No such file or directory
After installing l/libcap-ng NetworkManager graphical tray worked.
 
Old 12-29-2019, 03:04 AM   #59
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,907

Original Poster
Rep: Reputation: Disabled
thanks aaditya,

update
 
1 members found this post helpful.
Old 12-29-2019, 04:08 AM   #60
aaditya
Member
 
Registered: Oct 2013
Location: India
Distribution: Slackware
Posts: 272
Blog Entries: 2

Rep: Reputation: 85
Thanks Mara.

Wifi is not stable, crashes after some time:

Code:
[  767.109386] ieee80211 phy0: brcmf_fw_crashed: Firmware has halted or crashed
[  770.561537] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[  770.564982] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[  770.565154] brcmfmac: dongle trap info: type 0x4 @ epc 0x001aba9a
                 cpsr 0x6000019f spsr 0x600001bf sp 0x0025fd78
                 lr   0x001aba97 pc   0x001aba9a offset 0x25fd20
                 r0   0x0000002d r1   0x18000300 r2 0x00000001 r3 0x00000000
                 r4   0x00259e20 r5   0xe0e178b8 r6 0x001f6c1e r7 0x000000f2
[  773.121522] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[  773.125059] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[  773.125323] brcmfmac: dongle trap info: type 0x4 @ epc 0x001aba9a
                 cpsr 0x6000019f spsr 0x600001bf sp 0x0025fd78
                 lr   0x001aba97 pc   0x001aba9a offset 0x25fd20
                 r0   0x0000002d r1   0x18000300 r2 0x00000001 r3 0x00000000
                 r4   0x00259e20 r5   0xe0e178b8 r6 0x001f6c1e r7 0x000000f2
[  773.125345] ieee80211 phy0: brcmf_cfg80211_get_station: GET STA INFO failed, -110
[  819.201620] ieee80211 phy0: brcmf_cfg80211_get_station: GET STA INFO failed, -110
[  821.761770] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
[  824.321569] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
[  824.321601] ieee80211 phy0: brcmf_cfg80211_get_station: GET STA INFO failed, -110
[  826.881647] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
[  829.441643] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
[  829.441670] ieee80211 phy0: brcmf_cfg80211_get_station: GET STA INFO failed, -110
[  832.001628] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
[  834.561577] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
[  834.561602] ieee80211 phy0: brcmf_cfg80211_get_station: GET STA INFO failed, -110
Makes networkmanager and whole system unresponsive.

Searching for a solution and avoiding wifi for now.
Looks to be an upstream issue (same chip): https://github.com/raspberrypi/linux/issues/3155

Will try the firmware mentioned in one of the upstream reports and see if it helps.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ROCKPro64 RK3399 (aarch64) sndwvs Slackware - ARM 36 12-07-2021 09:24 AM
Video : RecalBox on the Rock Pi 4 (and other RK3399 boards) NicoD SBC Linux - Embedded & Single-board computer 2 02-01-2019 08:05 AM
ROCK-esque "distro", but not ROCK? piete Linux - Distributions 5 08-21-2006 04:41 PM
Rock Linux -- does it rock ?? rolando Linux - Distributions 2 10-10-2004 01:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 09:07 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