Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Raspberry Pi 3 Model B Plus WiFi not working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
EliasJonsson
n00b
n00b


Joined: 18 Oct 2017
Posts: 15

PostPosted: Sun Jun 09, 2019 10:56 am    Post subject: Raspberry Pi 3 Model B Plus WiFi not working Reply with quote

Can't get the system to recognize the WiFi hardware even if the following commands are typed in:

Code:
#Let’s get WiFi working.
su e
mkdir -p ~/raspberrypi/wifi
cd ~/raspberrypi/wifi
time git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git && date #240MB
#enter following as root:
cp -r /home/e/raspberrypi/wifi/linux-firmware /lib/firmware/brcm


Anyone successfully installed WiFi on ARM64 Rapsberry Pi 3 Model B Plus?

dmesg output:
Code:

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 4.19.44-v8+ (root@localhost) (gcc version 7.3.0 (Gentoo 7.3.0-r3 p1.4)) #2 SMP PREEMPT Mon May 27 17:53:57 CEST 2019
[    0.000000] Machine model: Raspberry Pi 3 Model B Plus Rev 1.3
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 256 MiB at 0x000000001ec00000
[    0.000000] On node 0 totalpages: 255488
[    0.000000]   DMA32 zone: 3992 pages used for memmap
[    0.000000]   DMA32 zone: 0 pages reserved
[    0.000000]   DMA32 zone: 255488 pages, LIFO batch:63
[    0.000000] random: get_random_bytes called from start_kernel+0xb8/0x478 with crng_init=0
[    0.000000] percpu: Embedded 23 pages/cpu s57304 r8192 d28712 u94208
[    0.000000] pcpu-alloc: s57304 r8192 d28712 u94208 alloc=23*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 843419
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 251496
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 cma=256M bcm2708_fb.fbwidth=854 bcm2708_fb.fbheight=480 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3f000000 vc_mem.mem_size=0x3f600000  root=/dev/mmcblk0p3 rootfstype=ext4 rootwait elevator=noop
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Memory: 726620K/1021952K available (7868K kernel code, 876K rwdata, 2332K rodata, 2752K init, 613K bss, 33188K reserved, 262144K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 26226 entries in 103 pages
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]    Tasks RCU enabled.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000264] Console: colour dummy device 80x25
[    0.000919] console [tty0] enabled
[    0.000985] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=19200)
[    0.001044] pid_max: default: 32768 minimum: 301
[    0.001299] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.001354] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.009145] ASID allocator initialised with 32768 entries
[    0.011137] rcu: Hierarchical SRCU implementation.
[    0.013698] EFI services will not be available.
[    0.016225] smp: Bringing up secondary CPUs ...
[    0.024482] Detected VIPT I-cache on CPU1
[    0.024553] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.032603] Detected VIPT I-cache on CPU2
[    0.032651] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.040746] Detected VIPT I-cache on CPU3
[    0.040792] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.040994] smp: Brought up 1 node, 4 CPUs
[    0.041143] SMP: Total of 4 processors activated.
[    0.041177] CPU features: detected: 32-bit EL0 Support
[    0.044072] CPU: All CPU(s) started at EL2
[    0.044146] alternatives: patching kernel code
[    0.045904] devtmpfs: initialized
[    0.062564] Enabled cp15_barrier support
[    0.062629] Enabled setend support
[    0.063236] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.063299] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.074897] pinctrl core: initialized pinctrl subsystem
[    0.075394] DMI not present or invalid.
[    0.075859] NET: Registered protocol family 16
[    0.082216] cpuidle: using governor menu
[    0.082680] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
[    0.082726] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.088671] DMA: preallocated 1024 KiB pool for atomic allocations
[    0.088852] Serial: AMBA PL011 UART driver
[    0.093622] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.136523] bcm2835-dma 3f007000.dma: DMA legacy API manager at (____ptrval____), dmachans=0x1
[    0.138993] SCSI subsystem initialized
[    0.139378] usbcore: registered new interface driver usbfs
[    0.139474] usbcore: registered new interface driver hub
[    0.139648] usbcore: registered new device driver usb
[    0.142219] raspberrypi-firmware soc:firmware: Attached to firmware from 2019-03-27 15:46, variant start_cd
[    0.143240] raspberrypi-firmware soc:firmware: Firmware hash is 2e98b31d18547962e564bdf88e57b3df7085c29b
[    0.146115] clocksource: Switched to clocksource arch_sys_counter
[    0.268336] VFS: Disk quotas dquot_6.6.0
[    0.268482] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.268733] FS-Cache: Loaded
[    0.269022] CacheFiles: Loaded
[    0.282595] NET: Registered protocol family 2
[    0.283591] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes)
[    0.283667] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.283809] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[    0.284027] TCP: Hash tables configured (established 8192 bind 8192)
[    0.284367] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.284445] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.284803] NET: Registered protocol family 1
[    0.285789] RPC: Registered named UNIX socket transport module.
[    0.285827] RPC: Registered udp transport module.
[    0.285857] RPC: Registered tcp transport module.
[    0.285887] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.288409] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    0.288938] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.291534] Initialise system trusted keyrings
[    0.291930] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[    0.304268] FS-Cache: Netfs 'nfs' registered for caching
[    0.305395] NFS: Registering the id_resolver key type
[    0.305457] Key type id_resolver registered
[    0.305488] Key type id_legacy registered
[    0.309590] Key type asymmetric registered
[    0.309632] Asymmetric key parser 'x509' registered
[    0.309720] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.310023] io scheduler noop registered (default)
[    0.310059] io scheduler deadline registered
[    0.310341] io scheduler cfq registered
[    0.310375] io scheduler mq-deadline registered
[    0.310408] io scheduler kyber registered
[    0.316852] bcm2835-rng 3f104000.rng: hwrng registered
[    0.317174] vc-mem: phys_addr:0x00000000 mem_base=0x3f000000 mem_size:0x3f600000(1014 MiB)
[    0.318191] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[    0.318567] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.334425] brd: module loaded
[    0.350129] loop: module loaded
[    0.350175] Loading iSCSI transport class v2.0-870.
[    0.351538] libphy: Fixed MDIO Bus: probed
[    0.351691] usbcore: registered new interface driver lan78xx
[    0.351811] usbcore: registered new interface driver smsc95xx
[    0.351857] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.379973] dwc_otg 3f980000.usb: base=(____ptrval____)
[    0.580459] Core Release: 2.80a
[    0.580493] Setting default values for core params
[    0.580543] Finished setting default values for core params
[    0.781181] Using Buffer DMA mode
[    0.781213] Periodic Transfer Interrupt Enhancement - disabled
[    0.781246] Multiprocessor Interrupt Enhancement - disabled
[    0.781279] OTG VER PARAM: 0, OTG VER FLAG: 0
[    0.781315] Dedicated Tx FIFOs mode
[    0.783188] WARN::dwc_otg_hcd_init:1045: FIQ DMA bounce buffers: virt = ffffff8008259000 dma = 0x00000000ded04000 len=9024
[    0.783257] FIQ FSM acceleration enabled for :
               Non-periodic Split Transactions
               Periodic Split Transactions
               High-Speed Isochronous Endpoints
               Interrupt/Control Split Transaction hack enabled
[    0.783343] dwc_otg: Microframe scheduler enabled
[    0.783470] WARN::hcd_init_fiq:484: MPHI regs_base at ffffff800803d000
[    0.783531] dwc_otg 3f980000.usb: DWC OTG Controller
[    0.783589] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    0.783670] dwc_otg 3f980000.usb: irq 9, io mem 0x00000000
[    0.783745] Init: Port Power? op_state=1
[    0.783774] Init: Power Port (0)
[    0.784252] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    0.784301] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.784343] usb usb1: Product: DWC OTG Controller
[    0.784378] usb usb1: Manufacturer: Linux 4.19.44-v8+ dwc_otg_hcd
[    0.784415] usb usb1: SerialNumber: 3f980000.usb
[    0.785290] hub 1-0:1.0: USB hub found
[    0.785382] hub 1-0:1.0: 1 port detected
[    0.786272] dwc_otg: FIQ enabled
[    0.786284] dwc_otg: NAK holdoff enabled
[    0.786295] dwc_otg: FIQ split-transaction FSM enabled
[    0.786313] Module dwc_common_port init
[    0.787180] usbcore: registered new interface driver usb-storage
[    0.788470] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[    0.788950] bcm2835-cpufreq: min=600000 max=1400000
[    0.789826] sdhci: Secure Digital Host Controller Interface driver
[    0.789862] sdhci: Copyright(c) Pierre Ossman
[    0.790566] mmc-bcm2835 3f300000.mmcnr: could not get clk, deferring probe
[    0.791252] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[    0.791490] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.793479] ledtrig-cpu: registered to indicate activity on CPUs
[    0.793595] hidraw: raw HID events driver (C) Jiri Kosina
[    0.793700] usbcore: registered new interface driver usbhid
[    0.793715] usbhid: USB HID core driver
[    0.793898] Initializing XFRM netlink socket
[    0.793930] NET: Registered protocol family 17
[    0.794014] Key type dns_resolver registered
[    0.794630] registered taskstats version 1
[    0.794644] Loading compiled-in X.509 certificates
[    0.800680] uart-pl011 3f201000.serial: cts_event_workaround enabled
[    0.800771] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 66, base_baud = 0) is a PL011 rev2
[    0.802188] mmc-bcm2835 3f300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    0.802209] mmc-bcm2835 3f300000.mmcnr: DMA channel allocated
[    0.830282] sdhost: log_buf @ (____ptrval____) (ded03000)
[    0.855502] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    0.857086] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.858800] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    0.861841] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    0.880205] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    0.882878] of_cfs_init
[    0.883082] of_cfs_init: OK
[    0.884077] Waiting for root device /dev/mmcblk0p3...
[    0.938788] random: fast init done
[    0.938897] mmc0: host does not support reading read-only switch, assuming write-enable
[    0.941956] mmc0: new high speed SDXC card at address 0001
[    0.946699] mmc1: new high speed SDIO card at address 0001
[    0.947150] mmcblk0: mmc0:0001 EC2QT 59.6 GiB
[    0.948605]  mmcblk0: p1 p2 p3
[    0.978056] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[    0.978135] VFS: Mounted root (ext4 filesystem) readonly on device 179:3.
[    0.987207] devtmpfs: mounted
[    0.993961] Freeing unused kernel memory: 2752K
[    0.994214] Run /sbin/init as init process
[    0.997307] Indeed it is in host mode hprt0 = 00021501
[    1.172181] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    1.172435] Indeed it is in host mode hprt0 = 00001101
[    1.360676] usb 1-1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
[    1.360740] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.361674] hub 1-1:1.0: USB hub found
[    1.361878] hub 1-1:1.0: 4 ports detected
[    1.649190] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    1.739494] usb 1-1.1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
[    1.739528] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.740016] hub 1-1.1:1.0: USB hub found
[    1.740122] hub 1-1.1:1.0: 3 ports detected
[    2.092998] dwc_otg_handle_wakeup_detected_intr lxstate = 2
[    2.418143] usb 1-1.1.1: new high-speed USB device number 4 using dwc_otg
[    2.436642] random: crng init done
[    2.506605] usb 1-1.1.1: New USB device found, idVendor=0424, idProduct=7800, bcdDevice= 3.00
[    2.506641] usb 1-1.1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.770927] lan78xx 1-1.1.1:1.0 (unnamed net_device) (uninitialized): No External EEPROM. Setting MAC Speed
[    2.771925] libphy: lan78xx-mdiobus: probed
[    2.841060] lan78xx 1-1.1.1:1.0 (unnamed net_device) (uninitialized): int urb period 64
[    6.349825] udevd[663]: starting version 3.2.5
[    6.388738] udevd[663]: starting eudev-3.2.5
[    6.633788] vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    6.655568] vchiq: vchiq_init_state: slot_zero = 000000006d8b9323, is_master = 0
[    6.761503] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[    6.763356] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[    6.763374] [vc_sm_connected_init]: start
[    6.764211] vc_sm_cma_vchi_init: failed to open VCHI service (-1)
[    6.764223] [vc_sm_connected_init]: failed to initialize shared memory service
[    6.764229] [vc_sm_connected_init]: failed, ret -1
[    6.797685] media: Linux media interface: v0.10
[    6.865059] videodev: Linux video capture interface: v2.00
[    6.975922] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    6.975924] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    7.025874] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[    7.030428] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[    7.036348] bcm2835_mmal_vchiq: Failed to open VCHI service connection (status=-1)
[    7.046522] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    7.047709] bcm2835_mmal_vchiq: Failed to open VCHI service connection (status=-1)
[    7.087987] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    7.195016] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    7.195645] usbcore: registered new interface driver brcmfmac
[    7.228666] vc4-drm soc:gpu: bound 3f600000.firmwarekms (ops vc4_fkms_ops [vc4])
[    7.243922] vc4-drm soc:gpu: bound 3fc00000.v3d (ops vc4_v3d_ops [vc4])
[    7.244744] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 0
[    7.244754] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    7.244759] [drm] Driver supports precise vblank timestamp query.
[    7.253800] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.txt failed with error -2
[    7.263004] Console: switching to colour frame buffer device 106x30
[    7.289514] vc4-drm soc:gpu: fb0: DRM emulated frame buffer device
[    8.150858] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
[    8.264179] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
[    8.593454] Adding 2097148k swap on /dev/mmcblk0p2.  Priority:-2 extents:1 across:2097148k SSFS
[   15.323198] 8021q: 802.1Q VLAN Support v1.8
[   15.323255] 8021q: adding VLAN 0 to HW filter on device eth0
[   15.838601] NET: Registered protocol family 10
[   15.841009] Segment Routing with IPv6
[   23.556927] uart-pl011 3f201000.serial: no DMA platform data

Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 44521
Location: 56N 3W

PostPosted: Sun Jun 09, 2019 12:03 pm    Post subject: Reply with quote

EliasJonsson,

It was all going well until you got to
Code:
[    7.253800] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.txtfailed with error -2


The firmware file alone is not sufficient. It expects to find UEFI firmware. As the Pi doesn't have UEFI. it needs that extra txt file to make up for it.

Mine works :)
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 44521
Location: 56N 3W

PostPosted: Sun Jun 09, 2019 12:03 pm    Post subject: Reply with quote

Moved from Kernel & Hardware to Gentoo on ARM.

Its one of these.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
EliasJonsson
n00b
n00b


Joined: 18 Oct 2017
Posts: 15

PostPosted: Sun Jun 09, 2019 4:58 pm    Post subject: Reply with quote

NeddySeagoon wrote:
EliasJonsson,

The firmware file alone is not sufficient. It expects to find UEFI firmware. As the Pi doesn't have UEFI. it needs that extra txt file to make up for it.

Mine works :)


Thank you for your help, it solved the issue.

Now, supplying the following commands helped.
Code:
wget https://archive.raspberrypi.org/debian/pool/main/f/firmware-nonfree/firmware-brcm80211_20161130-3+rpt3_all.deb
ar x firmware-brcm80211_20161130-3+rpt3_all.deb
tar xJf data.tar.xz
#copy data into /lib/firmware/brcm/
cp lib/firmware/brcm/brcmfmac43455-sdio.txt /lib/firmware/brcm/
shutdown -r now
#enjoying WiFi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum