Site: https://sipeed.com/nanokvm
Changelog: https://github.com/sipeed/NanoKVM/blob/main/CHANGELOG.md
Related Tik Tok videos
Where to buy
Buy Sipeed NanoKVM on Aliexpress: for about 60$ (link 1, link 2, link 3, Link 4. Link 5)
Web Interface
ssh
# uptime 08:28:53 up 3 days, 20:57, load average: 5.08, 5.29, 5.37 # cat /etc/*release NAME=Buildroot VERSION=-g9c961a8be-dirty ID=buildroot VERSION_ID=2023.11.2 PRETTY_NAME="Buildroot 2023.11.2" # cat /proc/cpuinfo processor : 0 hart : 0 isa : rv64imafdvcsu mmu : sv39 # free -m total used free shared buff/cache available Mem: 158 37 17 30 103 84 Swap: 0 0 0 # df -h Filesystem Size Used Available Use% Mounted on /dev/mmcblk0p2 7.6G 840.5M 6.4G 11% / devtmpfs 77.7M 0 77.7M 0% /dev tmpfs 79.0M 0 79.0M 0% /dev/shm tmpfs 79.0M 30.2M 48.8M 38% /tmp tmpfs 79.0M 128.0K 78.9M 0% /run /dev/mmcblk0p1 16.0M 11.5M 4.5M 72% /boot /dev/mmcblk0p3 21.5G 12.9G 8.6G 60% /data # cat /etc/resolv.conf nameserver 192.168.0.1 nameserver 8.8.4.4 nameserver 8.8.8.8 nameserver 114.114.114.114 nameserver 119.29.29.29 nameserver 223.5.5.5# # cat /etc/hosts 127.0.0.1 localhost 127.0.1.1 licheervnano-b42c # lspci lspci: /sys/bus/pci/devices: No such file or directory # lsusb Bus 001 Device 001: ID 1d6b:0002 # lsscsi # lsmod Module Size Used by Tainted: GF 8733bs 2735515 0 aic8800_bsp 98443 0 cfg80211 363147 1 8733bs i2c_gpio 4962 1 i2c_algo_bit 7875 1 i2c_gpio soph_wiegand 11745 0 soph_saradc 11454 0 soph_pwm 6937 0 soph_mon 17804 0 soph_ive 205753 0 soph_rtc 4451 1 soph_vc_driver 715600 0 soph_jpeg 11827 1 soph_vc_driver soph_vcodec 30962 2 soph_vc_driver,soph_jpeg soph_tpu 31977 0 soph_clock_cooling 5918 0 soph_wdt 3873 0 soph_rgn 101624 1 soph_vo 100694 1 soph_dwa 48605 1 soph_vpss 388495 2 soph_vo soph_vi 348929 1 soph_snsr_i2c 9341 0 soph_mipi_rx 61963 1 soph_fast_image 32955 0 soph_rtos_cmdqu 25701 2 soph_fast_image soph_base 106641 11 soph_ive,soph_vc_driver,soph_rgn,soph_vo,soph_dwa,soph_vpss,soph_vi,soph_snsr_i2c,soph_mipi_rx,soph_rtos_cmdqu soph_sys 61270 10 soph_ive,soph_vc_driver,soph_rgn,soph_vo,soph_dwa,soph_vpss,soph_vi,soph_fast_image,soph_base # arecord --list-devices **** List of CAPTURE Hardware Devices **** card 0: cv182xaadc [cv182xa_adc], device 0: cviteka-adc 300a100.adc-0 [cviteka-adc 300a100.adc-0] Subdevices: 1/1 Subdevice #0: subdevice #0 # aplay --list-devices **** List of PLAYBACK Hardware Devices **** card 1: cv182xadac [cv182xa_dac], device 0: cviteka-dac 300a000.dac-0 [cviteka-dac 300a000.dac-0] Subdevices: 1/1 Subdevice #0: subdevice #0 # amixer Simple mixer control 'ADC',0 Capabilities: cvolume Capture channels: Front Left - Front Right Limits: Capture 0 - 24 Front Left: Capture 20 [83%] Front Right: Capture 20 [83%] Simple mixer control 'ADC Capture Mute',0 Capabilities: pswitch Playback channels: Front Left - Front Right Mono: Front Left: Playback [off] Front Right: Playback [off] Simple mixer control 'ADC Power',0 Capabilities: pswitch Playback channels: Front Left - Front Right Mono: Front Left: Playback [off] Front Right: Playback [off] # ps -ef PID USER COMMAND 1 root init [3] 2 root [kthreadd] 3 root [rcu_gp] 4 root [rcu_par_gp] 8 root [mm_percpu_wq] 9 root [ksoftirqd/0] 10 root [rcu_preempt] 11 root [kdevtmpfs] 12 root [netns] 13 root [rcu_tasks_kthre] 15 root [oom_reaper] 16 root [writeback] 17 root [kcompactd0] 45 root [kblockd] 46 root [watchdogd] 48 root [rpciod] 49 root [kworker/u3:0] 50 root [xprtiod] 51 root [kswapd0] 52 root [nfsiod] 55 root [spi0] 56 root [spi1] 57 root [spi2] 58 root [spi3] 59 root [stmmac_wq] 92 root [irq/49-cviusb-o] 93 root [irq/50-cd-gpio-] 94 root [sdhci] 95 root [irq/26-mmc0] 96 root [sdhci] 97 root [irq/27-mmc1] 99 root [ion_system_heap] 104 root [ipv6_addrconf] 105 root [krfcommd] 106 root [mmc_complete] 130 root [jbd2/mmcblk0p2-] 131 root [ext4-rsv-conver] 179 root [cvitask_isp_pre] 180 root [cvitask_isp_bla] 181 root [cvitask_isp_err] 183 root [cvitask_vpss_0] 184 root [cvitask_vpss_1] 186 root [gdc_work] 192 root [cvitask_tpu_wor] 199 root [cvi_mon_work] 225 root /sbin/syslogd -n 238 root /sbin/klogd -n 265 root [file-storage] 270 root /sbin/udevd -d 375 root /usr/sbin/haveged -w 1024 -r 0 377 root /usr/sbin/haveged -w 1024 -r 0 383 root [cfg80211] 392 dbus dbus-daemon --system 417 root udhcpd -S /etc/udhcpd.usb0.conf 432 root /usr/sbin/ntpd -g -p /var/run/ntpd.pid 438 avahi avahi-daemon: running [kvm-b42c.local] 445 root sshd: /usr/sbin/sshd [listener] 0 of 10-100 startups 489 root /sbin/getty -L console 0 vt100 -l /etc/console_handler.sh 584 root udhcpc -i eth0 -t 10 -T 1 -A 5 -b -p /run/udhcpc.eth0.pid 694 root [kworker/u2:0-ev] 1310 root [cvitask_vc_wt1] 1939 root [kworker/u2:2] 2204 root [kworker/0:1-eve] 2463 root [kworker/0:2-eve] 2510 root [kworker/0:0H] 2736 root sshd: root@pts/0 2743 root -sh 2765 root [kworker/0:0-eve] 2913 root [kworker/u2:1-ev] 2975 root ps -ef 3659 root [kworker/0:2H-mm] 3764 root [gdc_work] 3801 root /tmp/kvm_system/kvm_system 3804 root /tmp/server/NanoKVM-Server 3827 root [gdc_work] 3888 root [gdc_work] 3904 root [vi_event_handle] # netstat Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 272 10.9.9.58:ssh 10.9.9.21:65032 ESTABLISHED Active UNIX domain sockets (w/o servers) Proto RefCnt Flags Type State I-Node Path unix 8 [ ] DGRAM 2789 /dev/log unix 3 [ ] STREAM CONNECTED 3217 /run/dbus/system_bus_socket unix 2 [ ] DGRAM 2792 unix 3 [ ] SEQPACKET CONNECTED 3384 unix 3 [ ] SEQPACKET CONNECTED 41828 unix 2 [ ] DGRAM 41738 unix 3 [ ] SEQPACKET CONNECTED 3383 unix 3 [ ] DGRAM 2853 unix 2 [ ] DGRAM 3138 unix 3 [ ] STREAM CONNECTED 3147 unix 3 [ ] STREAM CONNECTED 3216 unix 3 [ ] DGRAM 2852 unix 2 [ ] DGRAM 3179 unix 2 [ ] STREAM CONNECTED 1515753 unix 2 [ ] DGRAM 3211 unix 2 [ ] DGRAM 3167 unix 3 [ ] STREAM CONNECTED 3146 unix 3 [ ] SEQPACKET CONNECTED 41827
Check what can be recorded using the internal microphone of Sipeed KVM
Hear the room
KVM is on the floor near the R100 mini PC (NAS) with active cooling. Test recording can be done with the default resolution, like mono/8bit/8000Hz
So you can actually kind of remotely monitor "server room noises/voices"
root@kvm-b42c:~# sleep 4; arecord v -d 10 Recording WAVE 'test2.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono root@kvm-b42c:~# sleep 4; arecord -f S16_LE --rate 48000 test-16bit-48KHz.wav -d 10 Recording WAVE 'test-16bit-48KHz.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
example recordings
test-8bit-8KHz.wav
test-16bit-48KHz.wav
Check if the mic recording in command line
arecord -vvv -f dat /dev/null
example output
# arecord -vvv -f dat /dev/null Plug PCM: Hardware PCM card 0 'cv182xa_adc' device 0 subdevice 0 Its setup is: stream : CAPTURE access : RW_INTERLEAVED format : S16_LE subformat : STD channels : 2 rate : 48000 exact rate : 48000 (48000/1) msbits : 16 buffer_size : 24000 period_size : 6000 period_time : 125000 tstamp_mode : NONE tstamp_type : MONOTONIC period_step : 1 avail_min : 6000 period_event : 0 start_threshold : 1 stop_threshold : 24000 silence_threshold: 0 silence_size : 0 boundary : 6755399441055744000 appl_ptr : 0 hw_ptr : 0 Recording WAVE '/dev/null' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo # open a door Max peak (12000 samples): 0x00004969 ############ 57% Max peak (12000 samples): 0x00000e9b ### 11% Max peak (12000 samples): 0x000005f3 # 4% Max peak (12000 samples): 0x00000775 ## 5% Max peak (12000 samples): 0x00000877 ## 6% Max peak (12000 samples): 0x000005cf # 4% Max peak (12000 samples): 0x0000057a # 4% Max peak (12000 samples): 0x000004a8 # 3% Max peak (12000 samples): 0x000004f1 # 3% Max peak (12000 samples): 0x000005cb # 4% Max peak (12000 samples): 0x00000584 # 4% Max peak (12000 samples): 0x00000667 ## 5% Max peak (12000 samples): 0x000004f2 # 3% # knoking Sipeed KVM case Max peak (12000 samples): 0x00007fed #################### 99% Max peak (12000 samples): 0x00000a20 ## 7% Max peak (12000 samples): 0x00007f85 #################### 99% Max peak (12000 samples): 0x000004b4 # 3% Max peak (12000 samples): 0x00007ff2 #################### 99% Max peak (12000 samples): 0x00001961 #### 19% ...
How use of the microphone is logged in dmesg
[ 6414.994675] dwc2 4340000.usb: new address 5 [ 6496.347712] cvi_rtc 5026000.rtc: time set to 1743594916. 4/2/2025 11:55:16 [ 6496.347751] cvi_rtc 5026000.rtc: time read as 1743594916. 4/2/2025 11:55:16 [ 6521.754364] LT6911--:-- INT!!## [ 6521.942638] LT6911--:-- INT!!## [ 6523.084032] LT6911--:-- INT!!## [ 6523.299090] LT6911--:-- INT!!## root@kvm-b42c:~# sleep 4; arecord test-8bit-8KHz.wav -d 10 Warning: Some sources (like microphones) may produce inaudible results with 8-bit sampling. Use '-f' argument to increase resolution e.g. '-f S16_LE'. Recording WAVE 'test-8bit-8KHz.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono root@kvm-b42c:~# dmesg |tail [ 7002.512363] cvitekaadc 300a100.adc: turn I2S3 aud_en on [ 7002.512381] cvitekaadc 300a100.adc: adc_clk_on, I2S3 clk_ctrl0 = 0x180 [ 7002.519083] cvitekaadc 300a100.adc: adc_hw_params, set rate to 8000 [ 7002.519158] cvitek-i2s-subsys 4108000.i2s_subsys: Set clk_sdma_aud0~3 to 16384000 [ 7002.519884] cvitek-i2s 4100000.i2s: Audio system clk=16384000, sample rate=8000 [ 7002.520115] cvitekaadc 300a100.adc: adc_on, before rxadc reg val=0x00000000 [ 7002.520130] cvitekaadc 300a100.adc: adc_on, after rxadc reg val=0x00000003 [ 7012.525215] cvi_i2s_shutdown not start *dai = 00000000901b59cc, *dai->playback_dma_data = 000000004c4de0bc [ 7012.525254] cvitekaadc 300a100.adc: turn I2S3 aud_en off [ 7012.525266] cvitekaadc 300a100.adc: adc_clk_off, I2S3 clk_ctrl0 = 0x80
dmesg of Sipeed KVM after reboot
# dmesg [ 0.000000] Linux version 5.10.4-tag- (bugu@bugu-desktop) (riscv64-unknown-linux-musl-gcc (Xuantie-900 linux-5.10.4 musl gcc Toolchain V2.6.1 B-20220906) 10.2.0, GNU ld (GNU Binutils) 2.35) #31 PREEMPT Wed Nov 13 09:55:48 CST 2024 [ 0.000000] earlycon: sbi0 at I/O port 0x0 (options '') [ 0.000000] printk: bootconsole [sbi0] enabled [ 0.000000] efi: UEFI not found. [ 0.000000] Initial ramdisk at: 0x(____ptrval____) (2531328 bytes) [ 0.000000] Ion: Ion memory setup at 0x000000008b300000 size 75 MiB [ 0.000000] OF: reserved mem: initialized node ion, compatible id ion-region [ 0.000000] Zone ranges: [ 0.000000] DMA32 [mem 0x0000000080000000-0x000000008fdfffff] [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000080000000-0x000000008fdfffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000008fdfffff] [ 0.000000] On node 0 totalpages: 65024 [ 0.000000] DMA32 zone: 889 pages used for memmap [ 0.000000] DMA32 zone: 0 pages reserved [ 0.000000] DMA32 zone: 65024 pages, LIFO batch:15 [ 0.000000] SBI specification v0.3 detected [ 0.000000] SBI implementation ID=0x1 Version=0x9 [ 0.000000] SBI v0.2 TIME extension detected [ 0.000000] SBI v0.2 IPI extension detected [ 0.000000] SBI v0.2 RFENCE extension detected [ 0.000000] riscv: ISA extensions acdfimsuv [ 0.000000] riscv: ELF capabilities acdfimv [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 64135 [ 0.000000] Kernel command line: root=/dev/mmcblk0p2 rootwait rw console=ttyS0,115200 earlycon=sbi riscv.fwsz=0x80000 release loglevel=0 [ 0.000000] Dentry cache hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.000000] Inode-cache hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.000000] Sorting __ex_table... [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 159148K/260096K available (5537K kernel code, 645K rwdata, 2370K rodata, 172K init, 261K bss, 100948K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] Trampoline variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] riscv-intc: 64 local interrupts mapped [ 0.000000] plic: interrupt-controller@70000000: mapped 101 interrupts with 1 handlers for 2 contexts. [ 0.000000] random: get_random_bytes called from start_kernel+0x2e0/0x41c with crng_init=0 [ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] [ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns [ 0.000008] sched_clock: 64 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns [ 0.000150] Console: colour dummy device 80x25 [ 0.000200] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=100000) [ 0.000218] pid_max: default: 4096 minimum: 301 [ 0.000379] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.000395] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.001816] ASID allocator initialised with 65536 entries [ 0.001955] rcu: Hierarchical SRCU implementation. [ 0.002657] EFI services will not be available. [ 0.003044] devtmpfs: initialized [ 0.008014] early_time_log: do_initcalls: 3818893us [ 0.009085] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.009109] futex hash table entries: 16 (order: -4, 384 bytes, linear) [ 0.009208] pinctrl core: initialized pinctrl subsystem [ 0.009726] NET: Registered protocol family 16 [ 0.010276] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations [ 0.010350] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.011023] thermal_sys: Registered thermal governor 'step_wise' [ 0.026364] OF: /gpio@03020000/gpio-controller@0: could not find phandle [ 0.026442] OF: /gpio@03021000/gpio-controller@1: could not find phandle [ 0.026512] OF: /gpio@03022000/gpio-controller@2: could not find phandle [ 0.026580] OF: /gpio@03023000/gpio-controller@3: could not find phandle [ 0.026645] OF: /gpio@05021000/gpio-controller@4: could not find phandle [ 0.028784] clk reset: nr_reset=64 resource_size=8 [ 0.029394] get audio clk=24576000 [ 0.029458] cvitek-i2s-subsys 4108000.i2s_subsys: Set clk_sdma_aud0~3 to 24576000 [ 0.046845] dw_dmac 4330000.dma: CVITEK DMA Controller, 8 channels, probe done! [ 0.047564] SCSI subsystem initialized [ 0.047870] usbcore: registered new interface driver usbfs [ 0.047955] usbcore: registered new interface driver hub [ 0.048052] usbcore: registered new device driver usb [ 0.050104] mc: Linux media interface: v0.10 [ 0.050178] videodev: Linux video capture interface: v2.00 [ 0.050674] Ion: ion_parse_dt_heap_common: id 0 type 2 name carveout align 1000 [ 0.051311] Ion: rmem_ion_device_init: heap carveout base 0x000000008b300000 size 0x0000000004b00000 dev (____ptrval____) [ 0.051326] ion_carveout_heap_create, size=0x4b00000 [ 0.051469] cvi_get_rtos_ion_size, rtos ion_size get:0x1600000 [ 0.051478] ion_carveout_heap_create, size(exclusion of rtos_ion_size)=0x3500000 [ 0.266158] platform carveout: [ion] add heap id 0, type 2, base 0x8b300000, size 0x4b00000 [ 0.266558] Advanced Linux Sound Architecture Driver Initialized. [ 0.267229] Bluetooth: Core ver 2.22 [ 0.267304] NET: Registered protocol family 31 [ 0.267314] Bluetooth: HCI device and connection manager initialized [ 0.267332] Bluetooth: HCI socket layer initialized [ 0.267358] Bluetooth: L2CAP socket layer initialized [ 0.267393] Bluetooth: SCO socket layer initialized [ 0.268082] clocksource: Switched to clocksource riscv_clocksource [ 0.279814] NET: Registered protocol family 2 [ 0.280883] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.280924] TCP established hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.280963] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.280994] TCP: Hash tables configured (established 2048 bind 2048) [ 0.281128] UDP hash table entries: 128 (order: 0, 4096 bytes, linear) [ 0.281160] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes, linear) [ 0.281346] NET: Registered protocol family 1 [ 0.281980] RPC: Registered named UNIX socket transport module. [ 0.281992] RPC: Registered udp transport module. [ 0.281998] RPC: Registered tcp transport module. [ 0.282004] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.282298] Unpacking initramfs... [ 0.437574] Freeing initrd memory: 2468K [ 0.438393] Initialise system trusted keyrings [ 0.438613] workingset: timestamp_bits=62 max_order=16 bucket_order=0 [ 0.444806] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.445867] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. [ 0.513550] Key type asymmetric registered [ 0.513564] Asymmetric key parser 'x509' registered [ 0.519066] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled [ 0.521440] printk: console [ttyS0] disabled [ 0.521540] 4140000.serial: ttyS0 at MMIO 0x4140000 (irq = 17, base_baud = 1562500) is a 16550A [ 0.521614] printk: console [ttyS0] enabled [ 0.521623] printk: bootconsole [sbi0] disabled [ 0.522705] 4150000.serial: ttyS1 at MMIO 0x4150000 (irq = 18, base_baud = 1562500) is a 16550A [ 0.523612] 4160000.serial: ttyS2 at MMIO 0x4160000 (irq = 19, base_baud = 1562500) is a 16550A [ 0.524597] 4170000.serial: ttyS3 at MMIO 0x4170000 (irq = 20, base_baud = 1562500) is a 16550A [ 0.533946] loop: module loaded [ 0.539499] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information. [ 0.539512] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. [ 0.540284] libphy: Fixed MDIO Bus: probed [ 0.540298] tun: Universal TUN/TAP device driver, 1.6 [ 0.540971] bm-dwmac 4070000.ethernet: IRQ eth_wake_irq not found [ 0.540986] bm-dwmac 4070000.ethernet: IRQ eth_lpi not found [ 0.541083] bm-dwmac 4070000.ethernet: Hash table entries set to unexpected value 0 [ 0.541202] bm-dwmac 4070000.ethernet: no reset control found [ 0.541427] bm-dwmac 4070000.ethernet: User ID: 0x10, Synopsys ID: 0x37 [ 0.541446] bm-dwmac 4070000.ethernet: DWMAC1000 [ 0.541457] bm-dwmac 4070000.ethernet: DMA HW capability register supported [ 0.541466] bm-dwmac 4070000.ethernet: RX Checksum Offload Engine supported [ 0.541476] bm-dwmac 4070000.ethernet: COE Type 2 [ 0.541484] bm-dwmac 4070000.ethernet: TX Checksum insertion supported [ 0.541493] bm-dwmac 4070000.ethernet: Normal descriptors [ 0.541502] bm-dwmac 4070000.ethernet: Ring mode enabled [ 0.541510] bm-dwmac 4070000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 0.541523] bm-dwmac 4070000.ethernet: device MAC address 6e:88:98:5d:39:bd [ 0.565162] libphy: stmmac: probed [ 0.565188] CVITEK CV182XA stmmac-0:00: attached PHY driver [CVITEK CV182XA] (mii_bus:phy_addr=stmmac-0:00, irq=POLL) [ 0.565205] CVITEK CV182XA stmmac-0:01: attached PHY driver [CVITEK CV182XA] (mii_bus:phy_addr=stmmac-0:01, irq=POLL) [ 0.566400] bm-dwmac 4070000.ethernet: Cannot get clk_500m_eth! [ 0.566438] bm-dwmac 4070000.ethernet: Cannot get gate_clk_axi4! [ 0.567535] dwc2 4340000.usb: axi clk installed [ 0.567551] dwc2 4340000.usb: apb clk installed [ 0.567562] dwc2 4340000.usb: 125m clk installed [ 0.567572] dwc2 4340000.usb: 33k clk installed [ 0.567582] dwc2 4340000.usb: 12m clk installed [ 0.567668] dwc2 4340000.usb: EPs: 8, dedicated fifos, 3072 entries in SPRAM [ 0.568401] dwc2 4340000.usb: DWC OTG Controller [ 0.568445] dwc2 4340000.usb: new USB bus registered, assigned bus number 1 [ 0.568492] dwc2 4340000.usb: irq 41, io mem 0x04340000 [ 0.569320] hub 1-0:1.0: USB hub found [ 0.569378] hub 1-0:1.0: 1 port detected [ 0.570717] usbcore: registered new interface driver cdc_acm [ 0.570729] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 0.570836] usbcore: registered new interface driver usb-storage [ 0.570987] usbcore: registered new interface driver option [ 0.571036] usbserial: USB Serial support registered for GSM modem (1-port) [ 0.571509] i2c /dev entries driver [ 0.572491] usbcore: registered new interface driver uvcvideo [ 0.572502] USB Video Class driver (1.1.1) [ 0.573579] Bluetooth: HCI UART driver ver 2.3 [ 0.573593] Bluetooth: HCI UART protocol H4 registered [ 0.573600] Bluetooth: HCI UART protocol BCSP registered [ 0.573645] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 0.574107] sdhci: Secure Digital Host Controller Interface driver [ 0.574116] sdhci: Copyright(c) Pierre Ossman [ 0.574122] sdhci-pltfm: SDHCI platform and OF driver helper [ 0.574389] cvi:sdhci_cvi_probe [ 0.620097] mmc0: SDHCI controller on 4310000.cv-sd [4310000.cv-sd] using ADMA 64-bit [ 0.620113] cvi_proc_init cvi_host 0x(____ptrval____) [ 0.620266] cvi:sdhci_cvi_probe [ 0.652662] mmc1: SDHCI controller on 4320000.wifi-sd [4320000.wifi-sd] using ADMA 64-bit [ 0.653793] ledtrig-cpu: registered to indicate activity on CPUs [ 0.654101] usbcore: registered new interface driver usbhid [ 0.654111] usbhid: USB HID core driver [ 0.655686] cvitek-i2s 4100000.i2s: cvi_i2s_probe [ 0.656224] cvitek-i2s 4130000.i2s: cvi_i2s_probe [ 0.656925] cviteka-adc sound_adc: cviteka_adc_probe, dev name=sound_adc [ 0.656952] cviteka-adc sound_adc: cviteka_adc_probe start devm_snd_soc_register_card [ 0.657264] cvitekaadc 300a100.adc: cvitekaadc_probe [ 0.657503] adc: set volume 20 [ 0.658020] cviteka-dac sound_dac: cviteka_dac_probe, dev name=sound_dac [ 0.658471] cvitekadac 300a000.dac: cvitekadac_probe [ 0.658786] cvitekadac_probe gpio_is_valid mute_pin_l [ 0.658796] cvitekadac_probe gpio_is_valid mute_pin_r [ 0.661557] xt_time: kernel timezone is -0000 [ 0.661605] IPVS: Registered protocols () [ 0.661665] IPVS: Connection hash table configured (size=4096, memory=64Kbytes) [ 0.661902] IPVS: ipvs loaded. [ 0.662502] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully [ 0.663102] NET: Registered protocol family 10 [ 0.664844] Segment Routing with IPv6 [ 0.666480] NET: Registered protocol family 17 [ 0.666650] Bluetooth: RFCOMM TTY layer initialized [ 0.666673] Bluetooth: RFCOMM socket layer initialized [ 0.666707] Bluetooth: RFCOMM ver 1.11 [ 0.666729] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 0.666745] Bluetooth: BNEP socket layer initialized [ 0.666755] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 0.666769] Bluetooth: HIDP socket layer initialized [ 0.667074] Loading compiled-in X.509 certificates [ 0.704782] mmc0: new high speed SDHC card at address 0001 [ 0.705469] i2c_designware 4040000.i2c: running with gpio recovery mode! scl,sda [ 0.706913] cviteka-adc sound_adc: cviteka_adc_probe, dev name=sound_adc [ 0.706929] cviteka-adc sound_adc: cviteka_adc_probe start devm_snd_soc_register_card [ 0.711941] mmcblk0: mmc0:0001 SD32G 29.2 GiB [ 0.713070] cviteka-dac sound_dac: cviteka_dac_probe, dev name=sound_dac [ 0.715008] mmcblk0: p1 p2 p3 [ 0.721332] input: gpio-keys as /devices/platform/gpio-keys/input/input0 [ 0.722122] ALSA device list: [ 0.722353] dw-apb-uart 4140000.serial: forbid DMA for kernel console [ 0.722558] Freeing unused kernel memory: 172K [ 0.722566] Kernel memory protection not selected by kernel config. [ 0.722588] Run /init as init process [ 0.722597] with arguments: [ 0.722606] /init [ 0.722710] release [ 0.722716] with environment: [ 0.722722] HOME=/ [ 0.722728] TERM=linux [ 0.722737] early_time_log: run_init_process: 4533621us [ 1.338226] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 1.385935] random: fast init done [ 1.602199] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) [ 1.758788] soph_sys: bad vermagic: kernel tainted. [ 1.758800] Disabling lock debugging due to kernel taint [ 1.758810] soph_sys: loading out-of-tree module taints kernel. [ 1.785937] CVITEK CHIP ID = 18 [ 1.796922] name=1900000.rtos_cmdqu [ 1.797123] res-reg: start: 0x1900000, end: 0x1900fff, virt-addr(ffffffd005b9d000). [ 1.797387] [cvi_spinlock_init] success [ 2.012111] RTOS_CMDQU_SEND_WAIT timeout [ 2.012121] SYS_CMD_INFO_LINUX_INIT_DONE fail [ 2.012154] communicate with rtos fail [ 2.030300] cif a0c2000.cif: cam0 clk installed [ 2.030346] cif a0c2000.cif: cam1 clk installed [ 2.030368] cif a0c2000.cif: vip_sys_2 clk installed [ 2.030392] cif a0c2000.cif: clk_mipimpll clk installed (____ptrval____) [ 2.030416] cif a0c2000.cif: clk_disppll clk installed (____ptrval____) [ 2.030440] cif a0c2000.cif: clk_fpll clk installed (____ptrval____) [ 2.030466] cif a0c2000.cif: (0) res-reg: start: 0xa0c2000, end: 0xa0c3fff. [ 2.030476] cif a0c2000.cif: virt-addr((____ptrval____)) [ 2.030494] cif a0c2000.cif: (1) res-reg: start: 0xa0d0000, end: 0xa0d0fff. [ 2.030503] cif a0c2000.cif: virt-addr((____ptrval____)) [ 2.030520] cif a0c2000.cif: (2) res-reg: start: 0xa0c4000, end: 0xa0c5fff. [ 2.030530] cif a0c2000.cif: virt-addr((____ptrval____)) [ 2.030547] cif a0c2000.cif: (3) res-reg: start: 0xa0c6000, end: 0xa0c7fff. [ 2.030556] cif a0c2000.cif: virt-addr((____ptrval____)) [ 2.030575] cif a0c2000.cif: (4) res-reg: start: 0x3001c30, end: 0x3001c5f. [ 2.030584] cif a0c2000.cif: virt-addr((____ptrval____)) [ 2.030595] cif a0c2000.cif: no pad_ctrl for cif [ 2.030665] cif a0c2000.cif: request irq-30 as cif-irq0 [ 2.030723] cif a0c2000.cif: request irq-31 as cif-irq1 [ 2.030863] cif a0c2000.cif: rst_pin = 361, pol = 0 [ 2.030890] cif a0c2000.cif: phy0 reset installed [ 2.030910] cif a0c2000.cif: phy0 apb reset installed [ 2.030936] cif a0c2000.cif: phy1 reset installed [ 2.030956] cif a0c2000.cif: phy1 apb reset installed [ 2.038223] snsr_i2c snsr_i2c: i2c:-------hook 0 [ 2.038329] snsr_i2c snsr_i2c: i2c:-------hook 1 [ 2.038417] snsr_i2c snsr_i2c: i2c:-------hook 3 [ 2.038505] snsr_i2c snsr_i2c: i2c:-------hook 4 [ 2.200333] cvi_dwa_probe:487(): done with rc(0). [ 2.260260] cooling cooling: elems of dev-freqs=6 [ 2.260289] cooling cooling: dev_freqs[0]: 850000000 500000000 [ 2.260300] cooling cooling: dev_freqs[1]: 425000000 375000000 [ 2.260310] cooling cooling: dev_freqs[2]: 425000000 300000000 [ 2.260410] cooling cooling: Cooling device registered: cooling [ 2.285205] [INFO] Register SBM IRQ ################################### [ 2.285230] [INFO] pvctx->s_sbm_irq = 38 [ 2.293817] jpu ctrl reg pa = 0xb030000, va = (____ptrval____), size = 256 [ 2.294127] end jpu_init result = 0x0 [ 2.435294] cvi_vc_drv_init result = 0x0 [ 2.441567] cvi_rtc 5026000.rtc: time read as 1743588422. 4/2/2025 10:07:02 [ 2.441587] cvi_rtc 5026000.rtc: CVITEK current time 1743588422 [ 2.441596] cvi_rtc 5026000.rtc: CVITEK current alarm -1 [ 2.441615] cvi_rtc 5026000.rtc: time read as 1743588422. 4/2/2025 10:07:02 [ 2.442011] cvi_rtc 5026000.rtc: registered as rtc0 [ 2.442034] cvi_rtc 5026000.rtc: time read as 1743588422. 4/2/2025 10:07:02 [ 2.442073] cvi_rtc 5026000.rtc: setting system clock to 2025-04-02T10:07:02 UTC (1743588422) [ 2.452346] cvi_rtc 5026000.rtc: rtc 32k calibration has been completed [ 2.452362] cvi_rtc 5026000.rtc: CVITEK real time clock [ 3.003957] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. [ 3.168923] random: crng init done [ 3.370857] using random self ethernet address [ 3.370875] using random host ethernet address [ 3.400848] Mass Storage Function, version: 2009/09/11 [ 3.400873] LUN: removable file: (no medium) [ 3.416705] usb0: HOST MAC 66:92:25:31:7a:4f [ 3.416875] usb0: MAC 1a:fb:c6:1e:26:5d [ 3.417525] dwc2 4340000.usb: bound driver configfs-gadget [ 3.598708] dwc2 4340000.usb: new device is high-speed [ 3.662683] udevd[269]: starting version 3.2.14 [ 3.725069] udevd[270]: starting eudev-3.2.14 [ 3.791859] dwc2 4340000.usb: new device is high-speed [ 4.035412] dwc2 4340000.usb: new address 4 [ 6.007555] bm-dwmac 4070000.ethernet eth0: PHY [stmmac-0:00] driver [CVITEK CV182XA] (irq=POLL) [ 6.016151] dwmac1000: Master AXI performs any burst length [ 6.016179] bm-dwmac 4070000.ethernet eth0: No Safety Features support found [ 6.016198] bm-dwmac 4070000.ethernet eth0: IEEE 1588-2002 Timestamp supported [ 6.023478] bm-dwmac 4070000.ethernet eth0: configuring for phy/rmii link mode [ 6.307467] i2c-gpio i2c5@gpio: using lines 507 (SDA) and 495 (SCL) [ 6.462365] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 6.477895] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 6.520241] aicbsp_init [ 6.520252] RELEASE_DATE:2024_0109_ec460377 [ 6.520258] aicbsp_resv_mem_init [ 6.636378] aicbsp: aicbsp_set_subsys, subsys: AIC_WIFI, state to: 1 [ 6.636391] aicbsp: aicbsp_set_subsys, power state change to 1 dure to AIC_WIFI [ 6.636397] aicbsp: aicbsp_platform_power_on [ 8.069395] bm-dwmac 4070000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 8.069442] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 8.660277] aicbsp: aicbsp_set_subsys, fail to set AIC_WIFI power state to 1 [ 8.660292] AICWFDBG(LOGERROR) rwnx_mod_init, set power on fail! [ 8.700859] aicbsp: aicbsp_set_subsys, subsys: AIC_WIFI, state to: 1 [ 8.700872] aicbsp: aicbsp_set_subsys, power state change to 1 dure to AIC_WIFI [ 8.700878] aicbsp: aicbsp_platform_power_on [ 10.740200] aicbsp: aicbsp_set_subsys, fail to set AIC_WIFI power state to 1 [ 10.740215] AICWFDBG(LOGERROR) rwnx_mod_init, set power on fail! [ 16.616885] vb_get_pool_info:536(): NULL VB HANDLE [ 16.618011] vb_get_pool_info:536(): NULL VB HANDLE [ 16.920353] vpss_open [ 17.612013] vi_event_handler exit [ 17.640556] vpss_release [ 17.642802] vb_get_pool_info:536(): NULL VB HANDLE [ 17.643928] vb_get_pool_info:536(): NULL VB HANDLE [ 17.645126] vpss_open