Port-RISCV archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Does NetBSD still work on the Star64?
On Tuesday, August 18th, 2026 at 12:18 PM, Nick Hudson <nick.hudson%gmx.co.uk@localhost> wrote:
> It's trying to start the other cpus^Wharts.
>
> what firmware are you on? The code relies on SBI calls to start harts.
>
Thank you! It appears it is OpenSBI v1.2, which is SBI Version 1.0. Here is the full output:
U-Boot SPL 2021.10 (Jan 19 2023 - 04:09:41 +0800)
DDR version: dc2e84f0.
Trying to boot from SPI
OpenSBI v1.2
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
\____/| .__/ \___|_| |_|_____/|____/_____|
| |
|_|
Platform Name : StarFive VisionFive V2
Platform Features : medeleg
Platform HART Count : 5
Platform IPI Device : aclint-mswi
Platform Timer Device : aclint-mtimer @ 4000000Hz
Platform Console Device : uart8250
Platform HSM Device : jh7110-hsm
Platform PMU Device : ---
Platform Reboot Device : pm-reset
Platform Shutdown Device : pm-reset
Firmware Base : 0x40000000
Firmware Size : 288 KB
Runtime SBI Version : 1.0
Domain0 Name : root
Domain0 Boot HART : 1
Domain0 HARTs : 0*,1*,2*,3*,4*
Domain0 Region00 : 0x0000000002000000-0x000000000200ffff (I)
Domain0 Region01 : 0x0000000040000000-0x000000004007ffff ()
Domain0 Region02 : 0x0000000000000000-0xffffffffffffffff (R,W,X)
Domain0 Next Address : 0x0000000040200000
Domain0 Next Arg1 : 0x0000000042200000
Domain0 Next Mode : S-mode
Domain0 SysReset : yes
Boot HART ID : 1
Boot HART Domain : root
Boot HART Priv Version : v1.11
Boot HART Base ISA : rv64imafdcbx
Boot HART ISA Extensions : none
Boot HART PMP Count : 8
Boot HART PMP Granularity : 4096
Boot HART PMP Address Bits: 34
Boot HART MHPM Count : 2
Boot HART MIDELEG : 0x0000000000000222
Boot HART MEDELEG : 0x000000000000b109
U-Boot 2021.10 (Jan 19 2023 - 04:09:41 +0800), Build: jenkins-github_visionfive2-6
CPU: rv64imacu
Model: StarFive VisionFive V2
DRAM: 4 GiB
MMC: sdio0@16010000: 0, sdio1@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-D004E000-0000000b
data version: 0x2
PCB revision: 0xc1
BOM revision: A
Ethernet MAC0 address: 6c:cf:39:00:75:6d
Ethernet MAC1 address: 6c:cf:39:00:75:6e
--------EEPROM INFO--------
In: serial@10000000
Out: serial@10000000
Err: serial@10000000
Model: StarFive VisionFive V2
Net: eth0: ethernet@16030000, eth1: ethernet@16040000
switch to partitions #0, OK
mmc1 is current device
found device 1
bootmode flash device 1
** Invalid partition 3 **
Couldn't find partition mmc 1:3
Can't set block device
** Invalid partition 3 **
Couldn't find partition mmc 1:3
Can't set block device
Hit any key to stop autoboot: 0
39032 bytes read in 9 ms (4.1 MiB/s)
185072 bytes read in 14 ms (12.6 MiB/s)
Card did not respond to voltage select! : -110
** Unable to read file ubootefi.var **
Failed to load EFI variables
\\-__,------,___.
\\ __,---` NetBSD/riscv efiboot (riscv64)
\\ `---,_. Revision 2.16 (Thu Jul 30 15:23:12 UTC 2026)
\\-,_____,.---`
\\
\\
\\
Press return to boot now, any other key for boot prompt
booting netbsd - starting in 0 seconds.
4586998+1907160+1476468+620684 [580296+355691]=0xae50c0
clk u5_dw_i2c_clk_core already disabled
clk u5_dw_i2c_clk_apb already disabled
------------
NetBSD start
sp: 0x0000_0000_fd60_3000
pc: 0x0000_0000_fce0_0080
hart: 0x0000_0000_0000_0001
dtb: 0x0000_0000_fda0_0000
vendor: 0x0000_0000_0000_0489
l1: 0x0000_0000_fd60_c000
l2: 0x0000_0000_fd60_b000
uspace: 0x0000_0000_fd60_1000
bootstk: 0x0000_0000_fd60_3000
vtopdiff:0xffff_ffbf_0320_0000
bss: 0x0000_0000_fd76_8774 - 0x0000_0000_fd60_d000
l2pde: 0x0000_0000_fd60_b800: 0x0000_0000_3f58_3001
kern: 0x0000_0000_fd60_c000: 0x0000_0000_3f38_00ef
kern: 0x0000_0000_fd60_c008: 0x0000_0000_3f40_00ef
kern: 0x0000_0000_fd60_c010: 0x0000_0000_3f48_00ef
kern: 0x0000_0000_fd60_c018: 0x0000_0000_3f50_00ef
kern: 0x0000_0000_fd60_c020: 0x0000_0000_3f58_00ef
kern: 0x0000_0000_fd60_c028: 0x0000_0000_3f60_00ef
kern: 0x0000_0000_fd60_c030: 0x0000_0000_3f68_00ef
kern: 0x0000_0000_fd60_c038: 0x0000_0000_3f70_00ef
kern: 0x0000_0000_fd60_c040: 0x0000_0000_3f78_00ef
kern: 0x0000_0000_fd60_c048: 0x0000_0000_3f80_00ef
kern: 0x0000_0000_fd60_c050: 0x0000_0000_3f88_00ef
kern: 0x0000_0000_fd60_c058: 0x0000_0000_3f90_00ef
kern: 0x0000_0000_fd60_c060: 0x0000_0000_3f98_00ef
kern: 0x0000_0000_fd60_c068: 0x0000_0000_3fa0_00ef
kern: 0x0000_0000_fd60_c070: 0x0000_0000_3fa8_00ef
kern: 0x0000_0000_fd60_c078: 0x0000_0000_3fb0_00ef
dtb: 0x0000_0000_fd60_c080: 0x0000_0000_3f68_00e7
PM
[ 1.0000000] FDT<0xffffffc002000000>
[ 1.0000000] cpufunc
[ 1.0000000] devmap 0xffffffc00082f738
[ 1.0000000] bootstrap
[ 1.0000000] stdout
[ 1.0000000] fdt size a000/9885
[ 1.0000000] consinit ok
[ 1.0000000] NetBSD/riscv (fdt) booting ...
[ 1.0000000] FDT /memory @ 0x40000000 size 0x7f00000
[ 1.0000000] FDT /memory @ 0x47f0d000 size 0xb5fdb000
[ 1.0000000] FDT /memory @ 0xfdeec000 size 0x832000
[ 1.0000000] FDT /memory @ 0xfe71f000 size 0x3000
[ 1.0000000] FDT /memory @ 0xfe72a000 size 0x181c000
[ 1.0000000] FDT /memory @ 0xfff47000 size 0x400b9000
[ 1.0000000] init_riscv: memory start 40000000 end 140000000 (len 100000000)
[ 1.0000000] cpu_kernel_vm_init: kernel phys start 0xfce00000 end 0xfd800000
[ 1.0000000] dm: 0xffffffc00080bc08 : 0x100000e7
[ 1.0000000] dm: 0xffffffc00080bc10 : 0x200000e7
[ 1.0000000] dm: 0xffffffc00080bc18 : 0x300000e7
[ 1.0000000] dm: 0xffffffc00080bc20 : 0x400000e7
[ 1.0000000] bootargs: console=ttyS0,115200 debug rootwait earlycon=sbi
[ 1.0000000] msgbufaddr = 0xffffffe13fff0000
[ 1.0000000] ------------------------------------------
[ 1.0000000] kern_vtopdiff = 0xffffffbf03200000
[ 1.0000000] memory_start = 0x 40000000
[ 1.0000000] memory_end = 0x 140000000
[ 1.0000000] memory_size = 0x 100000000
[ 1.0000000] kernstart_phys = 0x fce00000
[ 1.0000000] kernend_phys = 0x fd800000
[ 1.0000000] msgbufaddr = 0xffffffe13fff0000
[ 1.0000000] VM_MIN_KERNEL_ADDRESS = 0xffffffc000000000
[ 1.0000000] kernstart_mega = 0xffffffc000000000
[ 1.0000000] kernstart = 0xffffffc000000000
[ 1.0000000] kernend = 0xffffffc000a00000
[ 1.0000000] kernend_mega = 0xffffffc000a00000
[ 1.0000000] VM_MAX_KERNEL_ADDRESS = 0xffffffd000000000
[ 1.0000000] pmap_direct_base = 0xffffffe000000000
[ 1.0000000] ------------------------------------------
[ 1.0000000] adding 0x40000000 - 0x47f00000 to freelist 0
[ 1.0000000] adding 0x47f0d000 - 0xfce00000 to freelist 0
[ 1.0000000] adding 0xfd800000 - 0xfda00000 to freelist 0
[ 1.0000000] adding 0xfda0a000 - 0xfdee8000 to freelist 0
[ 1.0000000] adding 0xfdeec000 - 0xfe71e000 to freelist 0
[ 1.0000000] adding 0xfe71f000 - 0xfe722000 to freelist 0
[ 1.0000000] adding 0xfe72a000 - 0xfff46000 to freelist 0
[ 1.0000000] adding 0xfff47000 - 0x13fff0000 to freelist 0
[ 1.0000000] common cpusets bs_pde 0xffffffc00080b000 ASID max 0 kcpusets nkmempages limits: ffffffc004000000 - ffffffd000000000
[ 1.0000000] kva : ffffffc004000000 - ffffffc176600000
[ 1.0000000] mpstart
Home |
Main Index |
Thread Index |
Old Index