MilkV Duo

From Stm32World Wiki
Jump to navigation Jump to search


MilkV Duo

Pinout

MilkV Duo pinout.png

CV1800B SOC

CV1800B Architecture.png

Boot Log

root@milkv-duo:~# dmesg
[    0.000000] Linux version 5.10.4-tag- (spirit@shakti) (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 Nov 22 16:59:12 CET 2023
[    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 0x0000000083f40000 size 0 MiB
[    0.000000] OF: reserved mem: initialized node ion, compatible id ion-region
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000080000000-0x0000000083f3ffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x0000000083f3ffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000083f3ffff]
[    0.000000] On node 0 totalpages: 16192
[    0.000000]   DMA32 zone: 253 pages used for memmap
[    0.000000]   DMA32 zone: 0 pages reserved
[    0.000000]   DMA32 zone: 16192 pages, LIFO batch:3
[    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: 15939
[    0.000000] Kernel command line: root=/dev/mmcblk0p2 rootwait rw console=ttyS0,115200 earlycon=sbi loglevel=9 riscv.fwsz=0x80000
[    0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.000000] Sorting __ex_table...
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 56136K/64768K available (4044K kernel code, 513K rwdata, 1746K rodata, 144K init, 209K bss, 8632K 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+0x2e4/0x416 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.000009] sched_clock: 64 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns
[    0.008421] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=100000)
[    0.019125] pid_max: default: 4096 minimum: 301
[    0.024039] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.031457] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.041612] ASID allocator initialised with 65536 entries
[    0.047366] rcu: Hierarchical SRCU implementation.
[    0.052788] EFI services will not be available.
[    0.057945] devtmpfs: initialized
[    0.067573] early_time_log: do_initcalls: 4603499us
[    0.073591] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.083657] futex hash table entries: 16 (order: -4, 384 bytes, linear)
[    0.090719] pinctrl core: initialized pinctrl subsystem
[    0.096700] NET: Registered protocol family 16
[    0.101772] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.109113] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.117988] thermal_sys: Registered thermal governor 'step_wise'
[    0.133624] OF: /gpio@03020000/gpio-controller@0: could not find phandle
[    0.146843] OF: /gpio@03021000/gpio-controller@1: could not find phandle
[    0.153835] OF: /gpio@03022000/gpio-controller@2: could not find phandle
[    0.160823] OF: /gpio@03023000/gpio-controller@3: could not find phandle
[    0.167812] OF: /gpio@05021000/gpio-controller@4: could not find phandle
[    0.176592] clk reset: nr_reset=64 resource_size=8
[    0.182205] get audio clk=24576000
[    0.185762] cvitek-i2s-subsys 4108000.i2s_subsys: Set clk_sdma_aud0~3 to 24576000
[    0.208292] dw_dmac 4330000.dma: CVITEK DMA Controller, 8 channels, probe done!
[    0.216881] SCSI subsystem initialized
[    0.221233] usbcore: registered new interface driver usbfs
[    0.227017] usbcore: registered new interface driver hub
[    0.232612] usbcore: registered new device driver usb
[    0.241438] Ion: ion_parse_dt_heap_common: id 0 type 2 name carveout align 1000
[    0.249396] Ion: rmem_ion_device_init: heap carveout base 0x0000000083f40000 size 0x0000000000000000 dev (____ptrval____)
[    0.260681] ion_carveout_heap_create, size=0x0
[    0.265457] cvi_get_rtos_ion_size, rtos ion_size get:0x0
[    0.271090] platform carveout: [ion] add heap id 0, type 2, base 0x83f40000, size 0x0
[    0.279550] Advanced Linux Sound Architecture Driver Initialized.
[    0.287231] clocksource: Switched to clocksource riscv_clocksource
[    0.296050] NET: Registered protocol family 2
[    0.301819] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.310566] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.318371] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.325638] TCP: Hash tables configured (established 512 bind 512)
[    0.332244] UDP hash table entries: 128 (order: 0, 4096 bytes, linear)
[    0.339019] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes, linear)
[    0.346501] NET: Registered protocol family 1
[    0.351852] RPC: Registered named UNIX socket transport module.
[    0.358000] RPC: Registered udp transport module.
[    0.362855] RPC: Registered tcp transport module.
[    0.367775] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.377146] Initialise system trusted keyrings
[    0.382081] workingset: timestamp_bits=46 max_order=14 bucket_order=0
[    0.396292] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.403634] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.411292] Key type asymmetric registered
[    0.415484] Asymmetric key parser 'x509' registered
[    0.426922] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[    0.435654] printk: console [ttyS0] disabled
[    0.440190] 4140000.serial: ttyS0 at MMIO 0x4140000 (irq = 15, base_baud = 1562500) is a 16550A
[    0.449323] printk: console [ttyS0] enabled
[    0.457927] printk: bootconsole [sbi0] disabled
[    0.468214] 41c0000.serial: ttyS4 at MMIO 0x41c0000 (irq = 16, base_baud = 1562500) is a 16550A
[    0.478938] zram: Added device: zram0
[    0.485539] cvi-spif 10000000.cvi-spif: unrecognized JEDEC id bytes: 00 00 00 00 00 00
[    0.493816] cvi-spif 10000000.cvi-spif: device scan failed
[    0.499530] cvi-spif 10000000.cvi-spif: unable to setup flash chip
[    0.512529] libphy: Fixed MDIO Bus: probed
[    0.517440] bm-dwmac 4070000.ethernet: IRQ eth_wake_irq not found
[    0.523813] bm-dwmac 4070000.ethernet: IRQ eth_lpi not found
[    0.529808] bm-dwmac 4070000.ethernet: Hash table entries set to unexpected value 0
[    0.537897] bm-dwmac 4070000.ethernet: no reset control found
[    0.544186] bm-dwmac 4070000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[    0.551118] bm-dwmac 4070000.ethernet:       DWMAC1000
[    0.556031] bm-dwmac 4070000.ethernet: DMA HW capability register supported
[    0.563263] bm-dwmac 4070000.ethernet: RX Checksum Offload Engine supported
[    0.570493] bm-dwmac 4070000.ethernet: COE Type 2
[    0.575391] bm-dwmac 4070000.ethernet: TX Checksum insertion supported
[    0.582171] bm-dwmac 4070000.ethernet: Normal descriptors
[    0.587786] bm-dwmac 4070000.ethernet: Ring mode enabled
[    0.593313] bm-dwmac 4070000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    0.601083] bm-dwmac 4070000.ethernet: device MAC address 62:e4:fd:2f:f4:24
[    0.637452] libphy: stmmac: probed
[    0.642570] bm-dwmac 4070000.ethernet: Cannot get clk_500m_eth!
[    0.648970] bm-dwmac 4070000.ethernet: Cannot get gate_clk_axi4!
[    0.656391] dwc2 4340000.usb: axi clk installed
[    0.661204] dwc2 4340000.usb: apb clk installed
[    0.665953] dwc2 4340000.usb: 125m clk installed
[    0.670772] dwc2 4340000.usb: 33k clk installed
[    0.675495] dwc2 4340000.usb: 12m clk installed
[    0.680318] dwc2 4340000.usb: EPs: 8, dedicated fifos, 3072 entries in SPRAM
[    0.688241] dwc2 4340000.usb: DWC OTG Controller
[    0.693126] dwc2 4340000.usb: new USB bus registered, assigned bus number 1
[    0.700427] dwc2 4340000.usb: irq 36, io mem 0x04340000
[    0.706860] hub 1-0:1.0: USB hub found
[    0.710899] hub 1-0:1.0: 1 port detected
[    0.716777] usbcore: registered new interface driver usb-storage
[    0.723528] i2c /dev entries driver
[    0.729399] sdhci: Secure Digital Host Controller Interface driver
[    0.735852] sdhci: Copyright(c) Pierre Ossman
[    0.740386] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.746563] cvi:sdhci_cvi_probe
[    0.795248] mmc0: SDHCI controller on 4310000.cv-sd [4310000.cv-sd] using ADMA 64-bit
[    0.803426] cvi_proc_init cvi_host 0x(____ptrval____)
[    0.809417] usbcore: registered new interface driver usbhid
[    0.819260] usbhid: USB HID core driver
[    0.825375] cvitek-i2s 4100000.i2s: cvi_i2s_probe
[    0.837908] cvitek-i2s 4130000.i2s: cvi_i2s_probe
[    0.843845] cviteka-adc sound_adc: cviteka_adc_probe, dev name=sound_adc
[    0.855281] cviteka-adc sound_adc: cviteka_adc_probe start devm_snd_soc_register_card
[    0.863863] cvitekaadc 300a100.adc: cvitekaadc_probe
[    0.869949] cviteka-dac sound_dac: cviteka_dac_probe, dev name=sound_dac
[    0.877402] cvitekadac 300a000.dac: cvitekadac_probe
[    0.882873] cvitekadac_probe gpio_is_valid mute_pin_l
[    0.889412] NET: Registered protocol family 10
[    0.896308] Segment Routing with IPv6
[    0.900422] NET: Registered protocol family 17
[    0.905393] Loading compiled-in X.509 certificates
[    0.939345] mmc0: new high speed SDXC card at address 5048
[    0.951884] mmcblk0: mmc0:5048 SD64G 58.0 GiB 
[    0.957596] cviteka-adc sound_adc: cviteka_adc_probe, dev name=sound_adc
[    0.964790] cviteka-adc sound_adc: cviteka_adc_probe start devm_snd_soc_register_card
[    0.975091]  mmcblk0: p1 p2 p3
[    0.984688] cviteka-dac sound_dac: cviteka_dac_probe, dev name=sound_dac
[    0.997898] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.009069] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.016294] cfg80211: failed to load regulatory.db
[    1.021558] ALSA device list:
[    1.025095] dw-apb-uart 4140000.serial: forbid DMA for kernel console
[    1.056055] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.064725] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.072887] devtmpfs: mounted
[    1.076191] Freeing unused kernel memory: 144K
[    1.080833] Kernel memory protection not selected by kernel config.
[    1.087359] Run /sbin/init as init process
[    1.091631]   with arguments:
[    1.094705]     /sbin/init
[    1.097535]   with environment:
[    1.100815]     HOME=/
[    1.103289]     TERM=linux
[    1.106093] early_time_log: run_init_process: 5642031us
[    1.123306] usb 1-1: new high-speed USB device number 2 using dwc2
[    1.247544] random: fast init done
[    1.338120] hub 1-1:1.0: USB hub found
[    1.343706] hub 1-1:1.0: 4 ports detected
[    1.609313] systemd[1]: System time before build time, advancing clock.
[    1.666667] systemd[1]: systemd 249.11-0ubuntu3.11 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[    1.699691] systemd[1]: Detected architecture riscv64.
[    1.725644] systemd[1]: Hostname set to <milkv-duo>.
[    2.290899] systemd-fstab-generator[95]: Ignoring "noauto" option for root device
[    3.064553] random: crng init done
[    3.486422] systemd[1]: Queued start job for default target Graphical Interface.
[    3.507770] systemd[1]: Created slice Slice /system/modprobe.
[    3.532500] systemd[1]: Created slice Slice /system/serial-getty.
[    3.559628] systemd[1]: Created slice User and Session Slice.
[    3.580433] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    3.608327] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    3.636171] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped.
[    3.648954] systemd[1]: Reached target Local Encrypted Volumes.
[    3.672154] systemd[1]: Reached target Remote File Systems.
[    3.691672] systemd[1]: Reached target Slice Units.
[    3.711888] systemd[1]: Reached target System Time Set.
[    3.732077] systemd[1]: Reached target Local Verity Protected Volumes.
[    3.758580] systemd[1]: Listening on Syslog Socket.
[    3.781232] systemd[1]: Listening on fsck to fsckd communication Socket.
[    3.808455] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    3.857526] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[    3.868154] systemd[1]: Listening on Journal Socket (/dev/log).
[    3.889666] systemd[1]: Listening on Journal Socket.
[    3.917772] systemd[1]: Listening on udev Control Socket.
[    3.941260] systemd[1]: Listening on udev Kernel Socket.
[    3.963735] systemd[1]: Reached target Socket Units.
[    3.984923] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[    4.004275] systemd[1]: Mounting POSIX Message Queue File System...
[    4.051669] systemd[1]: Mounting Kernel Debug File System...
[    4.088651] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[    4.107865] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    4.121373] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    4.140136] systemd[1]: Starting Journal Service...
[    4.193984] systemd[1]: Starting Set the console keyboard layout...
[    4.231788] systemd[1]: Condition check resulted in Create List of Static Device Nodes being skipped.
[    4.293826] systemd[1]: Starting Load Kernel Module configfs...
[    4.395557] systemd[1]: Starting Load Kernel Module drm...
[    4.480523] systemd[1]: Starting Load Kernel Module efi_pstore...
[    4.588698] systemd[1]: Starting Load Kernel Module fuse...
[    4.640562] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    4.744762] systemd[1]: Starting Load Kernel Modules...
[    4.828761] systemd[1]: Starting Remount Root and Kernel File Systems...
[    4.937570] systemd[1]: Starting Coldplug All udev Devices...
[    5.118239] systemd[1]: Mounted POSIX Message Queue File System.
[    5.249268] systemd[1]: Mounted Kernel Debug File System.
[    5.293228] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    5.368185] ext4 filesystem being remounted at / supports timestamps until 2038 (0x7fffffff)
[    5.441955] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[    5.499764] systemd[1]: Finished Load Kernel Module configfs.
[    5.619816] systemd[1]: Finished Set the console keyboard layout.
[    5.664194] systemd[1]: modprobe@drm.service: Deactivated successfully.
[    5.696176] systemd[1]: Finished Load Kernel Module drm.
[    5.744285] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[    5.784133] systemd[1]: Finished Load Kernel Module efi_pstore.
[    5.817613] systemd[1]: Started Journal Service.
[    6.260739] systemd-journald[108]: Received client request to flush runtime journal.
[   13.663527] usb 1-1: USB disconnect, device number 2
[   14.495372] zram0: detected capacity change from 0 to 28815360
[   15.019390] Adding 28136k swap on /dev/zram0.  Priority:5 extents:1 across:28136k SS
[   15.813381] using random self ethernet address
[   15.813402] using random host ethernet address
[   16.223639] ext4 filesystem being remounted at /run/systemd/unit-root/var/tmp supports timestamps until 2038 (0x7fffffff)
[   16.224825] ext4 filesystem being remounted at /run/systemd/unit-root/var/lib/systemd/linger supports timestamps until 2038 (0x7fffffff)
[   16.224988] ext4 filesystem being remounted at /run/systemd/unit-root/etc supports timestamps until 2038 (0x7fffffff)
[   16.446931] ext4 filesystem being remounted at /run/systemd/unit-root/etc supports timestamps until 2038 (0x7fffffff)
[   17.449893] usb0: HOST MAC 02:b0:d4:e2:83:a2
[   17.450076] usb0: MAC 02:f0:89:48:6e:b7
[   17.450137] dwc2 4340000.usb: bound driver configfs-gadget
[   18.382835] ext4 filesystem being remounted at /run/systemd/unit-root/var/lib/systemd/linger supports timestamps until 2038 (0x7fffffff)
[   18.504039] ext4 filesystem being remounted at /run/systemd/unit-root/var/tmp supports timestamps until 2038 (0x7fffffff)
[   21.569266] ext4 filesystem being remounted at /run/systemd/unit-root/var/tmp supports timestamps until 2038 (0x7fffffff)
root@milkv-duo:~# 

Miscellaneous links