Download raw body.
Milk-v Megrez
hi,
i've got a milk-v megrez delivered recently. i wanted to see about doing
some hacking for it. miniroot boots but as i expected, nearly no devices
have drivers or are not hooked up via device tree.
how can i construct a cross build environment for riscv64? i tried to
setup Makefile.cross, but got hung up on the makefile trying and failing
to build binutils, and once i skipped that, failing to build an llvm
library for lack of $LD in the $CROSSDIR, so i figured i would ask if
there's a better documented approach before going further.
console log/dmesg below, forgive my fumbling with u-boot..
pll config ok
die_num:0,die_ordinal:0
Firmware version:1.4;disable ECC
PHY0 training process:100%
PHY1 training process:100%
DDR type:LPDDR5;Size:32GB,Data Rate:6400MT/s
DDR self test OK
m
OpenSBI v1.5
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
\____/| .__/ \___|_| |_|_____/|____/_____|
| |
|_|
Platform Name : ESWIN EIC7700 EVB
Platform Features : medeleg
Platform HART Count : 4
Platform IPI Device : aclint-mswi
Platform Timer Device : aclint-mtimer @ 1000000Hz
Platform Console Device : uart8250
Platform HSM Device : ---
Platform PMU Device : ---
Platform Reboot Device : eswin_eic770x_reset
Platform Shutdown Device : eswin_eic770x_reset
Platform Suspend Device : ---
Platform CPPC Device : ---
Firmware Base : 0x80000000
Firmware Size : 357 KB
Firmware RW Offset : 0x40000
Firmware RW Size : 101 KB
Firmware Heap Offset : 0x4f000
Firmware Heap Size : 41 KB (total), 2 KB (reserved), 11 KB (used), 27 KB (free)
Firmware Scratch Size : 4096 B (total), 416 B (used), 3680 B (free)
Runtime SBI Version : 2.0
Domain0 Name : root
Domain0 Boot HART : 1
Domain0 HARTs : 0*,1*,2*,3*
Domain0 Region00 : 0x0000000002000000-0x000000000200ffff M: (I,R,W) S/U: ()
Domain0 Region01 : 0x0000000080000000-0x000000008007ffff M: (R,W) S/U: ()
Domain0 Region02 : 0x000000c000000000-0x000000d000000000 M: () S/U: (R,W)
Domain0 Region03 : 0x0000001000000000-0x0000008000000000 M: () S/U: ()
Domain0 Region04 : 0x0000000000000000-0xffffffffffffffff M: () S/U: (R,W,X)
Domain0 Next Address : 0x0000000080200000
Domain0 Next Arg1 : 0x00000000f8000000
Domain0 Next Mode : S-mode
Domain0 SysReset : yes
Domain0 SysSuspend : yes
Boot HART ID : 1
Boot HART Domain : root
Boot HART Priv Version : v1.11
Boot HART Base ISA : rv64imafdchx
Boot HART ISA Extensions : sscofpmf,zihpm,sdtrig
Boot HART PMP Count : 8
Boot HART PMP Granularity : 12 bits
Boot HART PMP Address Bits: 39
Boot HART MHPM Info : 4 (0x00000078)
Boot HART Debug Triggers : 4 triggers
Boot HART MIDELEG : 0x0000000000002666
Boot HART MEDELEG : 0x0000000000f0b509
Hardware Feature[7C1]: 0x4000
Hardware Feature[7C2]: 0x80
Hardware Feature[7C3]: 0x104095c1be241
Hardware Feature[7C4]: 0x1d3ff
ll
U-Boot 2024.01-gdbb5f9e3 (Jan 02 2025 - 09:00:24 +0000)
CPU: rv64imafdc_zba_zbb
Model: ESWIN EIC7700 EVB
DRAM: 32 GiB (effective 16 GiB)
llCore: 138 devices, 31 uclasses, devicetree: separate
Warning: Device tree includes old 'u-boot,dm-' tags: please fix by 2023.07!
MMC: sdhci@50450000: 0, sd@50460000: 1
Loading Environment from SPIFlash... SF: Detected w25q64dw with page size 256 Bytes, erase size 4 KiB, total 8 MiB
*** Warning - bad CRC, using default environment
[display_init]Eswin UBOOT DRM driver version: v1.0.1
xfer: num: 2, addr: 0x50
[dw_hdmi_i2c_read] read reg[0x01] data error:0x03
xfer: num: 2, addr: 0x50
[dw_hdmi_i2c_read] read reg[0x01] data error:0x03
xfer: num: 2, addr: 0x50
[dw_hdmi_i2c_read] read reg[0x01] data error:0x03
xfer: num: 2, addr: 0x50
[dw_hdmi_i2c_read] read reg[0x01] data error:0x03
xfer: num: 2, addr: 0x50
[dw_hdmi_i2c_read] read reg[0x01] data error:0x03
can't get edid block:0
failed to get edid
mode:1920x1080
[display_init]Detailed mode clock 148500 kHz, flags[5]
H: 1920 2008 2052 2200
V: 1080 1084 1089 1125
bus_format: 100a
[eswin_dc_init]regs=0x00000000502c0000, regsbak=0x00000000ed533d20
[eswin_dc_init]:layer:0 hdisplay = 1920, htotal = 2200.hsync_st:2008.hsync_end:2052
[eswin_dc_init]: vdisplay = 1080, vtotal = 1125.vsync_st:1084.vsync_end:1089
[eswin_dc_init]: src_width = 1920, src_height = 1080.
CEA mode used vic=16
final pixclk = 148500000 tmdsclk = 148500000
PHY powered down in 0 iterations
PHY PLL locked 1 iterations
PHY powered down in 1 iterations
PHY PLL locked 1 iterations
sink has audio support
hdmi_set_clk_regenerator: fs=48000Hz ftdms=148.500MHz N=6144 cts=148500
In: serial,usbkbd
Out: vidconsole,serial
Err: vidconsole,serial
Success to initialize SPI flash at spi@51800000
Bootspi flash write protection enabled
Get board info from flash
boardSerialNumber EIMSS082443BZ0044
Cpu volatge no need boost at 1.6 Ghz!
Card did not respond to voltage select! : -110
Low power features will not be supported!
Net: eth0: ethernet@50400000
Working FDT set to ed508e10
starting USB...
Bus usb1@50490000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb1@50490000 for devices... 3 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part
scanning bus for devices...
Rescanning SATA bus for devices...
SATA Device Info:
S/N: 30155284726
Product model number: HS-SSD-WAVE(N) 256G
Firmware version: HS19052
Capacity: 500118192 sectors
Hit any key to stop autoboot: 0
=>
=>
=>
=>
=>
=>
=>
=>
=>
=>
=>
=>
=>
=>
=>
=>
=>
=>
=>
=>
=>
=>
=>
=>
=>
=>
=>
=>
=>
=> mmc
mmc - MMC sub system
Usage:
mmc info - display info of the current MMC device
mmc read addr blk# cnt
mmc write addr blk# cnt
mmc erase blk# cnt
mmc rescan [mode]
mmc part - lists available partition on current mmc device
mmc dev [dev] [part] [mode] - show or set current mmc device [partition] and set mode
- the required speed mode is passed as the index from the following list
[MMC_LEGACY, MMC_HS, SD_HS, MMC_HS_52, MMC_DDR_52, UHS_SDR12, UHS_SDR25,
UHS_SDR50, UHS_DDR50, UHS_SDR104, MMC_HS_200, MMC_HS_400, MMC_HS_400_ES]
mmc list - lists available devices
mmc wp [PART] - power on write protect boot partitions
arguments:
PART - [0|1]
: 0 - first boot partition, 1 - second boot partition
if not assigned, write protect all boot partitions
mmc hwpartition <USER> <GP> <MODE> - does hardware partitioning
arguments (sizes in 512-byte blocks):
USER - <user> <enh> <start> <cnt> <wrrel> <{on|off}>
: sets user data area attributes
GP - <{gp1|gp2|gp3|gp4}> <cnt> <enh> <wrrel> <{on|off}>
: general purpose partition
MODE - <{check|set|complete}>
: mode, complete set partitioning completed
WARNING: Partitioning is a write-once setting once it is set to complete.
Power cycling is required to initialize partitions after set to complete.
mmc setdsr <value> - set DSR register value
=> mmc info
Card did not respond to voltage select! : -110
=> mmc info
Card did not respond to voltage select! : -110
=> mmc list
sdhci@50450000: 0
sd@50460000: 1
=> help
? - alias for 'help'
base - print or set address offset
bdinfo - print Board Info structure
blkcache - block cache diagnostics and control
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootdev - Boot devices
bootefi - Boots an EFI payload from memory
bootelf - Boot from an ELF image in memory
bootflow - Boot flows
booti - boot Linux kernel 'Image' format from memory
bootm - boot application image from memory
bootmeth - Boot methods
bootp - boot image via network using BOOTP/TFTP protocol
bootspi - BOOTSPI flash sub-system
bootvx - Boot vxWorks from an ELF image
clk_test - test clock functionality
cls - clear screen
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
cpu - display information about CPUs
crc32 - checksum calculation
date - get/set/reset date & time
dhcp - boot image via network using DHCP/TFTP protocol
dm - Driver model low level access
echo - echo args to console
editenv - edit environment variable
eficonfig - provide menu-driven UEFI variable maintenance interface
efidebug - Configure UEFI environment
env - environment handling commands
erase - erase FLASH memory
eraseenv - erase environment variables from persistent storage
es_burn - ESWIN burn tool
es_fs - ESWIN write filesystem image file into sata/mmc
es_otp - ESWIN OTP sub-system
exit - exit script
ext2load - load binary file from a Ext2 filesystem
ext2ls - list files in a directory (default /)
ext4load - load binary file from a Ext4 filesystem
ext4ls - list files in a directory (default /)
ext4size - determine a file's size
ext4write - create a file in the root directory
false - do nothing, unsuccessfully
fastboot - run as a fastboot usb or udp device
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
fatmkdir - create a directory
fatrm - delete a file
fatsize - determine a file's size
fatwrite - write file into a dos filesystem
fdt - flattened device tree utility commands
flinfo - print FLASH memory information
fstype - Look up a filesystem type
fstypes - List supported filesystem types
go - start application at address 'addr'
gpio - query and control gpio pins
gpt - GUID Partition Table
gzwrite - unzip and write memory to block device
help - print command description/usage
i2c - I2C sub-system
iminfo - print header information for application image
imxtract - extract a part of a multi-image
itest - return true/false on integer compare
lcdputs - print string on video framebuffer
led - manage LEDs
ln - Create a symbolic link
load - load binary file from a filesystem
loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
loadx - load binary file over serial line (xmodem mode)
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
ls - list files in a directory (default /)
lsblk - list block drivers and devices
lzmadec - lzma uncompress a memory region
md - memory display
mdio - MDIO utility commands
mii - MII utility commands
mm - memory modify (auto-incrementing address)
mmc - MMC sub system
mmcinfo - display MMC info
mtd - MTD utils
mw - memory write (fill)
net - NET sub-system
nm - memory modify (constant address)
nvme - NVM Express sub-system
panic - Panic with optional message
part - disk partition related commands
pci - list and access PCI Configuration Space
ping - send ICMP ECHO_REQUEST to network host
pinmux - show pin-controller muxing
poweroff - Perform POWEROFF of the device
printenv - print environment variables
protect - enable or disable FLASH write protection
pxe - get and boot from pxe files
random - fill memory with random pattern
read_regs - read and print value from dc8k regs
reset - Perform RESET of the CPU
run - run commands in an environment variable
sata - SATA sub system
save - save file to a filesystem
saveenv - save environment variables to persistent storage
sbi - display SBI information
setcurs - set cursor position within screen
setenv - set environment variables
setexpr - set environment variable as the result of eval expression
sf - SPI flash sub-system
showvar - print local hushshell variables
size - determine a file's size
sleep - delay execution for some time
source - run script from memory
sspi - SPI utility command
sysboot - command to get and boot from syslinux files
test - minimal test like /bin/sh
tftpboot - load file via network using TFTP protocol
tftpput - TFTP put command, for uploading files to a server
tftpsrv - act as a TFTP server and boot the first received file
true - do nothing, successfully
umbox - Test mailbox in u-boot
unlz4 - lz4 uncompress a memory region
unzip - unzip a memory region
usb - USB sub-system
usbboot - boot from USB device
vbe - Verified Boot for Embedded
version - print monitor, compiler and linker version
write_back- write and print value from dc8k regs
write_regs- write and print value from dc8k regs
=> fatls
fatls - list files in a directory (default /)
Usage:
fatls <interface> [<dev[:part]>] [directory]
- list files from 'dev' on 'interface' in a 'directory'
=> fatls mmc 0:1
Card did not respond to voltage select! : -110
=> fatls mmc 0:0
Card did not respond to voltage select! : -110
=> fatls mmc 1
sdhci_send_command: Timeout for status update: 00000000 00000001
=> fatls mmc 1:0
sdhci_set_clock: Timeout to wait cmd & data inhibit
sdhci_set_clock: Timeout to wait cmd & data inhibit
sdhci_set_clock: Timeout to wait cmd & data inhibit
sdhci_set_clock: Timeout to wait cmd & data inhibit
sdhci_send_command: MMC: 1 busy timeout increasing to: 200 ms.
sdhci_send_command: MMC: 1 busy timeout increasing to: 400 ms.
sdhci_send_command: MMC: 1 busy timeout increasing to: 800 ms.
sdhci_send_command: MMC: 1 busy timeout increasing to: 1600 ms.
sdhci_send_command: MMC: 1 busy timeout increasing to: 3200 ms.
sdhci_send_command: MMC: 1 busy timeout.
=> fatls mmc 0:0
Card did not respond to voltage select! : -110
=> printenv
arch=riscv
baudrate=115200
board=eic7700_evb
board_name=eic7700_evb
boot_conf_addr_r=0xc0000000
bootargs= cpu_no_boost_1_6ghz
bootcmd=bootflow scan -lb
bootdelay=5
cpu=eic770x
emmc_dev=0
eth1addr=94:47:b0:18:42:75
ethaddr=94:47:b0:18:42:74
fdt_addr=ed508e10
fdt_addr_r=0x88000000
fdt_high=0xffffffffffffffff
fdtaddr=ed508e10
fdtcontroladdr=ed508e10
fdtfile=eswin/eic7700-milkv-megrez.dtb
gpt_partition=gpt write mmc ${emmc_dev} $partitions
initrd_high=0xffffffffffffffff
kernel_addr_r=0x84000000
kernel_comp_addr_r=0x98300000
kernel_comp_size=0x10000000
loadaddr=0x80200000
partitions=name=boot,start=1MiB,size=2048MiB,type=${typeid_filesystem},uuid=${uuid_boot};name=swap,size=4096MiB,type=${typeid_swap},uuid=${uuid_swap};name=root,size=-,type=${typeid_filesystem},uuid=${uuid_root}
preboot=setenv fdt_addr ${fdtcontroladdr};fdt addr ${fdtcontroladdr};usb start;sata init;nvme scan
pxefile_addr_r=0x88200000
ramdisk_addr_r=0x88300000
scriptaddr=0x88100000
sdupdate=ext4load mmc 1:1 0x90000000 sdupdate.scr;source 0x90000000
stderr=vidconsole,serial
stdin=serial,usbkbd
stdout=vidconsole,serial
typeid_filesystem=0FC63DAF-8483-4772-8E79-3D69D8477DE4
typeid_swap=0657FD6D-A4AB-43C4-84E5-0933C84B4F4F
usbupdate=ext4load usb 0 0x90000000 usbupdate.scr;source 0x90000000
uuid_boot=44b7cb94-f58c-4ba6-bfa4-7d2dce09a3a5
uuid_root=b0f77ad6-36cd-4a99-a8c0-31d73649aa08
uuid_swap=5ebcaaf0-e098-43b9-beef-1f8deedd135e
vendor=eswin
Environment size: 1423/524284 bytes
=> help bootflow
bootflow - Boot flows
Usage:
bootflow scan [-abeGl] [bdev] - scan for valid bootflows (-l list, -a all, -e errors, -b boot, -G no global)
bootflow list [-e] - list scanned bootflows (-e errors)
bootflow select [<num>|<name>] - select a bootflow
bootflow info [-ds] - show info on current bootflow (-d dump bootflow)
bootflow read - read all current-bootflow files
bootflow boot - boot current bootflow
bootflow menu [-t] - show a menu of available bootflows
bootflow cmdline [set|get|clear|delete|auto] <param> [<value>] - update cmdline
=> bootflow scan -l
Scanning for bootflows in all bootdevs
Seq Method State Uclass Part Name Filename
--- ----------- ------ -------- ---- ------------------------ ----------------
Scanning global bootmeth 'efi_mgr':
Card did not respond to voltage select! : -110
sdhci_set_clock: Timeout to wait cmd & data inhibit
sdhci_set_clock: Timeout to wait cmd & data inhibit
sdhci_set_clock: Timeout to wait cmd & data inhibit
sdhci_set_clock: Timeout to wait cmd & data inhibit
sdhci_send_command: MMC: 1 busy timeout.
No EFI system partition
No EFI system partition
Failed to persist EFI variables
Hunting with: mmc
Scanning bootdev 'sdhci@50450000.bootdev':
Card did not respond to voltage select! : -110
Scanning bootdev 'sd@50460000.bootdev':
sdhci_set_clock: Timeout to wait cmd & data inhibit
sdhci_set_clock: Timeout to wait cmd & data inhibit
sdhci_set_clock: Timeout to wait cmd & data inhibit
sdhci_set_clock: Timeout to wait cmd & data inhibit
sdhci_send_command: MMC: 1 busy timeout.
sdhci_set_clock: Timeout to wait cmd & data inhibit
sdhci_set_clock: Timeout to wait cmd & data inhibit
sdhci_set_clock: Timeout to wait cmd & data inhibit
sdhci_set_clock: Timeout to wait cmd & data inhibit
sdhci_send_command: MMC: 1 busy timeout.
sdhci_set_clock: Timeout to wait cmd & data inhibit
sdhci_set_clock: Timeout to wait cmd & data inhibit
sdhci_set_clock: Timeout to wait cmd & data inhibit
sdhci_set_clock: Timeout to wait cmd & data inhibit
sdhci_send_command: MMC: 1 busy timeout.
sdhci_set_clock: Timeout to wait cmd & data inhibit
sdhci_set_clock: Timeout to wait cmd & data inhibit
sdhci_set_clock: Timeout to wait cmd & data inhibit
sdhci_set_clock: Timeout to wait cmd & data inhibit
sdhci_send_command: MMC: 1 busy timeout.
Hunting with: nvme
eswin_pcie_wait_link_up: error: wait linkup timeout
PCIE-0: Link up (Gen1-x1, Bus0)
Hunting with: ahci
scanning bus for devices...
Rescanning SATA bus for devices...
SATA Device Info:
S/N: 30155284726
Product model number: HS-SSD-WAVE(N) 256G
Firmware version: HS19052
Capacity: 500118192 sectors
Scanning bootdev 'sata@0x50420000.bootdev':
0 extlinux ready ahci 1 sata@0x50420000.bootdev.p /extlinux/extlinux.conf
Hunting with: usb
Hunting with: ethernet
ethernet@50400000 Waiting for PHY auto negotiation to complete...... done
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
*** Unhandled DHCP Option in OFFER/ACK: 42
*** Unhandled DHCP Option in OFFER/ACK: 69
*** Unhandled DHCP Option in OFFER/ACK: 42
*** Unhandled DHCP Option in OFFER/ACK: 69
DHCP client bound to address 192.168.0.190 (5017 ms)
Scanning bootdev 'ethernet@50400000.bootdev':
BOOTP broadcast 1
*** Unhandled DHCP Option in OFFER/ACK: 42
*** Unhandled DHCP Option in OFFER/ACK: 69
*** Unhandled DHCP Option in OFFER/ACK: 42
*** Unhandled DHCP Option in OFFER/ACK: 69
DHCP client bound to address 192.168.0.190 (76 ms)
*** Warning: no boot file name; using 'C0A800BE.img'
Using ethernet@50400000 device
TFTP from server 192.168.0.1; our IP address is 192.168.0.190
Filename 'C0A800BE.img'.
Load address: 0x84000000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
missing environment variable: pxeuuid
Retrieving file: pxelinux.cfg/01-94-47-b0-18-42-74
Using ethernet@50400000 device
TFTP from server 192.168.0.1; our IP address is 192.168.0.190
Filename 'pxelinux.cfg/01-94-47-b0-18-42-74'.
Load address: 0x88200000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Retrieving file: pxelinux.cfg/C0A800BE
Using ethernet@50400000 device
TFTP from server 192.168.0.1; our IP address is 192.168.0.190
Filename 'pxelinux.cfg/C0A800BE'.
Load address: 0x88200000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Retrieving file: pxelinux.cfg/C0A800B
Using ethernet@50400000 device
TFTP from server 192.168.0.1; our IP address is 192.168.0.190
Filename 'pxelinux.cfg/C0A800B'.
Load address: 0x88200000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Retrieving file: pxelinux.cfg/C0A800
Using ethernet@50400000 device
TFTP from server 192.168.0.1; our IP address is 192.168.0.190
Filename 'pxelinux.cfg/C0A800'.
Load address: 0x88200000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Retrieving file: pxelinux.cfg/C0A80
Using ethernet@50400000 device
TFTP from server 192.168.0.1; our IP address is 192.168.0.190
Filename 'pxelinux.cfg/C0A80'.
Load address: 0x88200000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Retrieving file: pxelinux.cfg/C0A8
Using ethernet@50400000 device
TFTP from server 192.168.0.1; our IP address is 192.168.0.190
Filename 'pxelinux.cfg/C0A8'.
Load address: 0x88200000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Retrieving file: pxelinux.cfg/C0A
Using ethernet@50400000 device
TFTP from server 192.168.0.1; our IP address is 192.168.0.190
Filename 'pxelinux.cfg/C0A'.
Load address: 0x88200000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Retrieving file: pxelinux.cfg/C0
Using ethernet@50400000 device
TFTP from server 192.168.0.1; our IP address is 192.168.0.190
Filename 'pxelinux.cfg/C0'.
Load address: 0x88200000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Retrieving file: pxelinux.cfg/C
Using ethernet@50400000 device
TFTP from server 192.168.0.1; our IP address is 192.168.0.190
Filename 'pxelinux.cfg/C'.
Load address: 0x88200000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Retrieving file: pxelinux.cfg/default-riscv
Using ethernet@50400000 device
TFTP from server 192.168.0.1; our IP address is 192.168.0.190
Filename 'pxelinux.cfg/default-riscv'.
Load address: 0x88200000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Retrieving file: pxelinux.cfg/default
Using ethernet@50400000 device
TFTP from server 192.168.0.1; our IP address is 192.168.0.190
Filename 'pxelinux.cfg/default'.
Load address: 0x88200000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
No more bootdevs
--- ----------- ------ -------- ---- ------------------------ ----------------
(1 bootflow, 1 valid)
=> usb init
usb - USB sub-system
Usage:
usb start - start (scan) USB controller
usb reset - reset (rescan) USB controller
usb stop [f] - stop USB [f]=force stop
usb tree - show USB device tree
usb info [dev] - show available USB devices
usb test [dev] [port] [mode] - set USB 2.0 test mode
(specify port 0 to indicate the device's upstream port)
Available modes: J, K, S[E0_NAK], P[acket], F[orce_Enable]
usb storage - show details of USB storage devices
usb dev [dev] - show or set current USB storage device
usb part [dev] - print partition table of one or all USB storage devices
usb read addr blk# cnt - read `cnt' blocks starting at block `blk#'
to memory address `addr'
usb write addr blk# cnt - write `cnt' blocks starting at block `blk#'
from memory address `addr'
=> usb reset
resetting USB...
Bus usb1@50490000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb1@50490000 for devices... 4 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found
=> fatls usb
** No device specified **
=> fatls usb 0
efi/
0 file(s), 1 dir(s)
=> fatls usb 0 efi/
./
../
boot/
0 file(s), 3 dir(s)
=> fatls usb 0 efi/boot/
./
../
149510 bootriscv64.efi
16 startup.nsh
2 file(s), 2 dir(s)
=> fatls sata
** No device specified **
=> fatls sata 0
=> fatls sata:0
** No device specified **
=> fatls
fatls - list files in a directory (default /)
Usage:
fatls <interface> [<dev[:part]>] [directory]
- list files from 'dev' on 'interface' in a 'directory'
=> help
? - alias for 'help'
base - print or set address offset
bdinfo - print Board Info structure
blkcache - block cache diagnostics and control
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootdev - Boot devices
bootefi - Boots an EFI payload from memory
bootelf - Boot from an ELF image in memory
bootflow - Boot flows
booti - boot Linux kernel 'Image' format from memory
bootm - boot application image from memory
bootmeth - Boot methods
bootp - boot image via network using BOOTP/TFTP protocol
bootspi - BOOTSPI flash sub-system
bootvx - Boot vxWorks from an ELF image
clk_test - test clock functionality
cls - clear screen
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
cpu - display information about CPUs
crc32 - checksum calculation
date - get/set/reset date & time
dhcp - boot image via network using DHCP/TFTP protocol
dm - Driver model low level access
echo - echo args to console
editenv - edit environment variable
eficonfig - provide menu-driven UEFI variable maintenance interface
efidebug - Configure UEFI environment
env - environment handling commands
erase - erase FLASH memory
eraseenv - erase environment variables from persistent storage
es_burn - ESWIN burn tool
es_fs - ESWIN write filesystem image file into sata/mmc
es_otp - ESWIN OTP sub-system
exit - exit script
ext2load - load binary file from a Ext2 filesystem
ext2ls - list files in a directory (default /)
ext4load - load binary file from a Ext4 filesystem
ext4ls - list files in a directory (default /)
ext4size - determine a file's size
ext4write - create a file in the root directory
false - do nothing, unsuccessfully
fastboot - run as a fastboot usb or udp device
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
fatmkdir - create a directory
fatrm - delete a file
fatsize - determine a file's size
fatwrite - write file into a dos filesystem
fdt - flattened device tree utility commands
flinfo - print FLASH memory information
fstype - Look up a filesystem type
fstypes - List supported filesystem types
go - start application at address 'addr'
gpio - query and control gpio pins
gpt - GUID Partition Table
gzwrite - unzip and write memory to block device
help - print command description/usage
i2c - I2C sub-system
iminfo - print header information for application image
imxtract - extract a part of a multi-image
itest - return true/false on integer compare
lcdputs - print string on video framebuffer
led - manage LEDs
ln - Create a symbolic link
load - load binary file from a filesystem
loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
loadx - load binary file over serial line (xmodem mode)
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
ls - list files in a directory (default /)
lsblk - list block drivers and devices
lzmadec - lzma uncompress a memory region
md - memory display
mdio - MDIO utility commands
mii - MII utility commands
mm - memory modify (auto-incrementing address)
mmc - MMC sub system
mmcinfo - display MMC info
mtd - MTD utils
mw - memory write (fill)
net - NET sub-system
nm - memory modify (constant address)
nvme - NVM Express sub-system
panic - Panic with optional message
part - disk partition related commands
pci - list and access PCI Configuration Space
ping - send ICMP ECHO_REQUEST to network host
pinmux - show pin-controller muxing
poweroff - Perform POWEROFF of the device
printenv - print environment variables
protect - enable or disable FLASH write protection
pxe - get and boot from pxe files
random - fill memory with random pattern
read_regs - read and print value from dc8k regs
reset - Perform RESET of the CPU
run - run commands in an environment variable
sata - SATA sub system
save - save file to a filesystem
saveenv - save environment variables to persistent storage
sbi - display SBI information
setcurs - set cursor position within screen
setenv - set environment variables
setexpr - set environment variable as the result of eval expression
sf - SPI flash sub-system
showvar - print local hushshell variables
size - determine a file's size
sleep - delay execution for some time
source - run script from memory
sspi - SPI utility command
sysboot - command to get and boot from syslinux files
test - minimal test like /bin/sh
tftpboot - load file via network using TFTP protocol
tftpput - TFTP put command, for uploading files to a server
tftpsrv - act as a TFTP server and boot the first received file
true - do nothing, successfully
umbox - Test mailbox in u-boot
unlz4 - lz4 uncompress a memory region
unzip - unzip a memory region
usb - USB sub-system
usbboot - boot from USB device
vbe - Verified Boot for Embedded
version - print monitor, compiler and linker version
write_back- write and print value from dc8k regs
write_regs- write and print value from dc8k regs
=> sbi
SBI 2.0
OpenSBI 1.5
Machine:
Vendor ID 489
Architecture ID 8000000000000008
Implementation ID 6220425
Extensions:
Set Timer
Console Putchar
Console Getchar
Clear IPI
Send IPI
Remote FENCE.I
Remote SFENCE.VMA
Remote SFENCE.VMA with ASID
System Shutdown
SBI Base Functionality
Timer Extension
IPI Extension
RFENCE Extension
Hart State Management Extension
System Reset Extension
Performance Monitoring Unit Extension
Debug Console Extension
=> sata
scanning bus for devices...
Rescanning SATA bus for devices...
SATA Device Info:
S/N: 30155284726
Product model number: HS-SSD-WAVE(N) 256G
Firmware version: HS19052
Capacity: 500118192 sectors
sata - SATA sub system
Usage:
sata init - init SATA sub system
sata stop [dev] - disable SATA sub system or device
sata info - show available SATA devices
sata device [dev] - show or set current device
sata part [dev] - print partition table
sata read addr blk# cnt
sata write addr blk# cnt
=> sata info
Device 0: Model: HS-SSD-WAVE(N) 256G Firm: HS19052 Ser#: 30155284726
Type: Hard Disk
Capacity: 244198.3 MB = 238.4 GB (500118192 x 512)
=> sata part 0
Partition Map for SATA device 0 -- Partition Type: EFI
Part Start LBA End LBA Name
Attributes
Type GUID
Partition GUID
1 0x00000022 0x000fa021 "boot"
attrs: 0x0000000000000000
type: 0fc63daf-8483-4772-8e79-3d69d8477de4
(linux)
guid: 44b7cb94-f58c-4ba6-bfa4-7d2dce09a3a6
2 0x000fa022 0x008fa021 "swap"
attrs: 0x0000000000000000
type: 0657fd6d-a4ab-43c4-84e5-0933c84b4f4f
(swap)
guid: 5ebcaaf0-e098-43b9-beef-1f8deedd135f
3 0x008fa022 0x1dcf328e "rootfs"
attrs: 0x0000000000000000
type: 0fc63daf-8483-4772-8e79-3d69d8477de4
(linux)
guid: b0f77ad6-36cd-4a99-a8c0-31d73649aa09
=> fatls sata:1
** No device specified **
=> fatls sata 1
=> fatls sata
** No device specified **
=> fatls sata:0
** No device specified **
=> help fatls
fatls - list files in a directory (default /)
Usage:
fatls <interface> [<dev[:part]>] [directory]
- list files from 'dev' on 'interface' in a 'directory'
=> fatls sata 0
=> fatls sata 0:1
=> fatls sata 0:0
=> ext2l
ext2load ext2ls
=> ext2ls
ext2ls - list files in a directory (default /)
Usage:
ext2ls <interface> <dev[:part]> [directory]
- list files from 'dev' on 'interface' in a 'directory'
=> ext2ls sata:0
** No device specified **
=> ext2ls sata:1
** No device specified **
=> ext2ls sata
** No device specified **
=> ext2ls sata:3
** No device specified **
=> sata
sata - SATA sub system
Usage:
sata init - init SATA sub system
sata stop [dev] - disable SATA sub system or device
sata info - show available SATA devices
sata device [dev] - show or set current device
sata part [dev] - print partition table
sata read addr blk# cnt
sata write addr blk# cnt
=> sata device
IDE device 0: Model: HS-SSD-WAVE(N) 256G Firm: HS19052 Ser#: 30155284726
Type: Hard Disk
Capacity: 244198.3 MB = 238.4 GB (500118192 x 512)
=> fatls ide:0
** No device specified **
=> fatls sd:0
** No device specified **
=> fatls sdhci:0
** No device specified **
=> fatls sdhci
** No device specified **
=> fatls sata
** No device specified **
=> fatls sata:0
** No device specified **
=> fatls sata:1
** No device specified **
=> fstype
fstype - Look up a filesystem type
Usage:
fstype <interface> <dev>:<part>
- print filesystem type
fstype <interface> <dev>:<part> <varname>
- set environment variable to filesystem type
=> fstype sata
fstype - Look up a filesystem type
Usage:
fstype <interface> <dev>:<part>
- print filesystem type
fstype <interface> <dev>:<part> <varname>
- set environment variable to filesystem type
=> fstype sata 0:1
ext4
=> fstype sata 0:0
=> fstype sata 0:1
ext4
=> ext
ext2load ext2ls ext4load ext4ls ext4size ext4write
=> ext
ext2load ext2ls ext4load ext4ls ext4size ext4write
=> ext4ls sata 0:1
<DIR> 1024 .
<DIR> 1024 ..
<DIR> 12288 lost+found
<DIR> 1024 extlinux
177964 config-6.6.66-win2030
9853645 vmlinuz-6.6.66-win2030
<DIR> 1024 dtbs
48546438 initrd.img-6.6.66-win2030
3731030 System.map-6.6.66-win2030
=> ext4ls sata 0:1 dtbs
<DIR> 1024 .
<DIR> 1024 ..
<DIR> 1024 linux-image-6.6.66-win2030
=> ext4ls sata 0:1 dtbs/linux-image-6.6.66-win2030
<DIR> 1024 .
<DIR> 1024 ..
<DIR> 1024 eswin
<DIR> 1024 sifive
=> ext4ls sata 0:1 dtbs/linux-image-6.6.66-win2030/eswin
<DIR> 1024 .
<DIR> 1024 ..
149558 eic7700-evb-a3.dtb
148310 eic7700-evb.dtb
148185 eic7700-hifive-premier-p550.dtb
148974 eic7700-milkv-megrez.dtb
147217 eic7700-pine64-starpro64.dtb
147328 eic7702-evb-a1-d0.dtb
147592 eic7702-evb-a1-d1.dtb
289292 eic7702-evb-a1.dtb
150136 eswin-win2030.dtb
149160 eic7700-evb-a2.dtb
=> run findfdt
## Error: "findfdt" not defined
=> printenv
arch=riscv
baudrate=115200
board=eic7700_evb
board_name=eic7700_evb
boot_conf_addr_r=0xc0000000
bootargs= cpu_no_boost_1_6ghz
bootcmd=bootflow scan -lb
bootdelay=5
bootp_arch=1b
bootp_vci=PXEClient:Arch:0001b:UNDI:003000
cpu=eic770x
dnsip=192.168.0.1
emmc_dev=0
eth1addr=94:47:b0:18:42:75
ethact=ethernet@50400000
ethaddr=94:47:b0:18:42:74
fdt_addr=ed508e10
fdt_addr_r=0x88000000
fdt_high=0xffffffffffffffff
fdtaddr=ed508e10
fdtcontroladdr=ed508e10
fdtfile=eswin/eic7700-milkv-megrez.dtb
gatewayip=192.168.0.1
gpt_partition=gpt write mmc ${emmc_dev} $partitions
initrd_high=0xffffffffffffffff
ipaddr=192.168.0.190
kernel_addr_r=0x84000000
kernel_comp_addr_r=0x98300000
kernel_comp_size=0x10000000
loadaddr=0x80200000
netmask=255.255.252.0
partitions=name=boot,start=1MiB,size=2048MiB,type=${typeid_filesystem},uuid=${uuid_boot};name=swap,size=4096MiB,type=${typeid_swap},uuid=${uuid_swap};name=root,size=-,type=${typeid_filesystem},uuid=${uuid_root}
preboot=setenv fdt_addr ${fdtcontroladdr};fdt addr ${fdtcontroladdr};usb start;sata init;nvme scan
pxefile_addr_r=0x88200000
ramdisk_addr_r=0x88300000
scriptaddr=0x88100000
sdupdate=ext4load mmc 1:1 0x90000000 sdupdate.scr;source 0x90000000
serverip=192.168.0.1
stderr=vidconsole,serial
stdin=serial,usbkbd
stdout=vidconsole,serial
typeid_filesystem=0FC63DAF-8483-4772-8E79-3D69D8477DE4
typeid_swap=0657FD6D-A4AB-43C4-84E5-0933C84B4F4F
usbupdate=ext4load usb 0 0x90000000 usbupdate.scr;source 0x90000000
uuid_boot=44b7cb94-f58c-4ba6-bfa4-7d2dce09a3a5
uuid_root=b0f77ad6-36cd-4a99-a8c0-31d73649aa08
uuid_swap=5ebcaaf0-e098-43b9-beef-1f8deedd135e
vendor=eswin
Environment size: 1609/524284 bytes
=> load sata 0:1 ${fdt_addr_r} ${fdtfile}
Failed to load 'eswin/eic7700-milkv-megrez.dtb'
=> load sata 0:1 ${fdt_addr_r} dtbs/${fdtfile}
Failed to load 'dtbs/eswin/eic7700-milkv-megrez.dtb'
=> load sata 0:1 ${fdt_addr_r} boot/dtbs/${fdtfile}
Failed to load 'boot/dtbs/eswin/eic7700-milkv-megrez.dtb'
=> load sata 0:1 ${fdt_addr_r} dtbs/linux-image-6.6.66-win2030/eic7700-milkv-megrez.dtb
Failed to load 'dtbs/linux-image-6.6.66-win2030/eic7700-milkv-megrez.dtb'
=> help load
load - load binary file from a filesystem
Usage:
load <interface> [<dev[:part]> [<addr> [<filename> [bytes [pos]]]]]
- Load binary file 'filename' from partition 'part' on device
type 'interface' instance 'dev' to address 'addr' in memory.
'bytes' gives the size to load in bytes.
If 'bytes' is 0 or omitted, the file is read until the end.
'pos' gives the file byte position to start reading from.
If 'pos' is 0 or omitted, the file is read from the start.
=> ext4
ext4load ext4ls ext4size ext4write
=> ext4load sata 0:1 ${fdt_addr_r} dtbs/linux-image-6.6.66-win2030/eic7700-milkv-megrez.dtb
Failed to load 'dtbs/linux-image-6.6.66-win2030/eic7700-milkv-megrez.dtb'
=> echo ${fdt_addr_r}
0x88000000
=> ext4ls sata 0:1
<DIR> 1024 .
<DIR> 1024 ..
<DIR> 12288 lost+found
<DIR> 1024 extlinux
177964 config-6.6.66-win2030
9853645 vmlinuz-6.6.66-win2030
<DIR> 1024 dtbs
48546438 initrd.img-6.6.66-win2030
3731030 System.map-6.6.66-win2030
=> ext4ls sata 0:1 dtbs/linux-image-6.6.66-win2030/e
** Can not find directory. **
=> ext4ls sata 0:1 dtbs/linux-image-6.6.66-win2030/eic7700-milkv-megrez.dtb
** Can not find directory. **
=> ext4load sata 0:1 dtbs/linux-image-6.6.66-win2030/eic7700-milkv-megrez.dtb
ext4load - load binary file from a Ext4 filesystem
Usage:
ext4load <interface> [<dev[:part]> [addr [filename [bytes [pos]]]]]
- load binary file 'filename' from 'dev' on 'interface'
to address 'addr' from ext4 filesystem
=> ext4load sata 0:1 ${fdt_addr_r} dtbs/linux-image-6.6.66-win2030/eic7700-milkv-megrez.dtb
Failed to load 'dtbs/linux-image-6.6.66-win2030/eic7700-milkv-megrez.dtb'
=> load sata 0:1 ${fdt_addr_r} dtbs/linux-image-6.6.66-win2030/eic7700-milkv-megrez.dtb
Failed to load 'dtbs/linux-image-6.6.66-win2030/eic7700-milkv-megrez.dtb'
=> ext4ls sata 0:1 dtbs/linux-image-6.6.66-win2030
<DIR> 1024 .
<DIR> 1024 ..
<DIR> 1024 eswin
<DIR> 1024 sifive
=> ext4ls sata 0:1 dtbs/linux-image-6.6.66-win2030/eswin/
<DIR> 1024 .
<DIR> 1024 ..
149558 eic7700-evb-a3.dtb
148310 eic7700-evb.dtb
148185 eic7700-hifive-premier-p550.dtb
148974 eic7700-milkv-megrez.dtb
147217 eic7700-pine64-starpro64.dtb
147328 eic7702-evb-a1-d0.dtb
147592 eic7702-evb-a1-d1.dtb
289292 eic7702-evb-a1.dtb
150136 eswin-win2030.dtb
149160 eic7700-evb-a2.dtb
=> ext4load sata 0:1 ${fdt_addr_r} dtbs/linux-image-6.6.66-win2030/eswin/eic7700-milkv-megrez.dtb
148974 bytes read in 8 ms (17.8 MiB/s)
=> echo ${kernel_addr_r}
0x84000000
=> fatls mmc 0:1
Card did not respond to voltage select! : -110
=> fatls usb 0
efi/
0 file(s), 1 dir(s)
=> fatload usb 0 efi/
fatload - load binary file from a dos filesystem
Usage:
fatload <interface> [<dev[:part]> [<addr> [<filename> [bytes [pos]]]]]
- Load binary file 'filename' from 'dev' on 'interface'
to address 'addr' from dos filesystem.
'pos' gives the file position to start loading from.
If 'pos' is omitted, 0 is used. 'pos' requires 'bytes'.
'bytes' gives the size to load. If 'bytes' is 0 or omitted,
the load stops on end of file.
If either 'pos' or 'bytes' are not aligned to
ARCH_DMA_MINALIGN then a misaligned buffer warning will
be printed and performance will suffer for the load.
=> fatls usb 0 efi/boot/
./
../
149510 bootriscv64.efi
16 startup.nsh
2 file(s), 2 dir(s)
=> fatload usb 0 ${kernel_addr_r} efi/boot/bootriscv64.efi
149510 bytes read in 9 ms (15.8 MiB/s)
=> bootefi ${kernel_addr_r} ${fdt_addr_r}
Booting /efi\boot\bootriscv64.efi
disks: sd0* sd1
>> OpenBSD/riscv64 BOOTRISCV64 1.7
boot> ls
drwxr-xr-x 0,0 512 .
drwxr-xr-x 0,0 512 ..
-r-xr-xr-x 0,0 12358110 bsd.rd
-r-xr-xr-x 0,0 12358110 bsd
boot> bsd.rd
cannot open sd0a:/etc/random.seed: No such file or directory
booting sd0a:bsd.rd: 2082980+1061356+8457624+543072 [192908+122+356544+196022]=0xd4bb40
bootargs:
type 0x0 pa 0x59000000 va 0x59000000 pages 0x400 attr 0x8
type 0x2 pa 0x80000000 va 0x80000000 pages 0x4000 attr 0x8
type 0x7 pa 0x84000000 va 0x84000000 pages 0x64507 attr 0x8
type 0x6 pa 0xe8507000 va 0xe8507000 pages 0x1 attr 0x8000000000000008
type 0x4 pa 0xe8508000 va 0xe8508000 pages 0x4000 attr 0x8
type 0x3 pa 0xec508000 va 0xec508000 pages 0x1108b attr 0x8
type 0x5 pa 0xfd593000 va 0xfd593000 pages 0x1 attr 0x8000000000000008
type 0x3 pa 0xfd594000 va 0xfd594000 pages 0x2a6b attr 0x8
type 0x0 pa 0xfffff000 va 0xfffff000 pages 0x1 attr 0x8
type 0x7 pa 0x100000000 va 0x100000000 pages 0xfffff attr 0x8
type 0x0 pa 0x1fffff000 va 0x1fffff000 pages 0x1 attr 0x8
type 0x7 pa 0x200000000 va 0x200000000 pages 0xfffff attr 0x8
type 0x0 pa 0x2fffff000 va 0x2fffff000 pages 0x180001 attr 0x8
type 0x7 pa 0x480000000 va 0x480000000 pages 0x3ffe42 attr 0x8
type 0x2 pa 0x87fe42000 va 0x87fe42000 pages 0x26 attr 0x8
type 0x4 pa 0x87fe68000 va 0x87fe68000 pages 0x1 attr 0x8
type 0x7 pa 0x87fe69000 va 0x87fe69000 pages 0x1 attr 0x8
type 0x2 pa 0x87fe6a000 va 0x87fe6a000 pages 0x100 attr 0x8
type 0x1 pa 0x87ff6a000 va 0x87ff6a000 pages 0x25 attr 0x8
type 0x4 pa 0x87ff8f000 va 0x87ff8f000 pages 0x3 attr 0x8
type 0x9 pa 0x87ff92000 va 0x87ff92000 pages 0x28 attr 0x8
type 0x4 pa 0x87ffba000 va 0x87ffba000 pages 0x16 attr 0x8
type 0x6 pa 0x87ffd0000 va 0x87ffd0000 pages 0x1 attr 0x8000000000000008
type 0x4 pa 0x87ffd1000 va 0x87ffd1000 pages 0x1 attr 0x8
type 0x6 pa 0x87ffd2000 va 0x87ffd2000 pages 0x2 attr 0x8000000000000008
type 0x4 pa 0x87ffd4000 va 0x87ffd4000 pages 0x1 attr 0x8
type 0x6 pa 0x87ffd5000 va 0x87ffd5000 pages 0x20 attr 0x8000000000000008
type 0x4 pa 0x87fff5000 va 0x87fff5000 pages 0xb attr 0x8
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2025 OpenBSD. All rights reserved. https://www.OpenBSD.org
OpenBSD 7.6-current (RAMDISK) #135: Wed Feb 12 07:38:32 MST 2025
deraadt@riscv64.openbsd.org:/usr/src/sys/arch/riscv64/compile/RAMDISK
real mem = 34363932672 (32772MB)
avail mem = 26809098240 (25567MB)
SBI: OpenSBI v1.5, SBI Specification Version 2.0
random: boothowto does not indicate good seed
mainbus0 at root: Milk-V Megrez
cpu0 at mainbus0: SiFive arch 8000000000000008 imp 6220425 rv64imafdch_zicsr_zifencei_zba_z
intc0 at cpu0
cpu0: 32KB 64b/line 128-way L1 I-cache, 32KB 64b/line 128-way L1 D-cache
cpu0: 256KB 64b/line 512-way L2 cache
cpu0: 4096KB 64b/line 4096-way L3 cache
simplebus0 at mainbus0: "soc"
plic0 at simplebus0
syscon0 at simplebus0: "scu_sys_con"
"noc" at syscon0 not configured
syscon1 at simplebus0: "sys-crg"
"reset-controller" at syscon1 not configured
"clock-controller" at syscon1 not configured
syscon2 at simplebus0: "hsp_sp_top_csr"
syscon3 at simplebus0: "pinctrl"
syscon4 at simplebus0: "vi_common_top_csr"
"pmu" at simplebus0 not configured
"authentication-controller" at simplebus0 not configured
simplebus1 at simplebus0: "axi4-sys-port"
simplebus2 at simplebus0: "axi4-sys-port"
"basic-bus-blocker" at simplebus0 not configured
"basic-bus-blocker" at simplebus0 not configured
"basic-bus-blocker" at simplebus0 not configured
"burst-bundler" at simplebus0 not configured
"bus-error-unit" at simplebus0 not configured
"bus-error-unit" at simplebus0 not configured
"bus-error-unit" at simplebus0 not configured
"bus-error-unit" at simplebus0 not configured
"cache-controller" at simplebus0 not configured
"debug-controller" at simplebus0 not configured
"error-device" at simplebus0 not configured
"error-device" at simplebus0 not configured
"order-obliterator" at simplebus0 not configured
"pl2" at simplebus0 not configured
"pl2" at simplebus0 not configured
"pl2" at simplebus0 not configured
"pl2" at simplebus0 not configured
"rom" at simplebus0 not configured
"rom" at simplebus0 not configured
"subsystem_pbus_clock" at simplebus0 not configured
"teststatus" at simplebus0 not configured
simplebus3 at simplebus0: "tl-address-adjuster"
simplebus4 at simplebus0: "tl-inter-mem-master-port"
"trace-encoder-0" at simplebus0 not configured
"trace-encoder-1" at simplebus0 not configured
"trace-encoder-2" at simplebus0 not configured
"trace-encoder-3" at simplebus0 not configured
"trace-funnel-0" at simplebus0 not configured
com0 at simplebus0: dw16550
com0: console
com1 at simplebus0: dw16550
com2 at simplebus0: dw16550
"hfclk" at simplebus0 not configured
"iommu" at simplebus0 not configured
"E21" at simplebus0 not configured
"power-controller" at simplebus0 not configured
"dma-controller-hsp" at simplebus0 not configured
"dma-controller-aon" at simplebus0 not configured
"ethernet" at simplebus0 not configured
"ethernet" at simplebus0 not configured
simplebus5 at simplebus0: "noc"
"d0_cfg_noc" at simplebus5 not configured
"d0_llc_noc" at simplebus5 not configured
"d0_sys_noc" at simplebus5 not configured
"d0_media_noc" at simplebus5 not configured
"d0_realtime_noc" at simplebus5 not configured
"eswin-npu" at simplebus0 not configured
"llc" at simplebus0 not configured
simplebus6 at simplebus0: "dsp_subsys"
"es_dsp" at simplebus6 not configured
"es_dsp" at simplebus6 not configured
"es_dsp" at simplebus6 not configured
"es_dsp" at simplebus6 not configured
"g2d" at simplebus0 not configured
"gpu" at simplebus0 not configured
"sata" at simplebus0 not configured
"pcie" at simplebus0 not configured
"spi" at simplebus0 not configured
"spi" at simplebus0 not configured
"mmc" at simplebus0 not configured
"mmc" at simplebus0 not configured
"mmc" at simplebus0 not configured
"video-decoder0" at simplebus0 not configured
"video-encoder" at simplebus0 not configured
"mbox" at simplebus0 not configured
"mbox" at simplebus0 not configured
"mbox" at simplebus0 not configured
"mbox" at simplebus0 not configured
"mbox" at simplebus0 not configured
"mbox" at simplebus0 not configured
"mbox" at simplebus0 not configured
"mbox" at simplebus0 not configured
"ipc" at simplebus0 not configured
"lpcpu" at simplebus0 not configured
"pvt" at simplebus0 not configured
"pvt" at simplebus0 not configured
"fan_control" at simplebus0 not configured
"i2c" at simplebus0 not configured
"i2c" at simplebus0 not configured
"i2c" at simplebus0 not configured
"i2c" at simplebus0 not configured
"i2c" at simplebus0 not configured
"i2c" at simplebus0 not configured
"gpio" at simplebus0 not configured
"pwm" at simplebus0 not configured
"timer" at simplebus0 not configured
"timer" at simplebus0 not configured
"timer" at simplebus0 not configured
"timer" at simplebus0 not configured
"rtc" at simplebus0 not configured
"i2s0" at simplebus0 not configured
"i2s1" at simplebus0 not configured
"graphcard0" at simplebus0 not configured
"graphcard1" at simplebus0 not configured
"display-subsystem" at simplebus0 not configured
"display_control" at simplebus0 not configured
"es_wb" at simplebus0 not configured
"dsi-output" at simplebus0 not configured
"mipi_dsi" at simplebus0 not configured
"hdmi" at simplebus0 not configured
"hdmi-hdcp2" at simplebus0 not configured
"usb0" at simplebus0 not configured
"usb1" at simplebus0 not configured
"isp" at simplebus0 not configured
"isp" at simplebus0 not configured
"dewarp" at simplebus0 not configured
"dphy" at simplebus0 not configured
"csidma" at simplebus0 not configured
"csi2" at simplebus0 not configured
"ddr-controller" at simplebus0 not configured
"ddr-controller" at simplebus0 not configured
"opp-table0" at mainbus0 not configured
"leds" at mainbus0 not configured
"gpio-keys" at mainbus0 not configured
"domain-config" at mainbus0 not configured
"framebuffer" at mainbus0 not configured
softraid0 at root
scsibus0 at softraid0: 256 targets
root on rd0a swap on rd0b dump on rd0b
WARNING: CHECK AND RESET THE DATE!
cpu0: clock not implemented
erase ^?, werase ^W, kill ^U, intr ^C, status ^T
Welcome to the OpenBSD/riscv64 7.6 installation program.
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell?
Milk-v Megrez