Skip to content

Instantly share code, notes, and snippets.

@lupyuen
Last active July 16, 2024 04:19
Show Gist options
  • Save lupyuen/be7311c80fc98e661c6e7539416c55c8 to your computer and use it in GitHub Desktop.
Save lupyuen/be7311c80fc98e661c6e7539416c55c8 to your computer and use it in GitHub Desktop.
Script started on Tue Jul 16 12:12:06 2024
Command: screen /dev/tty.usbserial-0001 115200
[?1049h[!p[?3;4l>[?1h=(BC.SCS/0/0.WD.URPL.SDI/25000000/6000000.BS/SD.PS.SD/0x0/0x1000/0x1000/0.PE.BS.SD/0x1000/0x8200/0x8200/0.BE.J.
FSBL Jb2829:gbeb1483-dirty:2024-05-07T08:13:20+00:00
st_on_reason=d0000
st_off_reason=0
P2S/0x1000/0xc00a200.
SD/0x9200/0x1000/0x1000/0.P2E.
DPS/0xa200/0x2000.
SD/0xa200/0x2000/0x2000/0.DPE.
DDR init.
ddr_param[0]=0x78075562.
pkg_type=1
D2_4_1
DDR3-4G-BGA
Data rate=1866.
DDR BIST PASS
PLLS/OD.
C2S/0xc200/0x9fe00000/0x200.
SD/0xc200/0x200/0x200/0.RSC.
C2E.
MS/0xc400/0x80000000/0x1b000.
SD/0xc400/0x1b000/0x1b000/0.ME.
L2/0x27400.
SD/0x27400/0x200/0x200/0.L2/0x414d3342/0xcafe170c/0x80200000/0x37e00/0x37e00
COMP/1.
SD/0x27400/0x37e00/0x37e00/0.DCP/0x80200020/0x1000000/0x81900020/0x37e00/1.
DCP/0x75aa0/0.
Loader_2nd loaded.
Switch RTC mode to xtal32k
Jump to monitor at 0x80000000.
OPENSBI: next_addr=0x80200020 arg1=0x80080000
OpenSBI v0.9
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
\____/| .__/ \___|_| |_|_____/|____/_____|
| |
|_|
Platform Name : Milk-V DuoS
Platform Features : mfdeleg
Platform HART Count : 1
Platform IPI Device : clint
Platform Timer Device : clint
Platform Console Device : uart8250
Platform HSM Device : ---
Platform SysReset Device : ---
Firmware Base : 0x80000000
Firmware Size : 132 KB
Runtime SBI Version : 0.3
Domain0 Name : root
Domain0 Boot HART : 0
Domain0 HARTs : 0*
Domain0 Region00 : 0x0000000074000000-0x000000007400ffff (I)
Domain0 Region01 : 0x0000000080000000-0x000000008003ffff ()
Domain0 Region02 : 0x0000000000000000-0xffffffffffffffff (R,W,X)
Domain0 Next Address : 0x0000000080200020
Domain0 Next Arg1 : 0x0000000080080000
Domain0 Next Mode : S-mode
Domain0 SysReset : yes
Boot HART ID : 0
Boot HART Domain : root
Boot HART ISA : rv64imafdcvsux
Boot HART Features : scounteren,mcounteren,time
Boot HART PMP Count : 16
Boot HART PMP Granularity : 4096
Boot HART PMP Address Bits: 38
Boot HART MHPM Count : 8
Boot HART MHPM Count : 8
Boot HART MIDELEG : 0x0000000000000222
Boot HART MEDELEG : 0x000000000000b109
U-Boot 2021.10-ga57aa1f2-dirty (May 07 2024 - 08:13:12 +0000) cvitek_cv181x
DRAM: 510 MiB
gd->relocaddr=0x9fbc6000. offset=0x1f9c6000
set_rtc_register_for_power
MMC: cv-sd@4310000: 0, wifi-sd@4320000: 1
Loading Environment from FAT... mmc1 : finished tuning, code:53
OK
In: serial
Out: serial
Err: serial
Net:
Warning: ethernet@4070000 (eth0) using random MAC address - 6a:1c:91:c4:8a:7f
eth0: ethernet@4070000
Hit any key to stop autoboot: 1  0
ethernet@4070000 Waiting for PHY auto negotiation to complete.. done
Speed: 100, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
*** Unhandled DHCP Option in OFFER/ACK: 43
*** Unhandled DHCP Option in OFFER/ACK: 43
DHCP client bound to address 192.168.31.230 (548 ms)
Using ethernet@4070000 device
TFTP from server 192.168.31.10; our IP address is 192.168.31.230
Filename 'Image-sg2000'.
Load address: 0x80200000
Loading: *#################################################################
 #################################################################
 #################################################################
 #################################################################
 #################################################################
 #################################################################
 #################################################################
 #################################################################
 #################################################################
 #################################################################
 #################################################################
 #################################################################
 #################################################################
 #################################################################
 #################################################################
 #################################################################
 #################################################################
 #################################################################
 ########
 1.2 MiB/s
done
Bytes transferred = 17280600 (107ae58 hex)
Speed: 100, full duplex
Using ethernet@4070000 device
TFTP from server 192.168.31.10; our IP address is 192.168.31.230
Filename 'cv181x_milkv_duos_sd.dtb'.
Load address: 0x81200000
Loading: *##
 1.1 MiB/s
done
Bytes transferred = 21575 (5447 hex)
## Flattened Device Tree blob at 81200000
Booting using the fdt blob at 0x81200000
Loading Device Tree to 000000009f275000, end 000000009f27d446 ... OK
Starting kernel ...
ABC
NuttShell (NSH) NuttX-12.4.0
nsh> uname -a
NuttX 12.4.0 0df037855a3 Jul 16 2024 11:46:17 risc-v milkv_duos
nsh> coremark
Running CoreMark...
2K performance run parameters for coremark.
CoreMark Size : 666
Total ticks : 14557
Total time (secs): 14.557000
Iterations/Sec : 20.608642
Iterations : 300
Compiler version : GCC13.2.0
Compiler flags : -O2 -fno-strict-aliasing -fomit-frame-pointer -ffunction-sections -fdata-sections -nostdlib -g
Memory location : HEAP
seedcrc : 0xe9f5
[0]crclist : 0xe714
[0]crcmatrix : 0x1fd7
[0]crcstate : 0x8e3a
[0]crcfinal : 0x5275
Correct operation validated. See README.md for run and reporting rules.
CoreMark 1.0 : 20.608642 / GCC13.2.0 -O2 -fno-strict-aliasing -fomit-frame-pointer -ffunction-sections -fdata-sections -nostdlib -g / HEAP
nsh> coremark
Running CoreMark...
2K performance run parameters for coremark.
CoreMark Size : 666
Total ticks : 14558
Total time (secs): 14.558000
Iterations/Sec : 20.607226
Iterations : 300
Compiler version : GCC13.2.0
Compiler flags : -O2 -fno-strict-aliasing -fomit-frame-pointer -ffunction-sections -fdata-sections -nostdlib -g
Memory location : HEAP
seedcrc : 0xe9f5
[0]crclist : 0xe714
[0]crcmatrix : 0x1fd7
[0]crcstate : 0x8e3a
[0]crcfinal : 0x5275
Correct operation validated. See README.md for run and reporting rules.
CoreMark 1.0 : 20.607226 / GCC13.2.0 -O2 -fno-strict-aliasing -fomit-frame-pointer -ffunction-sections -fdata-sections -nostdlib -g / HEAP
nsh> coremaekrk
Running CoreMark...
2K performance run parameters for coremark.
CoreMark Size : 666
Total ticks : 14557
Total time (secs): 14.557000
Iterations/Sec : 20.608642
Iterations : 300
Compiler version : GCC13.2.0
Compiler flags : -O2 -fno-strict-aliasing -fomit-frame-pointer -ffunction-sections -fdata-sections -nostdlib -g
Memory location : HEAP
seedcrc : 0xe9f5
[0]crclist : 0xe714
[0]crcmatrix : 0x1fd7
[0]crcstate : 0x8e3a
[0]crcfinal : 0x5275
Correct operation validated. See README.md for run and reporting rules.
CoreMark 1.0 : 20.608642 / GCC13.2.0 -O2 -fno-strict-aliasing -fomit-frame-pointer -ffunction-sections -fdata-sections -nostdlib -g / HEAP
nsh> coremark
Running CoreMark...
2K performance run parameters for coremark.
CoreMark Size : 666
Total ticks : 14558
Total time (secs): 14.558000
Iterations/Sec : 20.607226
Iterations : 300
Compiler version : GCC13.2.0
Compiler flags : -O2 -fno-strict-aliasing -fomit-frame-pointer -ffunction-sections -fdata-sections -nostdlib -g
Memory location : HEAP
seedcrc : 0xe9f5
[0]crclist : 0xe714
[0]crcmatrix : 0x1fd7
[0]crcstate : 0x8e3a
[0]crcfinal : 0x5275
Correct operation validated. See README.md for run and reporting rules.
CoreMark 1.0 : 20.607226 / GCC13.2.0 -O2 -fno-strict-aliasing -fomit-frame-pointer -ffunction-sections -fdata-sections -nostdlib -g / HEAP
nsh> 
Really kill this window [y/n]
nsh>
nsh> [?1l>
[?1049l[screen is terminating]
Command exit status: 0
Script done on Tue Jul 16 12:14:35 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment