20250506让NanoPi NEO core开发板使用Ubuntu core16.04系统的TF卡启动

news2025/5/12 0:31:45

1、h3-sd-friendlycore-xenial-4.14-armhf-20210618.img.gz 在WIN10下使用7-ZIP解压缩/ubuntu20.04下使用tar
2、Win32DiskImager.exe 写如32GB的TF卡。【以管理员身份运行】
3、TF卡如果已经做过会有3个磁盘分区,可以使用SD Card Formatter/SDCardFormatterv5_WinEN.zip格式化TF卡。DiskGenius可以尝试。


20250506让NanoPi NEO core开发板使用Ubuntu core16.04系统的TF卡启动
2025/5/6 18:29


缘起:将Ubuntu core16.04系统的TF启动卡插入NanoPi NEO core开发板,上电就会使用TF卡启动。
NanoPi NEO core开发板默认出厂的系统是Ubuntu22.04 core。


http://wiki.friendlyelec.com/wiki/index.php/NanoPi_NEO_Core/zh#.E7.83.A7.E5.86.99.E5.88.B0TF.E5.8D.A1
NanoPi NEO Core/zh

4 快速入门
4.1 准备工作
4.2 经测试可选用的TF卡
4.3 安装系统
4.3.1 下载系统固件
4.3.2 烧写Linux系统
4.3.2.1 烧写到TF卡
4.3.2.2 烧写到eMMC
4.3.2.2.1 eflasher脱机烧写


4.3 安装系统
4.3.1 下载系统固件
首先访问下载地址下载需要的固件文件(officail-ROMs目录)和烧写工具(tools目录):
使用以下固件:
nanopi-neo-core_sd_friendlycore-xenial_4.14_armhf_YYYYMMDD.img.zip    基于UbuntuCore构建的FriendlyCore系统固件,使用Linux-4.14内核
nanopi-neo-core_sd_friendlywrt_4.14_armhf_YYYYMMDD.img.zip    基于OpenWrt构建的系统固件, kernel:Linux-4.14
nanopi-neo-core_eflasher_friendlycore-xenial_4.14_armhf_YYYYMMDD.img.zip    eflasher系统固件,用于将FriendlyCore(Linux-4.14)系统烧写到eMMC
nanopi-neo-core_eflasher_openwrt_4.14_armhf_YYYYMMDD.img.zip    eflasher系统固件,用于将OpenWrt(Linux-4.14)系统烧写到eMMC
烧写工具:
win32diskimager.rar    Windows平台下的系统烧写工具,Linux平台下可以用dd命令烧写系统
4.3.2 烧写Linux系统
4.3.2.1 烧写到TF卡
FriendlyCore / FriendlyWrt 等系统都属于 Linux 系统,所以它们的烧写方法是一样。
将 Linux 系统固件和烧写工具 win32diskimager.rar 分别解压,在 Windows 下插入TF卡(限4G及以上的卡),以管理员身份运行烧写工具 win32diskimager,在烧写工具 win32diskimager 的界面上,选择你的TF卡盘符,选择Linux 系统固件,点击 Write 按钮烧写。
这里以nanopi-neo-core_sd_friendlycore-xenial_4.14_armhf_YYYYMMDD.img为例,其他系统的烧写操作是类似的,烧写时的界面如下:
win32disk-h3
成功烧写后,会看到如下界面:
win32disk-finish
当制作完成TF卡后,拔出TF卡插入 BOOT 卡槽,上电启动(注意,这里需要5V/2A的供电),你可以看到STAT灯闪烁,这时你已经成功启动系统。


当前使用的固件是:h3-sd-friendlycore-xenial-4.14-armhf-20210618.img.gz
【可以使用7-ZIP打开/解压缩,也可以直接在ubuntu20.04中使用tar解压缩!^_】
Y:\BaiduNetdiskDownload\20250423的FriendlyElec-H3\01_系统固件\01_SD卡固件\


TF卡如果已经做过会有3个磁盘分区,可以使用SD Card Formatter/SDCardFormatterv5_WinEN.zip格式化TF卡。DiskGenius可以尝试。

完整的启动LOG:

[BEGIN] 2025/5/6 18:01:09

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-core
starting USB...
No controllers found
Hit any key to stop autoboot:  0 
reading boot.scr
1478 bytes read in 17 ms (84 KiB/s)
## Executing script at 43100000
running boot.scr
reading uEnv.txt
968 bytes read in 18 ms (51.8 KiB/s)
reading zImage
5902784 bytes read in 296 ms (19 MiB/s)
reading rootfs.cpio.gz
7529959 bytes read in 369 ms (19.5 MiB/s)
reading sun8i-h3-nanopi-neo-core.dtb
34556 bytes read in 26 ms (1.3 MiB/s)
overlays is empty
reading overlays/sun8i-h3-fixup.scr
4109 bytes read in 33 ms (121.1 KiB/s)
## Executing script at 44500000
## Flattened Device Tree blob at 48000000
   Booting using the fdt blob at 0x48000000
   Loading Ramdisk to 498d1000, end 49fff5e7 ... OK
   reserving fdt memory region: addr=48000000 size=6e000
   Loading Device Tree to 49860000, end 498d0fff ... 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-Core
[    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: 428248K/524288K available (10240K kernel code, 391K rwdata, 2080K rodata, 2048K init, 303K bss, 30504K 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.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000018] Switching to timer-based delay loop, resolution 41ns
[    0.000215] Console: colour dummy device 80x30
[    0.000250] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=120000)
[    0.000264] pid_max: default: 32768 minimum: 301
[    0.000436] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000450] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001183] CPU: Testing write buffer coherency: ok
[    0.001642] CPU0: update cpu_capacity 1024
[    0.001654] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002036] Setting up static identity map for 0x40200000 - 0x40200060
[    0.002162] Hierarchical SRCU implementation.
[    0.002736] smp: Bringing up secondary CPUs ...
[    0.013529] CPU1: update cpu_capacity 1024
[    0.013535] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.024429] CPU2: update cpu_capacity 1024
[    0.024435] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.035230] CPU3: update cpu_capacity 1024
[    0.035237] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.035320] smp: Brought up 1 node, 4 CPUs
[    0.035350] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.035356] CPU: All CPU(s) started in HYP mode.
[    0.035362] CPU: Virtualization extensions available.
[    0.036100] devtmpfs: initialized
[    0.043014] random: get_random_u32 called from bucket_table_alloc+0xf0/0x240 with crng_init=0
[    0.043647] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.043906] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302231375000 ns
[    0.043930] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.046659] xor: measuring software checksum speed
[    0.095044]    arm4regs  :  1372.000 MB/sec
[    0.145099]    8regs     :   769.600 MB/sec
[    0.195153]    32regs    :   850.400 MB/sec
[    0.245211]    neon      :  1283.200 MB/sec
[    0.245218] xor: using function: arm4regs (1372.000 MB/sec)
[    0.245239] pinctrl core: initialized pinctrl subsystem
[    0.246247] NET: Registered protocol family 16
[    0.247938] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.248762] cpuidle: using governor ladder
[    0.248840] cpuidle: using governor menu
[    0.249268] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.249279] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.268383] SCSI subsystem initialized
[    0.268803] usbcore: registered new interface driver usbfs
[    0.268851] usbcore: registered new interface driver hub
[    0.268942] usbcore: registered new device driver usb
[    0.269117] media: Linux media interface: v0.10
[    0.269161] Linux video capture interface: v2.00
[    0.269292] pps_core: LinuxPPS API ver. 1 registered
[    0.269300] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.269318] PTP clock support registered
[    0.269631] Advanced Linux Sound Architecture Driver Initialized.
[    0.271316] clocksource: Switched to clocksource arch_sys_counter
[    0.271493] VFS: Disk quotas dquot_6.6.0
[    0.271574] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.271735] FS-Cache: Loaded
[    0.279017] NET: Registered protocol family 2
[    0.279659] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.279713] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.279775] TCP: Hash tables configured (established 4096 bind 4096)
[    0.279889] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.279932] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.280154] NET: Registered protocol family 1
[    0.280644] RPC: Registered named UNIX socket transport module.
[    0.280654] RPC: Registered udp transport module.
[    0.280660] RPC: Registered tcp transport module.
[    0.280665] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.280917] Unpacking initramfs...
[    0.664997] Freeing initrd memory: 7356K
[    0.665442] kvm [1]: 8-bit VMID
[    0.666163] kvm [1]: vgic interrupt IRQ16
[    0.666269] kvm [1]: Hyp mode initialized successfully
[    0.669137] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.673720] zbud: loaded
[    0.675332] FS-Cache: Netfs 'nfs' registered for caching
[    0.675904] NFS: Registering the id_resolver key type
[    0.675943] Key type id_resolver registered
[    0.675950] Key type id_legacy registered
[    0.675966] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.675982] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.676941] fuse init (API version 7.26)
[    0.682496] async_tx: api initialized (async)
[    0.682648] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.682827] io scheduler noop registered (default)
[    0.682839] io scheduler deadline registered
[    0.683033] io scheduler cfq registered
[    0.683044] io scheduler mq-deadline registered
[    0.683174] io scheduler bfq registered
[    0.683875] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO, pinctrl may not init
[    0.687667] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.689220] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[    0.694624] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.696553] console [ttyS0] disabled
[    0.716764] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 45, base_baud = 1500000) is a U6_16550A
[    1.478159] console [ttyS0] enabled
[    1.504446] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 46, base_baud = 1500000) is a U6_16550A
[    1.536034] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 47, base_baud = 1500000) is a U6_16550A
[    1.567610] 1c28c00.serial: ttyS3 at MMIO 0x1c28c00 (irq = 48, base_baud = 1500000) is a U6_16550A
[    1.578784] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.585433] [drm] No driver support for vblank timestamp query.
[    1.600808] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc0c51b68)
[    1.607909] sun4i-drm display-engine: No panel or bridge found... RGB output disabled
[    1.615763] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0c5086c)
[    1.746405] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)
[    1.756332] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver
[    1.764048] sun4i-drm display-engine: bound 1ee0000.hdmi (ops 0xc0c51ee8)
[    1.770916] [drm] Cannot find any crtc or sizes - going 1920x1080
[    1.818352] Console: switching to colour frame buffer device 240x67
[    1.849232] sun4i-drm display-engine: fb0:  frame buffer device
[    1.855642] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.872593] loop: module loaded
[    1.892145] st: Version 20160209, fixed bufsize 32768, s/g segs 256
[    1.898528] osst :I: Tape driver with OnStream support version 0.99.4
[    1.898528] osst :I: $Id: osst.c,v 1.73 2005/01/01 21:13:34 wriede Exp $
[    1.911864] SCSI Media Changer driver v0.25 
[    1.918251] libphy: Fixed MDIO Bus: probed
[    1.922396] tun: Universal TUN/TAP device driver, 1.6
[    1.927625] CAN device driver interface
[    1.931970] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    1.937770] dwmac-sun8i 1c30000.ethernet: No regulator found
[    1.943479] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[    1.949614] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    1.955287] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    1.962511] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    1.968175] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    1.975396] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    1.980365] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    1.987718] libphy: stmmac: probed
[    2.000733] PPP generic driver version 2.4.2
[    2.005292] PPP BSD Compression module registered
[    2.010017] PPP Deflate Compression module registered
[    2.015102] PPP MPPE Compression module registered
[    2.019899] NET: Registered protocol family 24
[    2.024466] usbcore: registered new interface driver qmi_wwan
[    2.030248] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.036784] ehci-platform: EHCI generic platform driver
[    2.042301] ehci-platform 1c1a000.usb: EHCI Host Controller
[    2.047919] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    2.056114] ehci-platform 1c1a000.usb: irq 29, io mem 0x01c1a000
[    2.076328] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    2.082621] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.089420] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.096645] usb usb1: Product: EHCI Host Controller
[    2.101528] usb usb1: Manufacturer: Linux 4.14.111 ehci_hcd
[    2.107103] usb usb1: SerialNumber: 1c1a000.usb
[    2.112198] hub 1-0:1.0: USB hub found
[    2.115980] hub 1-0:1.0: 1 port detected
[    2.120619] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.126842] ohci-platform: OHCI generic platform driver
[    2.132281] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    2.138921] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    2.146898] ohci-platform 1c1a400.usb: irq 30, io mem 0x01c1a400
[    2.215490] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    2.222295] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.229522] usb usb2: Product: Generic Platform OHCI controller
[    2.235445] usb usb2: Manufacturer: Linux 4.14.111 ohci_hcd
[    2.241021] usb usb2: SerialNumber: 1c1a400.usb
[    2.248427] hub 2-0:1.0: USB hub found
[    2.252220] hub 2-0:1.0: 1 port detected
[    2.256877] usbcore: registered new interface driver cdc_acm
[    2.262550] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    2.270610] usbcore: registered new interface driver usblp
[    2.276132] usbcore: registered new interface driver cdc_wdm
[    2.281829] usbcore: registered new interface driver uas
[    2.287230] usbcore: registered new interface driver usb-storage
[    2.293324] usbcore: registered new interface driver usbserial
[    2.299193] usbcore: registered new interface driver usbserial_generic
[    2.305756] usbserial: USB Serial support registered for generic
[    2.311804] usbcore: registered new interface driver option
[    2.317405] usbserial: USB Serial support registered for GSM modem (1-port)
[    2.324503] usbcore: registered new interface driver qcserial
[    2.330285] usbserial: USB Serial support registered for Qualcomm USB modem
[    2.338118] mousedev: PS/2 mouse device common for all mice
[    2.344198] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
[    2.350999] sun6i-rtc 1f00000.rtc: RTC enabled
[    2.355518] i2c /dev entries driver
[    2.360937] lirc_dev: IR Remote Control driver registered, major 244
[    2.367324] IR NEC protocol handler initialized
[    2.371862] IR RC5(x/sz) protocol handler initialized
[    2.376915] IR RC6 protocol handler initialized
[    2.381448] IR JVC protocol handler initialized
[    2.385971] IR Sony protocol handler initialized
[    2.390590] IR SANYO protocol handler initialized
[    2.395295] IR Sharp protocol handler initialized
[    2.400001] IR MCE Keyboard/mouse protocol handler initialized
[    2.405834] IR LIRC bridge handler initialized
[    2.410324] IR XMP protocol handler initialized
[    2.415718] thermal thermal_zone0: failed to read out thermal zone (-16)
[    2.422961] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    2.431288] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com
[    2.481381] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    2.526671] sunxi-mmc 1c11000.mmc: initialized, max. request size: 16384 KB
[    2.535608] ledtrig-cpu: registered to indicate activity on CPUs
[    2.543632] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.543877] hidraw: raw HID events driver (C) Jiri Kosina
[    2.553604] mmc0: new high speed SDHC card at address b36b
[    2.557194] usbcore: registered new interface driver usbhid
[    2.562991] mmcblk0: mmc0:b36b SDABC 29.1 GiB 
[    2.568113] usbhid: USB HID core driver
[    2.578011]  mmcblk0: p1 p2 p3
[    2.583890] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    2.593931] Initializing XFRM netlink socket
[    2.598815] NET: Registered protocol family 10
[    2.611467] mmc1: new DDR MMC card at address 0001
[    2.617149] mmcblk1: mmc1:0001 8GTF4R 7.28 GiB 
[    2.622112] mmcblk1boot0: mmc1:0001 8GTF4R partition 1 4.00 MiB
[    2.628441] mmcblk1boot1: mmc1:0001 8GTF4R partition 2 4.00 MiB
[    2.635653]  mmcblk1: p1 p2 p3
[    2.635862] Segment Routing with IPv6
[    2.642579] NET: Registered protocol family 17
[    2.647069] NET: Registered protocol family 15
[    2.651522] can: controller area network core (rev 20170425 abi 9)
[    2.657792] NET: Registered protocol family 29
[    2.662259] can: raw protocol (rev 20170425)
[    2.666541] can: broadcast manager protocol (rev 20170425 t)
[    2.672220] can: netlink gateway (rev 20170425) max_hops=1
[    2.678239] Key type dns_resolver registered
[    2.682848] Registering SWP/SWPB emulation handler
[    2.689032] registered taskstats version 1
[    2.708505] Key type encrypted registered
[    2.718524] vcc1v2: supplied by vcc5v0
[    2.722674] vcc-dram: supplied by vcc5v0
[    2.726897] vdd-cpux-en: supplied by vcc5v0
[    2.732914] ehci-platform 1c1b000.usb: EHCI Host Controller
[    2.738569] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 3
[    2.747051] ehci-platform 1c1b000.usb: irq 31, io mem 0x01c1b000
[    2.766331] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[    2.772666] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    2.779467] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.786697] usb usb3: Product: EHCI Host Controller
[    2.791580] usb usb3: Manufacturer: Linux 4.14.111 ehci_hcd
[    2.797154] usb usb3: SerialNumber: 1c1b000.usb
[    2.802287] hub 3-0:1.0: USB hub found
[    2.806068] hub 3-0:1.0: 1 port detected
[    2.810743] ehci-platform 1c1c000.usb: EHCI Host Controller
[    2.816358] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 4
[    2.824417] ehci-platform 1c1c000.usb: irq 33, io mem 0x01c1c000
[    2.841327] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[    2.847578] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    2.854380] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.861608] usb usb4: Product: EHCI Host Controller
[    2.866491] usb usb4: Manufacturer: Linux 4.14.111 ehci_hcd
[    2.872066] usb usb4: SerialNumber: 1c1c000.usb
[    2.877145] hub 4-0:1.0: USB hub found
[    2.880923] hub 4-0:1.0: 1 port detected
[    2.885536] ehci-platform 1c1d000.usb: EHCI Host Controller
[    2.891159] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 5
[    2.899199] ehci-platform 1c1d000.usb: irq 35, io mem 0x01c1d000
[    2.916319] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00
[    2.922567] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
[    2.929363] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.936588] usb usb5: Product: EHCI Host Controller
[    2.941469] usb usb5: Manufacturer: Linux 4.14.111 ehci_hcd
[    2.947045] usb usb5: SerialNumber: 1c1d000.usb
[    2.952055] hub 5-0:1.0: USB hub found
[    2.955828] hub 5-0:1.0: 1 port detected
[    2.960412] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[    2.967063] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 6
[    2.975085] ohci-platform 1c1b400.usb: irq 32, io mem 0x01c1b400
[    3.040467] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
[    3.047267] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.054490] usb usb6: Product: Generic Platform OHCI controller
[    3.060412] usb usb6: Manufacturer: Linux 4.14.111 ohci_hcd
[    3.065988] usb usb6: SerialNumber: 1c1b400.usb
[    3.071488] hub 6-0:1.0: USB hub found
[    3.075265] hub 6-0:1.0: 1 port detected
[    3.079823] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[    3.086480] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 7
[    3.094463] ohci-platform 1c1c400.usb: irq 34, io mem 0x01c1c400
[    3.160475] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
[    3.167276] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.174499] usb usb7: Product: Generic Platform OHCI controller
[    3.180421] usb usb7: Manufacturer: Linux 4.14.111 ohci_hcd
[    3.185998] usb usb7: SerialNumber: 1c1c400.usb
[    3.191039] hub 7-0:1.0: USB hub found
[    3.194839] hub 7-0:1.0: 1 port detected
[    3.199379] ohci-platform 1c1d400.usb: Generic Platform OHCI controller
[    3.206036] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 8
[    3.214018] ohci-platform 1c1d400.usb: irq 36, io mem 0x01c1d400
[    3.280472] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001
[    3.287271] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.294495] usb usb8: Product: Generic Platform OHCI controller
[    3.300417] usb usb8: Manufacturer: Linux 4.14.111 ohci_hcd
[    3.305993] usb usb8: SerialNumber: 1c1d400.usb
[    3.310994] hub 8-0:1.0: USB hub found
[    3.314791] hub 8-0:1.0: 1 port detected
[    3.319400] usb_phy_generic usb_phy_generic.3.auto: usb_phy_generic.3.auto supply vcc not found, using dummy regulator
[    3.330510] musb-hdrc musb-hdrc.4.auto: MUSB HDRC host driver
[    3.336284] musb-hdrc musb-hdrc.4.auto: new USB bus registered, assigned bus number 9
[    3.344267] usb usb9: New USB device found, idVendor=1d6b, idProduct=0002
[    3.351070] usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.358296] usb usb9: Product: MUSB HDRC host driver
[    3.363265] usb usb9: Manufacturer: Linux 4.14.111 musb-hcd
[    3.368841] usb usb9: SerialNumber: musb-hdrc.4.auto
[    3.374238] hub 9-0:1.0: USB hub found
[    3.378031] hub 9-0:1.0: 1 port detected
[    3.385149] asoc-simple-card soc:sound: i2s-hifi <-> 1c22800.i2s mapping ok
[    3.394497] input: r_gpio_keys as /devices/platform/r_gpio_keys/input/input0
[    3.402285] sun6i-rtc 1f00000.rtc: setting system clock to 2016-02-11 17:33:57 UTC (1455212037)
[    3.411395] vcc3v0: disabling
[    3.414366] vcc5v0: disabling
[    3.417343] usb0-vbus: disabling
[    3.420570] ALSA device list:
[    3.423542]   #0: Dummy 1
[    3.426159]   #1: Loopback 1
[    3.429042]   #2: H3 Audio Codec
[    3.432271]   #3: allwinner,hdmi
[    3.437958] Freeing unused kernel memory: 2048K
Loading, please wait...
Starting systemd-udevd version 255.4-1ubuntu8.2[    3.535505] random: systemd-udevd: uninitialized urandom read (8 bytes read)

[    3.545424] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    3.547353] random: udevadm: uninitialized urandom read (16 bytes read)
[    4.373202] random: fast init done
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 ... Scanning for Btrfs filesystems
done.
[    4.805965] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
Begin: Will now check userdata file system ... fsck from util-linux 2.39.3
[/usr/sbin/fsck.ext4 (1) -- /dev/mmcblk0p3] fsck.ext4 -y -C0 /dev/mmcblk0p3 
e2fsck 1.47.0 (5-Feb-2023)
userdata: clean, 11/12800 files, 4958/51200 blocks
done.
[    4.953999] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
Model: SD SDABC (sd/mmc)
Disk /dev/mmcblk0: 100%
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start  End    Size   Type     File system  Flags
 1      0.08%  0.21%  0.13%  primary  fat16
 2      0.21%  4.29%  4.08%  primary  ext4
 3      4.29%  100%   95.7%  primary  ext4

Begin: Resizing ext4 file system on /dev/mmcblk0p3 ... resize2fs 1.47.0 (5-Feb-2023)
Resizing the filesystem on /dev/mmcblk0p3 to 7307264 (4k) blocks.
The filesystem on /dev/mmcblk0p3 is now 7307264 (4k) blocks long.

done.
[    9.147196] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[    9.647621] systemd[1]: [/etc/systemd/system.conf.d/timeoutstopsec.conf:2] Unknown lvalue 'RebootWatchdogSec' in section 'Manager'
[    9.667480] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[    9.686365] systemd[1]: Detected architecture arm.

Welcome to Ubuntu 16.04.2 LTS!

[    9.712248] systemd[1]: Set hostname to <FriendlyElec>.
[    9.727725] systemd[1]: Initializing machine ID from random generator.
[   10.047814] systemd[1]: Created slice System Slice.
[  OK  ] Created slice System Slice.
[   10.066958] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[   10.086805] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[   10.106864] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[   10.126644] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[   10.146679] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
[  OK  ] Listening on Journal Socket.
         Starting Set console keymap...
         Mounting Debug File System...
         Starting Create list of required st... nodes for the current kernel...
         Starting Remount Root and Kernel File Systems...
         Starting Load Kernel Modules...
         Mounting POSIX Message Queue File System...
         Starting Journal Service...[   10.432392] Mass Storage Function, version: 2009/09/11

[   10.440493] LUN: removable file: (no medium)
[   10.445221] LUN: file: /dev/mmcblk0p1
[   10.449003] Number of LUNs=1
[   10.452184] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
[   10.459261] g_mass_storage gadget: userspace failed to provide iSerialNumber
[   10.466369] g_mass_storage gadget: g_mass_storage ready
[  OK  ] Reached target Swap.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Reached target Paths.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Debug File System.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
[   10.573135] 8821cu: loading out-of-tree module taints kernel.
[  OK  ] Started Remount Root and Kernel File Systems.
[   10.605605] usbcore: registered new interface driver rtl8821cu
[  OK  ] Started Set console keymap.
[   10.759880] usbcore: registered new interface driver rtl88xxau
         Starting udev Coldplug all Devices...
         Starting Load/Save Random Seed...
         Starting Create Static Device Nodes in /dev...
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Create Static Device Nodes in /dev.
[   11.091978] systemd-journald[275]: Received request to flush runtime journal from PID 1
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Reached target Local File Systems (Pre).
         Starting udev Kernel Device Manager...
         Starting Apply Kernel Variables...
         Mounting Configuration File System...
         Mounting FUSE Control File System...
[  OK  ] Mounted Configuration File System.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Reached target Sound Card.
[  OK  ] Found device /dev/mmcblk0p1.
[  OK  ] Found device /dev/ttyS0.
         Mounting /boot...
[  OK  ] Mounted /boot.
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[  OK  ] Reached target Local File Systems.
         Starting Raise network interfaces...
         Starting Set console font and keymap...
         Starting Create Volatile Files and Directories...
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Reached target System Time Synchronized.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Save/Restore Sound Card State...
         Starting LSB: select system audio output at first boot...
         Starting brcm_patchram_plus...
         Starting LSB: sync_ntp_rtc...
[  OK  ] Started Regular background program processing daemon.
         Starting Login Service...
         Starting Modem Manager...
         Starting LSB: add swap at first boot...
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Started Daily apt activities.
[  OK  ] Reached target Timers.
         Starting Permit User Sessions...
[  OK  ] Started D-Bus System Message Bus.
         Starting Init board...
         Starting Network Manager...
         Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"...
         Starting Restore /etc/resolv.conf i...re the ppp link was shut down...
[  OK  ] Started Set console font and keymap.
[  OK  ] Started LSB: select system audio output at first boot.
[  OK  ] Started brcm_patchram_plus.
[  OK  ] Started LSB: sync_ntp_rtc.
[  OK  ] Started LSB: add swap at first boot.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Restore /etc/resolv.conf if...fore the ppp link was shut down.
[  OK  ] Started Save/Restore Sound Card State.
[  OK  ] Started Raise network interfaces.
[  OK  ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand".
[  OK  ] Started Login Service.
         Starting Authenticate and Authorize Users to Run Privileged Tasks...
         Starting Set console scheme...
[  OK  ] Created slice system-getty.slice.
[  OK  ] Started Set console scheme.
[  OK  ] Started Network Manager.
         Starting Network Manager Wait Online...
[  OK  ] Started Authenticate and Authorize Users to Run Privileged Tasks.
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Started Network Manager Script Dispatcher Service.
         Starting Hostname Service...
[  OK  ] Started Hostname Service.
[  OK  ] Started Modem Manager.
[  OK  ] Started Network Manager Wait Online.
[  OK  ] Started Init board.
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
         Starting LSB: Start NTP daemon...
         Starting /etc/rc.local Compatibility...
         Starting LSB: disk temperature monitoring daemon...
[   15.457114] rc.local[657]: ctp = 0
         Starting OpenBSD Secure Shell server...
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started LSB: disk temperature monitoring daemon.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started LSB: Start NTP daemon.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.

Ubuntu 16.04.2 LTS NanoPi-NEO-Core ttyS0

Default Login:
Username = pi
Password = pi

NanoPi-NEO-Core login: pi (automatic login)

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

Welcome to Ubuntu 16.04.2 LTS 4.14.111
System load:   0.22                Up time:       18 sec        
Memory usage:  8 % of 491Mb      IP:            
CPU temp:      33°C               
Usage of /:    2% of 28G        

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

pi@NanoPi-NEO-Core:~$ 
pi@NanoPi-NEO-Core:~$ cat /etc/issue
Ubuntu 16.04.2 LTS \n \l

pi@NanoPi-NEO-Core:~$ 
pi@NanoPi-NEO-Core:~$ uname -a
Linux NanoPi-NEO-Core 4.14.111 #193 SMP Thu Jun 10 18:20:47 CST 2021 armv7l armv7l armv7l GNU/Linux
pi@NanoPi-NEO-Core:~$ 
pi@NanoPi-NEO-Core:~$ 
pi@NanoPi-NEO-Core:~$ poweroff
Failed to set wall message, ignoring: Interactive authentication required.
Failed to power off system via logind: Interactive authentication required.
Failed to start poweroff.target: Interactive authentication required.
See system logs and 'systemctl status poweroff.target' for details.
Failed to open /dev/initctl: Permission denied
Failed to talk to init daemon.
pi@NanoPi-NEO-Core:~$ 
pi@NanoPi-NEO-Core:~$ su
Password: 
root@NanoPi-NEO-Core:/home/pi# 
root@NanoPi-NEO-Core:/home/pi# poweroff
[  OK  ] Stopped target Timers.
[topping Session c1 of user pi.
[  OK  ] Stopped target Multi-User System.
         Stopping LSB: disk temperature monitoring daemon...
[  OK  ] Stopped target Login Prompts.
         Stopping Serial Getty on ttyS0...
         Stopping Getty on tty1...
         Stopping LSB: sync_ntp_rtc...
         Stopping LSB: Start NTP daemon...
[  OK  ] Stopped Session c2 of user pi.
[  OK  ] Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
         Stopping OpenBSD Secure Shell server...
         Stopping User Manager for UID 1000...
         Stopping brcm_patchram_plus...
[  OK  ] Stopped Daily apt activities.
[  OK  ] Stopped target System Time Synchronized.
[  OK  ] Stopped Daily Cleanup of Temporary Directories.
         Stopping LSB: Set the CPU Frequency Scaling governor to "ondemand"...
[  OK  ] Stopped target Sound Card.
         Stopping Modem Manager...
         Stopping LSB: select system audio output at first boot...
         Stopping LSB: add swap at first boot...
         Stopping Authenticate and Authorize Users to Run Privileged Tasks...
         Stopping Save/Restore Sound Card State...
         Stopping Regular background program processing daemon...
[  OK  ] Stopped Regular background program processing daemon.
[  OK  ] Stopped Modem Manager.
[  OK  ] Stopped Authenticate and Authorize Users to Run Privileged Tasks.
[  OK  ] Stopped OpenBSD Secure Shell server.
[  OK  ] Stopped Serial Getty on ttyS0.
[  OK  ] Stopped Getty on tty1.
[  OK  ] Stopped User Manager for UID 1000.
[  OK  ] Stopped Session c1 of user pi.
[  OK  ] Stopped LSB: sync_ntp_rtc.
[  OK  ] Stopped brcm_patchram_plus.
[  OK  ] Stopped LSB: select system audio output at first boot.
[  OK  ] Stopped LSB: add swap at first boot.
[  OK  ] Stopped Save/Restore Sound Card State.
[  OK  ] Stopped LSB: disk temperature monitoring daemon.
[  OK  ] Stopped LSB: Start NTP daemon.
[  OK  ] Stopped LSB: Set the CPU Frequency Scaling governor to "ondemand".
[  OK  ] Removed slice User Slice of pi.
         Stopping Login Service...
[  OK  ] Removed slice system-getty.slice.
         Stopping Permit User Sessions...
[  OK  ] Removed slice system-serial\x2dgetty.slice.
         Stopping /etc/rc.local Compatibility...
[  OK  ] Stopped Login Service.
[  OK  ] Stopped /etc/rc.local Compatibility.
[  OK  ] Stopped Permit User Sessions.
[  OK  ] Stopped target Remote File Systems.
[  OK  ] Stopped target Remote File Systems (Pre).
[  OK  ] Stopped target Network is Online.
[  OK  ] Stopped Network Manager Wait Online.
[  OK  ] Stopped target Network.
         Stopping Network Manager...
         Stopping Raise network interfaces...
[  OK  ] Stopped Network Manager.
         Stopping D-Bus System Message Bus...
[  OK  ] Stopped Raise network interfaces.
[  OK  ] Stopped D-Bus System Message Bus.
[  OK  ] Stopped target Basic System.
[  OK  ] Stopped target Paths.
[  OK  ] Stopped Forward Password Requests to Wall Directory Watch.
[  OK  ] Stopped Dispatch Password Requests to Console Directory Watch.
[  OK  ] Stopped target Sockets.
[  OK  ] Stopped target Slices.
[  OK  ] Removed slice User and Session Slice.
[  OK  ] Closed D-Bus System Message Bus Socket.
[  OK  ] Stopped target System Initialization.
         Stopping Load/Save Random Seed...
[  OK  ] Stopped target Swap.
         Deactivating swap /mnt/512MB.swap...
[  OK  ] Stopped Create Volatile Files and Directories.
[  OK  ] Stopped target Encrypted Volumes.
[  OK  ] Stopped Apply Kernel Variables.
[  OK  ] Stopped target Local File Systems.
         Unmounting /boot...
         Unmounting /run/user/1000...
[  OK  ] Stopped Load Kernel Modules.
[  OK  ] Stopped Load/Save Random Seed.
[  OK  ] Deactivated swap /mnt/512MB.swap.
[  OK  ] Unmounted /boot.
[  OK  ] Unmounted /run/user/1000.
[  OK  ] Stopped target Local File Systems (Pre).
[  OK  ] Stopped Create Static Device Nodes in /dev.
[  OK  ] Reached target Unmount All Filesystems.
[  OK  ] Stopped Remount Root and Kernel File Systems.
[  OK  ] Reached target Shutdown.
[ 1448.421320] reboot: System halted

[END] 2025/5/6 18:27:07
 

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/2373542.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

快速上手 Docker:从入门到安装的简易指南(Mac、Windows、Ubuntu)

PS&#xff1a;笔者在五一刚回来一直搞Docker部署AI项目&#xff0c;发现从开发环境迁移到生成环境时&#xff0c;Docker非常好用。但真的有一定上手难度&#xff0c;推荐读者多自己尝试踩踩坑。 本篇幅有限&#xff0c;使用与修改另起篇幅。 一、Docker是什么 #1. Docker是什…

MySQL + Elasticsearch:为什么要使用ES,使用场景与架构设计详解

MySQL Elasticsearch&#xff1a;为什么要使用ES&#xff0c;使用场景与架构设计详解 前言一、MySQL Elasticsearch的背景与需求1.1 为什么要使用Elasticsearch&#xff08;ES&#xff09;&#xff1f;1.2 为什么MySQL在某些场景下不足以满足需求&#xff1f;1.3 MySQL Elas…

从投入产出、效率、上手难易度等角度综合对比 pytest 和 unittest 框架

对于选择python作为测试脚本开发的同学来说&#xff0c;pytest和python unittest是必需了解的两个框架。那么他们有什么区别&#xff1f;我们该怎么选&#xff1f;让我们一起来了解一下吧&#xff01; 我们从投入产出、效率、上手难易度等角度综合对比 pytest 和 unittest 框架…

关于汇编语言与程序设计——单总线温度采集与显示的应用

一、实验要求 (1)握码管的使用方式 (2)掌握DS18B20温度传感器的工作原理 (3)掌握单总线通信方式实现 MCU与DS18B20数据传输 二、设计思路 1.整体思路 通过编写数码管显示程序和单总线温度采集程序&#xff0c;结合温度传感报警&#xff0c;利用手指触碰传感器&#xff0c;当…

spring中的@Inject注解详情

在 Spring 框架中&#xff0c;Inject 是 Java 依赖注入标准&#xff08;JSR-330&#xff09; 的核心注解&#xff0c;与 Spring 原生的 Autowired 类似&#xff0c;但具备更标准化的跨框架特性。以下从功能特性、使用场景及与 Spring 原生注解的对比进行详细解析&#xff1a; 一…

Vue基础(8)_监视属性、深度监视、监视的简写形式

监视属性(watch)&#xff1a; 1.当被监视的属性变化时&#xff0c;回调函数(handler)自动调用&#xff0c;进行相关操作。 2.监视的属性必须存在&#xff0c;才能进行监视&#xff01;&#xff01; 3.监视的两种写法&#xff1a; (1).new Vue时传入watch配置 (2).通过vm.$watc…

TCP IP

TCP/IP 通信协议&#xff0c;不是单一协议&#xff0c;是一组协议的集合 TCP IP UDP 1.建立链接 三次握手 第一步&#xff1a;客户端发送一个FIN报文&#xff0c;SEQX,等待服务器回应 第二步&#xff1a;服务器端受到&#xff0c;发送ackx1,seqy, 等待客户端回应 第三步&am…

(四)毛子整洁架构(Presentation层/Authentiacation/Authorization)

文章目录 项目地址一、Presentation 层1.1 数据库migration1. 添加数据库连接字符串2. 创建自动Migration/Seed3.修改Entity添加private 构造函数4. 执行迁移 1.2 全局错误处理中间件1.3 Controller 添加1. Apartments2. Bookings3. 测试 二、Authentiacation2.1 添加Keycloak服…

K8S服务的请求访问转发原理

开启 K8s 服务异常排障过程前&#xff0c;须对 K8s 服务的访问路径有一个全面的了解&#xff0c;下面我们先介绍目前常用的 K8s 服务访问方式&#xff08;不同云原生平台实现方式可能基于部署方案、性能优化等情况会存在一些差异&#xff0c;但是如要运维 K8s 服务&#xff0c;…

20250510解决NanoPi NEO core开发板在Ubuntu core22.04.3系统下适配移远的4G模块EC200A-CN的问题

1、h3-eflasher-friendlycore-jammy-4.14-armhf-20250402.img.gz 在WIN10下使用7-ZIP解压缩/ubuntu20.04下使用tar 2、Win32DiskImager.exe 写如32GB的TF卡。【以管理员身份运行】 3、TF卡如果已经做过会有3个磁盘分区&#xff0c;可以使用SD Card Formatter/SDCardFormatterv5…

Linux系统之----模拟实现shell

在前面一个阶段的学习中&#xff0c;我们已经学习了环境变量、进程控制等等一系列知识&#xff0c;也许有人会问&#xff0c;学这个东西有啥用&#xff1f;那么&#xff0c;今天我就和大家一起综合运用一下这些知识&#xff0c;模拟实现下shell&#xff01; 首先我们来看一看我…

TCP黏包解决方法

1. 问题描述 TCP客户端每100ms发送一次数据,每次为16006字节的数据长度。由于TCP传输数据时,为了达到最佳传输效能,数据包的最大长度需要由MSS限定(MSS就是TCP数据包每次能够传输的最大数据分段),超过这个长度会进行自动拆包。也就是说虽然客户端一次发送16006字节数据,…

vue访问后端接口,实现用户注册

文章目录 一、后端接口文档二、前端代码请求响应工具调用后端API接口页面函数绑定单击事件&#xff0c;调用/api/user.js中的函数 三、参考视频 一、后端接口文档 二、前端代码 请求响应工具 /src/utils/request.js //定制请求的实例//导入axios npm install axios import …

Nginx性能调优与深度监控

目录 1更改进程数与连接数 &#xff08;1&#xff09;进程数 &#xff08;2&#xff09;连接数 2&#xff0c;静态缓存功能设置 &#xff08;1&#xff09;设置静态资源缓存 &#xff08;2&#xff09;验证静态缓存 3&#xff0c;设置连接超时 4&#xff0c;日志切割 …

如何在大型项目中解决 VsCode 语言服务器崩溃的问题

在大型C/C项目中&#xff0c;VS Code的语言服务器&#xff08;如C/C扩展&#xff09;可能因内存不足或配置不当频繁崩溃。本文结合系统资源分析与实战技巧&#xff0c;提供一套完整的解决方案。 一、问题根源诊断 1.1 内存瓶颈分析 通过top命令查看系统资源使用情况&#xff…

AutoDL实现端口映射与远程连接AutoDL与Pycharm上传文件到远程服务器(李沐老师的环境)

文章目录 以上配置的作用前提AutoDL实现端口映射远程连接AutoDLPycharm上传文件到远程服务器以上配置的作用 使用AutoDL的实例:因本地没有足够强的算力,所以需要使用AutoDL AutoDL端口映射:当在实例上安装深度学习的环境,但因为实例的linux系统问题,无法图形化显示d2l中的文件…

13.thinkphp的Session和cookie

一&#xff0e;Session 1. 在使用Session之前&#xff0c;需要开启初始化&#xff0c;在中间件文件middleware.php&#xff1b; // Session 初始化 \think\middleware\SessionInit::class 2. TP6.0不支持原生$_SESSION的获取方式&#xff0c;也不支持session_开头的函数&…

多线程获取VI模块的YUV数据

一.RV1126 VI模块采集摄像头YUV数据的流程 step1&#xff1a;VI模块初始化 step2&#xff1a;启动VI模块工作 step3&#xff1a;开启多线程采集VI数据并保存 1.1初始化VI模块&#xff1a; VI模块的初始化实际上就是对VI_CHN_ATTR_S的参数进行设置、然后调用RK_MPI_VI_SetC…

[ctfshow web入门] web68

信息收集 highlight_file被禁用了&#xff0c;使用cinclude("php://filter/convert.base64-encode/resourceindex.php");读取index.php&#xff0c;使用cinclude("php://filter/convert.iconv.utf8.utf16/resourceindex.php");可能有些乱码&#xff0c;不…

16前端项目----交易页

交易 交易页Trade修改默认地址商品清单reduce计算总数和总价应用 统一引入接口提交订单 交易页Trade 在computed中mapState映射出addressInfo和orderInfo&#xff0c;然后v-for渲染到组件当中 修改默认地址 <div class"address clearFix" v-for"address in …