Jump to content

Orangepizero2 22.05 Jammy: is there a way to enable wifi interface?


Jodaille

Recommended Posts

Hello,

 

I have abandoned the Orangepizero2 I had bought months ago to use with Armbian, I have confused zero and zero 2.

 

Seeing new release, I have just downloaded/install Armbian 22.05 Jammy. Install is ok, good work, thank you !

 

:)

 

The wireless interface seems not enabled, I have looked at dmesg output and nmtui-connect.

 

I could not find info about it, the board name doesn't help a lot. I understand the support of this board is pretty new.

 

Is there a known technic to enable the wifi ?

 

Have a nice day,

Link to comment
Share on other sites

I've also got this issue with my Orange Pi Zero 2 with the wifi interface missing/not working. Freshly installed 22.05 Jammy and no wifi interface.

 

Tried sudo apt update && sudo apt dist-upgrade with no success.

 

Any ideas?

 

# nmcli device show
GENERAL.DEVICE:                         eth0
GENERAL.TYPE:                           ethernet
GENERAL.HWADDR:                         02:00:9E:C4:55:73
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (connected)
GENERAL.CONNECTION:                     Wired connection 1
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/1
WIRED-PROPERTIES.CARRIER:               on
IP4.ADDRESS[1]:                         10.11.12.240/24
IP4.GATEWAY:                            10.11.12.1
IP4.ROUTE[1]:                           dst = 10.11.12.0/24, nh = 0.0.0.0, mt = 100
IP4.ROUTE[2]:                           dst = 0.0.0.0/0, nh = 10.11.12.1, mt = 100
IP4.ROUTE[3]:                           dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]:                             10.11.12.1
IP4.DOMAIN[1]:                          kinetica.local
IP6.ADDRESS[1]:                         fe80::1d5f:6229:2c27:b347/64
IP6.GATEWAY:                            --
IP6.ROUTE[1]:                           dst = fe80::/64, nh = ::, mt = 1024

GENERAL.DEVICE:                         lo
GENERAL.TYPE:                           loopback
GENERAL.HWADDR:                         00:00:00:00:00:00
GENERAL.MTU:                            65536
GENERAL.STATE:                          10 (unmanaged)
GENERAL.CONNECTION:                     --
GENERAL.CON-PATH:                       --
IP4.ADDRESS[1]:                         127.0.0.1/8
IP4.GATEWAY:                            --
IP6.ADDRESS[1]:                         ::1/128
IP6.GATEWAY:                            --
IP6.ROUTE[1]:                           dst = ::1/128, nh = ::, mt = 256

 

 

dmesg output:

 

dmesg
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.48-sunxi64 (root@4e78f881a143) (aarch64-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 8.3.0, GNU ld (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 2.32.0.20190321) #22.05.3 SMP Wed Jun 22 07:33:24 UTC 2022
[    0.000000] Machine model: OrangePi Zero2
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x7fdde100-0x7fddffff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x000000007fffffff]
[    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-0x000000004007ffff]
[    0.000000]   node   0: [mem 0x0000000040080000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000] cma: Reserved 128 MiB at 0x0000000076c00000
[    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.2
[    0.000000] percpu: Embedded 19 pages/cpu s37144 r8192 d32488 u77824
[    0.000000] pcpu-alloc: s37144 r8192 d32488 u77824 alloc=19*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] Built 1 zonelists, mobility grouping on.  Total pages: 258048
[    0.000000] Policy zone: DMA
[    0.000000] Kernel command line: root=UUID=f3d154d3-f330-4f4c-8700-e85ffc6a9066 rootwait rootfstype=ext4 console=ttyS0,115200 consoleblank=0 loglevel=1 ubootpart=20f2faab-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u   cgroup_enable=memory swapaccount=1
[    0.000000] Unknown kernel command line parameters "ubootpart=20f2faab-01 cgroup_enable=memory", will be passed to user space.
[    0.000000] printk: log_buf_len individual max cpu contribution: 4096 bytes
[    0.000000] printk: log_buf_len total cpu_extra contributions: 12288 bytes
[    0.000000] printk: log_buf_len min size: 16384 bytes
[    0.000000] printk: log_buf_len: 32768 bytes
[    0.000000] printk: early log buf free: 14112(86%)
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 862024K/1048576K available (13504K kernel code, 1068K rwdata, 4164K rodata, 2496K init, 321K bss, 55480K reserved, 131072K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    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] Root IRQ handler: gic_handle_irq
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000389] Console: colour dummy device 80x25
[    0.000475] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.000489] pid_max: default: 32768 minimum: 301
[    0.000562] LSM: Security Framework initializing
[    0.000588] Yama: becoming mindful.
[    0.000676] AppArmor: AppArmor initialized
[    0.000774] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.000788] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.002518] rcu: Hierarchical SRCU implementation.
[    0.003706] smp: Bringing up secondary CPUs ...
[    0.004278] Detected VIPT I-cache on CPU1
[    0.004357] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.004967] Detected VIPT I-cache on CPU2
[    0.005031] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.005602] Detected VIPT I-cache on CPU3
[    0.005663] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.005762] smp: Brought up 1 node, 4 CPUs
[    0.005777] SMP: Total of 4 processors activated.
[    0.005783] CPU features: detected: 32-bit EL0 Support
[    0.005789] CPU features: detected: CRC32 instructions
[    0.017816] CPU: All CPU(s) started at EL2
[    0.017857] alternatives: patching kernel code
[    0.019230] devtmpfs: initialized
[    0.023403] Registered cp15_barrier emulation handler
[    0.023428] Registered setend emulation handler
[    0.023602] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.023623] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.027981] pinctrl core: initialized pinctrl subsystem
[    0.029340] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.030834] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.030985] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.031105] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.031176] audit: initializing netlink subsys (disabled)
[    0.031409] audit: type=2000 audit(0.028:1): state=initialized audit_enabled=0 res=1
[    0.031970] thermal_sys: Registered thermal governor 'fair_share'
[    0.031979] thermal_sys: Registered thermal governor 'bang_bang'
[    0.031984] thermal_sys: Registered thermal governor 'step_wise'
[    0.031988] thermal_sys: Registered thermal governor 'user_space'
[    0.032509] cpuidle: using governor menu
[    0.032710] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.032805] ASID allocator initialised with 65536 entries
[    0.033016] Serial: AMBA PL011 UART driver
[    0.045861] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.045884] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.045890] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.045897] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.047681] cryptd: max_cpu_qlen set to 1000
[    0.116343] raid6: neonx8   gen()  1796 MB/s
[    0.184408] raid6: neonx8   xor()  1347 MB/s
[    0.252484] raid6: neonx4   gen()  1844 MB/s
[    0.320551] raid6: neonx4   xor()  1334 MB/s
[    0.388623] raid6: neonx2   gen()  1750 MB/s
[    0.456692] raid6: neonx2   xor()  1226 MB/s
[    0.524776] raid6: neonx1   gen()  1522 MB/s
[    0.592837] raid6: neonx1   xor()  1047 MB/s
[    0.660905] raid6: int64x8  gen()  1253 MB/s
[    0.728982] raid6: int64x8  xor()   659 MB/s
[    0.797053] raid6: int64x4  gen()  1394 MB/s
[    0.865124] raid6: int64x4  xor()   708 MB/s
[    0.933212] raid6: int64x2  gen()  1188 MB/s
[    1.001268] raid6: int64x2  xor()   629 MB/s
[    1.069362] raid6: int64x1  gen()   886 MB/s
[    1.137418] raid6: int64x1  xor()   460 MB/s
[    1.137424] raid6: using algorithm neonx4 gen() 1844 MB/s
[    1.137429] raid6: .... xor() 1334 MB/s, rmw enabled
[    1.137434] raid6: using neon recovery algorithm
[    1.138375] iommu: Default domain type: Translated 
[    1.138394] iommu: DMA domain TLB invalidation policy: strict mode 
[    1.138715] SCSI subsystem initialized
[    1.138926] usbcore: registered new interface driver usbfs
[    1.138962] usbcore: registered new interface driver hub
[    1.138999] usbcore: registered new device driver usb
[    1.139246] pps_core: LinuxPPS API ver. 1 registered
[    1.139252] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.139267] PTP clock support registered
[    1.139673] ARM FF-A: FFA_VERSION returned not supported
[    1.140036] Advanced Linux Sound Architecture Driver Initialized.
[    1.140678] NetLabel: Initializing
[    1.140688] NetLabel:  domain hash size = 128
[    1.140693] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    1.140761] NetLabel:  unlabeled traffic allowed by default
[    1.141280] clocksource: Switched to clocksource arch_sys_counter
[    1.141564] VFS: Disk quotas dquot_6.6.0
[    1.141625] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.142206] AppArmor: AppArmor Filesystem Enabled
[    1.148057] NET: Registered PF_INET protocol family
[    1.148239] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.149045] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[    1.149078] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.149094] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.149165] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    1.149318] TCP: Hash tables configured (established 8192 bind 8192)
[    1.149454] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.149491] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.149683] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.150230] Trying to unpack rootfs image as initramfs...
[    1.158937] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    1.165069] Initialise system trusted keyrings
[    1.165148] Key type blacklist registered
[    1.165472] workingset: timestamp_bits=44 max_order=18 bucket_order=0
[    1.170781] zbud: loaded
[    1.172252] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.174720] integrity: Platform Keyring initialized
[    1.217670] xor: automatically using best checksumming function   32regs    
[    1.217696] async_tx: api initialized (async)
[    1.217706] Key type asymmetric registered
[    1.217711] Asymmetric key parser 'x509' registered
[    1.217847] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    1.218052] io scheduler mq-deadline registered
[    1.218062] io scheduler kyber registered
[    1.218250] io scheduler bfq registered
[    1.227034] sun50i-h616-pinctrl 300b000.pinctrl: initialized sunXi PIO driver
[    1.227920] sun50i-h616-r-pinctrl 7022000.pinctrl: initialized sunXi PIO driver
[    1.230576] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    1.232236] sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-ph not found, using dummy regulator
[    1.232867] printk: console [ttyS0] disabled
[    1.232963] 5000000.serial: ttyS0 at MMIO 0x5000000 (irq = 32, base_baud = 1500000) is a 16550A
[    1.233111] printk: console [ttyS0] enabled
[    1.235747] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    1.240584] loop: module loaded
[    1.241538] sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-pc not found, using dummy regulator
[    1.241843] sun6i-spi 5010000.spi: Failed to request TX DMA channel
[    1.241860] sun6i-spi 5010000.spi: Failed to request RX DMA channel
[    1.242463] spi-nor spi0.0: supply vdd not found, using dummy regulator
[    1.257595] spi-nor spi0.0: mx25l1606e (2048 Kbytes)
[    1.794616] Freeing initrd memory: 12684K
[    1.804569] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.804620] ehci-platform: EHCI generic platform driver
[    1.804708] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.804719] ohci-platform: OHCI generic platform driver
[    1.804976] usbcore: registered new interface driver usb-storage
[    1.805442] mousedev: PS/2 mouse device common for all mice
[    1.806342] sun6i-rtc 7000000.rtc: registered as rtc0
[    1.806383] sun6i-rtc 7000000.rtc: setting system clock to 1970-01-02T00:00:04 UTC (86404)
[    1.806489] sun6i-rtc 7000000.rtc: RTC enabled
[    1.806588] i2c_dev: i2c /dev entries driver
[    1.807140] sunxi-wdt 30090a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.808450] sdhci: Secure Digital Host Controller Interface driver
[    1.808470] sdhci: Copyright(c) Pierre Ossman
[    1.808497] Synopsys Designware Multimedia Card Interface Driver
[    1.808865] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.809667] ledtrig-cpu: registered to indicate activity on CPUs
[    1.810016] SMCCC: SOC_ID: ID = jep106:091e:1823 Revision = 0x00000000
[    1.810281] hid: raw HID events driver (C) Jiri Kosina
[    1.810410] usbcore: registered new interface driver usbhid
[    1.810416] usbhid: USB HID core driver
[    1.819847] NET: Registered PF_INET6 protocol family
[    1.848690] Segment Routing with IPv6
[    1.848773] In-situ OAM (IOAM) with IPv6
[    1.848861] NET: Registered PF_PACKET protocol family
[    1.849006] 8021q: 802.1Q VLAN Support v1.8
[    1.849159] 9pnet: Installing 9P2000 support
[    1.849244] Key type dns_resolver registered
[    1.849736] registered taskstats version 1
[    1.849755] Loading compiled-in X.509 certificates
[    1.853383] Loaded X.509 cert 'Build time autogenerated kernel key: 32330adefd2da02e444296fafd37464380789679'
[    1.856115] zswap: loaded using pool zstd/z3fold
[    1.856874] Key type ._fscrypt registered
[    1.856893] Key type .fscrypt registered
[    1.856897] Key type fscrypt-provisioning registered
[    1.857954] Btrfs loaded, crc32c=crc32c-generic, zoned=yes, fsverity=no
[    1.871728] Key type encrypted registered
[    1.871762] AppArmor: AppArmor sha1 policy hashing enabled
[    1.871807] ima: No TPM chip found, activating TPM-bypass!
[    1.871846] ima: Allocated hash algorithm: sha1
[    1.871881] ima: No architecture policies found
[    1.871959] evm: Initialising EVM extended attributes:
[    1.871963] evm: security.selinux
[    1.871968] evm: security.SMACK64
[    1.871971] evm: security.SMACK64EXEC
[    1.871975] evm: security.SMACK64TRANSMUTE
[    1.871979] evm: security.SMACK64MMAP
[    1.871982] evm: security.apparmor
[    1.871986] evm: security.ima
[    1.871990] evm: security.capability
[    1.871994] evm: HMAC attrs: 0x1
[    1.881081] usb1-vbus: supplied by vcc-5v
[    1.881360] sun50i-h616-r-pinctrl 7022000.pinctrl: supply vcc-pl not found, using dummy regulator
[    1.881667] sunxi-rsb 7083000.rsb: RSB running at 3000000 Hz
[    1.881976] axp20x-rsb sunxi-rsb-745: AXP20x variant AXP806 found
[    1.882410] vdd-cpu: supplied by vcc-5v
[    1.882750] dcdcb: supplied by vcc-5v
[    1.882871] vdd-gpu-sys: supplied by vcc-5v
[    1.883122] vdd-dram: supplied by vcc-5v
[    1.883339] vcc-eth-mmc: supplied by vcc-5v
[    1.883545] vcc-sys: supplied by vcc-5v
[    1.883766] vcc3v3-ext: supplied by vcc-5v
[    1.883969] vcc3v3-ext2: supplied by vcc-5v
[    1.884177] vcc1v8: supplied by vcc-5v
[    1.884517] bldo2: supplied by vcc-5v
[    1.884712] bldo3: supplied by vcc-5v
[    1.884936] bldo4: supplied by vcc-5v
[    1.885127] cldo1: supplied by vcc-5v
[    1.885364] cldo2: supplied by vcc-5v
[    1.885595] cldo3: supplied by vcc-5v
[    1.885788] sw: supplied by regulator-dummy
[    1.885897] axp20x-rsb sunxi-rsb-745: AXP20X driver loaded
[    1.887583] ehci-platform 5200000.usb: EHCI Host Controller
[    1.887622] ehci-platform 5200000.usb: new USB bus registered, assigned bus number 1
[    1.887745] ehci-platform 5200000.usb: irq 36, io mem 0x05200000
[    1.901280] ehci-platform 5200000.usb: USB 2.0 started, EHCI 1.00
[    1.901585] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    1.901600] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.901609] usb usb1: Product: EHCI Host Controller
[    1.901617] usb usb1: Manufacturer: Linux 5.15.48-sunxi64 ehci_hcd
[    1.901624] usb usb1: SerialNumber: 5200000.usb
[    1.902186] hub 1-0:1.0: USB hub found
[    1.902229] hub 1-0:1.0: 1 port detected
[    1.903147] ohci-platform 5200400.usb: Generic Platform OHCI controller
[    1.903180] ohci-platform 5200400.usb: new USB bus registered, assigned bus number 2
[    1.903314] ohci-platform 5200400.usb: irq 37, io mem 0x05200400
[    1.965510] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.15
[    1.965531] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.965540] usb usb2: Product: Generic Platform OHCI controller
[    1.965548] usb usb2: Manufacturer: Linux 5.15.48-sunxi64 ohci_hcd
[    1.965555] usb usb2: SerialNumber: 5200400.usb
[    1.966072] hub 2-0:1.0: USB hub found
[    1.966117] hub 2-0:1.0: 1 port detected
[    1.967116] usb_phy_generic usb_phy_generic.1.auto: supply vcc not found, using dummy regulator
[    1.967262] usb_phy_generic usb_phy_generic.1.auto: dummy supplies not allowed for exclusive requests
[    1.970613] of_cfs_init
[    1.970730] sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-pf not found, using dummy regulator
[    1.970751] of_cfs_init: OK
[    1.971047] ALSA device list:
[    1.971054]   No soundcards found.
[    1.971666] sunxi-mmc 4020000.mmc: Got CD GPIO
[    1.997286] sunxi-mmc 4020000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[    1.998324] Freeing unused kernel memory: 2496K
[    1.998451] Run /init as init process
[    1.998457]   with arguments:
[    1.998462]     /init
[    1.998467]   with environment:
[    1.998471]     HOME=/
[    1.998476]     TERM=linux
[    1.998480]     ubootpart=20f2faab-01
[    1.998485]     cgroup_enable=memory
[    2.032561] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.034531] mmc0: new high speed SDHC card at address 0001
[    2.035536] mmcblk0: mmc0:0001 SD16G 29.1 GiB 
[    2.038006]  mmcblk0: p1
[    2.344202] sun50i-h616-pinctrl 300b000.pinctrl: supply vcc-pi not found, using dummy regulator
[    2.344610] dwmac-sun8i 5020000.ethernet: IRQ eth_wake_irq not found
[    2.344640] dwmac-sun8i 5020000.ethernet: IRQ eth_lpi not found
[    2.345066] dwmac-sun8i 5020000.ethernet: supply phy-io not found, using dummy regulator
[    2.345543] dwmac-sun8i 5020000.ethernet: PTP uses main clock
[    2.345605] dwmac-sun8i 5020000.ethernet: Current syscon value is not the default 51fe6 (expect 50000)
[    2.347133] dwmac-sun8i 5020000.ethernet: No HW DMA feature register supported
[    2.347164] dwmac-sun8i 5020000.ethernet: RX Checksum Offload Engine supported
[    2.347171] dwmac-sun8i 5020000.ethernet: COE Type 2
[    2.347181] dwmac-sun8i 5020000.ethernet: TX Checksum insertion supported
[    2.347188] dwmac-sun8i 5020000.ethernet: Normal descriptors
[    2.347195] dwmac-sun8i 5020000.ethernet: Chain mode enabled
[    2.856167] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null). Quota mode: none.
[    3.688720] systemd[1]: System time before build time, advancing clock.
[    3.733020] systemd[1]: systemd 249.11-0ubuntu3.3 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP -LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[    3.733820] systemd[1]: Detected architecture arm64.
[    3.757882] systemd[1]: Hostname set to <opizero2>.
[    4.813879] systemd[1]: Queued start job for default target Graphical Interface.
[    4.816062] random: systemd: uninitialized urandom read (16 bytes read)
[    4.820142] systemd[1]: Created slice Slice /system/modprobe.
[    4.837548] random: systemd: uninitialized urandom read (16 bytes read)
[    4.839629] systemd[1]: Created slice Slice /system/serial-getty.
[    4.857533] random: systemd: uninitialized urandom read (16 bytes read)
[    4.859249] systemd[1]: Created slice User and Session Slice.
[    4.873601] systemd[1]: Condition check resulted in Dispatch Password Requests to Console Directory Watch when bootsplash is active being skipped.
[    4.874141] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    4.894592] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    4.913776] systemd[1]: Reached target Local Encrypted Volumes.
[    4.929985] systemd[1]: Reached target Slice Units.
[    4.945620] systemd[1]: Reached target Swaps.
[    4.961608] systemd[1]: Reached target System Time Set.
[    4.977791] systemd[1]: Reached target Local Verity Protected Volumes.
[    5.012430] systemd[1]: Listening on RPCbind Server Activation Socket.
[    5.030377] systemd[1]: Listening on Syslog Socket.
[    5.046329] systemd[1]: Listening on fsck to fsckd communication Socket.
[    5.065927] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    5.082796] systemd[1]: Listening on Journal Audit Socket.
[    5.098257] systemd[1]: Listening on Journal Socket (/dev/log).
[    5.114428] systemd[1]: Listening on Journal Socket.
[    5.130672] systemd[1]: Listening on udev Control Socket.
[    5.146238] systemd[1]: Listening on udev Kernel Socket.
[    5.161661] systemd[1]: Reached target Socket Units.
[    5.181899] systemd[1]: Mounting Huge Pages File System...
[    5.201847] systemd[1]: Mounting POSIX Message Queue File System...
[    5.221482] systemd[1]: Mounting NFSD configuration filesystem...
[    5.241984] systemd[1]: Mounting Kernel Debug File System...
[    5.258083] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[    5.258813] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped.
[    5.265880] systemd[1]: Starting Restore / save the current clock...
[    5.286607] systemd[1]: Starting Set the console keyboard layout...
[    5.307757] systemd[1]: Starting Create List of Static Device Nodes...
[    5.317303] RPC: Registered named UNIX socket transport module.
[    5.317326] RPC: Registered udp transport module.
[    5.317330] RPC: Registered tcp transport module.
[    5.317334] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.332257] systemd[1]: Starting Load Kernel Module configfs...
[    5.352014] systemd[1]: Starting Load Kernel Module drm...
[    5.371120] systemd[1]: Starting Load Kernel Module fuse...
[    5.390484] systemd[1]: Started Nameserver information manager.
[    5.410962] systemd[1]: Reached target Preparation for Network.
[    5.415633] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    5.426224] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    5.431621] fuse: init (API version 7.34)
[    5.437049] systemd[1]: Starting Load Kernel Modules...
[    5.462972] systemd[1]: Starting Remount Root and Kernel File Systems...
[    5.487051] systemd[1]: Starting Coldplug All udev Devices...
[    5.491932] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro. Quota mode: none.
[    5.512661] systemd[1]: Mounted Huge Pages File System.
[    5.530392] systemd[1]: Mounted POSIX Message Queue File System.
[    5.546463] systemd[1]: Mounted NFSD configuration filesystem.
[    5.566304] systemd[1]: Mounted Kernel Debug File System.
[    5.587466] systemd[1]: Finished Restore / save the current clock.
[    5.607542] systemd[1]: Finished Create List of Static Device Nodes.
[    5.627129] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[    5.628544] systemd[1]: Finished Load Kernel Module configfs.
[    5.647273] systemd[1]: modprobe@drm.service: Deactivated successfully.
[    5.648421] systemd[1]: Finished Load Kernel Module drm.
[    5.667701] systemd[1]: Finished Set the console keyboard layout.
[    5.687011] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[    5.688141] systemd[1]: Finished Load Kernel Module fuse.
[    5.713026] systemd[1]: Finished Load Kernel Modules.
[    5.731389] systemd[1]: Finished Remount Root and Kernel File Systems.
[    5.760617] systemd[1]: Mounting FUSE Control File System...
[    5.777951] systemd[1]: Mounting Kernel Configuration File System...
[    5.793773] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[    5.798674] systemd[1]: Starting Load/Save Random Seed...
[    5.819023] systemd[1]: Starting Apply Kernel Variables...
[    5.834021] urandom_read_iter: 37 callbacks suppressed
[    5.834048] random: systemd: uninitialized urandom read (16 bytes read)
[    5.839813] systemd[1]: Starting Create System Users...
[    5.859391] random: systemd: uninitialized urandom read (16 bytes read)
[    5.861050] systemd[1]: Mounted FUSE Control File System.
[    5.878373] systemd[1]: Mounted Kernel Configuration File System.
[    5.905710] systemd[1]: Finished Create System Users.
[    5.923665] systemd[1]: Finished Apply Kernel Variables.
[    5.930613] random: systemd: uninitialized urandom read (16 bytes read)
[    5.935169] systemd[1]: Starting Create Static Device Nodes in /dev...
[    5.952070] systemd[1]: Finished Coldplug All udev Devices.
[    5.977725] systemd[1]: Starting Helper to synchronize boot up for ifupdown...
[    6.001161] systemd[1]: Finished Create Static Device Nodes in /dev.
[    6.019514] systemd[1]: Finished Helper to synchronize boot up for ifupdown.
[    6.038192] systemd[1]: Reached target Preparation for Local File Systems.
[    6.063055] systemd[1]: Mounting /tmp...
[    6.088804] systemd[1]: Starting Rule-based Manager for Device Events and Files...
[    6.113969] systemd[1]: Mounted /tmp.
[    6.126186] systemd[1]: Reached target Local File Systems.
[    6.151096] systemd[1]: Starting Armbian leds state...
[    6.171565] systemd[1]: Starting Armbian ZRAM config...
[    6.193819] systemd[1]: Starting Set console font and keymap...
[    6.215159] systemd[1]: Starting Raise network interfaces...
[    6.229768] systemd[1]: Condition check resulted in RPC security service for NFS server being skipped.
[    6.230031] systemd[1]: Condition check resulted in Mark the need to relabel after reboot being skipped.
[    6.236015] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    6.239201] systemd[1]: Finished Set console font and keymap.
[    6.291766] systemd[1]: Finished Armbian leds state.
[    6.513075] systemd[1]: Started Rule-based Manager for Device Events and Files.
[    6.714389] zram: Added device: zram0
[    6.715123] zram: Added device: zram1
[    6.715947] zram: Added device: zram2
[    6.840664] urandom_read_iter: 16 callbacks suppressed
[    6.840692] random: systemd: uninitialized urandom read (16 bytes read)
[    6.840799] random: systemd: uninitialized urandom read (16 bytes read)
[    6.851076] random: systemd: uninitialized urandom read (16 bytes read)
[    6.893506] systemd[1]: Found device /dev/ttyS0.
[    6.990383] mc: Linux media interface: v0.10
[    7.049772] systemd[1]: Reached target Hardware activated USB gadget.
[    7.068215] panfrost 1800000.gpu: clock rate = 432000000
[    7.068260] panfrost 1800000.gpu: bus_clock rate = 200000000
[    7.068843] panfrost 1800000.gpu: mali-g31 id 0x7093 major 0x0 minor 0x0 status 0x0
[    7.068875] panfrost 1800000.gpu: features: 00000000,3fde77ff, issues: 00000000,00000400
[    7.068885] panfrost 1800000.gpu: Features: L2:0x07100206 Shader:0x00000000 Tiler:0x00000209 Mem:0x1 MMU:0x00002821 AS:0xff JS:0x7
[    7.068897] panfrost 1800000.gpu: shader_present=0x1 l2_present=0x1
[    7.085549] [drm] Initialized panfrost 1.2.0 20180908 for 1800000.gpu on minor 0
[    7.089368] random: crng init done
[    7.089391] random: 18 urandom warning(s) missed due to ratelimiting
[    7.096835] videodev: Linux video capture interface: v2.00
[    7.106044] zram0: detected capacity change from 0 to 1008280
[    7.243978] systemd[1]: Finished Load/Save Random Seed.
[    7.263957] systemd[1]: Condition check resulted in First Boot Complete being skipped.
[    7.264130] systemd[1]: Condition check resulted in Store a System Token in an EFI Variable being skipped.
[    7.264280] systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped.
[    7.288828] Adding 504136k swap on /dev/zram0.  Priority:5 extents:1 across:504136k SSFS
[    7.321618] sunxi_cedrus: module is from the staging directory, the quality is unknown, you have been warned.
[    7.324128] cedrus 1c0e000.video-codec: Device registered as /dev/video0
[    7.450401] zram1: detected capacity change from 0 to 102400
[    7.466733] systemd[1]: Finished Raise network interfaces.
[    7.517913] systemd[1]: Finished Armbian ZRAM config.
[    7.538417] systemd[1]: Starting Armbian memory supported logging...
[    7.609652] EXT4-fs (zram1): mounted filesystem without journal. Opts: discard. Quota mode: none.
[   10.304223] systemd[1]: Finished Armbian memory supported logging.
[   10.333651] systemd[1]: Starting Journal Service...
[   10.483330] systemd[1]: Started Journal Service.
[   10.532718] systemd-journald[563]: Received client request to flush runtime journal.
[   14.451987] NFSD: Using nfsdcld client tracking operations.
[   14.452018] NFSD: no clients to reclaim, skipping NFSv4 grace period (net f0000000)
[   15.316571] phy_rtl8211f_led_fixup in
[   15.409424] dwmac-sun8i 5020000.ethernet eth0: PHY [stmmac-0:01] driver [RTL8211F Gigabit Ethernet] (irq=POLL)
[   15.410486] dwmac-sun8i 5020000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   15.411318] dwmac-sun8i 5020000.ethernet eth0: No Safety Features support found
[   15.411352] dwmac-sun8i 5020000.ethernet eth0: No MAC Management Counters available
[   15.411360] dwmac-sun8i 5020000.ethernet eth0: PTP not supported by HW
[   15.411982] dwmac-sun8i 5020000.ethernet eth0: configuring for phy/rgmii link mode
[   19.526729] dwmac-sun8i 5020000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   19.526791] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   33.766093] cldo1: disabling

 

Link to comment
Share on other sites

14 hours ago, lampra said:

Probably missing the dts parts for wifi and/or driver.

The dts parts and the driver are available here (last 2 commits) if you want to test it.

 

Thanks for your response mate. Does this mean that I'll have to build the kernel and compile from scratch? Sorry if this is a dumb question, but could you possibly provide a link to what's required in order to get this working?

Link to comment
Share on other sites

21 minutes ago, gyrex said:

Does this mean that I'll have to build the kernel and compile from scratch

Yes.

21 minutes ago, gyrex said:

a link to what's required in order to get this working?

Unfortunately it is not that easy since it needs a bit of tinkering and probably try'n'error as well.

General building instructions for Armbian are here: https://docs.armbian.com/Developer-Guide_Build-Preparation/

 

ATM sources for sun50iw9 family (which H616 SoC is member of) are legacy (which comes directly from vendor, so old stuff) and mainline  (current 5.15.y and edge 5.18.y).

Since jernejsk's sources are 5.15 I'd suggest to go for "current" branch first try.

Armbian patchset which is applied against mainline sources for whole sunxi family you can find here: https://github.com/armbian/build/tree/master/patch/kernel/archive/sunxi-5.15

Try putting the mentioned patches there after cloning the repo and build it. May fail due to upstream adjustments, patch order, solar winds....  That is the point where tinkering and try'n'error is necessary. Unfortunately I have neither time to get into more detail nor to try that myself at the moment.

Link to comment
Share on other sites

On 6/28/2022 at 7:59 AM, gyrex said:

Does this mean that I'll have to build the kernel and compile from scratch?

I am not sure as I do not follow the development at the moment.

Before going for a full build, for a non-productive machine, I would start by editing the dts (there is an armbian-config tool for that).

Then the driver might exist in the full firmware package (check it in the github rerpo).

If not, then I would try to build the driver, or I would go for a full build as mentioned by Werner

Link to comment
Share on other sites

If anyone's reading this who wants to get wifi working, your best bet is to run on the legacy kernel which has functioning wifi. The 'current' and 'edge' images don't seem to work.

 

This image works: https://stpete-mirror.armbian.com/archive/orangepizero2/archive/Armbian_22.02.2_Orangepizero2_focal_legacy_4.9.255.img.xz

Edited by gyrex
Link to comment
Share on other sites

Adding wireless: uwe5622 driver support at a cursory glance looks like 215 file changes totaling 210,075 additions. 

 

Those changes depend what is currently in the latest release, I am sure there quite an overlap already in place. I've only just started looking at the diff's, so quite a lot to digest before knowing exactly what would need to be done.

Link to comment
Share on other sites

On 6/28/2022 at 3:26 PM, Werner said:

Unfortunately it is not that easy since it needs a bit of tinkering and probably try'n'error as well.

General building instructions for Armbian are here: https://docs.armbian.com/Developer-Guide_Build-Preparation/

 

ATM sources for sun50iw9 family (which H616 SoC is member of) are legacy (which comes directly from vendor, so old stuff) and mainline  (current 5.15.y and edge 5.18.y).

Since jernejsk's sources are 5.15 I'd suggest to go for "current" branch first try.

Armbian patchset which is applied against mainline sources for whole sunxi family you can find here: https://github.com/armbian/build/tree/master/patch/kernel/archive/sunxi-5.15

Try putting the mentioned patches there after cloning the repo and build it. May fail due to upstream adjustments, patch order, solar winds....  That is the point where tinkering and try'n'error is necessary. Unfortunately I have neither time to get into more detail nor to try that myself at the moment.

 

I apologise in advance but I have limited experience building images. I've cloned the repo and I'm ready to build. Can you please explain in laymen's terms how I include the patches into the build?

Link to comment
Share on other sites

Unfortunately I cannot since I am not a developer and also just know the basics about building things. This is not my responsibility either. Forum and Discord is :lol:

However maybe someone else has time to do some basic git and patch crash course :love:

Link to comment
Share on other sites

Comparing orange-pi-5.16-sunxi64  to linux-5.19.1-sunxi64_22.08.0-trunk_arm64

 

The 215 file changes are present. I have not had time to do an individual check on all the additions but did notice one difference in sitm.h which will need some further catching up as to what exactly.

 

I would try to add the missing dts parts on the board first, then full build as suggested above @Werner and @lampra

 

alistair@orangepizero2:~$ zcat /proc/config.gz   | grep -E 'UWE5622'
# CONFIG_RK_WIFI_DEVICE_UWE5622 is not set
CONFIG_AW_WIFI_DEVICE_UWE5622=y
CONFIG_WLAN_UWE5622=m

 

 

 Just to note that an update committed on May 18 to the driver, changed 68 files with 2,158 additions and 1,587 deletions. So build failures might lead to having to inspect those closely.

 

EDIT: review of update, some of those are bluetooth, gnss, related, also noted deletions added back. 

 

EDIT 2: sunxi-5.18/patches.armbian/wireless-Add-uwe5622-driver.patch.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines