Skip to content

Instantly share code, notes, and snippets.

@lupyuen
Last active May 7, 2024 02:53
Show Gist options
  • Save lupyuen/594f0df20d39001bac171412d594d517 to your computer and use it in GitHub Desktop.
Save lupyuen/594f0df20d39001bac171412d594d517 to your computer and use it in GitHub Desktop.
C.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-04-24T11:25:09+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/0xcafe3814/0x80200000/0x37a00/0x37a00
COMP/1.
SD/0x27400/0x37a00/0x37a00/0.DCP/0x80200020/0x1000000/0x81900020/0x37a00/1.
DCP/0x752d0/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 (Apr 24 2024 - 11:24:46 +0000) cvitek_cv181x
DRAM: 510 MiB
gd->relocaddr=0x9fbc7000. offset=0x1f9c7000
set_rtc_register_for_power
MMC: cv-sd@4310000: 0, wifi-sd@4320000: 1
Loading Environment from nowhere... OK
In: serial
Out: serial
Err: serial
Net:
Warning: ethernet@4070000 (eth0) using random MAC address - aa:12:5b:6b:61:8f
eth0: ethernet@4070000
Hit any key to stop autoboot: 0
cv181x_c906#
cv181x_c906#
cv181x_c906#
cv181x_c906#
cv181x_c906#
cv181x_c906# setenv tftp_server 192.168.31.10 ; dhcp ${kernel_addr_r} ${tftp_server}:Image-sg2000 ; tftpboot ${fdt_addr_r} ${tftp_server}:jh7110-star64-pine64.dtb ; fdt addr ${fdt_addr_r} ; booti ${kernel_addr_r} ${ramdisk_addr_r}:${ramdisk_size} ${fdt_addr_r}
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.214 (465 ms)
Using ethernet@4070000 device
TFTP from server 192.168.31.10; our IP address is 192.168.31.214
Filename 'Image-sg2000'.
Load address: 0x80200000
Loading: #################################################################
. #################################################################
. #################################################################
. #################################################################
. #################################################################
. #################################################################
. #################################################################
. #################################################################
. #################################################################
. #################################################################
. #################################################################
. #################################################################
. #################################################################
. #################################################################
. ############################################################
. 1.2 MiB/s
done
Bytes transferred = 14227032 (d91658 hex)
Speed: 100, full duplex
Using ethernet@4070000 device
TFTP from server 192.168.31.10; our IP address is 192.168.31.214
Filename 'jh7110-star64-pine64.dtb'.
Load address: 0x81200000
Loading: ####
. 1.1 MiB/s
done
Bytes transferred = 50235 (c43b hex)
## Flattened Device Tree blob at 81200000
Booting using the fdt blob at 0x81200000
Loading Ramdisk to 9fe00000, end 9fe00000 ... OK
Loading Device Tree to 000000009f26f000, end 000000009f27e43a ... OK
Starting kernel ...
123ABCnx_start: Entry
uart_register: Registering /dev/console
uart_register: Registering /dev/ttyS0
work_start_lowpri: Starting low-priority kernel worker thread(s)
nxtask_activate: lpwork pid=1,TCB=0x80408130
nxtask_activate: AppBringUp pid=2,TCB=0x80408740
nx_start_application: Starting init task: /system/bin/init
elf_symname: Symbol has no name
elf_symvalue: SHN_UNDEF: Failed to get symbol name: -3
elf_relocateadd: Section 2 reloc 2: Undefined symbol[0] has no name: -3
_assert: Current Version: NuttX 12.4.0 f37a380-dirty May 7 2024 10:31:33 risc-v
_assert: Assertion failed 0x17 == (insn & 0x7F): at file: machine/risc-v/arch_elf.c:494 task: AppBringUp process: Kernel 0x80200f34
up_dump_register: EPC: 000000008021087a
up_dump_register: A0: 0000000080401b70 A1: 00000000000001ee A2: 0000000080228ef8 A3: 0000000000000000
up_dump_register: A4: 0000000000000017 A5: 0000000000000002 A6: 000000000000ab9c A7: fffffffffffffff8
up_dump_register: T0: 000000000000002e T1: 0000000000000007 T2: 00000000000001ff T3: 000000008040c3fc
up_dump_register: T4: 000000008040c3f0 T5: 0000000000000009 T6: 000000000000002a
up_dump_register: S0: 0000000000000000 S1: 0000000080408740 S2: 0000000000000017 S3: 0000000000000000
up_dump_register: S4: 0000000080228ef8 S5: 0000000080228de8 S6: 0000000080401e10 S7: 8000000201842022
up_dump_register: S8: 00000000000001ee S9: 000000008040b9a0 S10: 0000000000000070 S11: 000000008040b990
up_dump_register: SP: 000000008040c330 FP: 0000000000000000 TP: 0000000000000000 RA: 000000008021087a
dump_stack: User Stack:
dump_stack: base: 0x8040c030
dump_stack: size: 00002000
dump_stack: sp: 0x8040c330
stack_dump: 0x8040c310: 00000001 00000000 80408740 00000000 8040c330 00000000 802109e2 00000000
stack_dump: 0x8040c330: 80200f34 00000000 80213b5e 00000000 0000000a 00000000 00000000 00000000
stack_dump: 0x8040c350: 80408740 00000000 80401b70 00000000 80228ef8 00000000 80228de8 00000000
stack_dump: 0x8040c370: 000001ee ffffffff 7474754e 00000058 00000000 00000000 00000033 00000000
stack_dump: 0x8040c390: 80409fa0 00000000 8040c618 00000000 80409140 00000000 fffffffc 2e323100
stack_dump: 0x8040c3b0: 00302e34 ffffffff 80408ed8 00000000 33660000 38336137 69642d30 20797472
stack_dump: 0x8040c3d0: 2079614d 32203720 20343230 333a3031 33333a31 00000000 00000000 00000000
stack_dump: 0x8040c3f0: 80408ed8 73697200 00762d63 00000000 00000018 00000000 8020b74a 00000000
stack_dump: 0x8040c410: 00000070 00000000 8040b9a0 00000000 00000000 00000000 0000014f 00000000
stack_dump: 0x8040c430: 8040c810 00000000 80409200 00000000 8040d290 00000000 00015e02 00000000
stack_dump: 0x8040c450: 00000017 00000000 8040c520 00000000 c000045e 00000000 80205918 00000000
stack_dump: 0x8040c470: 00000002 00000000 80212d94 00000000 00000000 00000000 0000014f 00000000
stack_dump: 0x8040c490: 8040c810 00000000 80409200 00000000 8040d290 00000000 00000070 00000000
stack_dump: 0x8040c4b0: 804091c0 00000000 8040c618 00000000 00000002 00000000 8020f0be 00000000
stack_dump: 0x8040c4d0: 80408ed8 00000000 0000004a 00000000 00000080 00000000 00000000 00000000
stack_dump: 0x8040c4f0: 00000000 00000000 ffffffff ffff0000 00001800 00000000 8040c5b8 00001800
stack_dump: 0x8040c510: 8040b990 00000000 80409f10 00000000 00000000 00000000 0000a9b6 00000000
stack_dump: 0x8040c530: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
stack_dump: 0x8040c550: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
stack_dump: 0x8040c570: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
stack_dump: 0x8040c590: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
stack_dump: 0x8040c5b0: 00000000 00000000 00000000 00000000 00000001 00000000 00000000 00000000
stack_dump: 0x8040c5d0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
stack_dump: 0x8040c5f0: 804090d0 00000000 00000000 00000000 00000000 00000000 8020ea84 00000000
stack_dump: 0x8040c610: 8040c708 00000000 c0000000 00000000 c0101000 00000000 00016330 00000000
stack_dump: 0x8040c630: 000005a4 00000000 00000008 00000000 00000008 00000000 0034b478 00000000
stack_dump: 0x8040c650: 00000000 0000816d 464c457f 00010102 00000000 00000000 00f30001 00000001
stack_dump: 0x8040c670: 0000004a 00000000 00000000 00000000 0034a778 00000000 00000005 00000040
stack_dump: 0x8040c690: 00400000 00330034 00000000 00000000 80409180 00000000 00000000 00000000
stack_dump: 0x8040c6b0: 80409e90 00000000 00000000 00000000 00320031 00000000 00000401 000e44e8
stack_dump: 0x8040c6d0: 80408e70 00000000 80409140 00000000 8040c748 00000000 8021a848 00000000
stack_dump: 0x8040c6f0: 804090d0 00000000 804001a8 00000000 fffffffe ffffffff 8020fbec 00000000
stack_dump: 0x8040c710: 00000000 00000000 8040c7b0 00000000 00000000 00000000 8040c7b8 00000000
stack_dump: 0x8040c730: 8021a848 00000000 804090d0 00000000 00000c00 00000000 8020e8c4 00000000
stack_dump: 0x8040c750: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
stack_dump: 0x8040c770: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
stack_dump: 0x8040c790: 00000000 00000000 00000064 00000000 00000c00 00000000 80200fde 00000000
stack_dump: 0x8040c7b0: 00000000 00000000 00026400 00000000 00000000 00000000 00000c00 00000000
stack_dump: 0x8040c7d0: 00000000 00000000 00000000 00000000 00000000 00000000 80201960 00000000
stack_dump: 0x8040c7f0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dump_tasks: PID GROUP PRI POLICY TYPE NPX STATE EVENT SIGMASK STACKBASE STACKSIZE USED FILLED COMMAND
dump_tasks: ---- --- --- -------- ------- --- ------- ---------- ---------------- 0x80400a60 2048 72 3.5% irq
dump_task: 0 0 0 FIFO Kthread - Ready 0000000000000000 0x80406010 3056 888 29.0% Idle_Task
dump_task: 1 1 100 RR Kthread - Ready 0000000000000000 0x8040a050 1968 528 26.8% lpwork 0x804018f8 0x80401920
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment