Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hardware support from mtda for nanopi R1 #105

Closed
GuBi34 opened this issue Dec 10, 2021 · 22 comments
Closed

Hardware support from mtda for nanopi R1 #105

GuBi34 opened this issue Dec 10, 2021 · 22 comments
Assignees
Milestone

Comments

@GuBi34
Copy link
Contributor

GuBi34 commented Dec 10, 2021

Can mtda support the FriendlyArm NanoPi R1?

Rational:

It would be benificial for us to instrument the test device as well with the network environment (dhcp / fixed IP / gateway / proxy ...). This will allow us to call some device APIs from the test dispatcher as well without the need to have a parallel configuration of switches and routers.

As well more than one USB port would be helpful to avoid USB HUBs.

Looking for WiFi devices a local Hot Spot will be a help.

The nanopi R1 seems to fit well. It is thought as minirouter and comes with nice housing options.

https://www.friendlyarm.com/index.php?route=product/product&path=69&product_id=248

@chombourger
Copy link
Collaborator

The Debian kernel does not seem to be shipping sun8i-h3-nanopi-r1.dts (at first glance)

@chombourger
Copy link
Collaborator

It does not seem to exist in 5.10 but may be there in 5.11 (see https://elixir.bootlin.com/linux/v5.11/source/arch/arm/boot/dts/sun8i-h3-nanopi-r1.dts)

@chombourger
Copy link
Collaborator

so maybe we could pull the kernel from bullseye-backports so we get 5.14
https://packages.debian.org/bullseye-backports/linux-image-armmp

@GuBi34
Copy link
Contributor Author

GuBi34 commented Dec 20, 2021

@chombourger I just made it to install FriendlyWRT on the device. Since I have now root login I may scan the hardware for you (possibly).

This is what I see at a first glance

uname -a
Linux FriendlyWrt 4.14.111 #1 SMP Tue May 11 18:37:06 CST 2021 armv7l GNU/Linux

chombourger added a commit to chombourger/mtda that referenced this issue Dec 20, 2021
@chombourger
Copy link
Collaborator

Hallo @GuBi34, See if #112 helps

The image I built still boots on the nanopi NEO but it now comes with a 5.14 kernel and has the following dtb files:

  • sun8i-h3-nanopi-duo2.dtb
  • sun8i-h3-nanopi-m1-plus.dtb
  • sun8i-h3-nanopi-neo.dtb
  • sun8i-h3-nanopi-m1.dtb
  • sun8i-h3-nanopi-neo-air.dtb
  • sun8i-h3-nanopi-r1.dtb

The u-boot environment of your r1 should have fdtfile set to sun8i-h3-nanopi-r1.dtb. The image should hopefully load without needing any tweaks.

I can provide the image I have built if you'd like.

@chombourger chombourger self-assigned this Dec 20, 2021
chombourger added a commit to chombourger/mtda that referenced this issue Dec 22, 2021
@chombourger chombourger added this to the 0.15 milestone Dec 22, 2021
@chombourger
Copy link
Collaborator

assigned this issue to 0.15 since we do not have this hardware yet. We will check if we can purchase some in January (hardware donations are always an option and appreciated, simply reach out if you would like to donate to the project).

@chombourger
Copy link
Collaborator

issue #40 will become relevant as soon as we have support for the NanoPI R1. The agent would receive APIs to control the Wi-Fi interface: e.g. make ourselves an Access Point

@chombourger
Copy link
Collaborator

Various logs provided by Gunther

Boot FriendlyElec (Ubuntu core with U-Boot) on NanoPi-Neo

U-Boot SPL 2017.11 (Jun 15 2021 - 10:49:36)
DRAM: 512 MiB(408MHz)
CPU Freq: 408MHz
memory test: 1
Pattern 55aa  Writing...Reading...OK
Trying to boot from MMC1
Boot device: sd


U-Boot 2017.11 (Jun 15 2021 - 10:49:36 +0800) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: FriendlyElec NanoPi H3
DRAM:  512 MiB
CPU Freq: 1008MHz
MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
BOARD: nanopi-neo
starting USB...
No controllers found
Hit any key to stop autoboot:  0
reading boot.scr
1478 bytes read in 19 ms (75.2 KiB/s)
## Executing script at 43100000
running boot.scr
reading uEnv.txt
969 bytes read in 18 ms (51.8 KiB/s)
reading zImage
5902784 bytes read in 291 ms (19.3 MiB/s)
reading rootfs.cpio.gz
5880768 bytes read in 291 ms (19.3 MiB/s)
reading sun8i-h3-nanopi-neo.dtb
34439 bytes read in 26 ms (1.3 MiB/s)
overlays=uart0
reading overlays/sun8i-h3-uart0.dtbo
508 bytes read in 27 ms (17.6 KiB/s)
applying overlay uart0...
reading overlays/sun8i-h3-fixup.scr
4109 bytes read in 36 ms (111.3 KiB/s)
## Executing script at 44500000
## Flattened Device Tree blob at 48000000
   Booting using the fdt blob at 0x48000000
   Loading Ramdisk to 49a64000, end 49fffbc0 ... OK
   reserving fdt memory region: addr=48000000 size=6e000
   Loading Device Tree to 499f3000, end 49a63fff ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.111 (root@ubuntu) (gcc version 4.9.3 (ctng-1.21.0-229g-FA)) #193 SMP Thu Jun 10 18:20:47 CST 2021
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=30c5387d
[    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: FriendlyElec NanoPi-NEO
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x000000005bc00000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] percpu: Embedded 17 pages/cpu @dff5b000 s37120 r8192 d24320 u69632
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait fsck.repair=yes panic=10 fbcon=map:0  data=/dev/mmcblk0p3 snd-soc-core.pmdown_time=3600000
[    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] Memory: 429860K/524288K available (10240K kernel code, 391K rwdata, 2080K rodata, 2048K init, 303K bss, 28892K reserved, 65536K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0c00000   (12256 kB)
[    0.000000]       .init : 0xc1000000 - 0xc1200000   (2048 kB)
[    0.000000]       .data : 0xc1200000 - 0xc1261f00   ( 392 kB)
[    0.000000]        .bss : 0xc126a884 - 0xc12b6850   ( 304 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    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.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000018] Switching to timer-based delay loop, resolution 41ns
[    0.000216] Console: colour dummy device 80x30
[    0.000252] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=120000)
[    0.000267] pid_max: default: 32768 minimum: 301
[    0.000440] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000454] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001190] CPU: Testing write buffer coherency: ok
[    0.001659] CPU0: update cpu_capacity 1024
[    0.001670] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002039] Setting up static identity map for 0x40200000 - 0x40200060
[    0.002168] Hierarchical SRCU implementation.
[    0.002742] smp: Bringing up secondary CPUs ...
[    0.013533] CPU1: update cpu_capacity 1024
[    0.013540] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.024426] CPU2: update cpu_capacity 1024
[    0.024432] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.035221] CPU3: update cpu_capacity 1024
[    0.035227] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.035311] smp: Brought up 1 node, 4 CPUs
[    0.035339] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.035345] CPU: All CPU(s) started in HYP mode.
[    0.035350] CPU: Virtualization extensions available.
[    0.036082] devtmpfs: initialized
[    0.042974] random: get_random_u32 called from bucket_table_alloc+0xf0/0x240 with crng_init=0
[    0.043616] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.043899] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302231375000 ns
[    0.043923] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.046657] xor: measuring software checksum speed
[    0.095040]    arm4regs  :  1372.800 MB/sec
[    0.145096]    8regs     :   769.600 MB/sec
[    0.195151]    32regs    :   850.400 MB/sec
[    0.245209]    neon      :  1283.200 MB/sec
[    0.245217] xor: using function: arm4regs (1372.800 MB/sec)
[    0.245237] pinctrl core: initialized pinctrl subsystem
[    0.246246] NET: Registered protocol family 16
[    0.247935] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.248747] cpuidle: using governor ladder
[    0.248838] cpuidle: using governor menu
[    0.249270] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.249280] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.268298] SCSI subsystem initialized
[    0.268726] usbcore: registered new interface driver usbfs
[    0.268774] usbcore: registered new interface driver hub
[    0.268861] usbcore: registered new device driver usb
[    0.269032] media: Linux media interface: v0.10
[    0.269075] Linux video capture interface: v2.00
[    0.269207] pps_core: LinuxPPS API ver. 1 registered
[    0.269215] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.269234] PTP clock support registered
[    0.269541] Advanced Linux Sound Architecture Driver Initialized.
[    0.271214] clocksource: Switched to clocksource arch_sys_counter
[    0.271392] VFS: Disk quotas dquot_6.6.0
[    0.271470] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.271633] FS-Cache: Loaded
[    0.278943] NET: Registered protocol family 2
[    0.279579] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.279635] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.279698] TCP: Hash tables configured (established 4096 bind 4096)
[    0.279811] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.279853] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.280058] NET: Registered protocol family 1
[    0.280575] RPC: Registered named UNIX socket transport module.
[    0.280585] RPC: Registered udp transport module.
[    0.280591] RPC: Registered tcp transport module.
[    0.280596] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.280842] Unpacking initramfs...
[    0.578605] Freeing initrd memory: 5744K
[    0.579044] kvm [1]: 8-bit VMID
[    0.579745] kvm [1]: vgic interrupt IRQ16
[    0.579851] kvm [1]: Hyp mode initialized successfully
[    0.582836] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.587493] zbud: loaded
[    0.589055] FS-Cache: Netfs 'nfs' registered for caching
[    0.589587] NFS: Registering the id_resolver key type
[    0.589630] Key type id_resolver registered
[    0.589637] Key type id_legacy registered
[    0.589652] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.589669] Installing knfsd (copyright (C) 1996 [email protected]).
[    0.590610] fuse init (API version 7.26)
[    0.596018] async_tx: api initialized (async)
[    0.596159] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.596399] io scheduler noop registered (default)
[    0.596412] io scheduler deadline registered
[    0.596613] io scheduler cfq registered
[    0.596623] io scheduler mq-deadline registered
[    0.596749] io scheduler bfq registered
[    0.597431] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO, pinctrl may not init
[    0.601074] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.602663] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[    0.608076] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.609941] console [ttyS0] disabled
[    0.630156] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 44, base_baud = 1500000) is a U6_16550A
[    1.391103] console [ttyS0] enabled
[    1.417366] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 45, base_baud = 1500000) is a U6_16550A
[    1.448943] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 46, base_baud = 1500000) is a U6_16550A
[    1.480502] 1c28c00.serial: ttyS3 at MMIO 0x1c28c00 (irq = 47, base_baud = 1500000) is a U6_16550A
[    1.491716] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.498352] [drm] No driver support for vblank timestamp query.
[    1.513716] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc0c51b68)
[    1.520819] sun4i-drm display-engine: No panel or bridge found... RGB output disabled
[    1.528679] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0c5086c)
[    1.661310] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)
[    1.671184] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver
[    1.678915] sun4i-drm display-engine: bound 1ee0000.hdmi (ops 0xc0c51ee8)
[    1.685782] [drm] Cannot find any crtc or sizes - going 1920x1080
[    1.733239] Console: switching to colour frame buffer device 240x67
[    1.764117] sun4i-drm display-engine: fb0:  frame buffer device
[    1.770531] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.787424] loop: module loaded
[    1.807006] st: Version 20160209, fixed bufsize 32768, s/g segs 256
[    1.813395] osst :I: Tape driver with OnStream support version 0.99.4
[    1.813395] osst :I: $Id: osst.c,v 1.73 2005/01/01 21:13:34 wriede Exp $
[    1.826709] SCSI Media Changer driver v0.25
[    1.833024] libphy: Fixed MDIO Bus: probed
[    1.837173] tun: Universal TUN/TAP device driver, 1.6
[    1.842396] CAN device driver interface
[    1.846728] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    1.852528] dwmac-sun8i 1c30000.ethernet: No regulator found
[    1.858238] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[    1.864368] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    1.870039] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    1.877262] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    1.882926] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    1.890146] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    1.895115] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    1.902469] libphy: stmmac: probed
[    1.912027] PPP generic driver version 2.4.2
[    1.916560] PPP BSD Compression module registered
[    1.921277] PPP Deflate Compression module registered
[    1.926360] PPP MPPE Compression module registered
[    1.931146] NET: Registered protocol family 24
[    1.935701] usbcore: registered new interface driver qmi_wwan
[    1.941482] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.948014] ehci-platform: EHCI generic platform driver
[    1.953521] ehci-platform 1c1a000.usb: EHCI Host Controller
[    1.959153] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    1.967330] ehci-platform 1c1a000.usb: irq 28, io mem 0x01c1a000
[    1.986229] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    1.992525] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.999321] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.006546] usb usb1: Product: EHCI Host Controller
[    2.011426] usb usb1: Manufacturer: Linux 4.14.111 ehci_hcd
[    2.017002] usb usb1: SerialNumber: 1c1a000.usb
[    2.022079] hub 1-0:1.0: USB hub found
[    2.025858] hub 1-0:1.0: 1 port detected
[    2.030504] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.036732] ohci-platform: OHCI generic platform driver
[    2.042170] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    2.048812] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    2.056810] ohci-platform 1c1a400.usb: irq 29, io mem 0x01c1a400
[    2.125393] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    2.132203] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.139431] usb usb2: Product: Generic Platform OHCI controller
[    2.145354] usb usb2: Manufacturer: Linux 4.14.111 ohci_hcd
[    2.150931] usb usb2: SerialNumber: 1c1a400.usb
[    2.158325] hub 2-0:1.0: USB hub found
[    2.162121] hub 2-0:1.0: 1 port detected
[    2.166767] usbcore: registered new interface driver cdc_acm
[    2.172441] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    2.180489] usbcore: registered new interface driver usblp
[    2.186010] usbcore: registered new interface driver cdc_wdm
[    2.191718] usbcore: registered new interface driver uas
[    2.197121] usbcore: registered new interface driver usb-storage
[    2.203211] usbcore: registered new interface driver usbserial
[    2.209084] usbcore: registered new interface driver usbserial_generic
[    2.215640] usbserial: USB Serial support registered for generic
[    2.221678] usbcore: registered new interface driver option
[    2.227284] usbserial: USB Serial support registered for GSM modem (1-port)
[    2.234395] usbcore: registered new interface driver qcserial
[    2.240182] usbserial: USB Serial support registered for Qualcomm USB modem
[    2.247988] mousedev: PS/2 mouse device common for all mice
[    2.254061] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
[    2.260859] sun6i-rtc 1f00000.rtc: RTC enabled
[    2.265378] i2c /dev entries driver
[    2.270762] lirc_dev: IR Remote Control driver registered, major 244
[    2.277147] IR NEC protocol handler initialized
[    2.281685] IR RC5(x/sz) protocol handler initialized
[    2.286738] IR RC6 protocol handler initialized
[    2.291271] IR JVC protocol handler initialized
[    2.295794] IR Sony protocol handler initialized
[    2.300414] IR SANYO protocol handler initialized
[    2.305119] IR Sharp protocol handler initialized
[    2.309824] IR MCE Keyboard/mouse protocol handler initialized
[    2.315656] IR LIRC bridge handler initialized
[    2.320101] IR XMP protocol handler initialized
[    2.325467] thermal thermal_zone0: failed to read out thermal zone (-16)
[    2.332692] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    2.341000] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: [email protected]
[    2.391284] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    2.400257] ledtrig-cpu: registered to indicate activity on CPUs
[    2.408530] hidraw: raw HID events driver (C) Jiri Kosina
[    2.414106] usbcore: registered new interface driver usbhid
[    2.419702] usbhid: USB HID core driver
[    2.436619] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    2.446668] Initializing XFRM netlink socket
[    2.451545] NET: Registered protocol family 10
[    2.457177] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.470687] mmc0: new high speed SDHC card at address aaaa
[    2.473294] Segment Routing with IPv6
[    2.476760] mmcblk0: mmc0:aaaa SL16G 14.8 GiB
[    2.479973] NET: Registered protocol family 17
[    2.488776] NET: Registered protocol family 15
[    2.489283]  mmcblk0: p1 p2 p3
[    2.493231] can: controller area network core (rev 20170425 abi 9)
[    2.493331] NET: Registered protocol family 29
[    2.506928] can: raw protocol (rev 20170425)
[    2.511211] can: broadcast manager protocol (rev 20170425 t)
[    2.516907] can: netlink gateway (rev 20170425) max_hops=1
[    2.522904] Key type dns_resolver registered
[    2.527503] Registering SWP/SWPB emulation handler
[    2.533645] registered taskstats version 1
[    2.545963] Key type encrypted registered
[    2.555961] vcc1v2: supplied by vcc5v0
[    2.560066] vcc-dram: supplied by vcc5v0
[    2.564320] vdd-cpux-en: supplied by vcc5v0
[    2.570232] ehci-platform 1c1b000.usb: EHCI Host Controller
[    2.575868] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 3
[    2.584099] ehci-platform 1c1b000.usb: irq 30, io mem 0x01c1b000
[    2.601228] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[    2.607541] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    2.614338] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.621568] usb usb3: Product: EHCI Host Controller
[    2.626451] usb usb3: Manufacturer: Linux 4.14.111 ehci_hcd
[    2.632024] usb usb3: SerialNumber: 1c1b000.usb
[    2.637164] hub 3-0:1.0: USB hub found
[    2.640945] hub 3-0:1.0: 1 port detected
[    2.645590] ehci-platform 1c1c000.usb: EHCI Host Controller
[    2.651208] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 4
[    2.659287] ehci-platform 1c1c000.usb: irq 32, io mem 0x01c1c000
[    2.676229] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[    2.682477] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    2.689276] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.696501] usb usb4: Product: EHCI Host Controller
[    2.701383] usb usb4: Manufacturer: Linux 4.14.111 ehci_hcd
[    2.706957] usb usb4: SerialNumber: 1c1c000.usb
[    2.711970] hub 4-0:1.0: USB hub found
[    2.715746] hub 4-0:1.0: 1 port detected
[    2.720314] ehci-platform 1c1d000.usb: EHCI Host Controller
[    2.725922] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 5
[    2.733976] ehci-platform 1c1d000.usb: irq 34, io mem 0x01c1d000
[    2.751224] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00
[    2.757464] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
[    2.764259] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.771483] usb usb5: Product: EHCI Host Controller
[    2.776365] usb usb5: Manufacturer: Linux 4.14.111 ehci_hcd
[    2.781943] usb usb5: SerialNumber: 1c1d000.usb
[    2.786955] hub 5-0:1.0: USB hub found
[    2.790730] hub 5-0:1.0: 1 port detected
[    2.795312] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[    2.801966] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 6
[    2.809983] ohci-platform 1c1b400.usb: irq 31, io mem 0x01c1b400
[    2.875369] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
[    2.882173] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.889397] usb usb6: Product: Generic Platform OHCI controller
[    2.895319] usb usb6: Manufacturer: Linux 4.14.111 ohci_hcd
[    2.900896] usb usb6: SerialNumber: 1c1b400.usb
[    2.906255] hub 6-0:1.0: USB hub found
[    2.910038] hub 6-0:1.0: 1 port detected
[    2.914601] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[    2.921263] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 7
[    2.929238] ohci-platform 1c1c400.usb: irq 33, io mem 0x01c1c400
[    2.995376] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
[    3.002176] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.009400] usb usb7: Product: Generic Platform OHCI controller
[    3.015322] usb usb7: Manufacturer: Linux 4.14.111 ohci_hcd
[    3.020899] usb usb7: SerialNumber: 1c1c400.usb
[    3.025911] hub 7-0:1.0: USB hub found
[    3.029706] hub 7-0:1.0: 1 port detected
[    3.034257] ohci-platform 1c1d400.usb: Generic Platform OHCI controller
[    3.040911] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 8
[    3.048909] ohci-platform 1c1d400.usb: irq 35, io mem 0x01c1d400
[    3.115370] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001
[    3.122171] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.129394] usb usb8: Product: Generic Platform OHCI controller
[    3.135317] usb usb8: Manufacturer: Linux 4.14.111 ohci_hcd
[    3.140893] usb usb8: SerialNumber: 1c1d400.usb
[    3.145870] hub 8-0:1.0: USB hub found
[    3.149674] hub 8-0:1.0: 1 port detected
[    3.154249] usb_phy_generic usb_phy_generic.3.auto: usb_phy_generic.3.auto supply vcc not found, using dummy regulator
[    3.165349] musb-hdrc musb-hdrc.4.auto: MUSB HDRC host driver
[    3.171121] musb-hdrc musb-hdrc.4.auto: new USB bus registered, assigned bus number 9
[    3.179097] usb usb9: New USB device found, idVendor=1d6b, idProduct=0002
[    3.185900] usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.193126] usb usb9: Product: MUSB HDRC host driver
[    3.198097] usb usb9: Manufacturer: Linux 4.14.111 musb-hcd
[    3.203671] usb usb9: SerialNumber: musb-hdrc.4.auto
[    3.209070] hub 9-0:1.0: USB hub found
[    3.212863] hub 9-0:1.0: 1 port detected
[    3.219972] asoc-simple-card soc:sound: i2s-hifi <-> 1c22800.i2s mapping ok
[    3.229317] input: r_gpio_keys as /devices/platform/r_gpio_keys/input/input0
[    3.237100] sun6i-rtc 1f00000.rtc: setting system clock to 1970-01-01 00:00:09 UTC (9)
[    3.245410] vcc3v0: disabling
[    3.248399] vcc5v0: disabling
[    3.251373] usb0-vbus: disabling
[    3.254599] ALSA device list:
[    3.257573]   #0: Dummy 1
[    3.260188]   #1: Loopback 1
[    3.263070]   #2: H3 Audio Codec
[    3.266299]   #3: allwinner,hdmi
[    3.271975] Freeing unused kernel memory: 2048K
Loading, please wait...
starting version 237
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
[    4.009683] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
Begin: Will now check userdata file system ... fsck from util-linux 2.31.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p3] fsck.ext4 -y -C0 /dev/mmcblk0p3
e2fsck 1.44.1 (24-Mar-2018)
userdata: recovering journal
[    4.193495] random: fast init done
Setting free inodes count to 232195 (was 232198)
Setting free blocks count to 3413462 (was 3417589)
userdata: clean, 125/232320 files, 180906/3594368 blocks
done.
[    4.261763] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[    4.279742] EXT4-fs (mmcblk0p3): re-mounted. Opts: data=ordered
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[    4.840377] systemd[1]: System time before build time, advancing clock.
[    4.899621] ip_tables: (C) 2000-2006 Netfilter Core Team
[    4.935496] systemd[1]: systemd 245.4-4ubuntu3.7 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.958833] systemd[1]: Detected architecture arm.

Welcome to Ubuntu 20.04 LTS!

[    5.000019] systemd[1]: Set hostname to <NanoPi-NEO>.
[    5.944800] systemd[1]: /etc/systemd/system/rc-local.service:11: Support for option SysVStartPriority= has been removed and it is ignored
[    6.084348] random: systemd: uninitialized urandom read (16 bytes read)
[    6.091487] systemd[1]: system-modprobe.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    6.104140] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    6.119041] systemd[1]: Created slice system-modprobe.slice.
[  OK  ] Created slice system-modprobe.slice.
[    6.141538] random: systemd: uninitialized urandom read (16 bytes read)
[    6.150202] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    6.171509] random: systemd: uninitialized urandom read (16 bytes read)
[    6.180064] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    6.201940] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[    6.231769] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[    6.261718] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped.
[    6.273718] systemd[1]: Reached target Local Encrypted Volumes.
[  OK  ] Reached target Local Encrypted Volumes.
[    6.296767] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[    6.316503] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    6.336446] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[    6.357550] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    6.376958] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[    6.419546] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[    6.429046] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    6.452600] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    6.477437] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    6.497138] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    6.522497] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[    6.538699] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    6.564966] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[    6.587461] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[    6.606461] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    6.636068] systemd[1]: Starting Set the console keyboard layout...
         Starting Set the console keyboard layout...
[    6.666874] systemd[1]: Starting Create list of static device nodes for the current kernel...
         Starting Create list of st…odes for the current kernel...
[    6.696826] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
[    6.712507] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    6.734771] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[    6.762855] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[    6.802416] systemd[1]: Starting udev Coldplug all Devices...
         Starting udev Coldplug all Devices...
[    6.825669] Mass Storage Function, version: 2009/09/11
[    6.831000] LUN: removable file: (no medium)
[    6.835611] LUN: file: /dev/mmcblk0p1
[    6.839396] Number of LUNs=1
[    6.842690] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
[    6.849801] g_mass_storage gadget: userspace failed to provide iSerialNumber
[    6.850938] systemd[1]: Mounted POSIX Message Queue File System.
[    6.856885] g_mass_storage gadget: g_mass_storage ready
[  OK  ] Mounted POSIX Message Queue File System.
[    6.883695] systemd[1]: Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Debug File System.
[    6.911394] systemd[1]: Finished Create list of static device nodes for the current kernel.
[  OK  ] Finished Create list of st… nodes for the current kernel.
[    6.961457] systemd[1]: Finished Remount Root and Kernel File Systems.
[  OK  ] Finished Remount Root and Kernel File Systems.
[    6.986103] 8821cu: loading out-of-tree module taints kernel.
[    7.023503] usbcore: registered new interface driver rtl8821cu
[    7.024015] systemd[1]: Activating swap /mnt/512MB.swap...
         Activating swap /mnt/512MB.swap...
[    7.153389] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[    7.162892] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[    7.182017] usbcore: registered new interface driver rtl88xxau
[    7.186442] systemd[1]: Starting Load/Save Random Seed...
         Starting Load/Save Random Seed...
[    7.207850] g_mass_storage gadget: high-speed config #1: Linux File-Backed Storage
[    7.230045] systemd[1]: Starting Create System Users...
         Starting Create System Users...
[    7.256470] systemd[1]: Finished Set the console keyboard layout.
[  OK  ] Finished Set the console keyboard layout.
[    7.327945] Adding 524284k swap on /mnt/512MB.swap.  Priority:-2 extents:5 across:557052k SS
[    7.337037] systemd[1]: Activated swap /mnt/512MB.swap.
[  OK  ] Activated swap /mnt/512MB.swap.
[    7.362031] systemd[1]: Finished Load Kernel Modules.
[  OK  ] Finished Load Kernel Modules.
[    7.383596] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    7.408548] systemd[1]: Mounting FUSE Control File System...
         Mounting FUSE Control File System...
[    7.438800] systemd[1]: Mounting Kernel Configuration File System...
         Mounting Kernel Configuration File System...
[    7.467797] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[    7.490380] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Finished Apply Kernel Variables.
         Starting Flush Journal to Persistent Storage...
[  OK  ] Finished udev Coldplug all Devices.
         Starting Helper to synchronize boot up for ifupdown...
[  OK  ] Finished Create System Users.
[  OK  ] Finished Helper to synchronize boot up for ifupdown.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
         Starting udev Kernel Device Manager...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Found device /dev/mmcblk0p1.
[  OK  ] Found device /dev/ttyS0.
         Mounting /boot...
[  OK  ] Mounted /boot.
[  OK  ] Reached target Local File Systems.
[  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
         Starting Set console font and keymap...
         Starting Raise network interfaces...
         Starting Create Volatile Files and Directories...
[  OK  ] Finished Set console font and keymap.
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Network Name Resolution...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Finished Raise network interfaces.
[  OK  ] Finished Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Periodic ext4 Onli…ata Check for All Filesystems.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Message of the Day.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting LSB: add swap at first boot...
         Starting Save/Restore Sound Card State...
         Starting brcm_patchram_plus...
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started D-Bus System Message Bus.
         Starting Network Manager...
[  OK  ] Started Save initial kernel messages after boot.
         Starting Remove Stale Onli…t4 Metadata Check Snapshots...
         Starting Dispatcher daemon for systemd-networkd...
[  OK  ] Started Set the CPU Frequency Scaling governor.
         Starting Authorization Manager...
         Starting Restore /etc/reso… the ppp link was shut down...
         Starting System Logging Service...
         Starting LSB: select system audio output at first boot...
         Starting LSB: sync_ntp_rtc...
         Starting Login Service...
         Starting LSB: Start busybox udhcpd at boot time...
         Starting WPA supplicant...
[  OK  ] Started LSB: add swap at first boot.
[  OK  ] Finished brcm_patchram_plus.
[  OK  ] Finished Remove Stale Onli…ext4 Metadata Check Snapshots.
[  OK  ] Finished Restore /etc/reso…re the ppp link was shut down.
[  OK  ] Started LSB: select system audio output at first boot.
[  OK  ] Finished Save/Restore Sound Card State.
[  OK  ] Reached target Sound Card.
[  OK  ] Started System Logging Service.
[  OK  ] Started LSB: sync_ntp_rtc.
[  OK  ] Started LSB: Start busybox udhcpd at boot time.
[  OK  ] Started Network Name Resolution.
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Started Login Service.
[  OK  ] Started WPA supplicant.
[  OK  ] Started Authorization Manager.
         Starting Modem Manager...
[   11.136325] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[  OK  ] Started Network Manager.
[  OK  ] Reached target Network.
         Starting Network Manager Wait Online...
         Starting Network Time Service...
         Starting OpenBSD Secure Shell server...
         Starting Permit User Sessions...
[  OK  ] Finished Permit User Sessions.
         Starting Set console scheme...
         Starting Hostname Service...
[  OK  ] Started Network Time Service.
[  OK  ] Finished Set console scheme.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Started Modem Manager.
[  OK  ] Started Hostname Service.
[  OK  ] Started Dispatcher daemon for systemd-networkd.
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Started Network Manager Script Dispatcher Service.
[  OK  ] Finished Network Manager Wait Online.
[  OK  ] Reached target Network is Online.
         Starting LSB: disk temperature monitoring daemon...
         Starting /etc/rc.local...
[   18.595695] rc.local[485]: ctp = 0

Ubuntu 20.04 LTS NanoPi-NEO ttyS0

NanoPi-NEO login: pi (automatic login)

 _____     _                _ _       _____ _     _____ ____
|  ___| __(_) ___ _ __   __| | |_   _| ____| |   | ____/ ___|
| |_ | '__| |/ _ \ '_ \ / _` | | | | |  _| | |   |  _|| |
|  _|| |  | |  __/ | | | (_| | | |_| | |___| |___| |__| |___
|_|  |_|  |_|\___|_| |_|\__,_|_|\__, |_____|_____|_____\____|
                                |___/

Welcome to Ubuntu 20.04 LTS 4.14.111
System load:   0.29             Up time:       20 sec
Memory usage:  14 % of 491Mb    IP:
CPU temp:      31°C
Usage of /:    5% of 14G

 * Documentation: http://wiki.friendlyarm.com/Ubuntu
 * Forum: http://www.friendlyarm.com/Forum/

Last login: Thu May 27 15:16:33 UTC 2021 on tty1

Boot FriendlyElec (Ubuntu core with U-Boot) on NanoPi R1

U-Boot SPL 2017.11 (Jun 15 2021 - 10:49:36)
DRAM: 1024 MiB(408MHz)
CPU Freq: 408MHz
memory test: 1
Pattern 55aa  Writing...Reading...OK
Trying to boot from MMC1
Boot device: sd


U-Boot 2017.11 (Jun 15 2021 - 10:49:36 +0800) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: FriendlyElec NanoPi H3
DRAM:  1 GiB
CPU Freq: 1008MHz
MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
BOARD: nanopi-r1
starting USB...
No controllers found
Hit any key to stop autoboot:  0
reading boot.scr
1478 bytes read in 18 ms (80.1 KiB/s)
## Executing script at 43100000
running boot.scr
reading uEnv.txt
969 bytes read in 19 ms (49.8 KiB/s)
reading zImage
5902784 bytes read in 288 ms (19.5 MiB/s)
reading rootfs.cpio.gz
5880768 bytes read in 288 ms (19.5 MiB/s)
reading sun8i-h3-nanopi-r1.dtb
36147 bytes read in 26 ms (1.3 MiB/s)
overlays=uart0
reading overlays/sun8i-h3-uart0.dtbo
508 bytes read in 28 ms (17.6 KiB/s)
applying overlay uart0...
reading overlays/sun8i-h3-fixup.scr
4109 bytes read in 36 ms (111.3 KiB/s)
## Executing script at 44500000
## Flattened Device Tree blob at 48000000
   Booting using the fdt blob at 0x48000000
   Loading Ramdisk to 49a64000, end 49fffbc0 ... OK
   reserving fdt memory region: addr=48000000 size=6f000
   Loading Device Tree to 499f2000, end 49a63fff ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.111 (root@ubuntu) (gcc version 4.9.3 (ctng-1.21.0-229g-FA)) #193 SMP Thu Jun 10 18:20:47 CST 2021
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=30c5387d
[    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: FriendlyElec NanoPi-R1
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x000000007bc00000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] percpu: Embedded 17 pages/cpu @ef69b000 s37120 r8192 d24320 u69632
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260416
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait fsck.repair=yes panic=10 fbcon=map:0  data=/dev/mmcblk0p3 snd-soc-core.pmdown_time=3600000
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 949260K/1048576K available (10240K kernel code, 391K rwdata, 2080K rodata, 2048K init, 303K bss, 33780K reserved, 65536K cma-reserved, 196600K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0c00000   (12256 kB)
[    0.000000]       .init : 0xc1000000 - 0xc1200000   (2048 kB)
[    0.000000]       .data : 0xc1200000 - 0xc1261f00   ( 392 kB)
[    0.000000]        .bss : 0xc126a884 - 0xc12b6850   ( 304 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    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.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000018] Switching to timer-based delay loop, resolution 41ns
[    0.000217] Console: colour dummy device 80x30
[    0.000254] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=120000)
[    0.000268] pid_max: default: 32768 minimum: 301
[    0.000437] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000453] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001155] CPU: Testing write buffer coherency: ok
[    0.001594] CPU0: update cpu_capacity 1024
[    0.001605] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001964] Setting up static identity map for 0x40200000 - 0x40200060
[    0.002085] Hierarchical SRCU implementation.
[    0.002644] smp: Bringing up secondary CPUs ...
[    0.013434] CPU1: update cpu_capacity 1024
[    0.013439] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.024334] CPU2: update cpu_capacity 1024
[    0.024340] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.035141] CPU3: update cpu_capacity 1024
[    0.035147] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.035234] smp: Brought up 1 node, 4 CPUs
[    0.035262] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.035268] CPU: All CPU(s) started in HYP mode.
[    0.035274] CPU: Virtualization extensions available.
[    0.036036] devtmpfs: initialized
[    0.043058] random: get_random_u32 called from bucket_table_alloc+0xf0/0x240 with crng_init=0
[    0.043667] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.043935] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302231375000 ns
[    0.043960] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.046596] xor: measuring software checksum speed
[    0.094924]    arm4regs  :  1372.800 MB/sec
[    0.144984]    8regs     :   769.600 MB/sec
[    0.195039]    32regs    :   850.400 MB/sec
[    0.245099]    neon      :  1283.200 MB/sec
[    0.245106] xor: using function: arm4regs (1372.800 MB/sec)
[    0.245123] pinctrl core: initialized pinctrl subsystem
[    0.246078] NET: Registered protocol family 16
[    0.247400] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.248332] cpuidle: using governor ladder
[    0.248485] cpuidle: using governor menu
[    0.248891] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.248903] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.268405] SCSI subsystem initialized
[    0.268838] usbcore: registered new interface driver usbfs
[    0.268904] usbcore: registered new interface driver hub
[    0.268986] usbcore: registered new device driver usb
[    0.269171] media: Linux media interface: v0.10
[    0.269206] Linux video capture interface: v2.00
[    0.269302] pps_core: LinuxPPS API ver. 1 registered
[    0.269309] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.269327] PTP clock support registered
[    0.269635] Advanced Linux Sound Architecture Driver Initialized.
[    0.271174] clocksource: Switched to clocksource arch_sys_counter
[    0.271388] VFS: Disk quotas dquot_6.6.0
[    0.271462] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.271614] FS-Cache: Loaded
[    0.278505] NET: Registered protocol family 2
[    0.279153] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.279245] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.279360] TCP: Hash tables configured (established 8192 bind 8192)
[    0.279468] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.279542] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.279766] NET: Registered protocol family 1
[    0.280219] RPC: Registered named UNIX socket transport module.
[    0.280230] RPC: Registered udp transport module.
[    0.280236] RPC: Registered tcp transport module.
[    0.280241] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.280456] Unpacking initramfs...
[    0.577779] Freeing initrd memory: 5744K
[    0.578201] kvm [1]: 8-bit VMID
[    0.578865] kvm [1]: vgic interrupt IRQ16
[    0.578966] kvm [1]: Hyp mode initialized successfully
[    0.581854] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.586408] zbud: loaded
[    0.587989] FS-Cache: Netfs 'nfs' registered for caching
[    0.588501] NFS: Registering the id_resolver key type
[    0.588541] Key type id_resolver registered
[    0.588548] Key type id_legacy registered
[    0.588565] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.588580] Installing knfsd (copyright (C) 1996 [email protected]).
[    0.589461] fuse init (API version 7.26)
[    0.594820] async_tx: api initialized (async)
[    0.594899] bounce: pool size: 64 pages
[    0.594994] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.595167] io scheduler noop registered (default)
[    0.595178] io scheduler deadline registered
[    0.595348] io scheduler cfq registered
[    0.595357] io scheduler mq-deadline registered
[    0.595489] io scheduler bfq registered
[    0.596230] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO, pinctrl may not init
[    0.599933] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.601495] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[    0.607027] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.608899] console [ttyS0] disabled
[    0.629079] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 46, base_baud = 1500000) is a U6_16550A
[    1.394556] console [ttyS0] enabled
[    1.420794] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 47, base_baud = 1500000) is a U6_16550A
[    1.452390] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 48, base_baud = 1500000) is a U6_16550A
[    1.481938] 1c28c00.serial: ttyS3 at MMIO 0x1c28c00 (irq = 49, base_baud = 1500000) is a U6_16550A
[    1.493198] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.499835] [drm] No driver support for vblank timestamp query.
[    1.515176] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc0c51b68)
[    1.522287] sun4i-drm display-engine: No panel or bridge found... RGB output disabled
[    1.530150] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0c5086c)
[    1.661267] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)
[    1.671139] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver
[    1.678854] sun4i-drm display-engine: bound 1ee0000.hdmi (ops 0xc0c51ee8)
[    1.685709] [drm] Cannot find any crtc or sizes - going 1920x1080
[    1.729706] Console: switching to colour frame buffer device 240x67
[    1.760567] sun4i-drm display-engine: fb0:  frame buffer device
[    1.766920] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.783091] loop: module loaded
[    1.801413] st: Version 20160209, fixed bufsize 32768, s/g segs 256
[    1.807771] osst :I: Tape driver with OnStream support version 0.99.4
[    1.807771] osst :I: $Id: osst.c,v 1.73 2005/01/01 21:13:34 wriede Exp $
[    1.821106] SCSI Media Changer driver v0.25
[    1.827464] libphy: Fixed MDIO Bus: probed
[    1.831604] tun: Universal TUN/TAP device driver, 1.6
[    1.836829] CAN device driver interface
[    1.841427] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    1.847628] PPP generic driver version 2.4.2
[    1.852092] PPP BSD Compression module registered
[    1.856815] PPP Deflate Compression module registered
[    1.861895] PPP MPPE Compression module registered
[    1.866690] NET: Registered protocol family 24
[    1.871236] usbcore: registered new interface driver qmi_wwan
[    1.877020] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.883560] ehci-platform: EHCI generic platform driver
[    1.889005] ehci-platform 1c1a000.usb: EHCI Host Controller
[    1.894616] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    1.902748] ehci-platform 1c1a000.usb: irq 30, io mem 0x01c1a000
[    1.921197] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    1.927498] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.934299] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.941523] usb usb1: Product: EHCI Host Controller
[    1.946405] usb usb1: Manufacturer: Linux 4.14.111 ehci_hcd
[    1.951979] usb usb1: SerialNumber: 1c1a000.usb
[    1.957029] hub 1-0:1.0: USB hub found
[    1.960808] hub 1-0:1.0: 1 port detected
[    1.965458] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.971677] ohci-platform: OHCI generic platform driver
[    1.977110] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    1.983758] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    1.991684] ohci-platform 1c1a400.usb: irq 31, io mem 0x01c1a400
[    2.060360] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    2.067170] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.074396] usb usb2: Product: Generic Platform OHCI controller
[    2.080319] usb usb2: Manufacturer: Linux 4.14.111 ohci_hcd
[    2.085895] usb usb2: SerialNumber: 1c1a400.usb
[    2.093301] hub 2-0:1.0: USB hub found
[    2.097096] hub 2-0:1.0: 1 port detected
[    2.101743] usbcore: registered new interface driver cdc_acm
[    2.107418] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    2.115509] usbcore: registered new interface driver usblp
[    2.121044] usbcore: registered new interface driver cdc_wdm
[    2.126753] usbcore: registered new interface driver uas
[    2.132144] usbcore: registered new interface driver usb-storage
[    2.138233] usbcore: registered new interface driver usbserial
[    2.144108] usbcore: registered new interface driver usbserial_generic
[    2.150663] usbserial: USB Serial support registered for generic
[    2.156703] usbcore: registered new interface driver option
[    2.162303] usbserial: USB Serial support registered for GSM modem (1-port)
[    2.169409] usbcore: registered new interface driver qcserial
[    2.175193] usbserial: USB Serial support registered for Qualcomm USB modem
[    2.182977] mousedev: PS/2 mouse device common for all mice
[    2.189054] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
[    2.195855] sun6i-rtc 1f00000.rtc: RTC enabled
[    2.200374] i2c /dev entries driver
[    2.205710] lirc_dev: IR Remote Control driver registered, major 244
[    2.212094] IR NEC protocol handler initialized
[    2.216634] IR RC5(x/sz) protocol handler initialized
[    2.221687] IR RC6 protocol handler initialized
[    2.226220] IR JVC protocol handler initialized
[    2.230743] IR Sony protocol handler initialized
[    2.235362] IR SANYO protocol handler initialized
[    2.240067] IR Sharp protocol handler initialized
[    2.244772] IR MCE Keyboard/mouse protocol handler initialized
[    2.250604] IR LIRC bridge handler initialized
[    2.255049] IR XMP protocol handler initialized
[    2.260420] thermal thermal_zone0: failed to read out thermal zone (-16)
[    2.267656] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    2.275959] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: [email protected]
[    2.326233] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    2.334013] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq
[    2.381987] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.395304] mmc0: new high speed SDHC card at address aaaa
[    2.401233] mmcblk0: mmc0:aaaa SL16G 14.8 GiB
[    2.410556]  mmcblk0: p1 p2 p3
[    2.586204] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[    2.608907] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[    2.615925] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[    2.622919] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[    2.631112] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[    2.631210] sunxi-mmc 1c11000.mmc: initialized, max. request size: 16384 KB
[    2.639877] mmc2: queuing unknown CIS tuple 0x81 (9 bytes)
[    2.649107] ledtrig-cpu: registered to indicate activity on CPUs
[    2.655395] hidraw: raw HID events driver (C) Jiri Kosina
[    2.660962] usbcore: registered new interface driver usbhid
[    2.666545] usbhid: USB HID core driver
[    2.684203] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    2.693489] random: fast init done
[    2.694265] Initializing XFRM netlink socket
[    2.701802] NET: Registered protocol family 10
[    2.724577] Segment Routing with IPv6
[    2.728366] NET: Registered protocol family 17
[    2.732858] NET: Registered protocol family 15
[    2.737316] can: controller area network core (rev 20170425 abi 9)
[    2.743593] NET: Registered protocol family 29
[    2.748047] can: raw protocol (rev 20170425)
[    2.751995] mmc2: new high speed SDIO card at address 0001
[    2.752322] can: broadcast manager protocol (rev 20170425 t)
[    2.763464] can: netlink gateway (rev 20170425) max_hops=1
[    2.769718] rfkill_gpio rfkill_bt: sunxi-bt device registered.
[    2.775703] Key type dns_resolver registered
[    2.780304] Registering SWP/SWPB emulation handler
[    2.786091] mmc1: new DDR MMC card at address 0001
[    2.786672] registered taskstats version 1
[    2.791375] mmcblk1: mmc1:0001 8GTF4R 7.28 GiB
[    2.799909] mmcblk1boot0: mmc1:0001 8GTF4R partition 1 4.00 MiB
[    2.803419] Key type encrypted registered
[    2.806185] mmcblk1boot1: mmc1:0001 8GTF4R partition 2 4.00 MiB
[    2.815507] vcc1v2: supplied by vcc5v0
[    2.816851]  mmcblk1: p1 p2 p3
[    2.819889] vcc-dram: supplied by vcc5v0
[    2.826799] vdd-cpux-en: supplied by vcc5v0
[    2.833097] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    2.839025] dwmac-sun8i 1c30000.ethernet: Will use external PHY
[    2.951363] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    2.957040] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    2.964265] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    2.969927] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    2.977151] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    2.982120] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    2.989491] libphy: stmmac: probed
[    2.998650] ehci-platform 1c1b000.usb: EHCI Host Controller
[    3.004282] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 3
[    3.012501] ehci-platform 1c1b000.usb: irq 32, io mem 0x01c1b000
[    3.031190] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[    3.037496] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    3.044303] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.051526] usb usb3: Product: EHCI Host Controller
[    3.056407] usb usb3: Manufacturer: Linux 4.14.111 ehci_hcd
[    3.061980] usb usb3: SerialNumber: 1c1b000.usb
[    3.067087] hub 3-0:1.0: USB hub found
[    3.070865] hub 3-0:1.0: 1 port detected
[    3.075515] ehci-platform 1c1c000.usb: EHCI Host Controller
[    3.081123] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 4
[    3.089187] ehci-platform 1c1c000.usb: irq 34, io mem 0x01c1c000
[    3.106190] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[    3.112444] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    3.119242] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.126467] usb usb4: Product: EHCI Host Controller
[    3.131349] usb usb4: Manufacturer: Linux 4.14.111 ehci_hcd
[    3.136922] usb usb4: SerialNumber: 1c1c000.usb
[    3.141946] hub 4-0:1.0: USB hub found
[    3.145736] hub 4-0:1.0: 1 port detected
[    3.150297] ehci-platform 1c1d000.usb: EHCI Host Controller
[    3.155901] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 5
[    3.163898] ehci-platform 1c1d000.usb: irq 36, io mem 0x01c1d000
[    3.181181] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00
[    3.187427] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
[    3.194224] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.201448] usb usb5: Product: EHCI Host Controller
[    3.206330] usb usb5: Manufacturer: Linux 4.14.111 ehci_hcd
[    3.211905] usb usb5: SerialNumber: 1c1d000.usb
[    3.216888] hub 5-0:1.0: USB hub found
[    3.220662] hub 5-0:1.0: 1 port detected
[    3.225230] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[    3.231883] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 6
[    3.239826] ohci-platform 1c1b400.usb: irq 33, io mem 0x01c1b400
[    3.305326] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
[    3.312127] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.319350] usb usb6: Product: Generic Platform OHCI controller
[    3.325272] usb usb6: Manufacturer: Linux 4.14.111 ohci_hcd
[    3.330849] usb usb6: SerialNumber: 1c1b400.usb
[    3.335895] hub 6-0:1.0: USB hub found
[    3.339690] hub 6-0:1.0: 1 port detected
[    3.344251] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[    3.350901] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 7
[    3.358951] ohci-platform 1c1c400.usb: irq 35, io mem 0x01c1c400
[    3.416197] usb 3-1: new high-speed USB device number 2 using ehci-platform
[    3.427381] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
[    3.434183] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.441407] usb usb7: Product: Generic Platform OHCI controller
[    3.447333] usb usb7: Manufacturer: Linux 4.14.111 ohci_hcd
[    3.452911] usb usb7: SerialNumber: 1c1c400.usb
[    3.457928] hub 7-0:1.0: USB hub found
[    3.461724] hub 7-0:1.0: 1 port detected
[    3.466306] ohci-platform 1c1d400.usb: Generic Platform OHCI controller
[    3.472955] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 8
[    3.480897] ohci-platform 1c1d400.usb: irq 37, io mem 0x01c1d400
[    3.550326] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001
[    3.557131] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.564358] usb usb8: Product: Generic Platform OHCI controller
[    3.570283] usb usb8: Manufacturer: Linux 4.14.111 ohci_hcd
[    3.575860] usb usb8: SerialNumber: 1c1d400.usb
[    3.580933] hub 8-0:1.0: USB hub found
[    3.584727] hub 8-0:1.0: 1 port detected
[    3.589340] usb_phy_generic usb_phy_generic.3.auto: usb_phy_generic.3.auto supply vcc not found, using dummy regulator
[    3.600437] musb-hdrc musb-hdrc.4.auto: MUSB HDRC host driver
[    3.606254] musb-hdrc musb-hdrc.4.auto: new USB bus registered, assigned bus number 9
[    3.614270] usb usb9: New USB device found, idVendor=1d6b, idProduct=0002
[    3.621071] usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.628299] usb usb9: Product: MUSB HDRC host driver
[    3.633270] usb usb9: Manufacturer: Linux 4.14.111 musb-hcd
[    3.638847] usb usb9: SerialNumber: musb-hdrc.4.auto
[    3.644393] hub 9-0:1.0: USB hub found
[    3.648215] hub 9-0:1.0: 1 port detected
[    3.652576] usb 3-1: New USB device found, idVendor=0bda, idProduct=8152
[    3.659296] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.666437] usb 3-1: Product: USB 10/100 LAN
[    3.670702] usb 3-1: Manufacturer: Realtek
[    3.674807] usb 3-1: SerialNumber: 000000000000
[    3.682221] asoc-simple-card soc:sound: i2s-hifi <-> 1c22800.i2s mapping ok
[    3.692373] input: r_gpio_keys as /devices/platform/r_gpio_keys/input/input0
[    3.700103] sun6i-rtc 1f00000.rtc: setting system clock to 1970-01-01 00:01:40 UTC (100)
[    3.708626] vcc3v0: disabling
[    3.711629] vcc5v0: disabling
[    3.714594] usb0-vbus: disabling
[    3.717839] ALSA device list:
[    3.720802]   #0: Dummy 1
[    3.723427]   #1: Loopback 1
[    3.726314]   #2: H3 Audio Codec
[    3.729536]   #3: allwinner,hdmi
[    3.735160] Freeing unused kernel memory: 2048K
Loading, please wait...
starting version 237
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
[    4.495065] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
Begin: Will now check userdata file system ... fsck from util-linux 2.31.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p3] fsck.ext4 -y -C0 /dev/mmcblk0p3
e2fsck 1.44.1 (24-Mar-2018)
userdata: recovering journal
Setting free inodes count to 232192 (was 232195)
Setting free blocks count to 3409332 (was 3413462)
userdata: clean, 128/232320 files, 185036/3594368 blocks (check in 5 mounts)
done.
[    4.921107] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[    4.944325] EXT4-fs (mmcblk0p3): re-mounted. Opts: data=ordered
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[    5.507369] systemd[1]: System time before build time, advancing clock.
[    5.566819] ip_tables: (C) 2000-2006 Netfilter Core Team
[    5.599753] systemd[1]: systemd 245.4-4ubuntu3.7 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)
[    5.622942] systemd[1]: Detected architecture arm.

Welcome to Ubuntu 20.04 LTS!

[    5.665215] systemd[1]: Set hostname to <NanoPi-NEO>.
[    6.667731] systemd[1]: /etc/systemd/system/rc-local.service:11: Support for option SysVStartPriority= has been removed and it is ignored
[    6.809003] random: systemd: uninitialized urandom read (16 bytes read)
[    6.816075] systemd[1]: system-modprobe.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    6.828729] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    6.843799] systemd[1]: Created slice system-modprobe.slice.
[  OK  ] Created slice system-modprobe.slice.
[    6.866488] random: systemd: uninitialized urandom read (16 bytes read)
[    6.875170] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    6.896421] random: systemd: uninitialized urandom read (16 bytes read)
[    6.904905] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    6.926864] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[    6.956719] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[    6.986735] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped.
[    6.998762] systemd[1]: Reached target Local Encrypted Volumes.
[  OK  ] Reached target Local Encrypted Volumes.
[    7.021780] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[    7.041483] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    7.061425] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[    7.082541] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    7.101864] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[    7.144313] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[    7.153715] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    7.177442] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    7.197422] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    7.217041] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    7.237452] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[    7.253728] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    7.284410] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[    7.307314] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[    7.326128] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    7.357817] systemd[1]: Starting Set the console keyboard layout...
         Starting Set the console keyboard layout...
[    7.386356] systemd[1]: Starting Create list of static device nodes for the current kernel...
         Starting Create list of st…odes for the current kernel...
[    7.416706] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
[    7.429157] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    7.451866] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[    7.476625] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[    7.510313] systemd[1]: Starting udev Coldplug all Devices...
         Starting udev Coldplug all Devices...
[    7.523463] Mass Storage Function, version: 2009/09/11
[    7.532674] LUN: removable file: (no medium)
[    7.537321] LUN: file: /dev/mmcblk0p1
[    7.541008] Number of LUNs=1
[    7.544331] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
[    7.545037] systemd[1]: Mounted POSIX Message Queue File System.
[    7.551411] g_mass_storage gadget: userspace failed to provide iSerialNumber
[    7.551432] g_mass_storage gadget: g_mass_storage ready
[  OK  ] Mounted POSIX Message Queue File System.
[    7.593291] systemd[1]: Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Debug File System.
[    7.616224] systemd[1]: Finished Create list of static device nodes for the current kernel.
[  OK  ] Finished Create list of st… nodes for the current kernel.
[    7.666049] systemd[1]: Finished Remount Root and Kernel File Systems.
[  OK  ] Finished Remount Root and Kernel File Systems.
[    7.691833] 8821cu: loading out-of-tree module taints kernel.
[    7.710407] systemd[1]: Activating swap /mnt/512MB.swap...
[    7.722560] usbcore: registered new interface driver rtl8821cu
         Activating swap /mnt/512MB.swap...
[    7.829577] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[    7.838583] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[    7.854606] systemd[1]: Starting Load/Save Random Seed...
         Starting Load/Save Random Seed...
[    7.892469] systemd[1]: Starting Create System Users...
         [    7.898188] usbcore: registered new interface driver rtl88xxau
Starting Create System Users...
[    7.921070] systemd[1]: Finished Set the console keyboard layout.
[  OK  ] Finished Set the console keyboard layout.
[    7.989315] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[    7.992971] Adding 524284k swap on /mnt/512MB.swap.  Priority:-2 extents:5 across:557052k SS
[    8.006983] systemd[1]: Activated swap /mnt/512MB.swap.
[  OK  ] Activated swap /mnt/512MB.swap.
[    8.028292] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    8.066933] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Finished Load Kernel Modules.
         Mounting FUSE Control File System...
         Mounting Kernel Configuration File System...
         Starting Flush Journal to Persistent Storage...
[    8.188142] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[    8.197223] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[    8.205937] systemd-journald[244]: Received client request to flush runtime journal.
[    8.209055] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Jun 12 2019 21:30:19 version 7.46.58.28 (r717266 CY) FWID 01-d43eaba6 es4.c3.n4
         Starting Apply Kernel Variables...
[    8.251649] systemd-journald[244]: File /var/log/journal/7025c525c97245bd92d21a860859a933/system.journal corrupted or uncleanly shut down, renaming and replacing.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Finished udev Coldplug all Devices.
[  OK  ] Finished Apply Kernel Variables.
         Starting Helper to synchronize boot up for ifupdown...
[  OK  ] Finished Create System Users.
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] Finished Helper to synchronize boot up for ifupdown.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
         Starting udev Kernel Device Manager...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Found device /dev/mmcblk0p1.
[  OK  ] Found device /dev/ttyS0.
         Mounting /boot...
[   10.284620] r8152 3-1:1.0 (unnamed net_device) (uninitialized): Invalid ether addr 00:00:00:00:00:00
[  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
         Starting Load/Save RF Kill Switch Status...
[  OK  ] Mounted /boot.
[  OK  ] Started Load/Save RF Kill Switch Status.
[  OK  ] Reached target Local File Systems.
         Starting Set console font and keymap...
         Starting Raise network interfaces...
         Starting Create Volatile Files and Directories...
[  OK  ] Finished Set console font and keymap.
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Network Name Resolution...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Finished Raise network interfaces.
[  OK  ] Finished Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Periodic ext4 Onli…ata Check for All Filesystems.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Message of the Day.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting LSB: add swap at first boot...
         Starting Save/Restore Sound Card State...
         Starting brcm_patchram_plus...
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started D-Bus System Message Bus.
         Starting Network Manager...
[  OK  ] Started Save initial kernel messages after boot.
         Starting Remove Stale Onli…t4 Metadata Check Snapshots...
         Starting Dispatcher daemon for systemd-networkd...
[  OK  ] Started Set the CPU Frequency Scaling governor.
         Starting Authorization Manager...
         Starting Restore /etc/reso… the ppp link was shut down...
         Starting System Logging Service...
         Starting LSB: select system audio output at first boot...
         Starting LSB: sync_ntp_rtc...
         Starting Login Service...
         Starting LSB: Start busybox udhcpd at boot time...
         Starting WPA supplicant...
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Started LSB: add swap at first boot.
[  OK  ] Finished Remove Stale Onli…ext4 Metadata Check Snapshots.
[  OK  ] Finished Restore /etc/reso…re the ppp link was shut down.
[  OK  ] Started LSB: select system audio output at first boot.
[  OK  ] Finished Save/Restore Sound Card State.
[  OK  ] Reached target Sound Card.
[  OK  ] Started LSB: sync_ntp_rtc.
[  OK  ] Started System Logging Service.
[   11.976311] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[  OK  ] Started LSB: Start busybox udhcpd at boot time.
[  OK  ] Started Network Name Resolution.
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Started Login Service.
[  OK  ] Started WPA supplicant.
[  OK  ] Started Authorization Manager.
         Starting Modem Manager...
[  OK  ] Started Network Manager.
[  OK  ] Reached target Network.
         Starting Network Manager Wait Online...
         Starting Network Time Service...
         Starting OpenBSD Secure Shell server...
         Starting Permit User Sessions...
[  OK  ] Finished Permit User Sessions.
         Starting Set console scheme...
         Starting Hostname Service...
[  OK  ] Finished Set console scheme.
[  OK  ] Started Network Time Service.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Started Modem Manager.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started Hostname Service.
[  OK  ] Started Dispatcher daemon for systemd-networkd.
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Started Network Manager Script Dispatcher Service.
[  OK  ] Finished Network Manager Wait Online.
[  OK  ] Reached target Network is Online.
         Starting LSB: disk temperature monitoring daemon...
         Starting /etc/rc.local...
[   19.687620] rc.local[545]: ctp = 0

Ubuntu 20.04 LTS NanoPi-NEO ttyS0

NanoPi-NEO login: pi (automatic login)

 _____     _                _ _       _____ _     _____ ____
|  ___| __(_) ___ _ __   __| | |_   _| ____| |   | ____/ ___|
| |_ | '__| |/ _ \ '_ \ / _` | | | | |  _| | |   |  _|| |
|  _|| |  | |  __/ | | | (_| | | |_| | |___| |___| |__| |___
|_|  |_|  |_|\___|_| |_|\__,_|_|\__, |_____|_____|_____\____|
                                |___/

Welcome to Ubuntu 20.04 LTS 4.14.111
System load:   1.05             Up time:       21 sec
Memory usage:  7 % of 998Mb     IP:
CPU temp:      20°C
Usage of /:    5% of 14G

 * Documentation: http://wiki.friendlyarm.com/Ubuntu
 * Forum: http://www.friendlyarm.com/Forum/

Last login: Thu May 27 15:16:33 UTC 2021 on tty1

Boot mtda (Ubuntu core with U-Boot) on NanoPi R1

CPU:   Allwinner H3 (SUN8I 1680)
Model: FriendlyARM NanoPi NEO
DRAM:  1 GiB
MMC:   mmc@1c0f000: 0
Loading Environment from FAT... Unable to use mmc 0:1... In:    serial
Out:   serial
Err:   serial
Net:   phy interface0

Error: ethernet@1c30000 address not set.
No ethernet found.

starting USB...
Bus usb@1c1a000: USB EHCI 1.00
Bus usb@1c1a400: USB OHCI 1.0
Bus usb@1c1d000: USB EHCI 1.00
Bus usb@1c1d400: USB OHCI 1.0
scanning bus usb@1c1a000 for devices... 1 USB Device(s) found
scanning bus usb@1c1a400 for devices... 1 USB Device(s) found
scanning bus usb@1c1d000 for devices... 1 USB Device(s) found
scanning bus usb@1c1d400 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
655 bytes read in 2 ms (319.3 KiB/s)
## Executing script at 43100000
Loading /usr/lib/linux-image-5.14.0-0.bpo.2-armmp/sun8i-h3-nanopi-neo.dtb...
22286 bytes read in 12 ms (1.8 MiB/s)
Loading /boot/vmlinuz-5.14.0-0.bpo.2-armmp...
5120512 bytes read in 233 ms (21 MiB/s)
Loading /boot/initrd.img-5.14.0-0.bpo.2-armmp...
26022354 bytes read in 1175 ms (21.1 MiB/s)
## Flattened Device Tree blob at 43000000
   Booting using the fdt blob at 0x43000000
EHCI failed to shut down host controller.
   Loading Ramdisk to 4872e000, end 49fff1d2 ... OK
   Loading Device Tree to 48725000, end 4872d70d ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.14.0-0.bpo.2-armmp ([email protected]) (gcc-10 (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP Debian 5.14.9-2~bpo11+1 (2021-10-10)
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    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 NEO
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 16 MiB at 0x7e800000
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x000000006fffffff]
[    0.000000]   Normal   empty
[    0.000000]   HighMem  [mem 0x0000000070000000-0x000000007fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] percpu: Embedded 21 pages/cpu s56268 r8192 d21556 u86016
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260416
[    0.000000] Kernel command line: root=/dev/mmcblk0p1 rw rootwait
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000] Memory: 976868K/1048576K available (11264K kernel code, 1688K rwdata, 3376K rodata, 2048K init, 340K bss, 55324K reserved, 16384K cma-reserved, 245748K highmem)
[    0.000000] random: get_random_u32 called from __kmem_cache_create+0x30/0x474 with crng_init=0
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 38784 entries in 114 pages
[    0.000000] ftrace: allocated 114 pages with 4 groups
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 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.000002] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000022] Switching to timer-based delay loop, resolution 41ns
[    0.000503] Console: colour dummy device 80x30
[    0.001076] printk: console [tty0] enabled
[    0.001158] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.001199] pid_max: default: 32768 minimum: 301
[    0.001448] LSM: Security Framework initializing
[    0.001539] Yama: disabled by default; enable with sysctl kernel.yama.*
[    0.001732] AppArmor: AppArmor initialized
[    0.001764] TOMOYO Linux initialized
[    0.001858] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.001898] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.003230] CPU: Testing write buffer coherency: ok
[    0.003795] /cpus/cpu@0 missing clock-frequency property
[    0.003863] /cpus/cpu@1 missing clock-frequency property
[    0.003983] /cpus/cpu@2 missing clock-frequency property
[    0.004021] /cpus/cpu@3 missing clock-frequency property
[    0.004049] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.005032] Setting up static identity map for 0x40300000 - 0x403000ac
[    0.005932] rcu: Hierarchical SRCU implementation.
[    0.007903] EFI services will not be available.
[    0.008633] smp: Bringing up secondary CPUs ...
[    0.019664] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.030891] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.041994] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.042142] smp: Brought up 1 node, 4 CPUs
[    0.042228] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.042251] CPU: All CPU(s) started in HYP mode.
[    0.042267] CPU: Virtualization extensions available.
[    0.043197] devtmpfs: initialized
[    0.050235] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.050604] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.050685] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.051991] pinctrl core: initialized pinctrl subsystem
[    0.053070] DMI not present or invalid.
[    0.053590] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.060180] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.061277] audit: initializing netlink subsys (disabled)
[    0.061640] audit: type=2000 audit(0.036:1): state=initialized audit_enabled=0 res=1
[    0.062956] thermal_sys: Registered thermal governor 'fair_share'
[    0.062972] thermal_sys: Registered thermal governor 'bang_bang'
[    0.063001] thermal_sys: Registered thermal governor 'step_wise'
[    0.063021] thermal_sys: Registered thermal governor 'user_space'
[    0.063040] thermal_sys: Registered thermal governor 'power_allocator'
[    0.063519] No ATAGs?
[    0.063735] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.063770] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.064810] Serial: AMBA PL011 UART driver
[    0.069131] platform 1c0c000.lcd-controller: Fixing up cyclic dependency with 1100000.mixer
[    0.087297] Kprobes globally optimized
[    1.503879] iommu: Default domain type: Translated
[    1.504685] vgaarb: loaded
[    1.505587] mc: Linux media interface: v0.10
[    1.505657] videodev: Linux video capture interface: v2.00
[    1.507459] NetLabel: Initializing
[    1.507498] NetLabel:  domain hash size = 128
[    1.507515] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    1.507637] NetLabel:  unlabeled traffic allowed by default
[    1.508188] clocksource: Switched to clocksource arch_sys_counter
[    1.569161] VFS: Disk quotas dquot_6.6.0
[    1.569366] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.570230] AppArmor: AppArmor Filesystem Enabled
[    1.581492] NET: Registered PF_INET protocol family
[    1.581729] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.583365] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.583460] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.583588] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.583724] TCP: Hash tables configured (established 8192 bind 8192)
[    1.584016] MPTCP token hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    1.584235] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.584366] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.584706] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.584764] NET: Registered PF_XDP protocol family
[    1.584796] PCI: CLS 0 bytes, default 64
[    1.586714] Trying to unpack rootfs image as initramfs...
[    1.592455] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    1.594768] Initialise system trusted keyrings
[    1.594885] Key type blacklist registered
[    1.595308] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    1.603575] zbud: loaded
[    1.605430] integrity: Platform Keyring initialized
[    1.605513] Key type asymmetric registered
[    1.605537] Asymmetric key parser 'x509' registered
[    1.605733] bounce: pool size: 64 pages
[    1.605889] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    1.606346] io scheduler mq-deadline registered
[    1.615164] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    1.617908] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[    1.628374] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled
[    1.631440] sun8i-h3-pinctrl 1c20800.pinctrl: supply vcc-pa not found, using dummy regulator
[    1.652767] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 44, base_baud = 1500000) is a U6_16550A
[    2.444308] printk: console [ttyS0] enabled
[    2.450289] Serial: AMBA driver
[    2.455042] STM32 USART driver initialized
[    2.463485] libphy: Fixed MDIO Bus: probed
[    2.468761] mousedev: PS/2 mouse device common for all mice
[    2.477644] sun6i-rtc 1f00000.rtc: registered as rtc0
[    2.482968] sun6i-rtc 1f00000.rtc: setting system clock to 1970-01-01T02:10:32 UTC (7832)
[    2.491344] sun6i-rtc 1f00000.rtc: RTC enabled
[    2.499330] ledtrig-cpu: registered to indicate activity on CPUs
[    2.508466] NET: Registered PF_INET6 protocol family
[    3.369276] Freeing initrd memory: 25416K
[    3.431115] Segment Routing with IPv6
[    3.435036] mip6: Mobile IPv6
[    3.438078] NET: Registered PF_PACKET protocol family
[    3.443377] mpls_gso: MPLS GSO support
[    3.447267] ThumbEE CPU extension supported.
[    3.451572] Registering SWP/SWPB emulation handler
[    3.457033] registered taskstats version 1
[    3.461184] Loading compiled-in X.509 certificates
[    3.789252] Loaded X.509 cert 'Debian Secure Boot CA: 6ccece7e4c6c0d1f6149f3dd27dfcc5cbb419ea1'
[    3.798124] Loaded X.509 cert 'Debian Secure Boot Signer 2021 - linux: 4b6ef5abca669825178e052c84667ccbc0531f8c'
[    3.809296] zswap: loaded using pool lzo/zbud
[    3.814690] Key type ._fscrypt registered
[    3.818777] Key type .fscrypt registered
[    3.822726] Key type fscrypt-provisioning registered
[    3.855086] Key type encrypted registered
[    3.859205] AppArmor: AppArmor sha1 policy hashing enabled
[    3.864788] ima: No TPM chip found, activating TPM-bypass!
[    3.870339] ima: Allocated hash algorithm: sha256
[    3.875154] ima: No architecture policies found
[    3.879812] evm: Initialising EVM extended attributes:
[    3.884976] evm: security.selinux
[    3.888313] evm: security.SMACK64 (disabled)
[    3.892600] evm: security.SMACK64EXEC (disabled)
[    3.897233] evm: security.SMACK64TRANSMUTE (disabled)
[    3.902302] evm: security.SMACK64MMAP (disabled)
[    3.906935] evm: security.apparmor
[    3.910353] evm: security.ima
[    3.913338] evm: security.capability
[    3.916931] evm: HMAC attrs: 0x1
[    3.933718] sun8i-h3-r-pinctrl 1f02c00.pinctrl: supply vcc-pl not found, using dummy regulator
[    3.942981] input: r_gpio_keys as /devices/platform/r_gpio_keys/input/input0
[    3.963944] Freeing unused kernel image (initmem) memory: 2048K
[    3.989016] Checked W+X mappings: passed, no W+X pages found
[    3.994745] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[    4.563198] phy_sun4i_usb: module verification failed: signature and/or required key missing - tainting kernel
[    4.573152] sun8i-h3-pinctrl 1c20800.pinctrl: supply vcc-pf not found, using dummy regulator
[    4.585720] sun8i-h3-pinctrl 1c20800.pinctrl: supply vcc-pg not found, using dummy regulator
[    4.620753] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[    4.630315] usbcore: registered new interface driver usbfs
[    4.644466] usbcore: registered new interface driver hub
[    4.656306] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    4.656478] usbcore: registered new device driver usb
[    4.692655] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.703151] pps_core: LinuxPPS API ver. 1 registered
[    4.708385] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    4.711336] ehci-platform: EHCI generic platform driver
[    4.712722] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.713963] ohci-platform: OHCI generic platform driver
[    4.714409] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    4.714453] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 1
[    4.722416] usb_phy_generic usb_phy_generic.1.auto: supply vcc not found, using dummy regulator
[    4.724672] mmc0: host does not support reading read-only switch, assuming write-enable
[    4.725116] ehci-platform 1c1a000.usb: EHCI Host Controller
[    4.725157] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 2
[    4.747294] PTP clock support registered
[    4.756270] mmc0: new high speed SDXC card at address aaaa
[    4.758178] ohci-platform 1c1a400.usb: irq 36, io mem 0x01c1a400
[    4.772377] mmcblk0: mmc0:aaaa SC64G 59.5 GiB
[    4.804429] ehci-platform 1c1a000.usb: irq 35, io mem 0x01c1a000
[    4.808530]  mmcblk0: p1
[    4.812367] dwmac-sun8i 1c30000.ethernet: IRQ eth_wake_irq not found
[    4.819555] dwmac-sun8i 1c30000.ethernet: IRQ eth_lpi not found
[    4.825741] dwmac-sun8i 1c30000.ethernet: No regulator found
[    4.828259] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    4.831597] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    4.840641] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.14
[    4.843416] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 148000 (expect 58000)
[    4.851686] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.864115] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    4.868431] usb usb2: Product: EHCI Host Controller
[    4.875740] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    4.880668] usb usb2: Manufacturer: Linux 5.14.0-0.bpo.2-armmp ehci_hcd
[    4.887959] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    4.894600] usb usb2: SerialNumber: 1c1a000.usb
[    4.899609] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    4.905545] hub 2-0:1.0: USB hub found
[    4.911030] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    4.911047] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    4.911063] dwmac-sun8i 1c30000.ethernet: device MAC address 62:17:0e:7c:6c:61
[    4.914953] hub 2-0:1.0: 1 port detected
[    4.938211] libphy: stmmac: probed
[    4.938687] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.14
[    4.938807] ehci-platform 1c1d000.usb: EHCI Host Controller
[    4.943481] dwmac-sun8i 1c30000.ethernet: Found internal PHY node
[    4.950123] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.950142] usb usb1: Product: Generic Platform OHCI controller
[    4.950150] usb usb1: Manufacturer: Linux 5.14.0-0.bpo.2-armmp ohci_hcd
[    4.950159] usb usb1: SerialNumber: 1c1a400.usb
[    4.957275] hub 1-0:1.0: USB hub found
[    4.962720] libphy: mdio_mux: probed
[    4.971470] hub 1-0:1.0: 1 port detected
[    4.975430] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY
[    4.985111] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 3
[    4.985597] ohci-platform 1c1d400.usb: Generic Platform OHCI controller
[    4.985629] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 4
[    4.986721] dwmac-sun8i 1c30000.ethernet: Powering internal PHY
[    5.033293] ohci-platform 1c1d400.usb: irq 38, io mem 0x01c1d400
[    5.040517] ehci-platform 1c1d000.usb: irq 37, io mem 0x01c1d000
[    5.056031] libphy: mdio_mux: probed
[    5.060271] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00
[    5.066995] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.14
[    5.075352] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.082657] usb usb3: Product: EHCI Host Controller
[    5.087593] usb usb3: Manufacturer: Linux 5.14.0-0.bpo.2-armmp ehci_hcd
[    5.094291] usb usb3: SerialNumber: 1c1d000.usb
[    5.103073] hub 3-0:1.0: USB hub found
[    5.109041] hub 3-0:1.0: 1 port detected
[    5.119836] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.14
[    5.128297] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.135709] usb usb4: Product: Generic Platform OHCI controller
[    5.141774] usb usb4: Manufacturer: Linux 5.14.0-0.bpo.2-armmp ohci_hcd
[    5.148538] usb usb4: SerialNumber: 1c1d400.usb
[    5.154695] hub 4-0:1.0: USB hub found
[    5.158963] hub 4-0:1.0: 1 port detected
Begin: Loading essential drivers ... [    5.472200] raid6: neonx8   gen()   603 MB/s
[    5.544189] raid6: neonx8   xor()   500 MB/s
[    5.616188] raid6: neonx4   gen()   900 MB/s
[    5.688168] raid6: neonx4   xor()   695 MB/s
[    5.760188] raid6: neonx2   gen()   911 MB/s
[    5.832178] raid6: neonx2   xor()   668 MB/s
[    5.904180] raid6: neonx1   gen()   746 MB/s
[    5.976178] raid6: neonx1   xor()   549 MB/s
[    6.048221] raid6: int32x8  gen()   242 MB/s
[    6.120217] raid6: int32x8  xor()   149 MB/s
[    6.192201] raid6: int32x4  gen()   267 MB/s
[    6.264190] raid6: int32x4  xor()   171 MB/s
[    6.336170] raid6: int32x2  gen()   307 MB/s
[    6.408229] raid6: int32x2  xor()   178 MB/s
[    6.480196] raid6: int32x1  gen()   314 MB/s
[    6.552179] raid6: int32x1  xor()   171 MB/s
[    6.556469] raid6: using algorithm neonx2 gen() 911 MB/s
[    6.561799] raid6: .... xor() 668 MB/s, rmw enabled
[    6.566694] raid6: using neon recovery algorithm
[    6.573617] xor: measuring software checksum speed
[    6.586125]    arm4regs        :  1299 MB/sec
[    6.602689]    8regs           :   807 MB/sec
[    6.617720]    32regs          :   922 MB/sec
[    6.629342]    neon            :  1363 MB/sec
[    6.633717] xor: using function: neon (1363 MB/sec)
[    6.644924] async_tx: api initialized (async)
done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... [    6.888892] Btrfs loaded, crc32c=crc32c-generic, zoned=yes
Scanning for Btrfs filesystems
done.
Warning: fsck not present, so skipping root file system
[    7.158402] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... /scripts/local-bottom/mdadm: 2: /scripts/local-bottom/mdadm: rm: not found
done.
Begin: Running /scripts/init-bottom ... done.
[    7.440345] Not activating Mandatory Access Control as /sbin/tomoyo-init does not exist.
[    7.557321] random: fast init done
[    7.848685] systemd[1]: System time before build time, advancing clock.
[    7.920281] systemd[1]: Inserted module 'autofs4'
[    8.008516] systemd[1]: systemd 247.3-6 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified)
[    8.031970] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 11 (bullseye)!

[    8.067619] systemd[1]: Set hostname to <mtda>.
[    8.087556] random: systemd: uninitialized urandom read (16 bytes read)
[    8.094342] systemd[1]: Initializing machine ID from random generator.
[    8.549134] random: lvmconfig: uninitialized urandom read (4 bytes read)
[    8.952030] systemd[1]: /lib/systemd/system/expand-on-first-boot.service:19: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
[    8.972427] systemd[1]: /lib/systemd/system/expand-on-first-boot.service:20: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
[    9.188011] systemd[1]: Queued start job for default target Graphical Interface.
[    9.197436] random: systemd: uninitialized urandom read (16 bytes read)
[    9.210244] systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[    9.232490] random: systemd: uninitialized urandom read (16 bytes read)
[    9.241446] systemd[1]: Created slice system-modprobe.slice.
[  OK  ] Created slice system-modprobe.slice.
[    9.264463] random: systemd: uninitialized urandom read (16 bytes read)
[    9.273559] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    9.298212] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    9.321003] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[    9.344815] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[    9.369676] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[  OK  ] Set up automount Arbitrary…s File System Automount Point.
[    9.396688] systemd[1]: Reached target Local Encrypted Volumes.
[  OK  ] Reached target Local Encrypted Volumes.
[    9.420662] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[    9.436496] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    9.456426] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[    9.472544] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    9.489191] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[  OK  ] Listening on Device-mapper event daemon FIFOs.
[    9.513457] systemd[1]: Listening on LVM2 poll daemon socket.
[  OK  ] Listening on LVM2 poll daemon socket.
[    9.536908] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[    9.561792] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[    9.585384] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    9.609493] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    9.628864] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    9.649367] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    9.673544] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[    9.687901] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    9.718945] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[    9.743004] systemd[1]: Mounting Kernel Trace File System...
         Mounting Kernel Trace File System...
[    9.761741] systemd[1]: Finished Availability of block devices.
[  OK  ] Finished Availability of block devices.
[    9.793051] systemd[1]: Starting Create list of static device nodes for the current kernel...
         Starting Create list of st…odes for the current kernel...
[    9.823432] systemd[1]: Starting Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
         Starting Monitoring of LVM…meventd or progress polling...
[    9.855981] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[    9.880550] systemd[1]: Starting Load Kernel Module drm...
         Starting Load Kernel Module drm...
[    9.903837] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[    9.931371] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    9.956795] systemd[1]: Starting Journal Service...
[    9.958978] fuse: init (API version 7.34)
         Starting Journal Service...
[   10.000558] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[   10.028599] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[   10.061659] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[   10.094483] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[   10.123561] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null). Quota mode: none.
[   10.135748] systemd[1]: Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Debug File System.
[   10.161698] systemd[1]: Mounted Kernel Trace File System.
[  OK  ] Mounted Kernel Trace File System.
[   10.191628] systemd[1]: Finished Create list of static device nodes for the current kernel.
[  OK  ] Finished Create list of st… nodes for the current kernel.
[   10.224438] systemd[1]: Finished Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling.
[  OK  ] Finished Monitoring of LVM… dmeventd or progress polling.
[   10.259068] systemd[1]: [email protected]: Succeeded.
[   10.267477] systemd[1]: Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module configfs.
[   10.289968] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Finished Load Kernel Module drm.
[  OK  ] Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Modules.
[  OK  ] Finished Remount Root and Kernel File Systems.
         Mounting FUSE Control File System...
         Mounting Kernel Configuration File System...
         Starting Expand last partition...
         Starting Flush Journal to Persistent Storage...
         Starting Load/Save Random Seed...
[   10.549104] systemd-journald[237]: Received client request to flush runtime journal.
         Starting Apply Kernel Variables...
         Starting Create System Users...
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Finished Apply Kernel Variables.
[  OK  ] Finished Coldplug All udev Devices.
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] Finished Create System Users.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Finished Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager (LAVA)...
[   11.372461] EXT4-fs (mmcblk0p1): resizing filesystem from 266624 to 15591680 blocks
[  OK  ] Started udev Kernel Device Manager (LAVA).
[   12.211183] sunxi_cedrus: module is from the staging directory, the quality is unknown, you have been warned.
[   12.240613] cedrus 1c0e000.video-codec: Device registered as /dev/video0
[   12.258281] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[  OK  ] Reached target Hardware activated USB gadget.
[  OK  ] Found device /dev/ttyS0.
[   12.400912] lima 1c40000.gpu: gp - mali400 version major 1 minor 1
[   12.417127] lima 1c40000.gpu: pp0 - mali400 version major 1 minor 1
[   12.445210] lima 1c40000.gpu: pp1 - mali400 version major 1 minor 1
[   12.480628] lima 1c40000.gpu: l2 cache 64K, 4-way, 64byte cache line, 64bit external bus
[   12.542829] lima 1c40000.gpu: bus rate = 200000000
[   12.547974] lima 1c40000.gpu: mod rate = 297000000
[   12.556028] lima 1c40000.gpu: dev_pm_opp_set_regulators: no regulator (mali) found: -19
[   12.635986] [drm] Initialized lima 1.1.0 20191231 for 1c40000.gpu on minor 0
[   12.909056] EXT4-fs (mmcblk0p1): resized filesystem to 15591680
[   13.134179] random: crng init done
[   13.137655] random: 5 urandom warning(s) missed due to ratelimiting
[  OK  ] Finished Load/Save Random Seed.
         Starting Regenerate sshd host keys...
[  OK  ] Finished Expand last partition.
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Finished Update UTMP about System Boot/Shutdown.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target System Time Set.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Periodic ext4 Onli…ata Check for All Filesystems.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Reached target Timers.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Listening on UUID daemon activation socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started D-Bus System Message Bus.
         Starting Network Manager...
         Starting Remove Stale Onli…t4 Metadata Check Snapshots...
[  OK  ] Started USB functions for MTDA.
[  OK  ] Started Multi-Tenant Device Access.
         Starting User Login Management...
         Starting WPA supplicant...
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started WPA supplicant.
[  OK  ] Started Network Manager.
[  OK  ] Reached target Network.
[  OK  ] Started LAVA worker.
         Starting Permit User Sessions...
         Starting Hostname Service...
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started User Login Management.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[   18.970074] Mass Storage Function, version: 2009/09/11
[   18.975439] LUN: removable file: (no medium)
[   19.009670] mass_storage.usb0/lun.0: unable to open backing file: /dev/sda
[   19.032720] mass_storage.usb0/lun.0: unable to open backing file: /dev/sda
[  OK  ] Started Hostname Service.
[  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
         Starting Network Manager Script Dispatcher Service...
[   19.829264] dwmac-sun8i 1c30000.ethernet eth0: PHY [0.1:01] driver [Generic PHY] (irq=POLL)
[   19.845080] dwmac-sun8i 1c30000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   19.854942] dwmac-sun8i 1c30000.ethernet eth0: No Safety Features support found
[   19.862509] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available
[   19.870382] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW
[  OK  ] Started Network Manager Script Dispatcher Service.
[   19.907149] dwmac-sun8i 1c30000.ethernet eth0: configuring for phy/mii link mode
[  OK  ] Finished Remove Stale Onli…ext4 Metadata Check Snapshots.

Debian GNU/Linux 11 mtda ttyS0

@chombourger
Copy link
Collaborator

[    4.812367] dwmac-sun8i 1c30000.ethernet: IRQ eth_wake_irq not found
[    4.819555] dwmac-sun8i 1c30000.ethernet: IRQ eth_lpi not found

looked suspicious but the error message turns out to be misleading since these are optional IRQ lines
a fix was proposed upstream https://patchwork.ozlabs.org/project/netdev/patch/[email protected]/

@chombourger
Copy link
Collaborator

More concerning is

Model: FriendlyARM NanoPi NEO
Loading /usr/lib/linux-image-5.14.0-0.bpo.2-armmp/sun8i-h3-nanopi-neo.dtb...

@chombourger
Copy link
Collaborator

That was the issue. was able to boot a MTDA image on the r1:

root@mtda:/home/mtda# dmesg|grep -i r1
[    0.000000] OF: fdt: Machine model: FriendlyARM NanoPi R1

will now prepare the pull request

chombourger added a commit to chombourger/mtda that referenced this issue Dec 29, 2021
Closes: siemens#105
Signed-off-by: Cedric Hombourger <[email protected]>
@chombourger
Copy link
Collaborator

initial support with #123 (thanks @GuBi34 for the board you sent me!)

the image was booted from SD. Need to check if patches are needed to support distro_boot (see https://marcin.juszkiewicz.com.pl/2021/03/14/u-boot-and-generic-distro-boot/): this would let us use the same image for either SD or eMMC boot

several packages to be added to support BT/Wi-Fi
I have not yet checked the second Ethernet port

@chombourger
Copy link
Collaborator

2nd ethernet port is also working:

mtda@mtda:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 42:59:38:32:eb:c9 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.48/24 brd 192.168.1.255 scope global dynamic noprefixroute eth0
       valid_lft 83044sec preferred_lft 83044sec
    inet6 2a01:cb1d:84b4:9600:12e4:d56a:baa:b0d7/64 scope global dynamic noprefixroute 
       valid_lft 1762sec preferred_lft 562sec
    inet6 fe80::6a26:f34e:7c09:ea57/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 3e:cf:6b:17:75:44 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.50/24 brd 192.168.1.255 scope global dynamic noprefixroute eth2
       valid_lft 86322sec preferred_lft 86322sec
    inet6 2a01:cb1d:84b4:9600:a59:f214:4c1b:3f72/64 scope global dynamic noprefixroute 
       valid_lft 1762sec preferred_lft 562sec
    inet6 fe80::dbb4:e6e4:e24:3d66/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

@vj-kumar
Copy link
Contributor

Ah. So the device tree is the issue. I also received my R1. Will look into WiFi tonight.

@vj-kumar
Copy link
Contributor

linux-firmware package is not present. We would need that.

@vj-kumar
Copy link
Contributor

Wifi module based on broadcom. So brcmfmac driver should ideally be sufficient with the right firmware. I see the driver. Let me put the linux-firmware package and check.

@chombourger
Copy link
Collaborator

I would suggest we add BT/Wi-Fi support in a separate PR but yes we probably need to add several packages (we also need the package that ships regulatory.db)

@chombourger
Copy link
Collaborator

Ah. So the device tree is the issue. I also received my R1. Will look into WiFi tonight.

right. the u-boot binary from Debian does not recognize the R1 and somehow thinks it is a NEO. That's how we got the DT for the NEO loaded :(

@vj-kumar
Copy link
Contributor

I would suggest we add BT/Wi-Fi support in a separate PR but yes we probably need to add several packages (we also need the package that ships regulatory.db)

Agreed. I have not decoded the dtb yet. Maybe there is wifi entry. Maybe not.

chombourger added a commit to chombourger/mtda that referenced this issue Dec 30, 2021
Closes: siemens#105
Signed-off-by: Cedric Hombourger <[email protected]>
@chombourger
Copy link
Collaborator

Modified the wks to boot Linux with root=PARTUUID=2edae528-01 instead of root=/dev/mmcblk1p1
Verified that the same image may now be used either on the SD card or eMMC

@chombourger
Copy link
Collaborator

Programmed the eMMC as follows:

mtda@mtda:~$ sudo dd if=isar-image-base-debian-bullseye-nanopi-r1.wic.img of=/dev/mmcblk2 bs=8M status=progress

@GuBi34
Copy link
Contributor Author

GuBi34 commented Dec 30, 2021

@chombourger thanks for the ultra quick support!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants