sgjava Posted September 2, 2018 Posted September 2, 2018 I just flashed https://dl.armbian.com/nanopiduo/Ubuntu_bionic_next.7z and it doesn't appear to detect the onboard wifi. ip a only shows lo and eth0. I'm going to try the expansion board with Ethernet onboard and see what shows up. OK, just tried this on a adapter board with Ethernet and now there's an eth0 and Wired Connection 1. It appears the eth0 is really the wifi adapter, but nmtui treats it like an Ethernet connection. Same issue with https://dl.armbian.com/nanopiduo/Debian_stretch_next.7z Wifi not detected, but eth0 is detected instead of wlan0.
martinayotte Posted September 3, 2018 Posted September 3, 2018 That is a bit odd ... What "dmesg" reporting ?
sgjava Posted September 3, 2018 Author Posted September 3, 2018 (edited) @martinayotte Spoiler [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.14.65-sunxi (root@armbian.com) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #12 SMP Tue Aug 21 10:46:54 CEST 2018 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: FriendlyARM NanoPi DUO [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] Reserved memory: created CMA memory pool at 0x5bc00000, size 64 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 0.000000] On node 0 totalpages: 131072 [ 0.000000] free_area_init_node: node 0, pgdat c0dd8c40, node_mem_map db780000 [ 0.000000] Normal zone: 1152 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 131072 pages, LIFO batch:31 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: Using PSCI v0.1 Function IDs from DT [ 0.000000] random: get_random_bytes called from start_kernel+0x8d/0x36a with crng_init=0 [ 0.000000] percpu: Embedded 17 pages/cpu @dff5b000 s40396 r8192 d21044 u69632 [ 0.000000] pcpu-alloc: s40396 r8192 d21044 u69632 alloc=17*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920 [ 0.000000] Kernel command line: root=UUID=86431459-7893-48c9-babd-dafe73f682f7 rootwait rootfstype=ext4 console=tty1 console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 loglevel=1 ubootpart=b2d0e7a1-01 ubootsource=mmc usb-storage.quirks= sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory swapaccount=1 [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] allocated 524288 bytes of page_ext [ 0.000000] Memory: 430484K/524288K available (8192K kernel code, 945K rwdata, 2348K rodata, 1024K init, 346K bss, 28268K reserved, 65536K cma-reserved, 0K highmem) [ 0.000000] Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xfff00000 (3072 kB) vmalloc : 0xe0800000 - 0xff800000 ( 496 MB) lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) modules : 0xbf800000 - 0xbfe00000 ( 6 MB) .text : 0xc0008000 - 0xc0900000 (9184 kB) .init : 0xc0c00000 - 0xc0d00000 (1024 kB) .data : 0xc0d00000 - 0xc0dec724 ( 946 kB) .bss : 0xc0df5db8 - 0xc0e4c85c ( 347 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] ftrace: allocating 37050 entries in 73 pages [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 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.000010] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000026] Switching to timer-based delay loop, resolution 41ns [ 0.000364] Console: colour dummy device 80x30 [ 0.000388] console [tty1] enabled [ 0.000433] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000) [ 0.000451] pid_max: default: 32768 minimum: 301 [ 0.000883] Security Framework initialized [ 0.000899] AppArmor: AppArmor disabled by boot time parameter [ 0.001009] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.001025] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.002445] CPU: Testing write buffer coherency: ok [ 0.003100] /cpus/cpu@0 missing clock-frequency property [ 0.003140] /cpus/cpu@1 missing clock-frequency property [ 0.003179] /cpus/cpu@2 missing clock-frequency property [ 0.003221] /cpus/cpu@3 missing clock-frequency property [ 0.003240] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.003896] Setting up static identity map for 0x40100000 - 0x40100054 [ 0.004143] Hierarchical SRCU implementation. [ 0.005566] smp: Bringing up secondary CPUs ... [ 0.016758] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.028141] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.039422] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.039586] smp: Brought up 1 node, 4 CPUs [ 0.039601] SMP: Total of 4 processors activated (192.00 BogoMIPS). [ 0.039607] CPU: All CPU(s) started in HYP mode. [ 0.039612] CPU: Virtualization extensions available. [ 0.041342] devtmpfs: initialized [ 0.055294] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.055688] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.055715] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 0.060579] xor: measuring software checksum speed [ 0.070469] arm4regs : 600.000 MB/sec [ 0.080554] 8regs : 356.000 MB/sec [ 0.090665] 32regs : 368.000 MB/sec [ 0.100761] neon : 608.000 MB/sec [ 0.100769] xor: using function: neon (608.000 MB/sec) [ 0.100912] pinctrl core: initialized pinctrl subsystem [ 0.102419] NET: Registered protocol family 16 [ 0.107053] DMA: preallocated 2048 KiB pool for atomic coherent allocations [ 0.108562] cpuidle: using governor ladder [ 0.108622] cpuidle: using governor menu [ 0.110444] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.110453] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.155170] raid6: int32x1 gen() 89 MB/s [ 0.172012] raid6: int32x1 xor() 76 MB/s [ 0.189690] raid6: int32x2 gen() 125 MB/s [ 0.206390] raid6: int32x2 xor() 91 MB/s [ 0.223891] raid6: int32x4 gen() 125 MB/s [ 0.240834] raid6: int32x4 xor() 91 MB/s [ 0.257938] raid6: int32x8 gen() 117 MB/s [ 0.275288] raid6: int32x8 xor() 82 MB/s [ 0.292310] raid6: neonx1 gen() 234 MB/s [ 0.309528] raid6: neonx1 xor() 218 MB/s [ 0.326747] raid6: neonx2 gen() 316 MB/s [ 0.343876] raid6: neonx2 xor() 281 MB/s [ 0.361068] raid6: neonx4 gen() 378 MB/s [ 0.378316] raid6: neonx4 xor() 318 MB/s [ 0.395445] raid6: neonx8 gen() 339 MB/s [ 0.412652] raid6: neonx8 xor() 287 MB/s [ 0.412659] raid6: using algorithm neonx4 gen() 378 MB/s [ 0.412665] raid6: .... xor() 318 MB/s, rmw enabled [ 0.412672] raid6: using neon recovery algorithm [ 0.415519] SCSI subsystem initialized [ 0.415911] libata version 3.00 loaded. [ 0.416299] usbcore: registered new interface driver usbfs [ 0.416385] usbcore: registered new interface driver hub [ 0.416525] usbcore: registered new device driver usb [ 0.416854] media: Linux media interface: v0.10 [ 0.416907] Linux video capture interface: v2.00 [ 0.417019] pps_core: LinuxPPS API ver. 1 registered [ 0.417026] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.417055] PTP clock support registered [ 0.419697] clocksource: Switched to clocksource arch_sys_counter [ 0.608217] VFS: Disk quotas dquot_6.6.0 [ 0.608376] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.623751] NET: Registered protocol family 2 [ 0.624872] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 0.624969] TCP bind hash table entries: 4096 (order: 3, 32768 bytes) [ 0.625090] TCP: Hash tables configured (established 4096 bind 4096) [ 0.625260] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.625314] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.625651] NET: Registered protocol family 1 [ 0.626431] RPC: Registered named UNIX socket transport module. [ 0.626439] RPC: Registered udp transport module. [ 0.626445] RPC: Registered tcp transport module. [ 0.626451] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.626934] Trying to unpack rootfs image as initramfs... [ 0.887720] NOHZ: local_softirq_pending 80 [ 1.492709] NOHZ: local_softirq_pending 80 [ 1.602940] Freeing initrd memory: 8108K [ 1.605836] audit: initializing netlink subsys (disabled) [ 1.606256] audit: type=2000 audit(1.572:1): state=initialized audit_enabled=0 res=1 [ 1.606651] Initialise system trusted keyrings [ 1.606980] workingset: timestamp_bits=14 max_order=17 bucket_order=3 [ 1.616812] zbud: loaded [ 1.621106] NFS: Registering the id_resolver key type [ 1.621146] Key type id_resolver registered [ 1.621154] Key type id_legacy registered [ 1.621176] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 1.621184] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 1.623006] JFS: nTxBlock = 3938, nTxLock = 31508 [ 1.631352] SGI XFS with ACLs, security attributes, realtime, no debug enabled [ 1.645380] Key type asymmetric registered [ 1.645538] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 1.645822] io scheduler noop registered [ 1.645832] io scheduler deadline registered [ 1.646361] io scheduler cfq registered (default) [ 1.646370] io scheduler mq-deadline registered [ 1.646377] io scheduler kyber registered [ 1.646617] io scheduler bfq registered [ 1.648448] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO [ 1.655486] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver [ 1.658245] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver [ 1.756394] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 1.762191] console [ttyS0] disabled [ 1.782441] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 37, base_baud = 1500000) is a U6_16550A [ 1.782532] console [ttyS0] enabled [ 1.789108] brd: module loaded [ 1.799240] loop: module loaded [ 1.802090] libphy: Fixed MDIO Bus: probed [ 1.802985] dwmac-sun8i 1c30000.ethernet: PTP uses main clock [ 1.803062] dwmac-sun8i 1c30000.ethernet: No regulator found [ 1.803234] dwmac-sun8i 1c30000.ethernet: Chain mode enabled [ 1.803247] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported [ 1.803258] dwmac-sun8i 1c30000.ethernet: Normal descriptors [ 1.803269] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported [ 1.803281] dwmac-sun8i 1c30000.ethernet: COE Type 2 [ 1.803291] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported [ 1.803476] libphy: stmmac: probed [ 1.804309] dwmac-sun8i 1c30000.ethernet: Found internal PHY node [ 1.804453] libphy: mdio_mux: probed [ 1.804488] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY [ 1.804501] dwmac-sun8i 1c30000.ethernet: Powering internal PHY [ 1.814183] libphy: mdio_mux: probed [ 1.815059] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.815068] ehci-platform: EHCI generic platform driver [ 1.815432] ehci-platform 1c1a000.usb: EHCI Host Controller [ 1.815483] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1 [ 1.817029] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000 [ 1.823711] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00 [ 1.824243] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.824258] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.824270] usb usb1: Product: EHCI Host Controller [ 1.824281] usb usb1: Manufacturer: Linux 4.14.65-sunxi ehci_hcd [ 1.824292] usb usb1: SerialNumber: 1c1a000.usb [ 1.825332] hub 1-0:1.0: USB hub found [ 1.825421] hub 1-0:1.0: 1 port detected [ 1.826617] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.826653] ohci-platform: OHCI generic platform driver [ 1.827014] ohci-platform 1c1a400.usb: Generic Platform OHCI controller [ 1.827072] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2 [ 1.827446] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400 [ 1.883201] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001 [ 1.883216] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.883227] usb usb2: Product: Generic Platform OHCI controller [ 1.883239] usb usb2: Manufacturer: Linux 4.14.65-sunxi ohci_hcd [ 1.883249] usb usb2: SerialNumber: 1c1a400.usb [ 1.884201] hub 2-0:1.0: USB hub found [ 1.884280] hub 2-0:1.0: 1 port detected [ 1.885610] usbcore: registered new interface driver usb-storage [ 1.886637] mousedev: PS/2 mouse device common for all mice [ 1.887541] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0 [ 1.887553] sun6i-rtc 1f00000.rtc: RTC enabled [ 1.887951] i2c /dev entries driver [ 1.891136] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 1.893585] sunxi-mmc 1c0f000.mmc: Got CD GPIO [ 1.917759] sunxi-mmc 1c0f000.mmc: base:0xe0ba3000 irq:23 [ 1.920821] ledtrig-cpu: registered to indicate activity on CPUs [ 1.920942] hidraw: raw HID events driver (C) Jiri Kosina [ 1.921172] usbcore: registered new interface driver usbhid [ 1.921178] usbhid: USB HID core driver [ 1.922972] NET: Registered protocol family 10 [ 1.956577] Segment Routing with IPv6 [ 1.956796] NET: Registered protocol family 17 [ 1.957136] Key type dns_resolver registered [ 1.957964] Registering SWP/SWPB emulation handler [ 1.959119] registered taskstats version 1 [ 1.959128] Loading compiled-in X.509 certificates [ 1.959288] zswap: loaded using pool lzo/zbud [ 1.962481] Btrfs loaded, crc32c=crc32c-generic [ 1.964145] mmc0: host does not support reading read-only switch, assuming write-enable [ 1.967328] mmc0: new high speed SDHC card at address aaaa [ 1.968591] mmcblk0: mmc0:aaaa SC32G 29.7 GiB [ 1.971402] mmcblk0: p1 [ 1.979063] Key type encrypted registered [ 1.993137] ehci-platform 1c1c000.usb: EHCI Host Controller [ 1.993189] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 3 [ 1.994216] ehci-platform 1c1c000.usb: irq 28, io mem 0x01c1c000 [ 2.000734] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00 [ 2.001135] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002 [ 2.001151] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.001163] usb usb3: Product: EHCI Host Controller [ 2.001174] usb usb3: Manufacturer: Linux 4.14.65-sunxi ehci_hcd [ 2.001185] usb usb3: SerialNumber: 1c1c000.usb [ 2.002169] hub 3-0:1.0: USB hub found [ 2.002239] hub 3-0:1.0: 1 port detected [ 2.003581] ehci-platform 1c1d000.usb: EHCI Host Controller [ 2.003626] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 4 [ 2.004135] ehci-platform 1c1d000.usb: irq 30, io mem 0x01c1d000 [ 2.010736] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00 [ 2.011082] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002 [ 2.011097] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.011109] usb usb4: Product: EHCI Host Controller [ 2.011120] usb usb4: Manufacturer: Linux 4.14.65-sunxi ehci_hcd [ 2.011131] usb usb4: SerialNumber: 1c1d000.usb [ 2.012001] hub 4-0:1.0: USB hub found [ 2.012067] hub 4-0:1.0: 1 port detected [ 2.013293] ohci-platform 1c1c400.usb: Generic Platform OHCI controller [ 2.013334] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 5 [ 2.013705] ohci-platform 1c1c400.usb: irq 29, io mem 0x01c1c400 [ 2.070061] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001 [ 2.070076] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.070088] usb usb5: Product: Generic Platform OHCI controller [ 2.070099] usb usb5: Manufacturer: Linux 4.14.65-sunxi ohci_hcd [ 2.070110] usb usb5: SerialNumber: 1c1c400.usb [ 2.070981] hub 5-0:1.0: USB hub found [ 2.071065] hub 5-0:1.0: 1 port detected [ 2.072297] ohci-platform 1c1d400.usb: Generic Platform OHCI controller [ 2.072337] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 6 [ 2.072762] ohci-platform 1c1d400.usb: irq 31, io mem 0x01c1d400 [ 2.129034] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001 [ 2.129050] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.129062] usb usb6: Product: Generic Platform OHCI controller [ 2.129073] usb usb6: Manufacturer: Linux 4.14.65-sunxi ohci_hcd [ 2.129084] usb usb6: SerialNumber: 1c1d400.usb [ 2.129933] hub 6-0:1.0: USB hub found [ 2.130000] hub 6-0:1.0: 1 port detected [ 2.131266] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator [ 2.135169] core: _opp_supported_by_regulators: OPP minuV: 1320000 maxuV: 1320000, not supported by regulator [ 2.135189] cpu cpu0: _opp_add: OPP not supported by regulators (1296000000) [ 2.135873] thermal thermal_zone0: binding zone cpu-thermal with cdev thermal-cpufreq-0 failed:-17 [ 2.141954] of_cfs_init [ 2.142088] of_cfs_init: OK [ 2.142220] vdd-cpux-dummy: disabling [ 2.142226] vcc3v0: disabling [ 2.142230] vcc5v0: disabling [ 2.142234] vcc-wifi: disabling [ 2.145167] Freeing unused kernel memory: 1024K [ 2.170225] NOHZ: local_softirq_pending 02 [ 2.181700] NOHZ: local_softirq_pending 80 [ 2.184249] NOHZ: local_softirq_pending 80 [ 2.190585] NOHZ: local_softirq_pending 80 [ 2.192321] NOHZ: local_softirq_pending 82 [ 2.196690] NOHZ: local_softirq_pending 80 [ 2.242415] NOHZ: local_softirq_pending 80 [ 2.265711] NOHZ: local_softirq_pending 80 [ 2.766238] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq [ 2.916742] sunxi-mmc 1c10000.mmc: base:0xe0c1a000 irq:24 [ 2.935579] sunxi-mmc 1c10000.mmc: no support for card's volts [ 2.935589] mmc1: error -22 whilst initialising MMC card [ 3.446180] random: fast init done [ 3.476594] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null) [ 4.237882] systemd[1]: System time before build time, advancing clock. [ 4.261005] ip_tables: (C) 2000-2006 Netfilter Core Team [ 4.291401] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid) [ 4.292334] systemd[1]: Detected architecture arm. [ 4.336796] systemd[1]: Set hostname to <nanopiduo>. [ 5.092310] random: systemd: uninitialized urandom read (16 bytes read) [ 5.092411] systemd[1]: Reached target Swap. [ 5.098852] random: systemd: uninitialized urandom read (16 bytes read) [ 5.098925] systemd[1]: Reached target System Time Synchronized. [ 5.108339] random: systemd: uninitialized urandom read (16 bytes read) [ 5.110178] systemd[1]: Created slice System Slice. [ 5.119772] systemd[1]: Listening on Journal Audit Socket. [ 5.130941] systemd[1]: Listening on Syslog Socket. [ 5.141398] systemd[1]: Listening on Journal Socket. [ 5.152243] systemd[1]: Listening on Journal Socket (/dev/log). [ 5.368207] g_serial gadget: Gadget Serial v2.4 [ 5.368220] g_serial gadget: g_serial ready [ 5.433300] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro [ 5.686135] systemd-journald[233]: Received request to flush runtime journal from PID 1 [ 5.813896] g_serial gadget: high-speed config #2: CDC ACM config [ 5.813944] gs_console_connect: port num [0] is not support console [ 6.189040] zram: Added device: zram0 [ 6.189727] zram: Added device: zram1 [ 6.190885] zram: Added device: zram2 [ 6.191753] zram: Added device: zram3 [ 6.192562] zram: Added device: zram4 [ 6.343434] zram1: detected capacity change from 0 to 64659456 [ 6.594598] thermal thermal_zone0: failed to read out thermal zone (-110) [ 7.616762] thermal thermal_zone0: failed to read out thermal zone (-110) [ 7.667033] random: crng init done [ 7.667047] random: 7 urandom warning(s) missed due to ratelimiting [ 7.694255] Adding 63140k swap on /dev/zram1. Priority:5 extents:1 across:63140k SSFS [ 7.697174] zram2: detected capacity change from 0 to 64659456 [ 7.718341] Adding 63140k swap on /dev/zram2. Priority:5 extents:1 across:63140k SSFS [ 7.720961] zram3: detected capacity change from 0 to 64659456 [ 7.741781] Adding 63140k swap on /dev/zram3. Priority:5 extents:1 across:63140k SSFS [ 7.744360] zram4: detected capacity change from 0 to 64659456 [ 7.764803] Adding 63140k swap on /dev/zram4. Priority:5 extents:1 across:63140k SSFS [ 7.805144] zram0: detected capacity change from 0 to 52428800 [ 8.435079] EXT4-fs (zram0): mounted filesystem without journal. Opts: (null) [ 8.640743] thermal thermal_zone0: failed to read out thermal zone (-110) [ 9.381232] dwmac-sun8i 1c30000.ethernet eth0: device MAC address 12:35:95:8a:26:59 [ 9.384952] Generic PHY 0.1:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0.1:01, irq=POLL) [ 9.394132] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available [ 9.394151] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW [ 9.394897] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 10.382188] EXT4-fs (mmcblk0p1): resizing filesystem from 215040 to 7712800 blocks [ 20.687854] EXT4-fs (mmcblk0p1): resized to 2621440 blocks [ 31.787146] EXT4-fs (mmcblk0p1): resized to 5242880 blocks [ 41.979650] EXT4-fs (mmcblk0p1): resized filesystem to 7712800 [ 45.032843] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready Edited September 16, 2018 by Igor spoilers
martinayotte Posted September 3, 2018 Posted September 3, 2018 39 minutes ago, sgjava said: [ 9.381232] dwmac-sun8i 1c30000.ethernet eth0: device MAC address 12:35:95:8a:26:59 [ 9.384952] Generic PHY 0.1:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0.1:01, irq=POLL) [ 9.394132] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available [ 9.394151] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW "dwmac-sun8i 1c30000.ethernet" means it is really the wired ethernet, not a wifi device.
sgjava Posted September 3, 2018 Author Posted September 3, 2018 @martinayotte that's what I tried to explained above. If I put the Duo in the Mini Shield it will show two Ethernet connections. It appears to detect the onboard wifi as Ethernet or it's not detecting the wifi at all. You did give me an idea though. I can get the dtb from the FriendlyElec image and try it on Armbian. I had to do this to get the OTG working correctly on a Duo v1.1 with Armbian.
martinayotte Posted September 3, 2018 Posted September 3, 2018 2 hours ago, sgjava said: mmc1: error -22 whilst initialising MMC card Looking at your "dmesg" again, it seem to fail trying to access mmc1 SDIO, therefore the XR819 chip. I don't have a nano-duo, so, I can't verify if DT is in proper shape in 4.14.65-sunxi.
sgjava Posted September 3, 2018 Author Posted September 3, 2018 The previous dev mainline release (maybe from a month or two ago) worked with 4.17 kernel. I'm seeing the same issue using the FriendlyElec dtb, so something is off.
sgjava Posted September 4, 2018 Author Posted September 4, 2018 I noticed the build tool mentioned Ethernet in the description for Duo. I'm going to fiddle with the kernel options and see what happens, but when I build an image it exhibits the same behavior.
sgjava Posted September 5, 2018 Author Posted September 5, 2018 @martinayotte I have a build VM now, so If there's something I can try build wise to get wifi working I'll try it. I was able to get eth0 working using the Mini Shield, but normally I do not use the Mini Shield. If I try to make eth0 static it creates another wired connection, weird.
martinayotte Posted September 5, 2018 Posted September 5, 2018 Effectively weird ! Try to isolate the problem by looking to who is creating it by disabling "NetworkManager" service and keeping "networking" service with the old /etc/network/interfaces.
sgjava Posted September 5, 2018 Author Posted September 5, 2018 OK, I'll start there when I get home.
sgjava Posted September 6, 2018 Author Posted September 6, 2018 @martinayotte OK, I have static eth0 config working with the Mini Shield and no more dynamically creating adapters on reboot. I still have the original issue of no wifi device. I assume I need to get the XR819 device working. It used to work fine in beta Linux nanopiduo 4.17.3-sunxi #28 SMP Sat Jun 30 21:45:31 UTC 2018 armv7l armv7l armv7l GNU/Linux which has xradio_wlan. Seems to be missing from stable mainline release (only /lib/modules/4.14.65-sunxi/kernel/drivers/net/wireless/xradio/xradio_wlan.ko is present). uname -a Linux nanopiduo 4.14.65-sunxi #12 SMP Tue Aug 21 10:46:54 CEST 2018 armv7l armv7l armv7l GNU/Linux lsmod Module Size Used by lz4 16384 20 lz4_compress 53248 1 lz4 zram 24576 5 sun8i_codec_analog 24576 0 snd_soc_core 118784 1 sun8i_codec_analog snd_pcm_dmaengine 16384 1 snd_soc_core snd_pcm 65536 2 snd_pcm_dmaengine,snd_soc_core snd_timer 24576 1 snd_pcm snd 45056 3 snd_timer,snd_soc_core,snd_pcm soundcore 16384 1 snd sun4i_gpadc_iio 16384 0 uio_pdrv_genirq 16384 0 uio 16384 1 uio_pdrv_genirq sch_fq_codel 20480 2 usb_f_acm 16384 1 u_serial 20480 3 usb_f_acm g_serial 16384 0 libcomposite 40960 2 g_serial,usb_f_acm ip_tables 20480 0 x_tables 20480 1 ip_tables pwrseq_simple 16384 1 uas 20480 0 sudo lshw -C network *-network description: Ethernet interface physical id: 7 logical name: eth0 serial: ee:ee:ee:ee:ee:ee size: 100Mbit/s capacity: 100Mbit/s capabilities: ethernet physical tp aui bnc mii fibre 10bt 10bt-fd 100bt 100bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=st_mac100 driverversion=Jan_2016 duplex=full ip=192.168.1.69 link=yes multicast=yes port=MII speed=100Mbit/s nano /etc/network/interfaces auto eth0 iface eth0 inet static address 192.168.1.69 netmask 255.255.255.0 gateway 192.168.1.1 dns-nameservers 192.168.1.1 Remove netplan, etc. systemctl stop networkd-dispatcher systemctl disable networkd-dispatcher systemctl mask networkd-dispatcher apt-get purge nplan netplan.io
martinayotte Posted September 6, 2018 Posted September 6, 2018 14 hours ago, sgjava said: only /lib/modules/4.14.65-sunxi/kernel/drivers/net/wireless/xradio/xradio_wlan.ko is present That was the first thing to check. Now next thing to check if the DT is correctly including the xradio node : under the "mmc@1c10000"node, you should have something like : sdio_wifi@1 { reg = <0x1>; compatible = "xradio,xr819"; interrupt-parent = <0xc>; interrupts = <0x6 0xa 0x1>; interrupt-names = "host-wake"; phandle = <0x37>; }; Check also the presence of "wifi_pwrseq" node : wifi_pwrseq { compatible = "mmc-pwrseq-simple"; reset-gpios = <0x2e 0x0 0x7 0x1>; post-power-on-delay-ms = <0xc8>; phandle = <0xf>; }; (Note : the above values are from my OPiZero board, so on your NanoPiDuo it could be a bit different...) Check "dmesg | grep mmc" to see if something went wrong during power up of the wifi. Do you see some with "dmesg | grep -i SDIO" ? Does "cat /proc/device-tree/soc/mmc@1c10000/status" reports "okay" ?
sgjava Posted September 7, 2018 Author Posted September 7, 2018 @martinayotte @Igor Both of those sections are in the dtb. I found vcc-wifi: disabling in dmesg, but no xradio stuff. The Duo with beta has xradio dmesg and more files, so it looks like files are missing in Stable release, not just DT problem. Beta: [ 13.746635] xradio_wlan mmc1:0001:1: no mac address provided, using random [ 14.100561] xradio_wlan mmc1:0001:1: missed interrupt [ 14.100717] xradio_wlan mmc1:0001:1: Input buffers: 30 x 1632 bytes [ 14.100724] xradio_wlan mmc1:0001:1: Firmware Label:XR_C01.08.0043 Jun 6 2016 20:41:04 Beta: sudo find / -name xradio* /sys/devices/platform/xradio_pm.0 /sys/bus/platform/devices/xradio_pm.0 /sys/bus/platform/drivers/xradio_pm /sys/bus/platform/drivers/xradio_pm/xradio_pm.0 /sys/bus/sdio/drivers/xradio_wlan /sys/module/mac80211/holders/xradio_wlan /sys/module/xradio_wlan /sys/module/cfg80211/holders/xradio_wlan /lib/modules/4.17.3-sunxi/kernel/drivers/net/wireless/xradio /lib/modules/4.17.3-sunxi/kernel/drivers/net/wireless/xradio/xradio_wlan.ko /proc/irq/104/xradio Stable: /lib/modules/4.14.65-sunxi/kernel/drivers/net/wireless/xradio /lib/modules/4.14.65-sunxi/kernel/drivers/net/wireless/xradio/xradio_wlan.ko
Welesley Posted September 14, 2018 Posted September 14, 2018 (edited) Hi, All i have same problem, with new version of Armbian i try using Ubuntu and Debian Stretch , but same error , in log of dmesg : i see this part: [ 1.892249] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator [ 1.904183] vcc3v0: disabling [ 1.904187] vcc5v0: disabling [ 1.904191] vcc-wifi: disabling Spoiler root@nanopiduo:~# dmesg [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.14.69-sunxi (root@ARMBuild) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #7 SMP Fri Sep 14 15:22:53 -03 2018 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: FriendlyARM NanoPi DUO [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] Reserved memory: created CMA memory pool at 0x5bc00000, size 64 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 0.000000] On node 0 totalpages: 131072 [ 0.000000] free_area_init_node: node 0, pgdat c0dd8c00, node_mem_map db780000 [ 0.000000] Normal zone: 1152 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 131072 pages, LIFO batch:31 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: Using PSCI v0.1 Function IDs from DT [ 0.000000] random: get_random_bytes called from start_kernel+0x8d/0x36a with crng_init=0 [ 0.000000] percpu: Embedded 17 pages/cpu @dff5b000 s40396 r8192 d21044 u69632 [ 0.000000] pcpu-alloc: s40396 r8192 d21044 u69632 alloc=17*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920 [ 0.000000] Kernel command line: root=UUID=d0931bef-edd6-4bf3-b9a3-81ccff068b74 rootwait rootfstype=ext4 console=tty1 console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 loglevel=1 ubootpart=255f2a5b-01 ubootsource=mmc usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory swapaccount=1 [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] allocated 524288 bytes of page_ext [ 0.000000] Memory: 432852K/524288K available (8192K kernel code, 945K rwdata, 2348K rodata, 1024K init, 346K bss, 25900K reserved, 65536K cma-reserved, 0K highmem) [ 0.000000] Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xfff00000 (3072 kB) vmalloc : 0xe0800000 - 0xff800000 ( 496 MB) lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) modules : 0xbf800000 - 0xbfe00000 ( 6 MB) .text : 0xc0008000 - 0xc0900000 (9184 kB) .init : 0xc0c00000 - 0xc0d00000 (1024 kB) .data : 0xc0d00000 - 0xc0dec6e4 ( 946 kB) .bss : 0xc0df5db8 - 0xc0e4c858 ( 347 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] ftrace: allocating 37053 entries in 73 pages [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 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.000010] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000027] Switching to timer-based delay loop, resolution 41ns [ 0.000363] Console: colour dummy device 80x30 [ 0.000386] console [tty1] enabled [ 0.000432] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000) [ 0.000450] pid_max: default: 32768 minimum: 301 [ 0.000875] Security Framework initialized [ 0.000895] AppArmor: AppArmor disabled by boot time parameter [ 0.001003] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.001020] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.002424] CPU: Testing write buffer coherency: ok [ 0.003075] /cpus/cpu@0 missing clock-frequency property [ 0.003118] /cpus/cpu@1 missing clock-frequency property [ 0.003157] /cpus/cpu@2 missing clock-frequency property [ 0.003198] /cpus/cpu@3 missing clock-frequency property [ 0.003216] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.003889] Setting up static identity map for 0x40100000 - 0x40100054 [ 0.004143] Hierarchical SRCU implementation. [ 0.005567] smp: Bringing up secondary CPUs ... [ 0.016766] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.028166] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.039437] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.039597] smp: Brought up 1 node, 4 CPUs [ 0.039611] SMP: Total of 4 processors activated (192.00 BogoMIPS). [ 0.039618] CPU: All CPU(s) started in HYP mode. [ 0.039623] CPU: Virtualization extensions available. [ 0.041362] devtmpfs: initialized [ 0.055733] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.056156] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.056183] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 0.061040] xor: measuring software checksum speed [ 0.070478] arm4regs : 600.000 MB/sec [ 0.080562] 8regs : 356.000 MB/sec [ 0.090672] 32regs : 368.000 MB/sec [ 0.100768] neon : 608.000 MB/sec [ 0.100777] xor: using function: neon (608.000 MB/sec) [ 0.100914] pinctrl core: initialized pinctrl subsystem [ 0.102437] NET: Registered protocol family 16 [ 0.107041] DMA: preallocated 2048 KiB pool for atomic coherent allocations [ 0.108569] cpuidle: using governor ladder [ 0.108630] cpuidle: using governor menu [ 0.110464] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.110474] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.155171] raid6: int32x1 gen() 89 MB/s [ 0.172038] raid6: int32x1 xor() 76 MB/s [ 0.189681] raid6: int32x2 gen() 125 MB/s [ 0.206375] raid6: int32x2 xor() 91 MB/s [ 0.223874] raid6: int32x4 gen() 125 MB/s [ 0.240822] raid6: int32x4 xor() 91 MB/s [ 0.257920] raid6: int32x8 gen() 117 MB/s [ 0.275261] raid6: int32x8 xor() 82 MB/s [ 0.292277] raid6: neonx1 gen() 234 MB/s [ 0.309509] raid6: neonx1 xor() 218 MB/s [ 0.326716] raid6: neonx2 gen() 316 MB/s [ 0.343832] raid6: neonx2 xor() 281 MB/s [ 0.361047] raid6: neonx4 gen() 378 MB/s [ 0.378282] raid6: neonx4 xor() 318 MB/s [ 0.395416] raid6: neonx8 gen() 339 MB/s [ 0.412606] raid6: neonx8 xor() 287 MB/s [ 0.412613] raid6: using algorithm neonx4 gen() 378 MB/s [ 0.412620] raid6: .... xor() 318 MB/s, rmw enabled [ 0.412627] raid6: using neon recovery algorithm [ 0.415508] SCSI subsystem initialized [ 0.415900] libata version 3.00 loaded. [ 0.416293] usbcore: registered new interface driver usbfs [ 0.416380] usbcore: registered new interface driver hub [ 0.416514] usbcore: registered new device driver usb [ 0.416846] media: Linux media interface: v0.10 [ 0.416904] Linux video capture interface: v2.00 [ 0.417016] pps_core: LinuxPPS API ver. 1 registered [ 0.417024] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.417053] PTP clock support registered [ 0.419689] clocksource: Switched to clocksource arch_sys_counter [ 0.608276] VFS: Disk quotas dquot_6.6.0 [ 0.608438] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.623940] NET: Registered protocol family 2 [ 0.625057] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 0.625154] TCP bind hash table entries: 4096 (order: 3, 32768 bytes) [ 0.625275] TCP: Hash tables configured (established 4096 bind 4096) [ 0.625443] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.625496] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.625890] NET: Registered protocol family 1 [ 0.626625] RPC: Registered named UNIX socket transport module. [ 0.626634] RPC: Registered udp transport module. [ 0.626692] RPC: Registered tcp transport module. [ 0.626699] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.627107] Trying to unpack rootfs image as initramfs... [ 0.755693] NOHZ: local_softirq_pending 80 [ 1.359453] Freeing initrd memory: 5740K [ 1.362373] audit: initializing netlink subsys (disabled) [ 1.362833] audit: type=2000 audit(1.329:1): state=initialized audit_enabled=0 res=1 [ 1.363228] Initialise system trusted keyrings [ 1.363505] workingset: timestamp_bits=14 max_order=17 bucket_order=3 [ 1.373524] zbud: loaded [ 1.377876] NFS: Registering the id_resolver key type [ 1.377919] Key type id_resolver registered [ 1.377926] Key type id_legacy registered [ 1.377948] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 1.377956] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 1.379797] JFS: nTxBlock = 3938, nTxLock = 31508 [ 1.388165] SGI XFS with ACLs, security attributes, realtime, no debug enabled [ 1.402254] Key type asymmetric registered [ 1.402413] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 1.402679] io scheduler noop registered [ 1.402687] io scheduler deadline registered [ 1.403221] io scheduler cfq registered (default) [ 1.403230] io scheduler mq-deadline registered [ 1.403238] io scheduler kyber registered [ 1.403474] io scheduler bfq registered [ 1.403663] NOHZ: local_softirq_pending 80 [ 1.405293] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO [ 1.412377] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver [ 1.415233] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver [ 1.514142] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 1.519984] console [ttyS0] disabled [ 1.540239] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 37, base_baud = 1500000) is a U6_16550A [ 1.540327] console [ttyS0] enabled [ 1.546889] brd: module loaded [ 1.557084] loop: module loaded [ 1.559907] libphy: Fixed MDIO Bus: probed [ 1.560793] dwmac-sun8i 1c30000.ethernet: PTP uses main clock [ 1.560871] dwmac-sun8i 1c30000.ethernet: No regulator found [ 1.561022] dwmac-sun8i 1c30000.ethernet: Chain mode enabled [ 1.561035] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported [ 1.561046] dwmac-sun8i 1c30000.ethernet: Normal descriptors [ 1.561057] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported [ 1.561069] dwmac-sun8i 1c30000.ethernet: COE Type 2 [ 1.561080] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported [ 1.561259] libphy: stmmac: probed [ 1.562108] dwmac-sun8i 1c30000.ethernet: Found internal PHY node [ 1.562268] libphy: mdio_mux: probed [ 1.562305] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY [ 1.562318] dwmac-sun8i 1c30000.ethernet: Powering internal PHY [ 1.572417] libphy: mdio_mux: probed [ 1.573316] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.573325] ehci-platform: EHCI generic platform driver [ 1.573721] ehci-platform 1c1a000.usb: EHCI Host Controller [ 1.573770] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1 [ 1.575224] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000 [ 1.581724] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00 [ 1.582285] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.582302] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.582313] usb usb1: Product: EHCI Host Controller [ 1.582325] usb usb1: Manufacturer: Linux 4.14.69-sunxi ehci_hcd [ 1.582336] usb usb1: SerialNumber: 1c1a000.usb [ 1.583380] hub 1-0:1.0: USB hub found [ 1.583485] hub 1-0:1.0: 1 port detected [ 1.584745] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.584784] ohci-platform: OHCI generic platform driver [ 1.585128] ohci-platform 1c1a400.usb: Generic Platform OHCI controller [ 1.585185] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2 [ 1.585572] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400 [ 1.641180] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001 [ 1.641195] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.641207] usb usb2: Product: Generic Platform OHCI controller [ 1.641219] usb usb2: Manufacturer: Linux 4.14.69-sunxi ohci_hcd [ 1.641230] usb usb2: SerialNumber: 1c1a400.usb [ 1.642217] hub 2-0:1.0: USB hub found [ 1.642307] hub 2-0:1.0: 1 port detected [ 1.643691] usbcore: registered new interface driver usb-storage [ 1.644781] mousedev: PS/2 mouse device common for all mice [ 1.645630] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0 [ 1.645680] sun6i-rtc 1f00000.rtc: RTC enabled [ 1.646018] i2c /dev entries driver [ 1.649216] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 1.651791] sunxi-mmc 1c0f000.mmc: Got CD GPIO [ 1.675737] sunxi-mmc 1c0f000.mmc: base:0xe0ba3000 irq:23 [ 1.678758] ledtrig-cpu: registered to indicate activity on CPUs [ 1.678917] hidraw: raw HID events driver (C) Jiri Kosina [ 1.679124] usbcore: registered new interface driver usbhid [ 1.679130] usbhid: USB HID core driver [ 1.680950] NET: Registered protocol family 10 [ 1.715729] Segment Routing with IPv6 [ 1.715892] NET: Registered protocol family 17 [ 1.716240] Key type dns_resolver registered [ 1.717117] Registering SWP/SWPB emulation handler [ 1.718200] registered taskstats version 1 [ 1.718210] Loading compiled-in X.509 certificates [ 1.718383] zswap: loaded using pool lzo/zbud [ 1.721546] Btrfs loaded, crc32c=crc32c-generic [ 1.723326] mmc0number 3 [ 1.754675] NOHZ: local_softirq_pending 80 [ 1.754749] ehci-platform 1c1c000.usb: irq 28, io mem 0x01c1c000 [ 1.761717] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00 [ 1.762124] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.762140] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.762151] usb usb3: Product: EHCI Host Controller [ 1.762163] usb usb3: Manufacturer: Linux 4.14.69-sunxi ehci_hcd [ 1.762174] usb usb3: SerialNumber: 1c1c000.usb [ 1.763166] hub 3-0:1.0: USB hub found [ 1.763235] hub 3-0:1.0: 1 port detected [ 1.763666] NOHZ: local_softirq_pending 80 [ 1.764583] ehci-platform 1c1d000.usb: EHCI Host Controller [ 1.764684] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 4 [ 1.765147] ehci-platform 1c1d000.usb: irq 30, io mem 0x01c1d000 [ 1.771711] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00 [ 1.772056] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.772071] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.772082] usb usb4: Product: EHCI Host Controller [ 1.772093] usb usb4: Manufacturer: Linux 4.14.69-sunxi ehci_hcd [ 1.772104] usb usb4: SerialNumber: 1c1d000.usb [ 1.773026] hub 4-0:1.0: USB hub found [ 1.773096] hub 4-0:1.0: 1 port detected [ 1.774331] ohci-platform 1c1c400.usb: Generic Platform OHCI controller [ 1.774371] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 5 [ 1.774805] ohci-platform 1c1c400.usb: irq 29, io mem 0x01c1c400 [ 1.831033] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001 [ 1.831048] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.831059] usb usb5: Product: Generic Platform OHCI controller [ 1.831071] usb usb5: Manufacturer: Linux 4.14.69-sunxi ohci_hcd [ 1.831082] usb usb5: SerialNumber: 1c1c400.usb [ 1.831945] hub 5-0:1.0: USB hub found [ 1.832013] hub 5-0:1.0: 1 port detected [ 1.833233] ohci-platform 1c1d400.usb: Generic Platform OHCI controller [ 1.833273] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 6 [ 1.833629] ohci-platform 1c1d400.usb: irq 31, io mem 0x01c1d400 [ 1.890005] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001 [ 1.890020] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.890032] usb usb6: Product: Generic Platform OHCI controller [ 1.890043] usb usb6: Manufacturer: Linux 4.14.69-sunxi ohci_hcd [ 1.890054] usb usb6: SerialNumber: 1c1d400.usb [ 1.890911] hub 6-0:1.0: USB hub found [ 1.890977] hub 6-0:1.0: 1 port detected [ 1.892249] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator [ 1.895986] core: _opp_supported_by_regulators: OPP minuV: 1320000 maxuV: 1320000, not supported by regulator [ 1.896005] cpu cpu0: _opp_add: OPP not supported by regulators (1296000000) [ 1.896709] thermal thermal_zone0: binding zone cpu-thermal with cdev thermal-cpufreq-0 failed:-17 [ 1.903916] of_cfs_init [ 1.904046] of_cfs_init: OK [ 1.904178] vdd-cpux-dummy: disabling [ 1.904183] vcc3v0: disabling [ 1.904187] vcc5v0: disabling [ 1.904191] vcc-wifi: disabling [ 1.907150] Freeing unused kernel memory: 1024K [ 1.969424] NOHZ: local_softirq_pending 80 [ 1.970221] NOHZ: local_softirq_pending 80 [ 2.013178] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 2.013744] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 2.015681] NOHZ: local_softirq_pending 80 [ 2.018262] random: udevadm: uninitialized urandom read (16 bytes read) [ 2.460511] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq [ 2.614726] sunxi-mmc 1c10000.mmc: base:0xe0c1a000 irq:24 [ 2.633503] sunxi-mmc 1c10000.mmc: no support for card's volts [ 2.633517] mmc1: error -22 whilst initialising MMC card [ 2.749669] NOHZ: local_softirq_pending 82 [ 2.871064] NOHZ: local_softirq_pending 80 [ 2.990295] NOHZ: local_softirq_pending 80 [ 3.187209] random: fast init done [ 3.233270] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null) [ 3.761500] systemd[1]: System time before build time, advancing clock. [ 3.830932] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN) [ 3.831677] systemd[1]: Detected architecture arm. [ 3.861680] systemd[1]: Set hostname to <nanopiduo>. [ 4.352828] systemd[1]: Created slice System Slice. [ 4.361115] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ 4.374766] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 4.387066] systemd[1]: Listening on Journal Socket (/dev/log). [ 4.394789] systemd[1]: Reached target Swap. [ 4.403409] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 4.412383] systemd[1]: Listening on fsck to fsckd communication Socket. [ 4.693228] g_serial gadget: Gadget Serial v2.4 [ 4.693240] g_serial gadget: g_serial ready [ 4.727831] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro [ 5.154372] g_serial gadget: high-speed config #2: CDC ACM config [ 5.154412] gs_console_connect: port num [0] is not support console [ 5.848398] zram: Added device: zram0 [ 5.849278] zram: Added device: zram1 [ 5.849982] zram: Added device: zram2 [ 5.850501] zram: Added device: zram3 [ 5.851098] zram: Added device: zram4 [ 5.851707] zram: Added device: zram5 [ 5.867866] systemd-journald[303]: Received request to flush runtime journal from PID 1 [ 5.977169] zram1: detected capacity change from 0 to 64659456 [ 5.985338] thermal thermal_zone0: failed to read out thermal zone (-110) [ 6.108635] Adding 63140k swap on /dev/zram1. Priority:5 extents:1 across:63140k SSFS [ 6.119020] zram2: detected capacity change from 0 to 64659456 [ 6.253411] Adding 63140k swap on /dev/zram2. Priority:5 extents:1 across:63140k SSFS [ 6.256985] zram3: detected capacity change from 0 to 64659456 [ 6.369763] Adding 63140k swap on /dev/zram3. Priority:5 extents:1 across:63140k SSFS [ 6.381969] zram4: detected capacity change from 0 to 64659456 [ 6.420046] Adding 63140k swap on /dev/zram4. Priority:5 extents:1 across:63140k SSFS [ 6.641398] zram0: detected capacity change from 0 to 52428800 [ 6.964060] EXT4-fs (zram0): mounted filesystem without journal. Opts: (null) [ 7.041752] thermal thermal_zone0: failed to read out thermal zone (-110) [ 7.190477] random: crng init done [ 7.190493] random: 7 urandom warning(s) missed due to ratelimiting [ 8.065782] thermal thermal_zone0: failed to read out thermal zone (-110) [ 8.088135] dwmac-sun8i 1c30000.ethernet eth0: device MAC address c6:61:d3:0c:0f:2c [ 8.089295] Generic PHY 0.1:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0.1:01, irq=POLL) [ 8.102130] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available [ 8.102156] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW [ 8.102577] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 13.868176] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready Edited September 16, 2018 by Igor spoilers
ag123 Posted September 15, 2018 Posted September 15, 2018 hi all, i switched to nightly builds on mainline kernel using sunxi-next kernel using armbian-config (it is recommended to do a apt-get upgrade armbian-config if that has not been updated ) on the menu software > system and 3rd party software > install full firmware package this would install some firmware blobs for various modules e.g. for the realtek wifi socs i'm not sure if that would solve the problem , but it may be worth trying out https://forum.armbian.com/topic/1237-opi-one-wireless-success/
sgjava Posted September 15, 2018 Author Posted September 15, 2018 @ag123 I'll try that this weekend. There are no nightly images for Duo, but I'll try to update armbian-config over Ethernet connection. The dtb looks like it has the right settings, so it's a matter of getting the modules, etc. that were working in the Beta release. Good thing I bought the mini shield or I wouldn't have Ethernet to do this
fehernyul Posted September 16, 2018 Posted September 16, 2018 (edited) Hi All, I have the very same issue with wifi here. I use Nanopi-duo without any additional board and I have no wifi. Currently I can connect to duo via my linux laptop with microusb data cable, nanopi-duo shows up as hanging on /dev/ttyACM3 serial port: sudo minicom -b 115200 -D /dev/ttyACM3 I have exactly the same output like you have for dmesg or "find / -name xradio*, lsmod etcetera. I cannot effectively connect to internet with the board ATM so armbian-config does not work here either. What bugs me I switched from friendlyelec's ubuntucore based linux, where wifi works out of the box! https://drive.google.com/drive/folders/1nRO655LaabJzM-OT7eE7fsPOEDM3PTVg I gave a try to armbian because friendlyelec distro runs with extreme cpu heat on nanopi-duo. Measuring 60-70 C degree, where I can barely touch the heatsink, playing with cpu-freq and governors does not helped. Well armbian runs quite surprisingly cooler, it is 20-25 C degree idle, I can touch the heatsink and it really feels slightly warm. Also under load (stress command) it ramp up a bit to max 50 C then after load ends it drops immediately to range 30 C degree for armbian. We need somehow merge both distro's solution (basically both are the same kernel version 4.14.x and based on ubuntu). Somehow check what friendlyelec distro incorporate that wifi (xradio_wlan) works there out of the box. Also check how armbian distro solved the cpu heat issue so nicely that it is just slightly warm when idling and cools immediately after high load. Edited September 16, 2018 by fehernyul Additional info, also subject is Hi all!
sgjava Posted September 16, 2018 Author Posted September 16, 2018 @fehernyul The Armbian mainline beta worked fine with wifi using 4.17 kernel. I'm not sure why the xradio stuff was stripped out of the stable release. If you do not have a mini shield then the only way to access the Duo is through the serial port (USB when plugged into PC powers Duo and allows serial access) or build your own Ethernet port. In any event the stable release is worthless for stand alone Duos which most of my usage scenarios require. I was lucky to have 3 mini shields, so I was able to get Ethernet working to play around with configuring wifi. For now I have been using the FriendlyElec image since xradio works fine, but I'd really like to use Armbian again.
Igor Posted September 16, 2018 Posted September 16, 2018 33 minutes ago, sgjava said: I'm not sure why the xradio stuff was stripped out of the stable release. It was not stripped out intentionally. I looked briefly and don't know why it stopped working.
sgjava Posted September 16, 2018 Author Posted September 16, 2018 @Igor Is there a way to tell the difference between the beta (xradio works) and stable?
Igor Posted September 16, 2018 Posted September 16, 2018 38 minutes ago, sgjava said: @Igor Is there a way to tell the difference between the beta (xradio works) and stable? I just got one step closer. Wifi works with old (4.14.18) kernel-config ... as I expected a bit. Spoiler [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.14.70-sunxi (root@armbian.com) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #37 SMP Sun Sep 16 20:29:25 CEST 2018 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: FriendlyARM NanoPi DUO [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] Reserved memory: created CMA memory pool at 0x5bc00000, size 64 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 0.000000] On node 0 totalpages: 131072 [ 0.000000] free_area_init_node: node 0, pgdat c0dd8b80, node_mem_map db780000 [ 0.000000] Normal zone: 1152 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 131072 pages, LIFO batch:31 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: Using PSCI v0.1 Function IDs from DT [ 0.000000] random: get_random_bytes called from start_kernel+0x8d/0x36a with crng_init=0 [ 0.000000] percpu: Embedded 17 pages/cpu @dff5b000 s39884 r8192 d21556 u69632 [ 0.000000] pcpu-alloc: s39884 r8192 d21556 u69632 alloc=17*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920 [ 0.000000] Kernel command line: root=UUID=762f144b-5c66-4d54-9dc1-5297cb93152c rootwait rootfstype=ext4 console=tty1 console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 loglevel=1 ubootpart=53d07713-01 ubootsource=mmc usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory swapaccount=1 [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] allocated 524288 bytes of page_ext [ 0.000000] Memory: 430468K/524288K available (8192K kernel code, 945K rwdata, 2348K rodata, 1024K init, 346K bss, 28284K reserved, 65536K cma-reserved, 0K highmem) [ 0.000000] Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xfff00000 (3072 kB) vmalloc : 0xe0800000 - 0xff800000 ( 496 MB) lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) modules : 0xbf800000 - 0xbfe00000 ( 6 MB) .text : 0xc0008000 - 0xc0900000 (9184 kB) .init : 0xc0c00000 - 0xc0d00000 (1024 kB) .data : 0xc0d00000 - 0xc0dec664 ( 946 kB) .bss : 0xc0df5da0 - 0xc0e4c658 ( 347 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] ftrace: allocating 37057 entries in 73 pages [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 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.000012] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000029] Switching to timer-based delay loop, resolution 41ns [ 0.000373] Console: colour dummy device 80x30 [ 0.000396] console [tty1] enabled [ 0.000440] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.000459] pid_max: default: 32768 minimum: 301 [ 0.000801] Security Framework initialized [ 0.000817] AppArmor: AppArmor disabled by boot time parameter [ 0.000921] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000937] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.002299] CPU: Testing write buffer coherency: ok [ 0.002913] /cpus/cpu@0 missing clock-frequency property [ 0.002955] /cpus/cpu@1 missing clock-frequency property [ 0.002993] /cpus/cpu@2 missing clock-frequency property [ 0.003034] /cpus/cpu@3 missing clock-frequency property [ 0.003053] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.003734] Setting up static identity map for 0x40100000 - 0x40100054 [ 0.003943] Hierarchical SRCU implementation. [ 0.005318] smp: Bringing up secondary CPUs ... [ 0.016478] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.027807] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.039043] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.039206] smp: Brought up 1 node, 4 CPUs [ 0.039220] SMP: Total of 4 processors activated (192.00 BogoMIPS). [ 0.039227] CPU: All CPU(s) started in HYP mode. [ 0.039232] CPU: Virtualization extensions available. [ 0.040899] devtmpfs: initialized [ 0.054631] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.055027] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.055054] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 0.059932] xor: measuring software checksum speed [ 0.158902] arm4regs : 598.000 MB/sec [ 0.259024] 8regs : 356.400 MB/sec [ 0.359150] 32regs : 364.800 MB/sec [ 0.459273] neon : 605.600 MB/sec [ 0.459281] xor: using function: neon (605.600 MB/sec) [ 0.459422] pinctrl core: initialized pinctrl subsystem [ 0.460931] NET: Registered protocol family 16 [ 0.465200] DMA: preallocated 2048 KiB pool for atomic coherent allocations [ 0.466693] cpuidle: using governor ladder [ 0.466755] cpuidle: using governor menu [ 0.468559] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.468568] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.660280] raid6: int32x1 gen() 90 MB/s [ 0.830198] raid6: int32x1 xor() 76 MB/s [ 1.000165] raid6: int32x2 gen() 121 MB/s [ 1.170323] raid6: int32x2 xor() 92 MB/s [ 1.340411] raid6: int32x4 gen() 123 MB/s [ 1.510803] raid6: int32x4 xor() 91 MB/s [ 1.681264] raid6: int32x8 gen() 117 MB/s [ 1.851296] raid6: int32x8 xor() 82 MB/s [ 2.021255] raid6: neonx1 gen() 235 MB/s [ 2.191378] raid6: neonx1 xor() 219 MB/s [ 2.361589] raid6: neonx2 gen() 316 MB/s [ 2.531771] raid6: neonx2 xor() 283 MB/s [ 2.702032] raid6: neonx4 gen() 380 MB/s [ 2.872067] raid6: neonx4 xor() 318 MB/s [ 3.042414] raid6: neonx8 gen() 341 MB/s [ 3.212473] raid6: neonx8 xor() 288 MB/s [ 3.212480] raid6: using algorithm neonx4 gen() 380 MB/s [ 3.212486] raid6: .... xor() 318 MB/s, rmw enabled [ 3.212493] raid6: using neon recovery algorithm [ 3.215360] SCSI subsystem initialized [ 3.215725] libata version 3.00 loaded. [ 3.216076] usbcore: registered new interface driver usbfs [ 3.216150] usbcore: registered new interface driver hub [ 3.216277] usbcore: registered new device driver usb [ 3.216584] media: Linux media interface: v0.10 [ 3.216637] Linux video capture interface: v2.00 [ 3.216750] pps_core: LinuxPPS API ver. 1 registered [ 3.216758] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 3.216786] PTP clock support registered [ 3.219301] clocksource: Switched to clocksource arch_sys_counter [ 3.403126] VFS: Disk quotas dquot_6.6.0 [ 3.403270] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 3.417793] NET: Registered protocol family 2 [ 3.418920] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 3.419016] TCP bind hash table entries: 4096 (order: 3, 32768 bytes) [ 3.419137] TCP: Hash tables configured (established 4096 bind 4096) [ 3.419353] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 3.419412] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 3.419761] NET: Registered protocol family 1 [ 3.420511] RPC: Registered named UNIX socket transport module. [ 3.420521] RPC: Registered udp transport module. [ 3.420527] RPC: Registered tcp transport module. [ 3.420533] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 3.420945] Trying to unpack rootfs image as initramfs... [ 4.368901] Freeing initrd memory: 8124K [ 4.371777] audit: initializing netlink subsys (disabled) [ 4.372168] audit: type=2000 audit(4.350:1): state=initialized audit_enabled=0 res=1 [ 4.372534] Initialise system trusted keyrings [ 4.372820] workingset: timestamp_bits=14 max_order=17 bucket_order=3 [ 4.382395] zbud: loaded [ 4.386459] NFS: Registering the id_resolver key type [ 4.386498] Key type id_resolver registered [ 4.386505] Key type id_legacy registered [ 4.386527] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 4.386534] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 4.388227] JFS: nTxBlock = 3938, nTxLock = 31508 [ 4.396257] SGI XFS with ACLs, security attributes, realtime, no debug enabled [ 4.410070] Key type asymmetric registered [ 4.410224] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 4.410453] io scheduler noop registered [ 4.410462] io scheduler deadline registered [ 4.410978] io scheduler cfq registered (default) [ 4.410988] io scheduler mq-deadline registered [ 4.410996] io scheduler kyber registered [ 4.411239] io scheduler bfq registered [ 4.412963] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO [ 4.419831] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver [ 4.422511] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver [ 4.513192] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 4.518674] console [ttyS0] disabled [ 4.538920] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 37, base_baud = 1500000) is a U6_16550A [ 4.539010] console [ttyS0] enabled [ 4.539286] NOHZ: local_softirq_pending 80 [ 4.545436] brd: module loaded [ 4.555069] loop: module loaded [ 4.557782] libphy: Fixed MDIO Bus: probed [ 4.558650] dwmac-sun8i 1c30000.ethernet: PTP uses main clock [ 4.558724] dwmac-sun8i 1c30000.ethernet: No regulator found [ 4.558913] dwmac-sun8i 1c30000.ethernet: Chain mode enabled [ 4.558926] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported [ 4.558937] dwmac-sun8i 1c30000.ethernet: Normal descriptors [ 4.558949] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported [ 4.558960] dwmac-sun8i 1c30000.ethernet: COE Type 2 [ 4.558971] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported [ 4.559154] libphy: stmmac: probed [ 4.560031] dwmac-sun8i 1c30000.ethernet: Found internal PHY node [ 4.560178] libphy: mdio_mux: probed [ 4.560213] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY [ 4.560226] dwmac-sun8i 1c30000.ethernet: Powering internal PHY [ 4.569620] libphy: mdio_mux: probed [ 4.570436] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.570444] ehci-platform: EHCI generic platform driver [ 4.570798] ehci-platform 1c1a000.usb: EHCI Host Controller [ 4.570847] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1 [ 4.572242] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000 [ 4.599345] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00 [ 4.599851] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 4.599866] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.599878] usb usb1: Product: EHCI Host Controller [ 4.599890] usb usb1: Manufacturer: Linux 4.14.70-sunxi ehci_hcd [ 4.599901] usb usb1: SerialNumber: 1c1a000.usb [ 4.600952] hub 1-0:1.0: USB hub found [ 4.601041] hub 1-0:1.0: 1 port detected [ 4.602255] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 4.602292] ohci-platform: OHCI generic platform driver [ 4.602625] ohci-platform 1c1a400.usb: Generic Platform OHCI controller [ 4.602665] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2 [ 4.603030] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400 [ 4.673760] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001 [ 4.673775] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.673786] usb usb2: Product: Generic Platform OHCI controller [ 4.673798] usb usb2: Manufacturer: Linux 4.14.70-sunxi ohci_hcd [ 4.673809] usb usb2: SerialNumber: 1c1a400.usb [ 4.674671] hub 2-0:1.0: USB hub found [ 4.674760] hub 2-0:1.0: 1 port detected [ 4.676040] usbcore: registered new interface driver usb-storage [ 4.677037] mousedev: PS/2 mouse device common for all mice [ 4.677875] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0 [ 4.677888] sun6i-rtc 1f00000.rtc: RTC enabled [ 4.678236] i2c /dev entries driver [ 4.681255] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 4.683612] sunxi-mmc 1c0f000.mmc: Got CD GPIO [ 4.739342] sunxi-mmc 1c0f000.mmc: base:0xe0ba3000 irq:23 [ 4.742916] ledtrig-cpu: registered to indicate activity on CPUs [ 4.743038] hidraw: raw HID events driver (C) Jiri Kosina [ 4.743270] usbcore: registered new interface driver usbhid [ 4.743277] usbhid: USB HID core driver [ 4.745044] NET: Registered protocol family 10 [ 4.777187] Segment Routing with IPv6 [ 4.777351] NET: Registered protocol family 17 [ 4.777688] Key type dns_resolver registered [ 4.778485] Registering SWP/SWPB emulation handler [ 4.779689] registered taskstats version 1 [ 4.779698] Loading compiled-in X.509 certificates [ 4.779845] zswap: loaded using pool lzo/zbud [ 4.782872] Btrfs loaded, crc32c=crc32c-generic [ 4.786631] mmc0: host does not support reading read-only switch, assuming write-enable [ 4.788624] mmc0: new high speed SDHC card at address 0001 [ 4.789818] mmcblk0: mmc0:0001 EB1QT 29.8 GiB [ 4.791484] mmcblk0: p1 [ 4.800100] Key type encrypted registered [ 4.813809] ehci-platform 1c1c000.usb: EHCI Host Controller [ 4.813864] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 3 [ 4.814802] ehci-platform 1c1c000.usb: irq 28, io mem 0x01c1c000 [ 4.839340] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00 [ 4.839786] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002 [ 4.839802] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.839815] usb usb3: Product: EHCI Host Controller [ 4.839826] usb usb3: Manufacturer: Linux 4.14.70-sunxi ehci_hcd [ 4.839837] usb usb3: SerialNumber: 1c1c000.usb [ 4.840840] hub 3-0:1.0: USB hub found [ 4.840917] hub 3-0:1.0: 1 port detected [ 4.842226] ehci-platform 1c1d000.usb: EHCI Host Controller [ 4.842281] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 4 [ 4.842731] ehci-platform 1c1d000.usb: irq 30, io mem 0x01c1d000 [ 4.869323] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00 [ 4.869703] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002 [ 4.869718] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.869730] usb usb4: Product: EHCI Host Controller [ 4.869742] usb usb4: Manufacturer: Linux 4.14.70-sunxi ehci_hcd [ 4.869753] usb usb4: SerialNumber: 1c1d000.usb [ 4.870650] hub 4-0:1.0: USB hub found [ 4.870734] hub 4-0:1.0: 1 port detected [ 4.871945] ohci-platform 1c1c400.usb: Generic Platform OHCI controller [ 4.871987] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 5 [ 4.872358] ohci-platform 1c1c400.usb: irq 29, io mem 0x01c1c400 [ 4.943668] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001 [ 4.943683] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.943694] usb usb5: Product: Generic Platform OHCI controller [ 4.943706] usb usb5: Manufacturer: Linux 4.14.70-sunxi ohci_hcd [ 4.943717] usb usb5: SerialNumber: 1c1c400.usb [ 4.944557] hub 5-0:1.0: USB hub found [ 4.944627] hub 5-0:1.0: 1 port detected [ 4.945804] ohci-platform 1c1d400.usb: Generic Platform OHCI controller [ 4.945844] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 6 [ 4.946204] ohci-platform 1c1d400.usb: irq 31, io mem 0x01c1d400 [ 5.013620] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001 [ 5.013636] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 5.013647] usb usb6: Product: Generic Platform OHCI controller [ 5.013659] usb usb6: Manufacturer: Linux 4.14.70-sunxi ohci_hcd [ 5.013670] usb usb6: SerialNumber: 1c1d400.usb [ 5.014471] hub 6-0:1.0: USB hub found [ 5.014538] hub 6-0:1.0: 1 port detected [ 5.015795] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator [ 5.019494] core: _opp_supported_by_regulators: OPP minuV: 1320000 maxuV: 1320000, not supported by regulator [ 5.019514] cpu cpu0: _opp_add: OPP not supported by regulators (1296000000) [ 5.020143] thermal thermal_zone0: binding zone cpu-thermal with cdev thermal-cpufreq-0 failed:-17 [ 5.024641] of_cfs_init [ 5.024731] of_cfs_init: OK [ 5.024864] vdd-cpux-dummy: disabling [ 5.024869] vcc3v0: disabling [ 5.024874] vcc5v0: disabling [ 5.024877] vcc-wifi: disabling [ 5.027843] Freeing unused kernel memory: 1024K [ 5.209370] usb 3-1: new high-speed USB device number 2 using ehci-platform [ 5.239365] usb 4-1: new high-speed USB device number 2 using ehci-platform [ 5.412359] usb 3-1: New USB device found, idVendor=152d, idProduct=0578 [ 5.412371] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 5.412375] usb 3-1: Product: External Disk 3.0 [ 5.412380] usb 3-1: Manufacturer: JMicron [ 5.412385] usb 3-1: SerialNumber: 0000000049D5 [ 5.422120] scsi host0: uas [ 5.423887] scsi 0:0:0:0: Direct-Access JMicron Tech 0227 PQ: 0 ANSI: 6 [ 5.426120] sd 0:0:0:0: [sda] Unit Not Ready [ 5.426134] sd 0:0:0:0: [sda] Sense Key : 0x4 [current] [ 5.426141] sd 0:0:0:0: [sda] ASC=0x44 <<vendor>>ASCQ=0x81 [ 5.426516] sd 0:0:0:0: Attached scsi generic sg0 type 0 [ 5.426896] sd 0:0:0:0: [sda] Read Capacity(16) failed: Result: hostbyte=0x00 driverbyte=0x08 [ 5.426906] sd 0:0:0:0: [sda] Sense Key : 0x4 [current] [ 5.426914] sd 0:0:0:0: [sda] ASC=0x44 <<vendor>>ASCQ=0x81 [ 5.427761] usbcore: registered new interface driver uas [ 5.427903] sd 0:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=0x00 driverbyte=0x08 [ 5.427912] sd 0:0:0:0: [sda] Sense Key : 0x4 [current] [ 5.427920] sd 0:0:0:0: [sda] ASC=0x44 <<vendor>>ASCQ=0x81 [ 5.429025] sd 0:0:0:0: [sda] 0 512-byte logical blocks: (0 B/0 B) [ 5.429035] sd 0:0:0:0: [sda] 0-byte physical blocks [ 5.431784] sd 0:0:0:0: [sda] Test WP failed, assume Write Enabled [ 5.432000] sd 0:0:0:0: [sda] Asking for cache data failed [ 5.432008] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 5.434377] sd 0:0:0:0: [sda] Unit Not Ready [ 5.434392] sd 0:0:0:0: [sda] Sense Key : 0x4 [current] [ 5.434401] sd 0:0:0:0: [sda] ASC=0x44 <<vendor>>ASCQ=0x81 [ 5.435109] sd 0:0:0:0: [sda] Read Capacity(16) failed: Result: hostbyte=0x00 driverbyte=0x08 [ 5.435120] sd 0:0:0:0: [sda] Sense Key : 0x4 [current] [ 5.435128] sd 0:0:0:0: [sda] ASC=0x44 <<vendor>>ASCQ=0x81 [ 5.435607] sd 0:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=0x00 driverbyte=0x08 [ 5.435615] sd 0:0:0:0: [sda] Sense Key : 0x4 [current] [ 5.435623] sd 0:0:0:0: [sda] ASC=0x44 <<vendor>>ASCQ=0x81 [ 5.438109] sd 0:0:0:0: [sda] Attached SCSI disk [ 5.440030] usb 4-1: New USB device found, idVendor=1a40, idProduct=0101 [ 5.440041] usb 4-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 5.440047] usb 4-1: Product: USB 2.0 Hub [ 5.440864] hub 4-1:1.0: USB hub found [ 5.441040] hub 4-1:1.0: 4 ports detected [ 5.712700] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq [ 5.783493] random: fast init done [ 5.929379] sunxi-mmc 1c10000.mmc: base:0xe0c29000 irq:24 [ 5.948335] mmc1: new high speed SDIO card at address 0001 [ 6.399306] NOHZ: local_softirq_pending 80 [ 6.417000] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null) [ 6.459321] NOHZ: local_softirq_pending 80 [ 6.969300] NOHZ: local_softirq_pending 80 [ 7.071856] systemd[1]: System time before build time, advancing clock. [ 7.117699] ip_tables: (C) 2000-2006 Netfilter Core Team [ 7.144710] systemd[1]: systemd 237 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid) [ 7.145402] systemd[1]: Detected architecture arm. [ 7.193945] systemd[1]: Set hostname to <nanopiduo>. [ 7.798777] random: systemd: uninitialized urandom read (16 bytes read) [ 7.800252] systemd[1]: Created slice User and Session Slice. [ 7.829704] random: systemd: uninitialized urandom read (16 bytes read) [ 7.830859] systemd[1]: Created slice System Slice. [ 7.861481] random: systemd: uninitialized urandom read (16 bytes read) [ 7.862213] systemd[1]: Listening on udev Control Socket. [ 7.893027] systemd[1]: Listening on fsck to fsckd communication Socket. [ 7.920077] systemd[1]: Listening on Syslog Socket. [ 7.949989] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ 7.979870] systemd[1]: Reached target Remote File Systems. [ 8.392843] g_serial gadget: Gadget Serial v2.4 [ 8.392855] g_serial gadget: g_serial ready [ 8.469314] NOHZ: local_softirq_pending 80 [ 8.545290] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro [ 8.619328] NOHZ: local_softirq_pending 80 [ 8.659326] NOHZ: local_softirq_pending 80 [ 8.759333] NOHZ: local_softirq_pending 80 [ 9.704768] systemd-journald[265]: Received request to flush runtime journal from PID 1 [ 9.805407] thermal thermal_zone0: failed to read out thermal zone (-110) [ 10.375329] xradio_wlan mmc1:0001:1: missed interrupt [ 10.375429] xradio_wlan mmc1:0001:1: Input buffers: 30 x 1632 bytes Hardware: 7.9 WSM firmware ver: 8, build: 43, api: 1060, cap: 0x0003 [ 10.375435] xradio_wlan mmc1:0001:1: Firmware Label:XR_C01.08.0043 Jun 6 2016 20:41:04 [ 10.376436] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 10.809461] thermal thermal_zone0: failed to read out thermal zone (-110) [ 11.209344] NOHZ: local_softirq_pending 80 [ 11.249320] NOHZ: local_softirq_pending 80 [ 11.840398] random: crng init done [ 11.840407] random: 7 urandom warning(s) missed due to ratelimiting [ 11.859332] thermal thermal_zone0: failed to read out thermal zone (-110) [ 14.268571] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 14.268878] dwmac-sun8i 1c30000.ethernet eth0: device MAC address 1e:14:22:6a:26:5c [ 14.269673] Generic PHY 0.1:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0.1:01, irq=POLL) [ 14.284938] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available [ 14.284957] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW [ 14.285681] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 14.332342] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 14.333035] ieee80211 phy0: Interface ID:0 of type:2 added [ 14.333394] ieee80211 phy0: vif 0, configuring tx [ 14.333623] ieee80211 phy0: vif 0, configuring tx [ 14.333850] ieee80211 phy0: vif 0, configuring tx [ 14.334096] ieee80211 phy0: vif 0, configuring tx [ 14.334339] ieee80211 phy0: ignore IEEE80211_CONF_CHANGE_MONITOR (1)IEEE80211_CONF_CHANGE_IDLE (1) [ 14.335232] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 14.604159] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 17.370206] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off [ 17.370308] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Diff: Spoiler @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm 4.14.18 Kernel Configuration +# Linux/arm 4.14.65 Kernel Configuration # CONFIG_ARM=y CONFIG_ARM_HAS_SG_CHAIN=y @@ -535,7 +535,7 @@ # CONFIG_VMSPLIT_2G is not set # CONFIG_VMSPLIT_1G is not set CONFIG_PAGE_OFFSET=0xC0000000 -CONFIG_NR_CPUS=4 +CONFIG_NR_CPUS=8 CONFIG_HOTPLUG_CPU=y CONFIG_ARM_PSCI=y CONFIG_ARCH_NR_GPIO=416 @@ -543,13 +543,13 @@ # CONFIG_PREEMPT_VOLUNTARY is not set # CONFIG_PREEMPT is not set CONFIG_HZ_FIXED=0 -CONFIG_HZ_100=y +# CONFIG_HZ_100 is not set # CONFIG_HZ_200 is not set # CONFIG_HZ_250 is not set # CONFIG_HZ_300 is not set # CONFIG_HZ_500 is not set -# CONFIG_HZ_1000 is not set -CONFIG_HZ=100 +CONFIG_HZ_1000=y +CONFIG_HZ=1000 CONFIG_SCHED_HRTICK=y CONFIG_THUMB2_KERNEL=y CONFIG_THUMB2_AVOID_R_ARM_THM_JUMP11=y @@ -1123,6 +1123,9 @@ CONFIG_NF_SOCKET_IPV6=y CONFIG_NF_TABLES_IPV6=m CONFIG_NFT_CHAIN_ROUTE_IPV6=m +CONFIG_NFT_CHAIN_NAT_IPV6=m +CONFIG_NFT_MASQ_IPV6=m +CONFIG_NFT_REDIR_IPV6=m CONFIG_NFT_REJECT_IPV6=m CONFIG_NFT_DUP_IPV6=m CONFIG_NFT_FIB_IPV6=m @@ -1130,10 +1133,7 @@ CONFIG_NF_REJECT_IPV6=m CONFIG_NF_LOG_IPV6=m CONFIG_NF_NAT_IPV6=m -CONFIG_NFT_CHAIN_NAT_IPV6=m CONFIG_NF_NAT_MASQUERADE_IPV6=m -CONFIG_NFT_MASQ_IPV6=m -CONFIG_NFT_REDIR_IPV6=m CONFIG_IP6_NF_IPTABLES=m CONFIG_IP6_NF_MATCH_AH=m CONFIG_IP6_NF_MATCH_EUI64=m @@ -2881,7 +2881,7 @@ CONFIG_POWER_RESET=y # CONFIG_POWER_RESET_BRCMKONA is not set # CONFIG_POWER_RESET_BRCMSTB is not set -# CONFIG_POWER_RESET_GPIO is not set +CONFIG_POWER_RESET_GPIO=y # CONFIG_POWER_RESET_GPIO_RESTART is not set # CONFIG_POWER_RESET_LTC2952 is not set # CONFIG_POWER_RESET_RESTART is not set @@ -3091,7 +3091,8 @@ # # Watchdog Device Drivers # -# CONFIG_SOFT_WATCHDOG is not set +CONFIG_SOFT_WATCHDOG=m +# CONFIG_SOFT_WATCHDOG_PRETIMEOUT is not set CONFIG_GPIO_WATCHDOG=m # CONFIG_XILINX_WATCHDOG is not set # CONFIG_ZIIRAVE_WATCHDOG is not set @@ -4094,6 +4095,7 @@ CONFIG_SND_PCM_IEC958=y CONFIG_SND_DMAENGINE_PCM=m CONFIG_SND_HWDEP=m +CONFIG_SND_SEQ_DEVICE=m CONFIG_SND_RAWMIDI=m CONFIG_SND_JACK=y CONFIG_SND_JACK_INPUT_DEV=y @@ -4107,12 +4109,17 @@ # CONFIG_SND_VERBOSE_PRINTK is not set # CONFIG_SND_DEBUG is not set CONFIG_SND_VMASTER=y -# CONFIG_SND_SEQUENCER is not set +CONFIG_SND_SEQUENCER=m +CONFIG_SND_SEQ_DUMMY=m +CONFIG_SND_SEQ_MIDI_EVENT=m +CONFIG_SND_SEQ_MIDI=m +CONFIG_SND_SEQ_VIRMIDI=m # CONFIG_SND_OPL3_LIB_SEQ is not set # CONFIG_SND_OPL4_LIB_SEQ is not set CONFIG_SND_DRIVERS=y CONFIG_SND_DUMMY=m CONFIG_SND_ALOOP=m +CONFIG_SND_VIRMIDI=m # CONFIG_SND_MTPAV is not set # CONFIG_SND_MTS64 is not set # CONFIG_SND_SERIAL_U16550 is not set @@ -5895,11 +5902,11 @@ CONFIG_SQUASHFS_FILE_CACHE=y # CONFIG_SQUASHFS_FILE_DIRECT is not set # CONFIG_SQUASHFS_DECOMP_SINGLE is not set -CONFIG_SQUASHFS_DECOMP_MULTI=y -# CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU is not set +# CONFIG_SQUASHFS_DECOMP_MULTI is not set +CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU=y CONFIG_SQUASHFS_XATTR=y CONFIG_SQUASHFS_ZLIB=y -# CONFIG_SQUASHFS_LZ4 is not set +CONFIG_SQUASHFS_LZ4=y CONFIG_SQUASHFS_LZO=y CONFIG_SQUASHFS_XZ=y CONFIG_SQUASHFS_ZSTD=y @@ -5974,18 +5981,19 @@ CONFIG_RPCSEC_GSS_KRB5=m # CONFIG_SUNRPC_DEBUG is not set CONFIG_CEPH_FS=m -# CONFIG_CEPH_FSCACHE is not set -# CONFIG_CEPH_FS_POSIX_ACL is not set +CONFIG_CEPH_FSCACHE=y +CONFIG_CEPH_FS_POSIX_ACL=y CONFIG_CIFS=m -# CONFIG_CIFS_STATS is not set +CONFIG_CIFS_STATS=y +# CONFIG_CIFS_STATS2 is not set # CONFIG_CIFS_WEAK_PW_HASH is not set -# CONFIG_CIFS_UPCALL is not set +CONFIG_CIFS_UPCALL=y CONFIG_CIFS_XATTR=y CONFIG_CIFS_POSIX=y CONFIG_CIFS_ACL=y # CONFIG_CIFS_DEBUG is not set # CONFIG_CIFS_DFS_UPCALL is not set -# CONFIG_CIFS_SMB311 is not set +CONFIG_CIFS_SMB311=y CONFIG_CIFS_FSCACHE=y # CONFIG_NCP_FS is not set # CONFIG_CODA_FS is not set @@ -6352,7 +6360,7 @@ # # Hash modes # -CONFIG_CRYPTO_CMAC=y +CONFIG_CRYPTO_CMAC=m CONFIG_CRYPTO_HMAC=y CONFIG_CRYPTO_XCBC=m CONFIG_CRYPTO_VMAC=m
sgjava Posted September 16, 2018 Author Posted September 16, 2018 @Igor It worked with beta using 4.17 kernel (Linux nanopiduo 4.17.3-sunxi #28 SMP Sat Jun 30 21:45:31 UTC 2018 armv7l armv7l armv7l GNU/Linux). Don't remember what version it came with or if I updated the kernel.
Igor Posted September 17, 2018 Posted September 17, 2018 Fixed with this commit for NEXT, stable builds. DEV (4.18.y) has other problems and there is no rush to fix it there, https://github.com/armbian/build/commit/acf84bac596c6110d87f7e92389ecd05fb42ce64 Images at the download section were also fixed. 1
sgjava Posted September 17, 2018 Author Posted September 17, 2018 Cool, thanks @Igor I'll check out the new build tonight when I get home and report results here.
fehernyul Posted September 17, 2018 Posted September 17, 2018 2 hours ago, Igor said: Fixed with this commit for NEXT, stable builds. DEV (4.18.y) has other problems and there is no rush to fix it there, https://github.com/armbian/build/commit/acf84bac596c6110d87f7e92389ecd05fb42ce64 Images at the download section were also fixed. Hi @Igor wifi works OOB now on my nanopi-duo! I downloaded image recently, after I saw your message about commit -> Armbian_5.59_Nanopiduo_Ubuntu_bionic_next_4.14.70.img First boot with USB cable connected to host laptop, I use nanopi-duo without additional board(s), standalone. On host laptop (dmesg -w): [ 1321.806363] usb 3-1: new high-speed USB device number 4 using xhci_hcd [ 1321.954823] usb 3-1: New USB device found, idVendor=0525, idProduct=a4a7 [ 1321.954828] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 1321.954831] usb 3-1: Product: Gadget Serial v2.4 [ 1321.954834] usb 3-1: Manufacturer: Linux 4.14.70-sunxi with musb-hdrc [ 1321.955533] cdc_acm 3-1:2.0: ttyACM3: USB ACM device On host laptop: sudo minicom -b 115200 -D /dev/ttyACM3 Welcome to minicom 2.7.1 OPTIONS: I18n Compiled on Aug 13 2017, 15:25:34. Port /dev/ttyACM3, 16:50:32 Press CTRL-A Z for help on special keys Ubuntu 18.04.1 LTS nanopiduo ttyGS0 nanopiduo login: root Password: You are required to change your password immediately (root enforced) Changing password for root. (current) UNIX password: On nanopi-duo: root@nanopiduo:~# uname -a Linux nanopiduo 4.14.70-sunxi #240 SMP Mon Sep 17 13:32:31 CEST 2018 armv7l armv7l armv7l GNU/Linux root@nanopiduo:~# lsmod Module Size Used by lz4hc 16384 4 lz4hc_compress 24576 1 lz4hc zram 24576 5 xradio_wlan 94208 1 mac80211 446464 1 xradio_wlan cfg80211 376832 2 mac80211,xradio_wlan sun8i_codec_analog 24576 0 rfkill 20480 3 cfg80211 snd_soc_core 118784 1 sun8i_codec_analog snd_pcm_dmaengine 16384 1 snd_soc_core snd_pcm 65536 2 snd_pcm_dmaengine,snd_soc_core snd_timer 24576 1 snd_pcm snd 45056 3 snd_timer,snd_soc_core,snd_pcm soundcore 16384 1 snd sun4i_gpadc_iio 16384 0 uio_pdrv_genirq 16384 0 uio 16384 1 uio_pdrv_genirq sch_fq_codel 20480 6 usb_f_acm 16384 1 u_serial 20480 3 usb_f_acm g_serial 16384 0 libcomposite 40960 2 g_serial,usb_f_acm ip_tables 20480 0 x_tables 20480 1 ip_tables pwrseq_simple 16384 1 It's there, xradio_wlan and used! :-) root@nanopiduo:~# nmcli r WIFI-HW WIFI WWAN-HW WWAN enabled enabled enabled enabled Onboard wifi hardware is operating. root@nanopiduo:~# nmcli dev DEVICE TYPE STATE CONNECTION wlan0 wifi disconnected -- eth0 ethernet unavailable -- lo loopback unmanaged -- root@nanopiduo:~# nmcli device wifi list IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY UPC Wi-Free Infra 9 130 Mbit/s 27 * WPA1 WPA2 802.1X UPC Wi-Free Infra 1 130 Mbit/s 9 * WPA2 802.1X 1
sgjava Posted September 18, 2018 Author Posted September 18, 2018 @Igor, thanks again. I used armbian-config to set up the wifi via serial. Do you have an idea when you'll have the dev kernel working? The only reason I'm asking is >= 4.16 allows PWM in user space. Linux nanopiduo 4.14.70-sunxi #240 SMP Mon Sep 17 13:32:31 CEST 2018 armv7l armv7l armv7l GNU/Linux
Recommended Posts