From nobody Thu May 29 07:42:10 2025 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4b7JHC32HFz5xvHl for ; Thu, 29 May 2025 07:42:15 +0000 (UTC) (envelope-from freebsd-riscv@dino.sk) Received: from cm0.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4b7JHB0KRJz42KX for ; Thu, 29 May 2025 07:42:13 +0000 (UTC) (envelope-from freebsd-riscv@dino.sk) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd-riscv@dino.sk designates 84.245.65.72 as permitted sender) smtp.mailfrom=freebsd-riscv@dino.sk Received: from dino.sk ([84.245.95.254]) (AUTH: LOGIN milan, TLS: TLSv1.3,256bits,TLS_AES_256_GCM_SHA384) by cm0.netlabit.sk with ESMTPSA id 0000000000759339.0000000068380FD3.00013E48; Thu, 29 May 2025 09:42:11 +0200 Date: Thu, 29 May 2025 09:42:10 +0200 From: Milan Obuch To: riscv@freebsd.org Subject: Re: FreeBSD on Star64 from Pine64 Message-ID: <20250529094210.50426297.14667060.01069101@dino.sk> In-Reply-To: <36328bd3-6713-4306-8c55-02d591901dc7@freebsd.org> References: <20250526214459.3c9794d4@dino.sk> <36328bd3-6713-4306-8c55-02d591901dc7@freebsd.org> X-Mailer: Claws Mail 3.21.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.2) List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-riscv@freebsd.org Sender: owner-freebsd-riscv@FreeBSD.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=_cm0.netlabit.sk-81480-1748504531-0001-2" X-Spamd-Result: default: False [1.20 / 15.00]; NEURAL_SPAM_LONG(1.00)[1.000]; NEURAL_HAM_SHORT(-0.88)[-0.883]; NEURAL_SPAM_MEDIUM(0.88)[0.881]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_ONE(0.00)[1]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:5578, ipnet:84.245.64.0/18, country:SK]; MIME_TRACE(0.00)[0:+,1:+,2:+]; RCVD_TLS_ALL(0.00)[]; R_DKIM_NA(0.00)[]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[dino.sk]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[riscv@freebsd.org]; HAS_ATTACHMENT(0.00)[] X-Rspamd-Queue-Id: 4b7JHB0KRJz42KX X-Spamd-Bar: + This is a MIME-formatted message. If you see this text it means that your E-mail software does not support MIME-formatted messages. --=_cm0.netlabit.sk-81480-1748504531-0001-2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thu, 29 May 2025 09:06:21 +0200 I wrote: > On Thu, 29 May 2025 08:16:19 +0200 I wrote: [ snip ] > > ? List valid disk boot devices > > . Yield 1 second (for background tasks) > > Abort manual input > > > > mountroot> ? > > > > List of GEOM managed disk devices: > > > > > > mountroot> > Building DTB from 15.0 sources with following commands did the trick: > > cd /.GIT/FreeBSD_src/main/sys/contrib/device-tree/src/riscv/starfive > cpp -I ../../../include/ -x assembler-with-cpp > jh7110-pine64-star64.dts | dtc -I dts -O dtb -o > jh7110-pine64-star64.dtb > > (commands based on reply from Rich Dunkle to my first mail). > > I must enter 'ufs:/dev/mmcsd0p4' at mountroot prompt, but that's minor > issue, now 'login:' prompt is waiting on me :) Now I adjusted it a bit for me, see full boot log in attachment... Looking at output of devinfo, # devinfo nexus0 timer0 rcons0 ofwbus0 cpulist0 cpu0 cpufreq_dt0 cpufreq0 cpu1 cpufreq_dt1 cpufreq1 cpu2 cpufreq_dt2 cpufreq2 cpu3 cpufreq_dt3 cpufreq3 clk_fixed0 clk_fixed1 clk_fixed2 clk_fixed3 clk_fixed4 clk_fixed5 clk_fixed6 clk_fixed7 clk_fixed8 clk_fixed9 clk_fixed10 clk_fixed11 clk_fixed12 clk_fixed13 simplebus0 plic0 uart0 jh7110_stg0 starfive_syscon0 jh7110_clk_sys0 starfive_syscon1 jh7110_clk_pll0 starfive_dwmmc0 mmc0 starfive_dwmmc1 mmc1 mmcsd0 eqos0 miibus0 mcommphy0 mcommphy1 eqos1 miibus1 mcommphy2 mcommphy3 jh7110_aon0 starfive_syscon2 intc0 ram0 sbi0 sbi_ipi0 cryptosoft0 there is not much devices, yet, so I could try to boot from eMMC (I have one eMMC module somewhere, I just must find where :) you know), and verify network (needs just cable for test - and some port to connect it to). --=_cm0.netlabit.sk-81480-1748504531-0001-2 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=star64.bootlog dwmci_s: Response Timeout. U-Boot SPL 2025.04 (Apr 24 2025 - 17:57:23 +0200) DDR version: dc2e84f0. Trying to boot from MMC2 U-Boot 2025.04 (Apr 24 2025 - 17:57:23 +0200) CPU: sifive,u74-mc Model: Pine64 Star64 DRAM: 8 GiB Core: 153 devices, 26 uclasses, devicetree: board WDT: Not starting watchdog@13070000 MMC: mmc@16010000: 0, mmc@16020000: 1 Loading Environment from SPIFlash... SF: Detected gd25lq128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB OK StarFive EEPROM format v2 --------EEPROM INFO-------- Vendor : PINE64 Product full SN: STAR64V1-2310-D008E000-00000002 data version: 0x2 PCB revision: 0xc1 BOM revision: A Ethernet MAC0 address: 6c:cf:39:00:75:5b Ethernet MAC1 address: 6c:cf:39:00:75:5c --------EEPROM INFO-------- starfive_7110_pcie pcie@9c0000000: Starfive PCIe bus probed. In: serial@10000000 Out: serial@10000000 Err: serial@10000000 Net: eth0: ethernet@16030000, eth1: ethernet@16040000 libfdt fdt_check_header(): FDT_ERR_BADMAGIC switch to partitions #0, OK mmc1 is current device found device 1 bootmode flash device 1 Failed to load 'uEnv.txt' Can't set block device Hit any key to stop autoboot: 0 Failed to load 'vf2_uEnv.txt' Importing environment from mmc1 ... Failed to load '/boot/uEnv.txt' ## Warning: defaulting to text format ## Error: "boot2" not defined switch to partitions #0, OK mmc1 is current device Scanning mmc 1:3... 32125 bytes read in 5 ms (6.1 MiB/s) Working FDT set to 46000000 Card did not respond to voltage select! : -110 Booting: mmc 1 Consoles: EFI console Reading loader env vars from /efi/freebsd/loader.env Setting currdev to disk0p3: FreeBSD/riscv EFI loader, Revision 3.0 (Thu May 22 04:14:19 UTC 2025 root@releng3.nyi.freebsd.org) Command line arguments: l Image base: 0xfe589000 EFI version: 2.110 EFI Firmware: Das U-Boot (rev 8229.1024) Console: comconsole (0) Load Path: /\EFI\BOOT\BOOTRISCV64.EFI Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,0000000000000000)/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,6d00000000000000)/SD(1)/SD(1)/HD(3,GPT,8b065d10-3c41-11f0-8e87-8439be167adc,0x4000,0x20000) BootCurrent: 0000 BootOrder: 0000[*] BootInfo Path: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,0000000000000000)/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,6d00000000000000)/SD(1)/SD(1) Ignoring Boot0000: Only one DP found Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,0000000000000000)/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,6d00000000000000)/SD(1)/SD(1)/HD(3,GPT,8b065d10-3c41-11f0-8e87-8439be167adc,0x4000,0x20000) Setting currdev to disk0p3: Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,0000000000000000)/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,6d00000000000000)/SD(1)/SD(1)/HD(1,GPT,4979baaf-3c41-11f0-8e87-8439be167adc,0x1000,0x1000) Setting currdev to disk0p1: Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,0000000000000000)/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,6d00000000000000)/SD(1)/SD(1)/HD(2,GPT,502961f8-3c41-11f0-8e87-8439be167adc,0x2000,0x2000) Setting currdev to disk0p2: Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,0000000000000000)/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,6d00000000000000)/SD(1)/SD(1)/HD(4,GPT,4e7f35fb-3c42-11f0-8e87-8439be167adc,0x24000,0x1d27fd8) Setting currdev to disk0p4: Loading /boot/defaults/loader.conf Loading /boot/defaults/loader.conf Loading /boot/device.hints Loading /boot/loader.conf Loading /boot/loader.conf.local | Loading kernel... /boot/kernel/kernel text=0x61ae20 text=0x1ac9f0 data=0x129148 data=0xf60+0x287120 0x8+0x133260+0x8+0x11e1a1/ Loading configured modules... /boot/entropy size=0x1000 /boot/kernel/umodem.ko text=0x20c0 text=0x1290 data=0x700+0x4 0x8+0x6900+0x8+0xf04 loading required module 'ucom' /boot/kernel/ucom.ko text=0x266d text=0x2bf2 data=0x988+0x858 0x8+0xec10+0x8+0x1893 /etc/hostid size=0x25 Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel] in 10 seconds... Booting [/boot/kernel/kernel] in 9 seconds... Booting [/boot/kernel/kernel] in 8 seconds... Type '?' for a list of commands, 'help' for more detailed help. OK boot -v Using DTB provided by EFI at 0xfe6df000. Kernel entry at 0xf6600030... Kernel args: -v Loading splash ok ---<>--- GDB: debug ports: uart GDB: current port: uart KDB: debugger backends: ddb gdb KDB: current backend: ddb Type Physical Virtual #Pages Attr Reserved 000040000000 000040000000 00000060 WB ConventionalMemory 000040060000 000040060000 00005fa0 WB BootServicesData 000046000000 000046000000 00000008 WB ConventionalMemory 000046008000 000046008000 000b0581 WB LoaderCode 0000f6589000 0000f6589000 00004000 WB LoaderData 0000fa589000 0000fa589000 00004000 WB LoaderCode 0000fe589000 0000fe589000 000000ae WB BootServicesData 0000fe637000 0000fe637000 00000003 WB ConventionalMemory 0000fe63a000 0000fe63a000 000000a4 WB LoaderData 0000fe6de000 0000fe6de000 00000001 WB ACPIReclaimMemory 0000fe6df000 0000fe6df000 0000000b WB BootServicesData 0000fe6ea000 0000fe6ea000 00000004 WB RuntimeServicesData 0000fe6ee000 0000fe6ee000 00000001 WB RUNTIME BootServicesData 0000fe6ef000 0000fe6ef000 00000001 WB RuntimeServicesData 0000fe6f0000 0000fe6f0000 00000022 WB RUNTIME BootServicesData 0000fe712000 0000fe712000 0000000d WB BootServicesCode 0000fe71f000 0000fe71f000 00001032 WB RuntimeServicesData 0000ff751000 0000ff751000 00000001 WB RUNTIME BootServicesCode 0000ff752000 0000ff752000 000007eb WB RuntimeServicesCode 0000fff3d000 0000fff3d000 00000002 WB RUNTIME BootServicesCode 0000fff3f000 0000fff3f000 000000c1 WB BootServicesData 000100000000 000100000000 00140000 WB Physical memory chunk(s): 0x40060000 - 0x23fffffff, 8191 MB (2097056 pages) Excluded memory regions: 0xf6600000 - 0xf761afff, 16 MB ( 4123 pages) NoAlloc 0xfe6df000 - 0xfe6e9fff, 0 MB ( 11 pages) NoAlloc 0xfe6ee000 - 0xfe6eefff, 0 MB ( 1 pages) NoAlloc 0xfe6f0000 - 0xfe711fff, 0 MB ( 34 pages) NoAlloc 0xff751000 - 0xff751fff, 0 MB ( 1 pages) NoAlloc 0xfff3d000 - 0xfff3efff, 0 MB ( 2 pages) NoAlloc Found 4 CPUs in the device tree Copyright (c) 1992-2025 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 15.0-CURRENT #0 main-n277396-30fd79b0c0a3: Thu May 22 04:31:55 UTC 2025 root@releng3.nyi.freebsd.org:/usr/obj/usr/src/riscv.riscv64/sys/GENERIC riscv FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2) WARNING: WITNESS option enabled, expect reduced performance. VT: init without driver. Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffc000e69000. Preloaded boot_entropy_cache "/boot/entropy" at 0xffffffc000e72440. Preloaded elf module "/boot/kernel/umodem.ko" at 0xffffffc000e72498. Preloaded elf module "/boot/kernel/ucom.ko" at 0xffffffc000e72cf0. Preloaded hostuuid "/etc/hostid" at 0xffffffc000e73548. Preloaded boot_entropy_platform "efi_rng_seed" at 0xffffffc000e73598. Preloaded boot_entropy_platform "efi_rng_seed" at 0xffffffc000e735f0. Preloaded TSLOG data "TSLOG" at 0xffffffc000e73648. SBI: OpenSBI v1.6 SBI Specification Version: 2.0 CPU 0 : Vendor=SiFive Core=6/7/P200/X200-Series Processor (Hart 1) marchid=0x8000000000000007, mimpid=0x4210427 MMU: 0x1 ISA: 0x112d S-mode Extensions: 0 real memory = 8589541376 (8191 MB) Physical memory chunk(s): 0x0000000040060000 - 0x00000000f65fffff, 3059351552 bytes (746912 pages) 0x00000000f761b000 - 0x00000000fe6defff, 118243328 bytes (28868 pages) 0x00000000fe6ea000 - 0x00000000fe6edfff, 16384 bytes (4 pages) 0x00000000fe6ef000 - 0x00000000fe6effff, 4096 bytes (1 pages) 0x00000000fe712000 - 0x00000000ff750fff, 17035264 bytes (4159 pages) 0x00000000ff752000 - 0x00000000fff3cfff, 8302592 bytes (2027 pages) 0x00000000fff3f000 - 0x000000023324cfff, 5153808384 bytes (1258254 pages) avail memory = 8314298368 (7929 MB) Starting CPU 1 (hart 2) Starting CPU 2 (hart 3) Starting CPU 3 (hart 4) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs CPU 1 : Vendor=SiFive Core=6/7/P200/X200-Series Processor (Hart 2) CPU 2 : Vendor=SiFive Core=6/7/P200/X200-Series Processor (Hart 3) CPU 3 : Vendor=SiFive Core=6/7/P200/X200-Series Processor (Hart 4) random: read 4096 bytes from preloaded cache random: read 2048 bytes from platform bootloader random: unblocking device. VIMAGE (virtualized network stack) enabled hostuuid: using 52415453-3436-3156-2d32-3331302d4400 ULE: setup cpu 0 ULE: setup cpu 1 ULE: setup cpu 2 ULE: setup cpu 3 random: entropy device external interface kbd0 at kbdmux0 mem: null: openfirm: tcp_log: tcp_log device crypto: ram0: reserving memory region: 40060000-f6600000 ram0: reserving memory region: f761b000-fe6df000 ram0: reserving memory region: fe6ea000-fe6ee000 ram0: reserving memory region: fe6ef000-fe6f0000 ram0: reserving memory region: fe712000-ff751000 ram0: reserving memory region: ff752000-fff3d000 ram0: reserving memory region: fff3f000-240000000 ofwbus0: clk_fixed0: on ofwbus0 Clock: dvp_clk, parent: none, freq: 74250000 clk_fixed1: on ofwbus0 Clock: gmac0_rgmii_rxin, parent: none, freq: 125000000 clk_fixed2: on ofwbus0 Clock: gmac0_rmii_refin, parent: none, freq: 50000000 clk_fixed3: on ofwbus0 Clock: gmac1_rgmii_rxin, parent: none, freq: 125000000 clk_fixed4: on ofwbus0 Clock: gmac1_rmii_refin, parent: none, freq: 50000000 clk_fixed5: on ofwbus0 Clock: hdmitx0_pixelclk, parent: none, freq: 297000000 clk_fixed6: on ofwbus0 Clock: i2srx_bclk_ext, parent: none, freq: 12288000 clk_fixed7: on ofwbus0 Clock: i2srx_lrck_ext, parent: none, freq: 192000 clk_fixed8: on ofwbus0 Clock: i2stx_bclk_ext, parent: none, freq: 12288000 clk_fixed9: on ofwbus0 Clock: i2stx_lrck_ext, parent: none, freq: 192000 clk_fixed10: on ofwbus0 Clock: mclk_ext, parent: none, freq: 12288000 clk_fixed11: on ofwbus0 Clock: osc, parent: none, freq: 24000000 clk_fixed12: on ofwbus0 Clock: rtc_osc, parent: none, freq: 32768 clk_fixed13: on ofwbus0 Clock: tdm_ext, parent: none, freq: 49152000 simplebus0: on ofwbus0 starfive_syscon0: mem 0x10240000-0x10240fff on simplebus0 starfive_syscon1: mem 0x13030000-0x13030fff on simplebus0 jh7110_clk_pll0: mem 0x13030000-0x13030fff on starfive_syscon1 Clock: pll0_out, parent: osc(0), freq: 999996000 Clock: pll1_out, parent: osc(0), freq: 1066500000 Clock: pll2_out, parent: osc(0), freq: 1228776000 starfive_syscon2: mem 0x17010000-0x17010fff on simplebus0 jh7110_clk_sys0: mem 0x13020000-0x1302ffff on simplebus0 Clock: cpu_root, parent: pll0_out(1), freq: 999996000 Clock: cpu_core, parent: cpu_root(0), freq: 999996000 Clock: cpu_bus, parent: cpu_core(0), freq: 499998000 Clock: perh_root, parent: pll0_out(0), freq: 499998000 Clock: bus_root, parent: pll2_out(1), freq: 1228776000 Clock: apb0, parent: apb_bus(0), freq: 51199000 Clock: u0_sys_iomux_apb, parent: apb_bus(0), freq: 51199000 Clock: u0_dw_uart_clk_apb, parent: apb0(0), freq: 51199000 Clock: u0_dw_uart_clk_core, parent: osc(0), freq: 24000000 Clock: u1_dw_uart_clk_apb, parent: apb0(0), freq: 51199000 Clock: u1_dw_uart_clk_core, parent: osc(0), freq: 24000000 Clock: u2_dw_uart_clk_apb, parent: apb0(0), freq: 51199000 Clock: u2_dw_uart_clk_core, parent: osc(0), freq: 24000000 Clock: u3_dw_uart_clk_apb, parent: apb0(0), freq: 51199000 Clock: u3_dw_uart_clk_core, parent: perh_root(0), freq: 499998000 Clock: axi_cfg0, parent: bus_root(0), freq: 409592000 Clock: stg_axiahb, parent: axi_cfg0(0), freq: 204796000 Clock: nocstg_bus, parent: bus_root(0), freq: 409592000 Clock: noc_bus_stg_axi, parent: nocstg_bus(0), freq: 409592000 Clock: ahb0, parent: stg_axiahb(0), freq: 204796000 Clock: apb_bus, parent: stg_axiahb(0), freq: 51199000 Clock: u0_dw_sdio_clk_ahb, parent: ahb0(0), freq: 204796000 Clock: u1_dw_sdio_clk_ahb, parent: ahb0(0), freq: 204796000 Clock: u0_dw_sdio_clk_sdcard, parent: axi_cfg0(0), freq: 45510222 Clock: u1_dw_sdio_clk_sdcard, parent: axi_cfg0(0), freq: 45510222 Clock: usb_125m, parent: pll0_out(0), freq: 124999500 Clock: gmac_src, parent: pll0_out(0), freq: 499998000 Clock: gmac0_gtxclk, parent: pll0_out(0), freq: 124999500 Clock: gmac0_ptp, parent: gmac_src(0), freq: 49999800 Clock: gmac_phy, parent: gmac_src(0), freq: 49999800 Clock: gmac0_gtxc, parent: gmac0_gtxclk(0), freq: 124999500 Clock: gmac1_rx, parent: gmac1_rgmii_rxin(0), freq: 125000000 Clock: gmac1_rx_inv, parent: gmac1_rx(0), freq: 125000000 Clock: gmac1_ahb, parent: ahb0(0), freq: 204796000 Clock: gmac1_gtxclk, parent: pll0_out(0), freq: 124999500 Clock: gmac1_tx, parent: gmac1_rmii_rtx(1), freq: 25000000 Clock: gmac1_tx_inv, parent: gmac1_tx(0), freq: 25000000 Clock: gmac1_ptp, parent: gmac_src(0), freq: 49999800 Clock: gmac1_axi, parent: stg_axiahb(0), freq: 204796000 Clock: gmac1_gtxc, parent: gmac1_gtxclk(0), freq: 124999500 Clock: gmac1_rmii_rtx, parent: gmac1_rmii_refin(0), freq: 25000000 jh7110_aon0: mem 0x17000000-0x1700ffff on simplebus0 Clock: gmac0_axi, parent: stg_axiahb(0), freq: 204796000 Clock: gmac0_ahb, parent: stg_axiahb(0), freq: 204796000 Clock: gmac0_tx, parent: gmac0_rmii_rtx(1), freq: 25000000 Clock: gmac0_tx_inv, parent: gmac0_tx(0), freq: 25000000 Clock: gmac0_rmii_rtx, parent: gmac0_rmii_refin(0), freq: 25000000 jh7110_stg0: mem 0x10230000-0x1023ffff on simplebus0 Clock: usb0_apb, parent: apb_bus(0), freq: 51199000 Clock: usb0_utmi_apb, parent: apb_bus(0), freq: 51199000 Clock: usb0_axi, parent: stg_axiahb(0), freq: 204796000 Clock: usb0_lpm, parent: osc(0), freq: 12000000 Clock: usb0_stb, parent: osc(0), freq: 6000000 Clock: usb0_app_125, parent: usb_125m(0), freq: 124999500 Clock: usb0_refclk, parent: osc(0), freq: 12000000 Clock: pcie0_axi_mst0, parent: stg_axiahb(0), freq: 204796000 Clock: pcie0_apb, parent: apb_bus(0), freq: 51199000 Clock: pcie0_tl, parent: stg_axiahb(0), freq: 204796000 Clock: pcie1_axi_mst0, parent: stg_axiahb(0), freq: 204796000 Clock: pcie1_apb, parent: apb_bus(0), freq: 51199000 Clock: pcie1_tl, parent: stg_axiahb(0), freq: 204796000 Clock: pcie_slv_main, parent: stg_axiahb(0), freq: 204796000 Clock: e2_rtc, parent: osc(0), freq: 1000000 Clock: e2_core, parent: stg_axiahb(0), freq: 204796000 Clock: e2_dbg, parent: stg_axiahb(0), freq: 204796000 Clock: dma1p_axi, parent: stg_axiahb(0), freq: 204796000 Clock: dma1p_ahb, parent: stg_axiahb(0), freq: 204796000 sbi0: intc0: on ofwbus0 sbi_ipi0: on sbi0 plic0: mem 0xc000000-0xfffffff irq 14,15,16,17,18,19,20,21,22 on simplebus0 timer0: Timecounter "RISC-V Timecounter" frequency 4000000 Hz quality 1000 Event timer "RISC-V Eventtimer" frequency 4000000 Hz quality 1000 rcons0: cpulist0: on ofwbus0 cpu0: on cpulist0 cpu0: Nominal frequency 999Mhz cpufreq_dt0: on cpu0 cpufreq_dt0: 375.000 Mhz (0 uV) cpufreq_dt0: 500.000 Mhz (0 uV) cpufreq_dt0: 750.000 Mhz (0 uV) cpufreq_dt0: 1500.000 Mhz (0 uV) cpufreq0: on cpu0 cpu1: on cpulist0 cpu1: Nominal frequency 999Mhz cpufreq_dt1: on cpu1 cpufreq_dt1: 375.000 Mhz (0 uV) cpufreq_dt1: 500.000 Mhz (0 uV) cpufreq_dt1: 750.000 Mhz (0 uV) cpufreq_dt1: 1500.000 Mhz (0 uV) cpufreq1: on cpu1 cpu2: on cpulist0 cpu2: Nominal frequency 999Mhz cpufreq_dt2: on cpu2 cpufreq_dt2: 375.000 Mhz (0 uV) cpufreq_dt2: 500.000 Mhz (0 uV) cpufreq_dt2: 750.000 Mhz (0 uV) cpufreq_dt2: 1500.000 Mhz (0 uV) cpufreq2: on cpu2 cpu3: on cpulist0 cpu3: Nominal frequency 999Mhz cpufreq_dt3: on cpu3 cpufreq_dt3: 375.000 Mhz (0 uV) cpufreq_dt3: 500.000 Mhz (0 uV) cpufreq_dt3: 750.000 Mhz (0 uV) cpufreq_dt3: 1500.000 Mhz (0 uV) cpufreq3: on cpu3 ofwbus0: compat operating-points-v2 (no driver attached) simplebus0: mem 0x2000000-0x200ffff irq 0,1,2,3,4,5,6,7,8,9 compat starfive,jh7110-clint (no driver attached) simplebus0: mem 0x2010000-0x2013fff irq 10,11,12,13 compat starfive,jh7110-ccache (no driver attached) simplebus0: no default resources for rid = 0, type = 4 simplebus0: no default resources for rid = 0, type = 4 uart0: <16550 or compatible> mem 0x10000000-0x1000ffff irq 23 on simplebus0 uart0: console (115384,n,8,1) uart0: fast interrupt uart0: PPS capture mode: DCD simplebus0: mem 0x10010000-0x1001ffff irq 24 disabled compat starfive,jh7110-uart (no driver attached) simplebus0: mem 0x10020000-0x1002ffff irq 25 disabled compat starfive,jh7110-uart (no driver attached) simplebus0: mem 0x10030000-0x1003ffff irq 26 compat snps,designware-i2c (no driver attached) simplebus0: mem 0x10040000-0x1004ffff irq 27 disabled compat snps,designware-i2c (no driver attached) simplebus0: mem 0x10050000-0x1005ffff irq 28 compat snps,designware-i2c (no driver attached) simplebus0: mem 0x10060000-0x1006ffff irq 29 compat arm,pl022 (no driver attached) simplebus0: mem 0x10070000-0x1007ffff irq 30 disabled compat arm,pl022 (no driver attached) simplebus0: mem 0x10080000-0x1008ffff irq 31 disabled compat arm,pl022 (no driver attached) simplebus0: mem 0x10090000-0x10090fff disabled compat starfive,jh7110-tdm (no driver attached) simplebus0: mem 0x100e0000-0x100e0fff disabled compat starfive,jh7110-i2srx (no driver attached) simplebus0: mem 0x100b0000-0x100b0fff compat starfive,jh7110-pwmdac (no driver attached) simplebus0: compat starfive,jh7110-usb (no driver attached) simplebus0: mem 0x10200000-0x1020ffff compat starfive,jh7110-usb-phy (no driver attached) simplebus0: mem 0x10210000-0x1021ffff compat starfive,jh7110-pcie-phy (no driver attached) simplebus0: mem 0x10220000-0x1022ffff compat starfive,jh7110-pcie-phy (no driver attached) simplebus0: mem 0x12000000-0x1200ffff irq 32 disabled compat starfive,jh7110-uart (no driver attached) simplebus0: mem 0x12010000-0x1201ffff irq 33 disabled compat starfive,jh7110-uart (no driver attached) simplebus0: mem 0x12020000-0x1202ffff irq 34 disabled compat starfive,jh7110-uart (no driver attached) simplebus0: mem 0x12030000-0x1203ffff irq 35 disabled compat snps,designware-i2c (no driver attached) simplebus0: mem 0x12040000-0x1204ffff irq 36 disabled compat snps,designware-i2c (no driver attached) simplebus0: mem 0x12050000-0x1205ffff irq 37 compat snps,designware-i2c (no driver attached) simplebus0: mem 0x12060000-0x1206ffff irq 38 compat snps,designware-i2c (no driver attached) simplebus0: mem 0x12070000-0x1207ffff irq 39 disabled compat arm,pl022 (no driver attached) simplebus0: mem 0x12080000-0x1208ffff irq 40 disabled compat arm,pl022 (no driver attached) simplebus0: mem 0x12090000-0x1209ffff irq 41 disabled compat arm,pl022 (no driver attached) simplebus0: mem 0x120a0000-0x120affff irq 42 disabled compat arm,pl022 (no driver attached) simplebus0: mem 0x120b0000-0x120b0fff disabled compat starfive,jh7110-i2stx0 (no driver attached) simplebus0: mem 0x120c0000-0x120c0fff disabled compat starfive,jh7110-i2stx1 (no driver attached) simplebus0: mem 0x120d0000-0x120dffff compat starfive,jh7110-pwm (no driver attached) simplebus0: mem 0x120e0000-0x120effff compat starfive,jh7110-temp (no driver attached) simplebus0: mem 0x13010000-0x1301ffff,0x21000000-0x213fffff irq 43 compat starfive,jh7110-qspi (no driver attached) simplebus0: mem 0x13040000-0x1304ffff irq 44 compat starfive,jh7110-sys-pinctrl (no driver attached) simplebus0: mem 0x13070000-0x1307ffff compat starfive,jh7110-wdt (no driver attached) simplebus0: mem 0x16000000-0x16003fff irq 45 compat starfive,jh7110-crypto (no driver attached) simplebus0: mem 0x16008000-0x1600bfff irq 46 compat arm,pl080 (no driver attached) simplebus0: mem 0x1600c000-0x1600ffff irq 47 compat starfive,jh7110-trng (no driver attached) starfive_dwmmc0: mem 0x16010000-0x1601ffff irq 48 on simplebus0 starfive_dwmmc0: Hardware version ID is 290a starfive_dwmmc0: Card inserted mmc0: on starfive_dwmmc0 starfive_dwmmc1: mem 0x16020000-0x1602ffff irq 49 on simplebus0 starfive_dwmmc1: Hardware version ID is 290a starfive_dwmmc1: Card inserted mmc1: on starfive_dwmmc1 eqos0: mem 0x16030000-0x1603ffff irq 50,51,52 on simplebus0 eqos0: DesignWare EQOS ver 0x52 (0x41) eqos0: hw features 1a2173f7 09845904 01000000 00000000 eqos0: Ethernet address f2:00:ef:b2:9e:5e eqos0: TX ring @ 0x42b0d000, RX ring @ 0x435a1000 miibus0: on eqos0 mcommphy0: PHY 0 on miibus0 mcommphy0: OUI 0xc82b5e, model 0x0011, rev. 11 mcommphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto mcommphy1: PHY 1 on miibus0 mcommphy1: OUI 0xc82b5e, model 0x0011, rev. 11 mcommphy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto eqos0: bpf attached eqos0: Ethernet address: f2:00:ef:b2:9e:5e eqos1: mem 0x16040000-0x1604ffff irq 53,54,55 on simplebus0 eqos1: DesignWare EQOS ver 0x52 (0x41) eqos1: hw features 1a2173f7 09845904 01000000 00000000 eqos1: Ethernet address f2:00:08:18:1e:80 eqos1: TX ring @ 0x435a9000, RX ring @ 0x437a9000 miibus1: on eqos1 mcommphy2: PHY 0 on miibus1 mcommphy2: OUI 0xc82b5e, model 0x0011, rev. 11 mcommphy2: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto mcommphy3: PHY 1 on miibus1 mcommphy3: OUI 0xc82b5e, model 0x0011, rev. 11 mcommphy3: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto eqos1: bpf attached eqos1: Ethernet address: f2:00:08:18:1e:80 simplebus0: mem 0x16050000-0x1605ffff irq 56 compat starfive,jh7110-axi-dma (no driver attached) simplebus0: mem 0x17020000-0x1702ffff irq 57 compat starfive,jh7110-aon-pinctrl (no driver attached) simplebus0: mem 0x17030000-0x1703ffff irq 58 compat starfive,jh7110-pmu (no driver attached) simplebus0: mem 0x19800000-0x1980ffff disabled compat starfive,jh7110-csi2rx (no driver attached) simplebus0: mem 0x19810000-0x1981ffff compat starfive,jh7110-ispcrg (no driver attached) simplebus0: mem 0x19820000-0x1982ffff compat starfive,jh7110-dphy-rx (no driver attached) simplebus0: mem 0x19840000-0x1984ffff,0x19870000-0x1989ffff irq 59,60,61,62 disabled compat starfive,jh7110-camss (no driver attached) simplebus0: mem 0x295c0000-0x295cffff compat starfive,jh7110-voutcrg (no driver attached) simplebus0: mem 0x940000000-0x940ffffff,0x2b000000-0x2b0fffff irq 63 disabled type pci compat starfive,jh7110-pcie (no driver attached) simplebus0: mem 0x9c0000000-0x9c0ffffff,0x2c000000-0x2c0fffff irq 64 type pci compat starfive,jh7110-pcie (no driver attached) ofwbus0: compat gpio-restart (no driver attached) ofwbus0: compat linux,spdif-dit (no driver attached) ofwbus0: compat simple-audio-card (no driver attached) crypto: assign cryptosoft0 driver id 0, flags 0x6000000 Device configuration finished. procfs registered Timecounters tick every 1.000 msec lo0: bpf attached vlan: initialized, using hash tables with chaining IPsec: Initialized Security Association Processing. tcp_init: net.inet.tcp.tcbhashsize auto tuned to 65536 usb_needs_explore_all: no devclass mmc0: Probing bus mmc0: SD probe: failed mmc0: MMC probe: failed mmc0: Current OCR: 0x00000000 mmc0: No compatible cards found on bus mmc1: Probing bus mmc1: SD 2.0 interface conditions: OK mmc1: SD probe: OK (OCR: 0x40ff8000) mmc1: Current OCR: 0x00ff8000 mmc1: Probing cards mmc1: New card detected (CID 121222004fffff40001280042a014975) mmc1: New card detected (CSD 400e00325b590000752f7f80064000f1) mmc1: Card at relative address 0x2175 added: mmc1: card: SDHC 0.0 SN 1280042A MFG 09/2020 by 18 0x1222 mmc1: quirks: 0 mmc1: bus: 4bit, 50MHz (high speed timing) mmc1: memory: 30720000 blocks, erase sector 1024 blocks mmc1: setting transfer rate to 50.000MHz (high speed timing) mmcsd0: 16GB at mmc1 50.0MHz/4bit/1016-block sbi_ipi0: using for IPIs Release APs Secondary CPU 1 fully online Trying to mount root from ufs:/dev/mmcsd0p4 [rw]... Secondary CPU 2 fully online Secondary CPU 3 fully online WARNING: WITNESS option enabled, expect reduced performance. GEOM: new disk mmcsd0 regulator: shutting down unused regulators mmc1: setting bus width to 4 bits high speed timing Warning: no time-of-day clock registered, system time will not be set accurately start_init: trying /sbin/init No suitable dump device was found. Setting hostuuid: 52415453-3436-3156-2d32-3331302d4400. Setting hostid: 0x7c941471. Starting file system checks: /dev/mmcsd0p4: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/mmcsd0p4: clean, 3054888 free (504 frags, 381798 blocks, 0.0% fragmentation) Mounting local filesystems:. Setting hostname: star.dino.sk. Setting up harvesting: [CALLOUT],[UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED Feeding entropy: . ELF ldconfig path: /lib /usr/lib /usr/lib/compat lo0: link state changed to UP eqos0: link state changed to DOWN eqos1: link state changed to DOWN Starting Network: lo0 eqos0 eqos1. lo0: flags=1008049 metric 0 mtu 16384 options=680003 inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 groups: lo nd6 options=23 eqos0: flags=8843 metric 0 mtu 1500 options=80008 ether f2:00:ef:b2:9e:5e inet6 fe80::f000:efff:feb2:9e5e%eqos0 prefixlen 64 scopeid 0x1 media: Ethernet autoselect (none) status: no carrier nd6 options=23 eqos1: flags=8843 metric 0 mtu 1500 options=80008 ether f2:00:08:18:1e:80 inet6 fe80::f000:8ff:fe18:1e80%eqos1 prefixlen 64 scopeid 0x2 media: Ethernet autoselect (none) status: no carrier nd6 options=23 Starting devd. Waiting 30s for the default route interface: .....(no carrier) route: message indicates error: File exists add host 127.0.0.1: gateway lo0 fib 0: route already in table route: message indicates error: File exists add host ::1: gateway lo0 fib 0: route already in table add net fe80::: gateway ::1 add net ff02::: gateway ::1 add net ::ffff:0.0.0.0: gateway ::1 add net ::0.0.0.0: gateway ::1 Creating and/or trimming log files. Updating motd:. Clearing /tmp (X related). Updating /var/run/os-release done. Starting syslogd. Mounting late filesystems:. Starting cron. Performing sanity check on sshd configuration. Starting sshd. Starting background file system checks in 60 seconds. Thu May 29 06:11:55 UTC 2025 FreeBSD/riscv (star.dino.sk) (ttyu0) login: --=_cm0.netlabit.sk-81480-1748504531-0001-2--