redpine firmware gets trashed on 5.11.x
I'm using 5.11.4 with the patches here: https://source.puri.sm/Librem5/linux-next/-/merge_requests/345
On boot, the wifi device is not shows in ip a
, but there are errors in the kernel. Toggling hks does not get the device back. In fact, I've not been able to get wifi functioning at all again for the last ~3 hours with multiple reboots, and toggling hks.
expand this for full dmesg output
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.11.4-librem5.1 (pmos@thinkpad) (aarch64-alpine-linux-musl-gcc (Alpine 10.2.1_git20210318) 10.2.1 20210318, GNU ld (GNU Binutils) 2.35.2) #4-postmarketOS SMP PREEMPT Sat Mar 20 07:48:59 UTC 2021
[ 0.000000] Machine model: Purism Librem 5r4
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x00000000ffffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x00000000ffffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000ffffffff]
[ 0.000000] On node 0 totalpages: 786432
[ 0.000000] DMA zone: 12288 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 786432 pages, LIFO batch:63
[ 0.000000] cma: Reserved 256 MiB at 0x00000000ec000000
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.1
[ 0.000000] percpu: Embedded 31 pages/cpu s87448 r8192 d31336 u126976
[ 0.000000] pcpu-alloc: s87448 r8192 d31336 u126976 alloc=31*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: detected: ARM erratum 845719
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 774144
[ 0.000000] Kernel command line: init=/init.sh rw console=ttymxc0,115200 cma=256M PMOS_NO_OUTPUT_REDIRECT PMOS_FORCE_PARTITION_RESIZE
[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 2795452K/3145728K available (11840K kernel code, 2544K rwdata, 4496K rodata, 4032K init, 549K bss, 88132K reserved, 262144K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 37476 entries in 147 pages
[ 0.000000] ftrace: allocated 147 pages with 4 groups
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Rude variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv3: 128 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] GICv3: Distributor has no Range Selector support
[ 0.000000] GICv3: 16 PPIs implemented
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000038880000
[ 0.000000] ITS: No ITS available, not enabling LPIs
[ 0.000000] random: get_random_bytes called from start_kernel+0x410/0x5c4 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 8.33MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1ec0311ec, max_idle_ns: 440795202152 ns
[ 0.000000] sched_clock: 56 bits at 8MHz, resolution 120ns, wraps every 2199023255541ns
[ 0.000453] Console: colour dummy device 80x25
[ 0.000496] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.66 BogoMIPS (lpj=33333)
[ 0.000512] pid_max: default: 32768 minimum: 301
[ 0.000622] LSM: Security Framework initializing
[ 0.000687] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.000714] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.002362] rcu: Hierarchical SRCU implementation.
[ 0.003283] smp: Bringing up secondary CPUs ...
[ 0.003805] Detected VIPT I-cache on CPU1
[ 0.003839] GICv3: CPU1: found redistributor 1 region 0:0x00000000388a0000
[ 0.003882] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.004462] Detected VIPT I-cache on CPU2
[ 0.004482] GICv3: CPU2: found redistributor 2 region 0:0x00000000388c0000
[ 0.004509] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.005028] Detected VIPT I-cache on CPU3
[ 0.005048] GICv3: CPU3: found redistributor 3 region 0:0x00000000388e0000
[ 0.005074] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.005163] smp: Brought up 1 node, 4 CPUs
[ 0.005187] SMP: Total of 4 processors activated.
[ 0.005196] CPU features: detected: 32-bit EL0 Support
[ 0.005204] CPU features: detected: CRC32 instructions
[ 0.013007] CPU: All CPU(s) started at EL2
[ 0.013038] alternatives: patching kernel code
[ 0.014666] devtmpfs: initialized
[ 0.023344] KASLR disabled due to lack of seed
[ 0.023478] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.023498] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.031104] pinctrl core: initialized pinctrl subsystem
[ 0.032216] NET: Registered protocol family 16
[ 0.033931] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[ 0.034108] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.034385] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.034468] audit: initializing netlink subsys (disabled)
[ 0.034619] audit: type=2000 audit(0.032:1): state=initialized audit_enabled=0 res=1
[ 0.035061] thermal_sys: Registered thermal governor 'step_wise'
[ 0.035067] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.035540] cpuidle: using governor menu
[ 0.035745] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.035833] ASID allocator initialised with 65536 entries
[ 0.036000] Serial: AMBA PL011 UART driver
[ 0.043617] debugfs: Directory 'dummy-syscon@30340000' with parent 'regmap' already present!
[ 0.043961] imx8mq-pinctrl 30330000.pinctrl: initialized IMX pinctrl driver
[ 0.067700] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.067727] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.067736] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.067744] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.069156] cryptd: max_cpu_qlen set to 1000
[ 0.075557] iommu: Default domain type: Translated
[ 0.075737] vgaarb: loaded
[ 0.076032] SCSI subsystem initialized
[ 0.076072] libata version 3.00 loaded.
[ 0.077051] pps_core: LinuxPPS API ver. 1 registered
[ 0.077060] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.077079] PTP clock support registered
[ 0.078151] clocksource: Switched to clocksource arch_sys_counter
[ 0.129686] VFS: Disk quotas dquot_6.6.0
[ 0.129763] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.136310] NET: Registered protocol family 2
[ 0.136899] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 0.136964] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.137216] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[ 0.137779] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.137885] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.137980] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.138218] NET: Registered protocol family 1
[ 0.138647] RPC: Registered named UNIX socket transport module.
[ 0.138657] RPC: Registered udp transport module.
[ 0.138664] RPC: Registered tcp transport module.
[ 0.138670] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.138684] PCI: CLS 0 bytes, default 64
[ 0.138858] Unpacking initramfs...
[ 0.248463] Freeing initrd memory: 2256K
[ 0.249206] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[ 0.251743] Initialise system trusted keyrings
[ 0.251856] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[ 0.256865] zbud: loaded
[ 0.258210] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.258756] NFS: Registering the id_resolver key type
[ 0.258782] Key type id_resolver registered
[ 0.258790] Key type id_legacy registered
[ 0.258875] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.302560] Key type asymmetric registered
[ 0.302571] Asymmetric key parser 'x509' registered
[ 0.302612] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 0.311973] SoC: i.MX8MQ revision 2.1
[ 0.312757] debugfs: Directory 'dummy-reset-controller@30390000' with parent 'regmap' already present!
[ 0.315275] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.317074] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 41, base_baud = 1562500) is a IMX
[ 1.126460] printk: console [ttymxc0] enabled
[ 1.131417] 30880000.serial: ttymxc2 at MMIO 0x30880000 (irq = 42, base_baud = 1562500) is a IMX
[ 1.140737] 30890000.serial: ttymxc1 at MMIO 0x30890000 (irq = 43, base_baud = 1562500) is a IMX
[ 1.149670] serial serial0: tty port ttymxc1 registered
[ 1.155321] 30a60000.serial: ttymxc3 at MMIO 0x30a60000 (irq = 51, base_baud = 1562500) is a IMX
[ 1.173000] loop: module loaded
[ 1.178060] libphy: Fixed MDIO Bus: probed
[ 1.182739] i2c /dev entries driver
[ 1.197857] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: dm-devel@redhat.com
[ 1.207521] sdhci: Secure Digital Host Controller Interface driver
[ 1.213722] sdhci: Copyright(c) Pierre Ossman
[ 1.218124] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.226936] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.233238] hid: raw HID events driver (C) Jiri Kosina
[ 1.239978] ashmem: initialized
[ 1.249705] NET: Registered protocol family 26
[ 1.254376] NET: Registered protocol family 17
[ 1.257914] mmc0: SDHCI controller on 30b40000.mmc [30b40000.mmc] using ADMA
[ 1.260013] 9pnet: Installing 9P2000 support
[ 1.270254] Key type dns_resolver registered
[ 1.275337] registered taskstats version 1
[ 1.279454] Loading compiled-in X.509 certificates
[ 1.284503] zswap: loaded using pool lzo/zbud
[ 1.290576] Key type ._fscrypt registered
[ 1.294602] Key type .fscrypt registered
[ 1.298534] Key type fscrypt-provisioning registered
[ 1.318551] gpio-1 (pmic-5v-hog): hogged as input
[ 1.328166] gpio-89 (bt-en-hog): hogged as output/low
[ 1.335208] gpio-125 (wifi-en-hog): hogged as output/low
[ 1.344620] AUD_1V8: supplied by AUDIO_PWR_EN
[ 1.350187] LCD_3V4: supplied by VSYS_3V4
[ 1.354643] 3V3_WIFI: supplied by VDD_3V3
[ 1.385332] mmc0: new HS400 MMC card at address 0001
[ 1.391336] mmcblk0: mmc0:0001 032G32 29.1 GiB
[ 1.396107] mmcblk0boot0: mmc0:0001 032G32 partition 1 4.00 MiB
[ 1.402265] mmcblk0boot1: mmc0:0001 032G32 partition 2 4.00 MiB
[ 1.409168] mmcblk0rpmb: mmc0:0001 032G32 partition 3 4.00 MiB, chardev (245:0)
[ 1.420218] mmcblk0: p1 p2
[ 1.450561] ldo5: supplied by buck6
[ 1.455027] random: fast init done
[ 1.459108] ldo6: supplied by buck7
[ 1.473048] rtc-m41t80 0-0068: registered as rtc0
[ 1.479020] rtc-m41t80 0-0068: setting system clock to 2021-03-22T02:38:27 UTC (1616380707)
[ 1.487506] i2c i2c-0: IMX I2C adapter registered
[ 1.495516] VDD_1V8: supplied by buck7
[ 1.499318] LCD_1V8: supplied by VDD_1V8
[ 1.503304] LCD_AVDD: supplied by LCD_3V4
[ 1.508983] LCD_AVEE: supplied by LCD_3V4
[ 1.513836] i2c i2c-1: IMX I2C adapter registered
[ 1.545568] i2c i2c-2: IMX I2C adapter registered
[ 1.564816] i2c i2c-3: IMX I2C adapter registered
[ 1.571606] led-backlight backlight-dsi: Not enough levels defined
[ 1.580512] etnaviv etnaviv: bound 38000000.gpu (ops gpu_ops)
[ 1.586296] etnaviv-gpu 38000000.gpu: model: GC7000, revision: 6214
[ 1.593507] [drm] Initialized etnaviv 1.3.0 20151214 for etnaviv on minor 0
[ 1.603259] imx-cpufreq-dt imx-cpufreq-dt: cpu speed grade 3 mkt segment 0 supported-hw 0x8 0x1
[ 1.619126] nwl-dsi 30a00000.mipi-dsi: [drm:nwl_dsi_host_attach] lanes=4, format=0x0 flags=0x7
[ 1.627799] panel-mantix-mlaf057we51 30a00000.mipi-dsi.0: 720x1440@63 24bpp dsi 4dl - ready
[ 1.636193] nwl-dsi 30a00000.mipi-dsi: [drm:nwl_dsi_probe] Using LCDIF as input source
[ 1.645810] [drm] Initialized mxsfb-drm 1.0.0 20160824 for 30320000.lcd-controller on minor 1
[ 1.866248] Console: switching to colour frame buffer device 90x90
[ 1.888939] mxsfb 30320000.lcd-controller: [drm] fb0: mxsfb-drmdrmfb frame buffer device
[ 1.898784] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 1.908511] input: bd718xx-pwrkey as /devices/platform/soc@0/30800000.bus/30a20000.i2c/i2c-0/0-004b/gpio-keys.0.auto/input/input1
[ 3.678681] mmc1: SDHCI controller on 30b50000.mmc [30b50000.mmc] using ADMA
[ 3.689125] Freeing unused kernel memory: 4032K
[ 3.693722] Run /init as init process
[ 3.697401] with arguments:
[ 3.697406] /init
[ 3.697410] PMOS_NO_OUTPUT_REDIRECT
[ 3.697413] PMOS_FORCE_PARTITION_RESIZE
[ 3.697417] with environment:
[ 3.697420] HOME=/
[ 3.697425] TERM=linux
[ 3.710017] mmc1: new high speed SDIO card at address fffd
[ 3.753301] imx8mq-usb-phy 381f0040.usb-phy: supply vbus not found, using dummy regulator
[ 3.777024] usbcore: registered new interface driver usbfs
[ 3.782583] usbcore: registered new interface driver hub
[ 3.787950] usbcore: registered new device driver usb
[ 3.802031] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
[ 3.807644] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 1
[ 3.815413] xhci-hcd xhci-hcd.4.auto: hcc params 0x0220fe6c hci version 0x110 quirks 0x0000000000010010
[ 3.824865] xhci-hcd xhci-hcd.4.auto: irq 63, io mem 0x38200000
[ 3.831005] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.11
[ 3.839289] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.846568] usb usb1: Product: xHCI Host Controller
[ 3.851459] usb usb1: Manufacturer: Linux 5.11.4-librem5.1 xhci-hcd
[ 3.857734] usb usb1: SerialNumber: xhci-hcd.4.auto
[ 3.863453] hub 1-0:1.0: USB hub found
[ 3.867229] hub 1-0:1.0: 1 port detected
[ 3.871374] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
[ 3.876874] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 2
[ 3.884544] xhci-hcd xhci-hcd.4.auto: Host supports USB 3.0 SuperSpeed
[ 3.891125] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 3.899279] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.11
[ 3.907554] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.914782] usb usb2: Product: xHCI Host Controller
[ 3.919667] usb usb2: Manufacturer: Linux 5.11.4-librem5.1 xhci-hcd
[ 3.925939] usb usb2: SerialNumber: xhci-hcd.4.auto
[ 3.931579] hub 2-0:1.0: USB hub found
[ 3.935356] hub 2-0:1.0: 1 port detected
[ 3.981372] edt_ft5x06 2-0038: probing for EDT FT5x06 I2C
[ 3.985249] edt_ft5x06 2-0038: Model "EP0700M09", Rev. "\x01", 0x0 sensors
[ 3.985991] input: EP0700M09 as /devices/platform/soc@0/30800000.bus/30a40000.i2c/i2c-2/2-0038/input/input2
[ 3.996408] edt_ft5x06 2-0038: EDT FT5x06 initialized: IRQ 94, WAKE pin -1, Reset pin -1.
[ 3.998272] input: pwm-vibrator as /devices/platform/vibrator/input/input3
[ 4.169537] using random self ethernet address
[ 4.176227] using random host ethernet address
[ 4.187247] usb0: HOST MAC ee:d6:be:6a:de:1f
[ 4.191649] usb0: MAC fa:62:02:39:57:11
[ 4.206178] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[ 4.269370] EXT4-fs (mmcblk0p1): mounted filesystem without journal. Opts: (null). Quota mode: none.
[ 4.363833] usb 1-1: New USB device found, idVendor=0424, idProduct=2640, bcdDevice= 9.02
[ 4.372061] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 4.435810] hub 1-1:1.0: USB hub found
[ 4.439656] hub 1-1:1.0: 3 ports detected
[ 4.730684] usb 1-1.1: new high-speed USB device number 3 using xhci-hcd
[ 4.842742] usb 1-1.1: New USB device found, idVendor=0424, idProduct=4041, bcdDevice= 2.09
[ 4.851140] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4.858469] usb 1-1.1: Product: Ultra Fast Media Reader
[ 4.863710] usb 1-1.1: Manufacturer: Generic
[ 4.867989] usb 1-1.1: SerialNumber: 000008264001
[ 6.391661] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #08!!!
[ 6.399685] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #08!!!
[ 6.828374] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #08!!!
[ 6.836399] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #08!!!
[ 7.064724] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #08!!!
[ 7.072749] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #08!!!
[ 7.218354] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #08!!!
[ 7.256400] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #08!!!
[ 7.264426] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #08!!!
[ 7.315552] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #08!!!
[ 8.466173] usb 1-1.2: new high-speed USB device number 4 using xhci-hcd
[ 8.572212] usb 1-1.2: New USB device found, idVendor=2020, idProduct=2060, bcdDevice= 0.00
[ 8.580641] usb 1-1.2: New USB device strings: Mfr=3, Product=2, SerialNumber=4
[ 8.588031] usb 1-1.2: Product: Qualcomm CDMA Technologies MSM
[ 8.593891] usb 1-1.2: Manufacturer: Qualcomm, Incorporated
[ 9.639347] random: cryptsetup: uninitialized urandom read (4 bytes read)
[ 33.758188] AUD_1V8: disabling
[ 33.761274] VDD_SEN: disabling
[ 33.764350] CAMERA_PWR_EN: disabling
[ 33.767939] GNSS: disabling
[ 33.770747] CAMERA1_PWR_EN: disabling
[ 44.965946] random: crng init done
[ 48.764283] dm-0: detected capacity change from 0 to 60647424
[ 49.273669] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[ 49.333131] EXT4-fs (mmcblk0p1): warning: mounting unchecked fs, running e2fsck is recommended
[ 49.343492] EXT4-fs (mmcblk0p1): mounted filesystem without journal. Opts: (null). Quota mode: none.
[ 50.634864] udevd[988]: starting version 3.2.10
[ 50.716194] udevd[988]: starting eudev-3.2.10
[ 50.887688] NET: Registered protocol family 10
[ 50.892063] Segment Routing with IPv6
[ 50.897743] imx-sdma 302c0000.sdma: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[ 50.897768] imx-sdma 302c0000.sdma: external firmware not found, using ROM firmware
[ 50.898977] imx-sdma 30bd0000.sdma: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[ 50.898997] imx-sdma 30bd0000.sdma: external firmware not found, using ROM firmware
[ 50.909930] input: 30370000.snvs:snvs-powerkey as /devices/platform/soc@0/30000000.bus/30370000.snvs/30370000.snvs:snvs-powerkey/input/input4
[ 50.948908] caam 30900000.crypto: Entropy delay = 3200
[ 50.949001] caam 30900000.crypto: Entropy delay = 3600
[ 50.960432] gnss: GNSS driver registered with major 242
[ 50.966333] spi-nor spi0.0: s25fl016k (2048 Kbytes)
[ 50.992617] 3 fixed-partitions partitions found on MTD device spi0.0
[ 50.992636] Creating 3 MTD partitions on "spi0.0":
[ 50.992644] 0x000000000000-0x000000030000 : "protected0"
[ 50.993045] 0x000000030000-0x000000040000 : "protected1"
[ 50.993292] 0x000000040000-0x000000200000 : "rw"
[ 51.009382] mc: Linux media interface: v0.10
[ 51.015229] wm8962_i2c_probe: 3556: defering probe
[ 51.015563] mousedev: PS/2 mouse device common for all mice
[ 51.016682] caam 30900000.crypto: Instantiated RNG4 SH0
[ 51.027796] videodev: Linux video capture interface: v2.00
[ 51.033927] hi846 2-0020: hw config: 2 MIPI lanes
[ 51.035557] s5k3l6xx 3-002d: using default 24000000 Hz clock frequency
[ 51.035604] : probe sd ffff00000e53ba28
[ 51.035612] S5K3L6-CIS 3-002d: probe i2c ffff000001f1a400
[ 51.038616] s5k3l6xx 3-002d: model low: 0x30
[ 51.039580] s5k3l6xx 3-002d: model high: 0xC6
[ 51.039618] iio iio:device1: interrupts active high level
[ 51.040217] iio iio:device1: registered magnetometer lsm9ds1_magn
[ 51.042252] wm8962 2-001a: customer id 0 revision D
[ 51.042982] s5k3l6xx 3-002d: revision number: 0xB0
[ 51.051964] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 51.074890] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 51.084340] caam 30900000.crypto: Instantiated RNG4 SH1
[ 51.084366] caam 30900000.crypto: device ID = 0x0a16040100000000 (Era 9)
[ 51.084373] caam 30900000.crypto: job rings = 3, qi = 0
[ 51.088431] mxc-mipi-csi2_yav 30a70000.mipi_csi1: mipi_csi2_probe
[ 51.088553] mxc-mipi-csi2_yav 30a70000.mipi_csi: Remote device at endpoint@1 XXX found
[ 51.088578] mxc-mipi-csi2_yav 30a70000.mipi_csi1: lanes: 2, name: mxc-mipi-csi2.0
[ 51.089004] mxc-mipi-csi2_yav 30b60000.mipi_csi2: mipi_csi2_probe
[ 51.089065] mxc-mipi-csi2_yav 30b60000.mipi_csi: Remote device at endpoint@1 XXX found
[ 51.089098] mxc-mipi-csi2_yav 30b60000.mipi_csi: Registered sensor subdevice: S5K3L6-CIS 3-002d
[ 51.089110] mxc-mipi-csi2_yav 30b60000.mipi_csi2: lanes: 4, name: mxc-mipi-csi2.1
[ 51.097812] bq25890-charger 3-006a: Got otg gpio hack
[ 51.099046] power_supply bq25890-charger: bq25890-charger: Found supply : tps6598x-source-psy-0-003f
[ 51.099302] bq25890-charger 3-006a: No battery found: -19
[ 51.099309] bq25890-charger 3-006a: ship mode will be enabled
[ 51.126010] input: WM8962 Beep Generator as /devices/platform/soc@0/30800000.bus/30a40000.i2c/i2c-2/2-001a/input/input6
[ 51.129812] mx6s-csi 30a90000.csi1_bridge: initialising
[ 51.130773] CSI: Registered sensor subdevice: mxc-mipi-csi2.0
[ 51.130796] mx6s-csi 30a90000.csi1_bridge: register async notifier success
[ 51.131162] mx6s-csi 30b80000.csi2_bridge: initialising
[ 51.131513] CSI: Registered sensor subdevice: mxc-mipi-csi2.1
[ 51.131520] mx6s-csi 30b80000.csi2_bridge: register async notifier success
[ 51.147212] hi846 2-0020: chip id low byte correct: 46
[ 51.157546] hi846 2-0020: chip id high byte correct: 8
[ 51.157646] mxc-mipi-csi2_yav 30a70000.mipi_csi: Registered sensor subdevice: hi846 2-0020
[ 51.190860] wm8962 2-001a: ASoC: error at soc_component_read_no_lock on wm8962.2-001a: -16
[ 51.190916] wm8962 2-001a: ASoC: error at soc_component_read_no_lock on wm8962.2-001a: -16
[ 51.193301] input: Librem 5 Headphones as /devices/platform/sound/sound/card0/input5
[ 51.201209] EXT4-fs (dm-0): re-mounted. Opts: (null). Quota mode: none.
[ 51.212254] Bluetooth: Core ver 2.22
[ 51.212353] NET: Registered protocol family 31
[ 51.212357] Bluetooth: HCI device and connection manager initialized
[ 51.212374] Bluetooth: HCI socket layer initialized
[ 51.212382] Bluetooth: L2CAP socket layer initialized
[ 51.212396] Bluetooth: SCO socket layer initialized
[ 51.237881] usbcore: registered new interface driver usbserial_generic
[ 51.237925] usbserial: USB Serial support registered for generic
[ 51.251923] usbcore: registered new interface driver option
[ 51.251974] usbserial: USB Serial support registered for GSM modem (1-port)
[ 51.253249] redpine_91x: rsi_probe: ***** 9116 Module *****
[ 51.255461] redpine_91x: redpine_hal_device_init: oper_mode = 13, coex_mode = 2
[ 51.262262] redpine_91x: ***** Loaded Firmware *****
[ 51.288686] usbcore: registered new interface driver cdc_wdm
[ 51.446688] caam algorithms registered in /proc/crypto
[ 51.447621] caam 30900000.crypto: caam pkc algorithms registered in /proc/crypto
[ 51.447641] caam 30900000.crypto: registering rng-caam
[ 51.472080] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[ 51.472613] option 1-1.2:1.0: GSM modem (1-port) converter detected
[ 51.472843] scsi host0: usb-storage 1-1.1:1.0
[ 51.472865] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0
[ 51.473203] usbcore: registered new interface driver usb-storage
[ 51.476383] qmi_wwan 1-1.2:1.4: cdc-wdm0: USB WDM device
[ 51.476877] qmi_wwan 1-1.2:1.4 wwan0: register 'qmi_wwan' at usb-xhci-hcd.4.auto-1.2, WWAN/QMI device, 96:f6:a6:0c:c8:d2
[ 51.477015] usbcore: registered new interface driver qmi_wwan
[ 51.478588] option 1-1.2:1.1: GSM modem (1-port) converter detected
[ 51.478918] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1
[ 51.479153] option 1-1.2:1.2: GSM modem (1-port) converter detected
[ 51.479783] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2
[ 51.480020] option 1-1.2:1.3: GSM modem (1-port) converter detected
[ 51.481660] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB3
[ 51.484141] usbcore: registered new interface driver uas
[ 51.817472] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 51.817509] Bluetooth: BNEP socket layer initialized
[ 52.479972] scsi 0:0:0:0: Direct-Access Generic Ultra HS-SD/MMC 2.09 PQ: 0 ANSI: 0
[ 52.484903] sd 0:0:0:0: [sda] 500695040 512-byte logical blocks: (256 GB/239 GiB)
[ 52.486693] sd 0:0:0:0: [sda] Write Protect is off
[ 52.486704] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[ 52.488051] sd 0:0:0:0: [sda] No Caching mode page found
[ 52.488062] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 52.493969] sda:
[ 52.496315] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 54.303209] redpine_91x: ================================================
[ 54.303232] redpine_91x: ================ RSI Version Info ==============
[ 54.303236] redpine_91x: ================================================
[ 54.303239] redpine_91x: FW Version : 208.150.64.33
[ 54.303248] redpine_91x: RSI FW Version : 2e21.d0.96.62.7b44
[ 54.303254] redpine_91x: Driver Version : RS9116.NB0.NL.GNU.LNX.OSD.2.0.0.0024
[ 54.303258] redpine_91x: Operating mode : 13 [Wi-Fi STA + BT DUAL]
[ 54.303264] redpine_91x: Firmware file : (null)
[ 54.303267] redpine_91x: ================================================
[ 61.060874] rfkill: input handler disabled
[ 75.860185] usb 1-1.2: reset high-speed USB device number 4 using xhci-hcd
[ 75.989937] usb 1-1.2: USB disconnect, device number 4
[ 75.991440] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 75.991506] option 1-1.2:1.0: device disconnected
[ 75.991922] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 75.991966] option 1-1.2:1.1: device disconnected
[ 75.992355] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[ 75.992400] option 1-1.2:1.2: device disconnected
[ 75.995087] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
[ 75.995167] option 1-1.2:1.3: device disconnected
[ 75.996842] qmi_wwan 1-1.2:1.4 wwan0: unregister 'qmi_wwan' usb-xhci-hcd.4.auto-1.2, WWAN/QMI device
[ 76.277118] usb 1-1.2: new high-speed USB device number 5 using xhci-hcd
[ 76.382768] usb 1-1.2: New USB device found, idVendor=2020, idProduct=2060, bcdDevice= 0.00
[ 76.382784] usb 1-1.2: New USB device strings: Mfr=3, Product=2, SerialNumber=4
[ 76.382794] usb 1-1.2: Product: Qualcomm CDMA Technologies MSM
[ 76.382801] usb 1-1.2: Manufacturer: Qualcomm, Incorporated
[ 76.503573] option 1-1.2:1.0: GSM modem (1-port) converter detected
[ 76.504340] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0
[ 76.504718] option 1-1.2:1.1: GSM modem (1-port) converter detected
[ 76.505516] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1
[ 76.505884] option 1-1.2:1.2: GSM modem (1-port) converter detected
[ 76.506588] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2
[ 76.506989] option 1-1.2:1.3: GSM modem (1-port) converter detected
[ 76.507732] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB3
[ 76.533739] qmi_wwan 1-1.2:1.4: cdc-wdm0: USB WDM device
[ 76.534334] qmi_wwan 1-1.2:1.4 wwan0: register 'qmi_wwan' at usb-xhci-hcd.4.auto-1.2, WWAN/QMI device, 96:f6:a6:0c:c8:d2
[ 113.339507] redpine_91x: redpine_set_clr_tx_intention,357: Wait event failed
[ 113.339539] redpine_91x: rsi_disconnect,1376: Failed to get tx_access
[ 113.340660] redpine_91x: rsi_reset_chip: Failed to Write SDIO WAKEUP REG
[ 113.376151] sdhci-esdhc-imx 30b50000.mmc: card clock still not stable in 100us!.
[ 113.399485] redpine_91x: rsi_reset_card: CMD0 failed : -123
[ 113.399496] redpine_91x: rsi_reset_card: CMD5 failed : -123
[ 113.399503] redpine_91x: rsi_reset_card: CMD5 failed : -123
[ 113.399509] redpine_91x: rsi_reset_card: card in not ready : 0 -123
[ 119.483229] redpine_91x: redpine_set_clr_tx_intention,357: Wait event failed
[ 119.483257] redpine_91x: rsi_tx_scheduler_thread,623: Failed to get tx_access
[ 125.626962] redpine_91x: redpine_set_clr_tx_intention,357: Wait event failed
[ 125.626990] redpine_91x: rsi_coex_scheduler_thread,112: Failed to get tx_access
[ 125.627544] redpine_91x: ##### RSI SDIO device disconnected #####
[ 125.627710] mmc1: card fffd removed
[ 125.627921] sdhci-esdhc-imx 30b50000.mmc: card clock still not stable in 100us!.
[ 125.633797] sdhci-esdhc-imx 30b50000.mmc: card clock still not stable in 100us!.
[ 127.730862] mmc1: new high speed SDIO card at address fffd
[ 127.732967] redpine_91x: rsi_probe: ***** 9116 Module *****
[ 127.733108] redpine_91x: redpine_hal_device_init: oper_mode = 13, coex_mode = 2
[ 127.737585] redpine_91x: ***** Loaded Firmware *****
[ 130.748397] redpine_91x: ================================================
[ 130.748420] redpine_91x: ================ RSI Version Info ==============
[ 130.748423] redpine_91x: ================================================
[ 130.748427] redpine_91x: FW Version : 208.158.18.33
[ 130.748434] redpine_91x: RSI FW Version : 2e21.d0.9e.60.7b44
[ 130.748440] redpine_91x: Driver Version : RS9116.NB0.NL.GNU.LNX.OSD.2.0.0.0024
[ 130.748445] redpine_91x: Operating mode : 13 [Wi-Fi STA + BT DUAL]
[ 130.748450] redpine_91x: Firmware file : (null)
[ 130.748453] redpine_91x: ================================================
[ 154.520040] sda:
librem5:~$rfkill
ID TYPE DEVICE SOFT HARD
0 microphone mic-hks unblocked unblocked
1 wlan wlan-hks unblocked unblocked
2 wwan wwan-hks unblocked unblocked
librem5:~$ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether fa:62:02:39:57:11 brd ff:ff:ff:ff:ff:ff
inet 172.16.42.1/16 brd 172.16.255.255 scope global usb0
valid_lft forever preferred_lft forever
inet6 fe80::f862:2ff:fe39:5711/64 scope link
valid_lft forever preferred_lft forever
4: wwan0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
link/[65534]
inet NN.NN.NN.NN/30 NN.NN.NN.NN scope global noprefixroute wwan0
valid_lft forever preferred_lft forever
inet6 2607:fb90:80cf:576c:a078:d5f7:98b8:efd6/64 scope global noprefixroute
valid_lft forever preferred_lft forever
[ 54.303209] redpine_91x: ================================================
[ 54.303232] redpine_91x: ================ RSI Version Info ==============
[ 54.303236] redpine_91x: ================================================
[ 54.303239] redpine_91x: FW Version : 208.150.64.33
[ 54.303248] redpine_91x: RSI FW Version : 2e21.d0.96.62.7b44
[ 54.303254] redpine_91x: Driver Version : RS9116.NB0.NL.GNU.LNX.OSD.2.0.0.0024
[ 54.303258] redpine_91x: Operating mode : 13 [Wi-Fi STA + BT DUAL]
[ 54.303264] redpine_91x: Firmware file : (null)
[ 54.303267] redpine_91x: ================================================
Edited by Angus Ainslie