Port-RISCV archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

milkv duo now gets to "boot device" with 11.99.6



with the vendor-provided uboot, and bootriscv64.efi and GENERIC64 from
-current on the SD card's FAT32 partition, my milkv duo 256M (SG2002)
successfully boots to "root device:", and I imagine the Duo S (SG2000,
which appears to be in stock much more often at arace.tech) would do
similarly. (-current last year had a different "kva:" line and hang there)


[at uboot]
mmc dev 0
fatload mmc 0 ${uImage_addr} bootriscv64.efi
bootefi ${uImage_addr}  ${fdtcontroladdr}

[at efiboot]
> boot hd0e:netbsd -sv
4713432+2100616+1486540+610612 [585912+359432]=0xce75a8

------------
NetBSD start

sp:      0x0000_0000_8d20_3000
pc:      0x0000_0000_8c80_0080
hart:    0x0000_0000_0000_0000
dtb:     0x0000_0000_8d60_0000
vendor:  0x0000_0000_0000_05b7
extsn:   T-Head XMAE
l1:      0x0000_0000_8d20_c000
l2:      0x0000_0000_8d20_b000
uspace:  0x0000_0000_8d20_1000
bootstk: 0x0000_0000_8d20_3000
vtopdiff:0xffff_ffbf_7380_0000

bss:     0x0000_0000_8d36_aecc - 0x0000_0000_8d20_d000

l2pde:   0x0000_0000_8d20_b800:  0x0000_0000_2348_3001

kern:    0x0000_0000_8d20_c000:  0x7000_0000_2320_00ef
kern:    0x0000_0000_8d20_c008:  0x7000_0000_2328_00ef
kern:    0x0000_0000_8d20_c010:  0x7000_0000_2330_00ef
kern:    0x0000_0000_8d20_c018:  0x7000_0000_2338_00ef
kern:    0x0000_0000_8d20_c020:  0x7000_0000_2340_00ef
kern:    0x0000_0000_8d20_c028:  0x7000_0000_2348_00ef
kern:    0x0000_0000_8d20_c030:  0x7000_0000_2350_00ef
kern:    0x0000_0000_8d20_c038:  0x7000_0000_2358_00ef
kern:    0x0000_0000_8d20_c040:  0x7000_0000_2360_00ef
kern:    0x0000_0000_8d20_c048:  0x7000_0000_2368_00ef
kern:    0x0000_0000_8d20_c050:  0x7000_0000_2370_00ef
kern:    0x0000_0000_8d20_c058:  0x7000_0000_2378_00ef
kern:    0x0000_0000_8d20_c060:  0x7000_0000_2380_00ef
kern:    0x0000_0000_8d20_c068:  0x7000_0000_2388_00ef
kern:    0x0000_0000_8d20_c070:  0x7000_0000_2390_00ef
kern:    0x0000_0000_8d20_c078:  0x7000_0000_2398_00ef
dtb:     0x0000_0000_8d20_c080:  0x7000_0000_2358_00e7
PM
[   1.0000000] FDT<0xffffffc002000000>
[   1.0000000] cpufunc
[   1.0000000] T-Head XMAE detected.
[   1.0000000] devmap 0xffffffc000a2f7a8
[   1.0000000] bootstrap
[   1.0000000] stdout
[   1.0000000] fdt size 6000/53ab
[   1.0000000] consinit ok
[   1.0000000] NetBSD/riscv (fdt) booting ...
[   1.0000000] FDT /memory @ 0x80000000 size 0x7f00000
[   1.0000000] FDT /memory @ 0x87f0a000 size 0x5b28000
[   1.0000000] FDT /memory @ 0x8da36000 size 0x832000
[   1.0000000] FDT /memory @ 0x8e269000 size 0x3000
[   1.0000000] FDT /memory @ 0x8e274000 size 0x1954000
[   1.0000000] FDT /memory @ 0x8fbc9000 size 0x237000
[   1.0000000] init_riscv: memory start 80000000 end 8fe00000 (len fe00000)
[   1.0000000] cpu_kernel_vm_init: kernel phys start 0x8c800000 end 0x8d400000
[   1.0000000] dm:   0xffffffc000a0bc10 :  0x70000000200000e7
[   1.0000000] bootargs: -sv
[   1.0000000] msgbufaddr = 0xffffffe08fdf0000
[   1.0000000] ------------------------------------------
[   1.0000000]            kern_vtopdiff = 0xffffffbf73800000
[   1.0000000]             memory_start = 0x        80000000
[   1.0000000]               memory_end = 0x        8fe00000
[   1.0000000]              memory_size = 0x         fe00000
[   1.0000000]           kernstart_phys = 0x        8c800000
[   1.0000000]             kernend_phys = 0x        8d400000
[   1.0000000]               msgbufaddr = 0xffffffe08fdf0000
[   1.0000000]    VM_MIN_KERNEL_ADDRESS = 0xffffffc000000000
[   1.0000000]           kernstart_mega = 0xffffffc000000000
[   1.0000000]                kernstart = 0xffffffc000000000
[   1.0000000]                  kernend = 0xffffffc000c00000
[   1.0000000]             kernend_mega = 0xffffffc000c00000
[   1.0000000]    VM_MAX_KERNEL_ADDRESS = 0xffffffd000000000
[   1.0000000]         pmap_direct_base = 0xffffffe000000000
[   1.0000000] ------------------------------------------
[   1.0000000] adding       0x80040000 -       0x87f00000  to freelist 0
[   1.0000000] adding       0x87f0a000 -       0x8c800000  to freelist 0
[   1.0000000] adding       0x8d400000 -       0x8d600000  to freelist 0
[   1.0000000] adding       0x8d606000 -       0x8da32000  to freelist 0
[   1.0000000] adding       0x8da36000 -       0x8e268000  to freelist 0
[   1.0000000] adding       0x8e269000 -       0x8e26c000  to freelist 0
[   1.0000000] adding       0x8e274000 -       0x8fbc8000  to freelist 0
[   1.0000000] adding       0x8fbc9000 -       0x8fdf0000  to freelist 0
[   1.0000000] common cpusets bs_pde 0xffffffc000a0b000 ASID max ffff kcpusets nkmempages limits: ffffffc004000000 - ffffffd000000000
[   1.0000000] kva   : ffffffc004000000 - ffffffc047600000
[   1.0000000] mpstart
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[   1.0000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[   1.0000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[   1.0000000]     2024, 2025, 2026
[   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All rights reserved.

[   1.0000000] NetBSD 11.99.6 (GENERIC64) #0: Mon May 25 19:43:05 CDT 2026
[   1.0000000]  dogcow%flipy.babymeat.com@localhost:/crap/obj/riscv64obj/src/hg/src/sys/arch/riscv/compile/GENERIC64
[   1.0000000] total memory = 247368 KB
[   1.0000000] avail memory = 237700 KB
[   1.0000000] timecounter: Timecounters tick every 10.000 msec
[   1.0000000] mainbus0 (root)
[   1.0000000] simplebus0 at mainbus0: Milk-V Duo256M
[   1.0000000] simplebus1 at simplebus0
[   1.0000000] cpus0 at simplebus0
[   1.0000000] simplebus2 at simplebus0
[   1.0000000] cpu0 at cpus0: T-Head 9-Series Processor (C9, E9 series) imp. 0
[   1.0000000] cpu0: vendor 0x5b7 arch. 0 imp. 0
[   1.0000000] fclock0 at simplebus0: 25000000 Hz fixed clock (osc)
[   1.0000000] fclock1 at simplebus0: 25000000 Hz fixed clock (pclk)
[   1.0000000] fclock2 at simplebus0: 250000000 Hz fixed clock (eth_csrclk)
[   1.0000000] fclock3 at simplebus0: 50000000 Hz fixed clock (eth_ptpclk)
[   1.0000000] fclock4 at simplebus0: 24576000 Hz fixed clock (i2s_mclk)
[   1.0000000] intc0 at cpu0: local interrupt controller
[   1.0000000] syscon0 at simplebus0: System Controller Registers
[   1.0000000] fclock5 at simplebus0: 24576000 Hz fixed clock (audio_clock)
[   1.0000000] plic0 at simplebus1
[   1.0000000] plic0: interrupt cpu0 (hart 0)/Supervisor external #9 handler installed
[   1.0000000] plic0: hart 0 context 1
[   1.0000000] plic0: attaching: RISC-V PLIC (101 IRQs)
[   1.0000000] /clock-controller at simplebus0 not configured
[   1.0000000] /reset-controller at simplebus0 not configured
[   1.0000000] /gpio@03020000 at simplebus0 not configured
[   1.0000000] /gpio@03021000 at simplebus0 not configured
[   1.0000000] /gpio@03022000 at simplebus0 not configured
[   1.0000000] /dma@0x4330000 at simplebus0 not configured
[   1.0000000] /gpio@05021000 at simplebus0 not configured
[   1.0000000] /thermal@030E0000 at simplebus0 not configured
[   1.0000000] /clk-reset-controller at simplebus0 not configured
[   1.0000000] /restart-controller at simplebus0 not configured
[   1.0000000] /tpu at simplebus0 not configured
[   1.0000000] /mon at simplebus0 not configured
[   1.0000000] /wiegand0 at simplebus0 not configured
[   1.0000000] /wiegand1 at simplebus0 not configured
[   1.0000000] /wiegand2 at simplebus0 not configured
[   1.0000000] /saradc at simplebus0 not configured
[   1.0000000] /rtc at simplebus0 not configured
[   1.0000000] /cvitek-ion at simplebus0 not configured
[   1.0000000] /sysdma_remap at simplebus0 not configured
[   1.0000000] /cv-wd@0x3010000 at simplebus0 not configured
[   1.0000000] /pwm@3060000 at simplebus0 not configured
[   1.0000000] /pwm@3061000 at simplebus0 not configured
[   1.0000000] /pwm@3062000 at simplebus0 not configured
[   1.0000000] /pwm@3063000 at simplebus0 not configured
[   1.0000000] /cvi-spif@10000000 at simplebus0 not configured
[   1.0000000] /spi2@041A0000 at simplebus0 not configured
[   1.0000000] /spi3@041B0000 at simplebus0 not configured
[   1.0000000] com0 at simplebus0: couldn't get clock
[   1.0000000] /gpio@03023000 at simplebus0 not configured
[   1.0000000] dwiic0 at simplebus0: missing clock
[   1.0000000] dwiic1 at simplebus0: missing clock
[   1.0000000] dwiic2 at simplebus0: missing clock
[   1.0000000] /ethernet@4070000 at simplebus0 not configured
[   1.0000000] /cv-sd@4310000 at simplebus0 not configured
[   1.0000000] /i2s_subsys at simplebus0 not configured
[   1.0000000] /i2s@04100000 at simplebus0 not configured
[   1.0000000] /i2s@04130000 at simplebus0 not configured
[   1.0000000] /adc@0300A100 at simplebus0 not configured
[   1.0000000] /dac@0300A000 at simplebus0 not configured
[   1.0000000] /pdm@0x041D0C00 at simplebus0 not configured
[   1.0000000] /sound_adc at simplebus0 not configured
[   1.0000000] /sound_dac at simplebus0 not configured
[   1.0000000] /wifi_pin at simplebus0 not configured
[   1.0000000] /bt_pin at simplebus0 not configured
[   1.0000000] /cif at simplebus0 not configured
[   1.0000000] /mipi_tx at simplebus0 not configured
[   1.0000000] /sys at simplebus0 not configured
[   1.0000000] /base at simplebus0 not configured
[   1.0000000] /vi at simplebus0 not configured
[   1.0000000] /vpss at simplebus0 not configured
[   1.0000000] /ive at simplebus0 not configured
[   1.0000000] /vo at simplebus0 not configured
[   1.0000000] /cvifb at simplebus0 not configured
[   1.0000000] /dwa at simplebus0 not configured
[   1.0000000] /rgn at simplebus0 not configured
[   1.0000000] /vcodec at simplebus0 not configured
[   1.0000000] /jpu at simplebus0 not configured
[   1.0000000] /cvi_vc_drv at simplebus0 not configured
[   1.0000000] /rtos_cmdqu at simplebus0 not configured
[   1.0000000] /usb@04340000 at simplebus0 not configured
[   1.0000000] /cviaudio_core at simplebus0 not configured
[   1.0000000] /cv181x_cooling at simplebus0 not configured
[   1.0000000] /fast_image at simplebus0 not configured
[   1.0000000] /soc/clint@74000000 at simplebus1 not configured
[   1.0000000] WARNING: system needs entropy for security; see entropy(7)
[   1.0000000] timecounter: Timecounter "riscv" frequency 25000000 Hz quality 100
[   1.0000030] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
[   1.0076272] cpu_boot_secondary_processors: starting secondary processors
[   1.0145300] cpu_boot_secondary_processors: secondary processors hatched. 1 running
[   1.0227342] IPsec: Initialized Security Association Processing.
[   1.0427371] crypto: assign driver 0, flags 2
[   1.0427371] crypto: driver 0 registers alg 1 flags 0 maxoplen 0
[   1.0536343] crypto: driver 0 registers alg 2 flags 0 maxoplen 0
[   1.0536343] crypto: driver 0 registers alg 3 flags 0 maxoplen 0
[   1.0658080] crypto: driver 0 registers alg 4 flags 0 maxoplen 0
[   1.0658080] crypto: driver 0 registers alg 5 flags 0 maxoplen 0
[   1.0779956] crypto: driver 0 registers alg 26 flags 0 maxoplen 0
[   1.0841760] crypto: driver 0 registers alg 27 flags 0 maxoplen 0
[   1.0841760] crypto: driver 0 registers alg 29 flags 0 maxoplen 0
[   1.0965412] crypto: driver 0 registers alg 33 flags 0 maxoplen 0
[   1.1027240] crypto: driver 0 registers alg 17 flags 0 maxoplen 0
[   1.1027240] crypto: driver 0 registers alg 6 flags 0 maxoplen 0
[   1.1149989] crypto: driver 0 registers alg 19 flags 0 maxoplen 0
[   1.1149989] crypto: driver 0 registers alg 7 flags 0 maxoplen 0
[   1.1272736] crypto: driver 0 registers alg 20 flags 0 maxoplen 0
[   1.1334571] crypto: driver 0 registers alg 15 flags 0 maxoplen 0
[   1.1334571] crypto: driver 0 registers alg 24 flags 0 maxoplen 0
[   1.1458208] crypto:driver 0 registers alg 25 flags 0 maxoplen 0
[   1.1458208] crypto: driver 0 registers alg 8 flags 0 maxoplen 0
[   1.1580960] crypto: driver 0 registers alg 21 flags 0 maxoplen 0
[   1.1642782] crypto: driver 0 registers alg 16 flags 0 maxoplen 0
[   1.1642782] crypto: driver 0 registers alg 9 flags 0 maxoplen 0
[   1.1765536] crypto: driver 0 registers alg 10 flags 0 maxoplen 0
[   1.1827358] crypto: driver 0 registers alg 13 flags 0 maxoplen 0
[   1.1827358] crypto: driver 0 registers alg 14 flags 0 maxoplen 0
[   1.1951010] crypto: driver 0 registers alg 28 flags 0 maxoplen 0
[   1.1951010] crypto: driver 0 registers alg 30 flags 0 maxoplen 0
[   1.2074672] crypto: driver 0 registers alg 31 flags 0 maxoplen 0
[   1.2136480] crypto: driver 0 registers alg 32 flags 0 maxoplen 0
[   1.2136480] crypto: driver 0 registers alg 11 flags 0 maxoplen 0
[   1.2260125] crypto: driver 0 registers alg 18 flags 0 maxoplen 0
[   1.2260125] crypto: driver 0 registers alg 23 flags 0 maxoplen 0
[   1.2383777] crypto: driver 0 registers alg 22 flags 0 maxoplen 0
[   1.2445598] swwdog0: software watchdog initialized
[   1.2445598] WARNING: 4 errors while detecting hardware; check system log.
[   1.2568182] boot device: <unknown>
[   1.2568182] root device:




Home | Main Index | Thread Index | Old Index