Script started on Thu May 9 07:49:37 2024 uaa@framboise:~$ epicon -s 115200 -l /dev/ttyU1 ** Welcome to epicon Version-5.2 Copyright Isamu Yamauchi compiled:Jun 29 2023 ** exec shell ~! send binary files ~f send break ~b call rz,sz,sx,rx ~rz,~sz,~sx,~rx call kermit ~sk,~rk external command ~C change speed ~c exit ~. Connected /dev/ttyU1 CS W40z0)EP /erPB 0aa/rBJ FSBL Jb2829:gc3843a968:2024-04-10T21:36:58+08:00 st_on_reason=d0000 st_off_reason=0 P2S/0x1000/0xc00a400. SD/0x9400/0x1000/0x1000/0.P2E. DPS/0xa400/0x2000. SD/0xa400/0x2000/0x2000/0.DPE. cv181x DDR init. ddr_param[0]=0x78075562. pkg_type=5 D1_3_2 DDR3-2G-QFN Data rate=1866. DDR BIST PASS PLLS/OD. C2S/0xc400/0x8fe00000/0x3600. SD/0xc400/0x3600/0x3600/0.RSC.CR2TE:. [ 1M.S4/103x2f0a20]0P/r0ex 8s0y0s0t0e0m0 0i/n0ixt1 bd0o0n0e. RT: [1.419529]CVIRTOS Build Date:Apr 10 2024 (Time :21:36:57) RT: [1.425443]Post system init done RT: [1.428759]create cvi task RT: [1.431575][cvi_spinlock_init] succeess RT: [1.435478]prvCmdQuRunTask run SD/0xfa00/0x1b000/0x1b000/0.ME. L2/0x2aa00. SD/0x2aa00/0x200/0x200/0.L2/0x414d3342/0xcafe66da/0x80200000/0x37600/0x37600 COMP/1. SD/0x2aa00/0x37600/0x37600/0.DCP/0x80200020/0x1000000/0x81900020/0x37600/1. DCP/0x73ee7/0. Loader_2nd loaded. Use internal 32k Jump to monitor at 0x80000000. OPENSBI: next_addr=0x80200020 arg1=0x80080000 OpenSBI v0.9 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| Platform Name : Milk-V Duo256M Platform Features : mfdeleg Platform HART Count : 1 Platform IPI Device : clint Platform Timer Device : clint Platform Console Device : uart8250 Platform HSM Device : --- Platform SysReset Device : --- Firmware Base : 0x80000000 Firmware Size : 132 KB Runtime SBI Version : 0.3 Domain0 Name : root Domain0 Boot HART : 0 Domain0 HARTs : 0* Domain0 Region00 : 0x0000000074000000-0x000000007400ffff (I) Domain0 Region01 : 0x0000000080000000-0x000000008003ffff () Domain0 Region02 : 0x0000000000000000-0xffffffffffffffff (R,W,X) Domain0 Next Address : 0x0000000080200020 Domain0 Next Arg1 : 0x0000000080080000 Domain0 Next Mode : S-mode Domain0 SysReset : yes Boot HART ID : 0 Boot HART Domain : root Boot HART ISA : rv64imafdcvsux Boot HART Features : scounteren,mcounteren,time Boot HART PMP Count : 16 Boot HART PMP Granularity : 4096 Boot HART PMP Address Bits: 38 Boot HART MHPM Count : 8 Boot HART MHPM Count : 8 Boot HART MIDELEG : 0x0000000000000222 Boot HART MEDELEG : 0x000000000000b109 U-Boot 2021.10 (Apr 10 2024 - 21:36:50 +0800) cvitek_cv181x DRAM: 254 MiB gd->relocaddr=0x8b0c8000. offset=0xaec8000 MMC: cv-sd@4310000: 0 Loading Environment from nowhere... OK In: serial Out: serial Err: serial Net: Warning: ethernet@4070000 (eth0) using random MAC address - e6:eb:6d:8f:25:c4 eth0: ethernet@4070000 Hit any key to stop autoboot: 0 Boot from SD ... switch to partitions #0, OK mmc0 is current device 3037724 bytes read in 136 ms (21.3 MiB/s) ## Loading kernel from FIT Image at 81800000 ... Using 'config-cv1812cp_milkv_duo256m_sd' configuration Trying 'kernel-1' kernel subimage Description: cvitek kernel Type: Kernel Image Compression: lzma compressed Data Start: 0x818000d8 Data Size: 3015373 Bytes = 2.9 MiB Architecture: RISC-V OS: Linux Load Address: 0x80200000 Entry Point: 0x80200000 Hash algo: crc32 Hash value: 8e496895 Verifying Hash Integrity ... crc32+ OK ## Loading fdt from FIT Image at 81800000 ... Using 'config-cv1812cp_milkv_duo256m_sd' configuration Trying 'fdt-cv1812cp_milkv_duo256m_sd' fdt subimage Description: cvitek device tree - cv1812cp_milkv_duo256m_sd Type: Flat Device Tree Compression: uncompressed Data Start: 0x81ae04c4 Data Size: 20455 Bytes = 20 KiB Architecture: RISC-V Hash algo: sha256 Hash value: 786e2fda22dff5f389c9881e34b5abbe595099bc473611afcb1a367c3c681898 Verifying Hash Integrity ... sha256+ OK Booting using the fdt blob at 0x81ae04c4 Uncompressing Kernel Image Decompressing 6750720 bytes used 901ms Loading Device Tree to 000000008a778000, end 000000008a77ffe6 ... OK Starting kernel ... [ 0.000000] Linux version 5.10.4-tag- (root@06883d61fb65) (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) #1 PREEMPT Wed Apr 10 21:37:02 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] 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 loglevel=9 [ 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: 170088K/260096K available (4106K kernel code, 497K rwdata, 1777K rodata, 148K init, 202K bss, 90008K 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] rcu: RCU event tracing is enabled. [ 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.000007] sched_clock: 64 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns [ 0.008401] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=100000) [ 0.019121] pid_max: default: 4096 minimum: 301 [ 0.023995] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.031393] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.040739] ASID allocator initialised with 65536 entries [ 0.046402] rcu: Hierarchical SRCU implementation. [ 0.051701] EFI services will not be available. [ 0.056704] devtmpfs: initialized [ 0.066111] early_time_log: do_initcalls: 4588121us [ 0.071635] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.081662] futex hash table entries: 16 (order: -4, 384 bytes, linear) [ 0.088621] pinctrl core: initialized pinctrl subsystem [ 0.094443] NET: Registered protocol family 16 [ 0.099382] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations [ 0.106676] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.115450] thermal_sys: Registered thermal governor 'step_wise' [ 0.127997] OF: /gpio@03020000/gpio-controller@0: could not find phandle [ 0.141192] OF: /gpio@03021000/gpio-controller@1: could not find phandle [ 0.148181] OF: /gpio@03022000/gpio-controller@2: could not find phandle [ 0.155170] OF: /gpio@03023000/gpio-controller@3: could not find phandle [ 0.162158] OF: /gpio@05021000/gpio-controller@4: could not find phandle [ 0.170652] clk reset: nr_reset=64 resource_size=8 [ 0.176069] get audio clk=24576000 [ 0.179585] cvitek-i2s-subsys 4108000.i2s_subsys: Set clk_sdma_aud0~3 to 24576000 [ 0.200020] dw_dmac 4330000.dma: CVITEK DMA Controller, 8 channels, probe done! [ 0.208207] SCSI subsystem initialized [ 0.212570] usbcore: registered new interface driver usbfs [ 0.218304] usbcore: registered new interface driver hub [ 0.223877] usbcore: registered new device driver usb [ 0.230652] Ion: ion_parse_dt_heap_common: id 0 type 2 name carveout align 1000 [ 0.238624] Ion: rmem_ion_device_init: heap carveout base 0x000000008b300000 size 0x0000000004b00000 dev (____ptrval____) [ 0.249890] ion_carveout_heap_create, size=0x4b00000 [ 0.255185] cvi_get_rtos_ion_size, rtos ion_size get:0x1600000 [ 0.261167] ion_carveout_heap_create, size(exclusion of rtos_ion_size)=0x3500000 [ 0.478797] platform carveout: [ion] add heap id 0, type 2, base 0x8b300000, size 0x4b00000 [ 0.487704] Advanced Linux Sound Architecture Driver Initialized. [ 0.495058] clocksource: Switched to clocksource riscv_clocksource [ 0.503163] NET: Registered protocol family 2 [ 0.508498] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.517168] TCP established hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.525168] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.532612] TCP: Hash tables configured (established 2048 bind 2048) [ 0.539345] UDP hash table entries: 128 (order: 0, 4096 bytes, linear) [ 0.546088] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes, linear) [ 0.553486] NET: Registered protocol family 1 [ 0.558480] RPC: Registered named UNIX socket transport module. [ 0.564592] RPC: Registered udp transport module. [ 0.569467] RPC: Registered tcp transport module. [ 0.574391] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.583227] Initialise system trusted keyrings [ 0.588018] workingset: timestamp_bits=62 max_order=16 bucket_order=0 [ 0.601406] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.608289] jffs2: version 2.2. (NAND) 2001-2006 Red Hat, Inc. [ 0.615345] Key type asymmetric registered [ 0.619536] Asymmetric key parser 'x509' registered [ 0.629493] cvi_rtos_cmdqu_init [ 0.632906] cvi_rtos_cmdqu_probe start --- [ 0.637087] name=1900000.rtos_cmdqu [ 0.640906] res-reg: start: 0x1900000, end: 0x1900fff, virt-addr(ffffffd00573f000). [ 0.648789] RTOS_CMDQU_INIT [ 0.651711] mbox_reg=(____ptrval____) [ 0.655559] mbox_done_reg=(____ptrval____) [ 0.659860] mailbox_context=(____ptrval____) [ 0.664369] cvi_rtos_cmdqu_probe DONE [ 0.668306] cvi_rtos_cmdqu_init done [ 0.671973] [cvi_spinlock_init] success [ 0.676161] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled [ 0.684349] printk: console [ttyS0] disabled [ 0.688834] 4140000.serial: ttyS0 at MMIO 0x4140000 (irq = 15, base_baud = 1562500) is a 16550A[ 0.697857] printk: console [ttyS0] enabled [ 0.697857] printk: console [ttyS0] enabled [ 0.706442] printk: bootconsole [sbi0] disabled [ 0.706442] printk: bootconsole [sbi0] disabled [ 0.720237] libphy: Fixed MDIO Bus: probed [ 0.724951] bm-dwmac 4070000.ethernet: IRQ eth_wake_irq not found [ 0.731297] bm-dwmac 4070000.ethernet: IRQ eth_lpi not found [ 0.737249] bm-dwmac 4070000.ethernet: Hash table entries set to unexpected value 0 [ 0.745290] bm-dwmac 4070000.ethernet: no reset control found [ 0.751458] bm-dwmac 4070000.ethernet: User ID: 0x10, Synopsys ID: 0x37 [ 0.758385] bm-dwmac 4070000.ethernet: DWMAC1000 [ 0.763279] bm-dwmac 4070000.ethernet: DMA HW capability register supported [ 0.770496] bm-dwmac 4070000.ethernet: RX Checksum Offload Engine supported [ 0.777712] bm-dwmac 4070000.ethernet: COE Type 2 [ 0.782597] bm-dwmac 4070000.ethernet: TX Checksum insertion supported [ 0.789365] bm-dwmac 4070000.ethernet: Normal descriptors [ 0.794967] bm-dwmac 4070000.ethernet: Ring mode enabled [ 0.800479] bm-dwmac 4070000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 0.808235] bm-dwmac 4070000.ethernet: device MAC address e6:eb:6d:8f:25:c4 [ 0.838473] libphy: stmmac: probed [ 0.842120] CVITEK CV182XA stmmac-0:00: attached PHY driver [CVITEK CV182XA] (mii_bus:phy_addr=stmmac-0:00, irq=POLL) [ 0.853283] CVITEK CV182XA stmmac-0:01: attached PHY driver [CVITEK CV182XA] (mii_bus:phy_addr=stmmac-0:01, irq=POLL) [ 0.865417] bm-dwmac 4070000.ethernet: Cannot get clk_500m_eth! [ 0.871662] bm-dwmac 4070000.ethernet: Cannot get gate_clk_axi4! [ 0.878775] dwc2 4340000.usb: axi clk installed [ 0.883509] dwc2 4340000.usb: apb clk installed [ 0.888220] dwc2 4340000.usb: 125m clk installed [ 0.893020] dwc2 4340000.usb: 33k clk installed [ 0.897730] dwc2 4340000.usb: 12m clk installed [ 0.902511] dwc2 4340000.usb: EPs: 8, dedicated fifos, 3072 entries in SPRAM [ 0.910267] dwc2 4340000.usb: DWC OTG Controller [ 0.915114] dwc2 4340000.usb: new USB bus registered, assigned bus number 1 [ 0.922367] dwc2 4340000.usb: irq 34, io mem 0x04340000 [ 0.928545] hub 1-0:1.0: USB hub found [ 0.932534] hub 1-0:1.0: 1 port detected [ 0.937648] usbcore: registered new interface driver usb-storage [ 0.944339] mousedev: PS/2 mouse device common for all mice [ 0.950387] i2c /dev entries driver [ 0.955560] sdhci: Secure Digital Host Controller Interface driver [ 0.961986] sdhci: Copyright(c) Pierre Ossman [ 0.966510] sdhci-pltfm: SDHCI platform and OF driver helper [ 0.972581] cvi:sdhci_cvi_probe [ 1.023069] mmc0: SDHCI controller on 4310000.cv-sd [4310000.cv-sd] using ADMA 64-bit [ 1.031218] cvi_proc_init cvi_host 0x(____ptrval____) [ 1.037050] usbcore: registered new interface driver usbhid [ 1.047070] usbhid: USB HID core driver [ 1.052771] cvitek-i2s 4100000.i2s: cvi_i2s_probe [ 1.063222] cvitek-i2s 4130000.i2s: cvi_i2s_probe [ 1.068743] cviteka-adc sound_adc: cviteka_adc_probe, dev name=sound_adc [ 1.075815] cviteka-adc sound_adc: cviteka_adc_probe start devm_snd_soc_register_card [ 1.084301] cvitekaadc 300a100.adc: cvitekaadc_probe [ 1.095578] cviteka-dac sound_dac: cviteka_dac_probe, dev name=sound_dac [ 1.102881] cvitekadac 300a000.dac: cvitekadac_probe [ 1.108315] cvitekadac_probe gpio_is_valid mute_pin_l [ 1.114125] NET: Registered protocol family 17 [ 1.118991] Loading compiled-in X.509 certificates [ 1.140393] i2c_designware 4010000.i2c: running with gpio recovery mode! scl,sda [ 1.159736] i2c_designware 4020000.i2c: running with gpio recovery mode! scl,sda [ 1.171697] i2c_designware 4030000.i2c: running with gpio recovery mode! scl,sda [ 1.179416] mmc0: new high speed SDHC card at address 5048 [ 1.185794] mmcblk0: mmc0:5048 SD16G 14.4 GiB [ 1.190956] cviteka-adc sound_adc: cviteka_adc_probe, dev name=sound_adc [ 1.198511] cviteka-adc sound_adc: cviteka_adc_probe start devm_snd_soc_register_card [ 1.208737] mmcblk0: p1 p2 [ 1.216360] cviteka-dac sound_dac: cviteka_dac_probe, dev name=sound_dac [ 1.228581] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 1.238931] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 1.245983] cfg80211: failed to load regulatory.db [ 1.251211] ALSA device list: [ 1.254458] dw-apb-uart 4140000.serial: forbid DMA for kernel console [ 1.267316] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 1.275804] VFS: Mounted root (ext4 filesystem) on device 179:2. [ 1.284326] devtmpfs: mounted [ 1.287602] Freeing unused kernel memory: 148K [ 1.292250] Kernel memory protection not selected by kernel config. [ 1.298831] Run /sbin/init as init process [ 1.303120] with arguments: [ 1.306190] /sbin/init [ 1.309008] with environment: [ 1.312276] HOME=/ [ 1.314717] TERM=linux [ 1.317536] early_time_log: run_init_process: 5839550us [ 1.382244] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro [ 1.423198] usb 1-1: new high-speed USB device number 2 using dwc2 [ 1.466436] random: fast init done [ 1.637662] hub 1-1:1.0: USB hub found [ 1.643561] hub 1-1:1.0: 4 ports detected Starting syslogd: OK Starting klogd: OK Running sysctl: OK Saving random seed: [ 1.767249] random: dd: uninitialized urandom read (512 bytes read) OK Starting network: OK Starting dhcpcd... dhcpcd-9.4.0 starting [ 1.891912] random: dhcpcd: uninitialized urandom read (112 bytes read) dhcp_vendor: Invalid argument forked to background, child pid [ 2.006289] bm-dwmac 4070000.ethernet eth0: PHY [stmmac-0:00] driver [CVITEK CV182XA] (irq=POLL) 136 Bad system call Starting ntpd: [ 2.027137] dwmac1000: Master AXI performs any burst length [ 2.034025] bm-dwmac 4070000.ethernet eth0: No Safety Features support found [ 2.042327] bm-dwmac 4070000.ethernet eth0: IEEE 1588-2002 Timestamp supported [ 2.050891] bm-dwmac 4070000.ethernet eth0: configuring for phy/rmii link mode [ 3.364017] random: crng init done OK Starting dropbear sshd: OK Starting dnsmasq: OK init mpp system... [ 7.275735] cv181x_sys: bad vermagic: kernel tainted. [ 7.281010] Disabling lock debugging due to kernel taint [ 7.286899] cv181x_sys: loading out-of-tree module taints kernel. [ 7.310253] res-reg: start: 0xa0c8000, end: 0xa0c801f, virt-addr(ffffffd00409e000). [ 7.318719] CVITEK CHIP ID = 18 [ 7.335387] cif a0c2000.cif: cam0 clk installed [ 7.340176] cif a0c2000.cif: cam1 clk installed [ 7.345298] cif a0c2000.cif: vip_sys_2 clk installed [ 7.350742] cif a0c2000.cif: clk_mipimpll clk installed 000000003b3c787d [ 7.357952] cif a0c2000.cif: clk_disppll clk installed 00000000ce33a829 [ 7.365102] cif a0c2000.cif: clk_fpll clk installed 0000000093a2a385 [ 7.371943] cif a0c2000.cif: (0) res-reg: start: 0xa0c2000, end: 0xa0c3fff. [ 7.379405] cif a0c2000.cif: virt-addr(0000000026084ca2) [ 7.385264] cif a0c2000.cif: (1) res-reg: start: 0xa0d0000, end: 0xa0d0fff. [ 7.392706] cif a0c2000.cif: virt-addr(00000000e7229808) [ 7.398603] cif a0c2000.cif: (2) res-reg: start: 0xa0c4000, end: 0xa0c5fff. [ 7.406058] cif a0c2000.cif: virt-addr(00000000c2d503f3) [ 7.411943] cif a0c2000.cif: (3) res-reg: start: 0xa0c6000, end: 0xa0c7fff. [ 7.419420] cif a0c2000.cif: virt-addr(000000008ab27e8e) [ 7.425281] cif a0c2000.cif: (4) res-reg: start: 0x3001c30, end: 0x3001c5f. [ 7.432742] cif a0c2000.cif: virt-addr(0000000000d67c51) [ 7.438570] cif a0c2000.cif: no pad_ctrl for cif [ 7.443678] cif a0c2000.cif: request irq-23 as cif-irq0 [ 7.449417] cif a0c2000.cif: request irq-24 as cif-irq1 [ 7.455163] cif a0c2000.cif: rst_pin = 433, pol = 1 [ 7.467570] snsr_i2c snsr_i2c: i2c:-------hook 1 [ 7.472613] snsr_i2c snsr_i2c: i2c:-------hook 2 [ 7.477972] snsr_i2c snsr_i2c: i2c:-------hook 3 [ 7.525147] vi_core_probe:203(): res-reg: start: 0xa000000, end: 0xa07ffff, virt-addr(ffffffd004180000). [ 7.535024] vi_core_probe:216(): irq(25) for isp get from platform driver. [ 7.543029] vi_tuning_buf_setup:253(): tuning fe_addr[0]=0x8195f490, be_addr[0]=0x81957290, post_addr[0]=0x81940000 [ 7.554191] vi_tuning_buf_setup:253(): tuning fe_addr[1]=0x81e3f490, be_addr[1]=0x81e37290, post_addr[1]=0x81e20000 [ 7.565315] vi_tuning_buf_setup:253(): tuning fe_addr[2]=0x81e5f490, be_addr[2]=0x81e57290, post_addr[2]=0x81e40000 [ 7.576403] sync_task_init:177(): sync_task_init vi_pipe 0 [ 7.582331] sync_task_init:177(): sync_task_init vi_pipe 1 [ 7.588272] sync_task_init:177(): sync_task_init vi_pipe 2 [ 7.594645] vi_core_probe:252(): isp registered as cvi-vi [ 7.649355] cvi_dwa_probe:487(): done with rc(0). [ 7.692361] cv181x-cooling cv181x_cooling: elems of dev-freqs=6 [ 7.698610] cv181x-cooling cv181x_cooling: dev_freqs[0]: 850000000 500000000 [ 7.706394] cv181x-cooling cv181x_cooling: dev_freqs[1]: 425000000 375000000 [ 7.713997] cv181x-cooling cv181x_cooling: dev_freqs[2]: 425000000 300000000 [ 7.721684] cv181x-cooling cv181x_cooling: Cooling device registered: cv181x_cooling [ 7.756053] jpu ctrl reg pa = 0xb030000, va = 00000000ed08305a, size = 256 [ 7.763747] end jpu_init result = 0x0 [ 7.871631] cvi_vc_drv_init result = 0x0 [ 7.936503] sh (179): drop_caches: 3 Starting app... [root@milkv-duo]~# ps ax PID USER COMMAND 1 root init 2 root [kthreadd] 3 root [rcu_gp] 4 root [rcu_par_gp] 5 root [kworker/0:0-eve] 6 root [kworker/0:0H-ev] 7 root [kworker/u2:0-ev] 8 root [mm_percpu_wq] 9 root [ksoftirqd/0] 10 root [rcu_preempt] 11 root [kdevtmpfs] 12 root [rcu_tasks_kthre] 13 root [oom_reaper] 14 root [writeback] 15 root [kcompactd0] 33 root [kblockd] 34 root [watchdogd] 35 root [kworker/0:1-eve] 36 root [kworker/0:1H-kb] 37 root [rpciod] 38 root [kworker/u3:0] 39 root [xprtiod] 40 root [cfg80211] 41 root [kswapd0] 42 root [nfsiod] 43 root [spi0] 44 root [spi1] 45 root [stmmac_wq] 46 root [kworker/u2:1] 79 root [irq/42-cd-gpio-] 80 root [sdhci] 81 root [irq/20-mmc0] 82 root [kworker/0:2-eve] 83 root [ion_system_heap] 84 root [mmc_complete] 89 root [jbd2/mmcblk0p2-] 90 root [ext4-rsv-conver] 105 root /sbin/syslogd -n 110 root /sbin/klogd -n 111 root [kworker/0:2H-mm] 136 dhcpcd dhcpcd: [master] [ip4] 137 root dhcpcd: [privileged actioneer] 138 dhcpcd dhcpcd: [network proxy] 139 dhcpcd dhcpcd: [control proxy] 152 root [kworker/0:3-eve] 161 root /usr/sbin/ntpd -g -p /var/run/ntpd.pid 172 root /usr/sbin/dropbear -R 177 nobody /usr/sbin/dnsmasq 185 root [cvitask_isp_pre] 186 root [cvitask_isp_bla] 187 root [cvitask_isp_err] 189 root [cvitask_vpss_0] 190 root [cvitask_vpss_1] 192 root [gdc_work] 197 root [cvitask_tpu_wor] 204 root {S99user} /bin/sh /etc/init.d/S99user start 215 root -sh 303 root sleep 0.5 304 root ps ax [root@milkv-duo]~# dmesg -t Linux version 5.10.4-tag- (root@06883d61fb65) (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) #1 PREEMPT Wed Apr 10 21:37:02 CST 2024 earlycon: sbi0 at I/O port 0x0 (options '') printk: bootconsole [sbi0] enabled efi: UEFI not found. Ion: Ion memory setup at 0x000000008b300000 size 75 MiB OF: reserved mem: initialized node ion, compatible id ion-region Zone ranges: DMA32 [mem 0x0000000080000000-0x000000008fdfffff] Normal empty Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000080000000-0x000000008fdfffff] Initmem setup node 0 [mem 0x0000000080000000-0x000000008fdfffff] On node 0 totalpages: 65024 DMA32 zone: 889 pages used for memmap DMA32 zone: 0 pages reserved DMA32 zone: 65024 pages, LIFO batch:15 SBI specification v0.3 detected SBI implementation ID=0x1 Version=0x9 SBI v0.2 TIME extension detected SBI v0.2 IPI extension detected SBI v0.2 RFENCE extension detected riscv: ISA extensions acdfimsuv riscv: ELF capabilities acdfimv pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 pcpu-alloc: [0] 0 Built 1 zonelists, mobility grouping on. Total pages: 64135 Kernel command line: root=/dev/mmcblk0p2 rootwait rw console=ttyS0,115200 earlycon=sbi riscv.fwsz=0x80000 loglevel=9 Dentry cache hash table entries: 32768 (order: 6, 262144 bytes, linear) Inode-cache hash table entries: 16384 (order: 5, 131072 bytes, linear) Sorting __ex_table... mem auto-init: stack:off, heap alloc:off, heap free:off Memory: 170088K/260096K available (4106K kernel code, 497K rwdata, 1777K rodata, 148K init, 202K bss, 90008K reserved, 0K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 rcu: Preemptible hierarchical RCU implementation. rcu: RCU event tracing is enabled. Trampoline variant of Tasks RCU enabled. rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 riscv-intc: 64 local interrupts mapped plic: interrupt-controller@70000000: mapped 101 interrupts with 1 handlers for 2 contexts. random: get_random_bytes called from start_kernel+0x2e0/0x41c with crng_init=0 riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns sched_clock: 64 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=100000) pid_max: default: 4096 minimum: 301 Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) ASID allocator initialised with 65536 entries rcu: Hierarchical SRCU implementation. EFI services will not be available. devtmpfs: initialized early_time_log: do_initcalls: 4588121us clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns futex hash table entries: 16 (order: -4, 384 bytes, linear) pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations thermal_sys: Registered thermal governor 'step_wise' OF: /gpio@03020000/gpio-controller@0: could not find phandle OF: /gpio@03021000/gpio-controller@1: could not find phandle OF: /gpio@03022000/gpio-controller@2: could not find phandle OF: /gpio@03023000/gpio-controller@3: could not find phandle OF: /gpio@05021000/gpio-controller@4: could not find phandle clk reset: nr_reset=64 resource_size=8 get audio clk=24576000 cvitek-i2s-subsys 4108000.i2s_subsys: Set clk_sdma_aud0~3 to 24576000 dw_dmac 4330000.dma: CVITEK DMA Controller, 8 channels, probe done! SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb Ion: ion_parse_dt_heap_common: id 0 type 2 name carveout align 1000 Ion: rmem_ion_device_init: heap carveout base 0x000000008b300000 size 0x0000000004b00000 dev (____ptrval____) ion_carveout_heap_create, size=0x4b00000 cvi_get_rtos_ion_size, rtos ion_size get:0x1600000 ion_carveout_heap_create, size(exclusion of rtos_ion_size)=0x3500000 platform carveout: [ion] add heap id 0, type 2, base 0x8b300000, size 0x4b00000 Advanced Linux Sound Architecture Driver Initialized. clocksource: Switched to clocksource riscv_clocksource NET: Registered protocol family 2 tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) TCP established hash table entries: 2048 (order: 2, 16384 bytes, linear) TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear) TCP: Hash tables configured (established 2048 bind 2048) UDP hash table entries: 128 (order: 0, 4096 bytes, linear) UDP-Lite hash table entries: 128 (order: 0, 4096 bytes, linear) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. Initialise system trusted keyrings workingset: timestamp_bits=62 max_order=16 bucket_order=0 squashfs: version 4.0 (2009/01/31) Phillip Lougher jffs2: version 2.2. (NAND) 2001-2006 Red Hat, Inc. Key type asymmetric registered Asymmetric key parser 'x509' registered cvi_rtos_cmdqu_init cvi_rtos_cmdqu_probe start --- name=1900000.rtos_cmdqu res-reg: start: 0x1900000, end: 0x1900fff, virt-addr(ffffffd00573f000). RTOS_CMDQU_INIT mbox_reg=(____ptrval____) mbox_done_reg=(____ptrval____) mailbox_context=(____ptrval____) cvi_rtos_cmdqu_probe DONE cvi_rtos_cmdqu_init done [cvi_spinlock_init] success Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled printk: console [ttyS0] disabled 4140000.serial: ttyS0 at MMIO 0x4140000 (irq = 15, base_baud = 1562500) is a 16550A printk: console [ttyS0] enabled printk: bootconsole [sbi0] disabled libphy: Fixed MDIO Bus: probed bm-dwmac 4070000.ethernet: IRQ eth_wake_irq not found bm-dwmac 4070000.ethernet: IRQ eth_lpi not found bm-dwmac 4070000.ethernet: Hash table entries set to unexpected value 0 bm-dwmac 4070000.ethernet: no reset control found bm-dwmac 4070000.ethernet: User ID: 0x10, Synopsys ID: 0x37 bm-dwmac 4070000.ethernet: DWMAC1000 bm-dwmac 4070000.ethernet: DMA HW capability register supported bm-dwmac 4070000.ethernet: RX Checksum Offload Engine supported bm-dwmac 4070000.ethernet: COE Type 2 bm-dwmac 4070000.ethernet: TX Checksum insertion supported bm-dwmac 4070000.ethernet: Normal descriptors bm-dwmac 4070000.ethernet: Ring mode enabled bm-dwmac 4070000.ethernet: Enable RX Mitigation via HW Watchdog Timer bm-dwmac 4070000.ethernet: device MAC address e6:eb:6d:8f:25:c4 libphy: stmmac: probed CVITEK CV182XA stmmac-0:00: attached PHY driver [CVITEK CV182XA] (mii_bus:phy_addr=stmmac-0:00, irq=POLL) CVITEK CV182XA stmmac-0:01: attached PHY driver [CVITEK CV182XA] (mii_bus:phy_addr=stmmac-0:01, irq=POLL) bm-dwmac 4070000.ethernet: Cannot get clk_500m_eth! bm-dwmac 4070000.ethernet: Cannot get gate_clk_axi4! dwc2 4340000.usb: axi clk installed dwc2 4340000.usb: apb clk installed dwc2 4340000.usb: 125m clk installed dwc2 4340000.usb: 33k clk installed dwc2 4340000.usb: 12m clk installed dwc2 4340000.usb: EPs: 8, dedicated fifos, 3072 entries in SPRAM dwc2 4340000.usb: DWC OTG Controller dwc2 4340000.usb: new USB bus registered, assigned bus number 1 dwc2 4340000.usb: irq 34, io mem 0x04340000 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected usbcore: registered new interface driver usb-storage mousedev: PS/2 mouse device common for all mice i2c /dev entries driver sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pltfm: SDHCI platform and OF driver helper cvi:sdhci_cvi_probe mmc0: SDHCI controller on 4310000.cv-sd [4310000.cv-sd] using ADMA 64-bit cvi_proc_init cvi_host 0x(____ptrval____) usbcore: registered new interface driver usbhid usbhid: USB HID core driver cvitek-i2s 4100000.i2s: cvi_i2s_probe cvitek-i2s 4130000.i2s: cvi_i2s_probe cviteka-adc sound_adc: cviteka_adc_probe, dev name=sound_adc cviteka-adc sound_adc: cviteka_adc_probe start devm_snd_soc_register_card cvitekaadc 300a100.adc: cvitekaadc_probe cviteka-dac sound_dac: cviteka_dac_probe, dev name=sound_dac cvitekadac 300a000.dac: cvitekadac_probe cvitekadac_probe gpio_is_valid mute_pin_l NET: Registered protocol family 17 Loading compiled-in X.509 certificates i2c_designware 4010000.i2c: running with gpio recovery mode! scl,sda i2c_designware 4020000.i2c: running with gpio recovery mode! scl,sda i2c_designware 4030000.i2c: running with gpio recovery mode! scl,sda mmc0: new high speed SDHC card at address 5048 mmcblk0: mmc0:5048 SD16G 14.4 GiB cviteka-adc sound_adc: cviteka_adc_probe, dev name=sound_adc cviteka-adc sound_adc: cviteka_adc_probe start devm_snd_soc_register_card mmcblk0: p1 p2 cviteka-dac sound_dac: cviteka_dac_probe, dev name=sound_dac cfg80211: Loading compiled-in X.509 certificates for regulatory database cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' cfg80211: failed to load regulatory.db ALSA device list: dw-apb-uart 4140000.serial: forbid DMA for kernel console EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) on device 179:2. devtmpfs: mounted Freeing unused kernel memory: 148K Kernel memory protection not selected by kernel config. Run /sbin/init as init process with arguments: /sbin/init with environment: HOME=/ TERM=linux early_time_log: run_init_process: 5839550us EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro usb 1-1: new high-speed USB device number 2 using dwc2 random: fast init done hub 1-1:1.0: USB hub found hub 1-1:1.0: 4 ports detected random: dd: uninitialized urandom read (512 bytes read) random: dhcpcd: uninitialized urandom read (112 bytes read) bm-dwmac 4070000.ethernet eth0: PHY [stmmac-0:00] driver [CVITEK CV182XA] (irq=POLL) dwmac1000: Master AXI performs any burst length bm-dwmac 4070000.ethernet eth0: No Safety Features support found bm-dwmac 4070000.ethernet eth0: IEEE 1588-2002 Timestamp supported bm-dwmac 4070000.ethernet eth0: configuring for phy/rmii link mode random: crng init done cv181x_sys: bad vermagic: kernel tainted. Disabling lock debugging due to kernel taint cv181x_sys: loading out-of-tree module taints kernel. res-reg: start: 0xa0c8000, end: 0xa0c801f, virt-addr(ffffffd00409e000). CVITEK CHIP ID = 18 cif a0c2000.cif: cam0 clk installed cif a0c2000.cif: cam1 clk installed cif a0c2000.cif: vip_sys_2 clk installed cif a0c2000.cif: clk_mipimpll clk installed 000000003b3c787d cif a0c2000.cif: clk_disppll clk installed 00000000ce33a829 cif a0c2000.cif: clk_fpll clk installed 0000000093a2a385 cif a0c2000.cif: (0) res-reg: start: 0xa0c2000, end: 0xa0c3fff. cif a0c2000.cif: virt-addr(0000000026084ca2) cif a0c2000.cif: (1) res-reg: start: 0xa0d0000, end: 0xa0d0fff. cif a0c2000.cif: virt-addr(00000000e7229808) cif a0c2000.cif: (2) res-reg: start: 0xa0c4000, end: 0xa0c5fff. cif a0c2000.cif: virt-addr(00000000c2d503f3) cif a0c2000.cif: (3) res-reg: start: 0xa0c6000, end: 0xa0c7fff. cif a0c2000.cif: virt-addr(000000008ab27e8e) cif a0c2000.cif: (4) res-reg: start: 0x3001c30, end: 0x3001c5f. cif a0c2000.cif: virt-addr(0000000000d67c51) cif a0c2000.cif: no pad_ctrl for cif cif a0c2000.cif: request irq-23 as cif-irq0 cif a0c2000.cif: request irq-24 as cif-irq1 cif a0c2000.cif: rst_pin = 433, pol = 1 snsr_i2c snsr_i2c: i2c:-------hook 1 snsr_i2c snsr_i2c: i2c:-------hook 2 snsr_i2c snsr_i2c: i2c:-------hook 3 vi_core_probe:203(): res-reg: start: 0xa000000, end: 0xa07ffff, virt-addr(ffffffd004180000). vi_core_probe:216(): irq(25) for isp get from platform driver. vi_tuning_buf_setup:253(): tuning fe_addr[0]=0x8195f490, be_addr[0]=0x81957290, post_addr[0]=0x81940000 vi_tuning_buf_setup:253(): tuning fe_addr[1]=0x81e3f490, be_addr[1]=0x81e37290, post_addr[1]=0x81e20000 vi_tuning_buf_setup:253(): tuning fe_addr[2]=0x81e5f490, be_addr[2]=0x81e57290, post_addr[2]=0x81e40000 sync_task_init:177(): sync_task_init vi_pipe 0 sync_task_init:177(): sync_task_init vi_pipe 1 sync_task_init:177(): sync_task_init vi_pipe 2 vi_core_probe:252(): isp registered as cvi-vi cvi_dwa_probe:487(): done with rc(0). cv181x-cooling cv181x_cooling: elems of dev-freqs=6 cv181x-cooling cv181x_cooling: dev_freqs[0]: 850000000 500000000 cv181x-cooling cv181x_cooling: dev_freqs[1]: 425000000 375000000 cv181x-cooling cv181x_cooling: dev_freqs[2]: 425000000 300000000 cv181x-cooling cv181x_cooling: Cooling device registered: cv181x_cooling jpu ctrl reg pa = 0xb030000, va = 00000000ed08305a, size = 256 end jpu_init result = 0x0 cvi_vc_drv_init result = 0x0 sh (179): drop_caches: 3 usb 1-1: USB disconnect, device number 2 using random self ethernet address using random host ethernet address usb0: HOST MAC fe:ad:6b:59:e6:94 usb0: MAC ee:94:3a:40:eb:8e dwc2 4340000.usb: bound driver configfs-gadget [root@milkv-duo]~# halt [root@milkv-duo]~# Stopping dnsmasq: OK Stopping dropbear sshd: OK Stopping ntpd: OK Stopping dhcpcd... no /sbin/dhcpcd found; none killed Stopping network: OK Saving random seed: OK Stopping klogd: OK Stopping syslogd: OK umount: can't remount tmpfs read-only umount: devtmpfs busy - remounted read-only The system is going down NOW! Sent SIGTERM to all processes Sent SIGKILL to all processes[ 112.760607] reboot: System halted Disconnected uaa@framboise:~$ exit Script done on Thu May 9 07:52:09 2024