Created
June 25, 2024 09:58
-
-
Save lupyuen/b2c0d90c55f7f5118835b4a735ff12bc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Script started on 2024-06-25 17:57:04+08:00 [COMMAND="screen /dev/ttyUSB0 115200" TERM="xterm-256color" TTY="/dev/pts/0" COLUMNS="72" LINES="40"] | |
[!p[?3;4l[4l>[?1049h[22;0;0t[4l[?1h=[0m(B[1;40r[H[2J[H[2J | |
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: 8 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-D008E000-00000003 | |
data version: 0x2 | |
PCB revision: 0xc1 | |
BOM revision: A | |
Ethernet MAC0 address: 6c:cf:39:00:75:5d | |
Ethernet MAC1 address: 6c:cf:39:00:75:5e | |
--------EEPROM INFO-------- | |
In: serial@10000000 | |
Out: serial@10000000 | |
Err: serial@10000000 | |
Model: StarFive VisionFive V2 | |
Net: eth0: ethernet@16030000, eth1: ethernet@16040000 | |
Card did not respond to voltage select! : -110 | |
Card did not respond to voltage select! : -110 | |
bootmode flash device 0 | |
Card did not respond to voltage select! : -110 | |
Hit any key to stop autoboot: 2 1 0 | |
Card did not respond to voltage select! : -110 | |
Couldn't find partition mmc 0:3 | |
Can't set block device | |
Importing environment from mmc0 ... | |
Card did not respond to voltage select! : -110 | |
Couldn't find partition mmc 1:2 | |
Can't set block device | |
## Warning: defaulting to text format | |
## Error: "boot2" not defined | |
Card did not respond to voltage select! : -110 | |
ethernet@16030000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! | |
phy_startup() failed: -110FAILED: -110ethernet@16040000 Waiting for PHY auto negotiation to complete......... TIMEOUT ! | |
phy_startup() failed: -110FAILED: -110ethernet@16030000 Waiting for PHY auto negotiation to complete. done | |
BOOTP broadcast 1 | |
*** Unhandled DHCP Option in OFFER/ACK: 43 | |
*** Unhandled DHCP Option in OFFER/ACK: 43 | |
DHCP client bound to address 192.168.31.142 (383 ms) | |
Using ethernet@16030000 device | |
TFTP from server 192.168.31.1; our IP address is 192.168.31.142 | |
Filename 'boot.scr.uimg'. | |
Load address: 0x40200000 | |
Loading: * | |
TFTP server died; starting again | |
Using ethernet@16030000 device | |
TFTP from server 192.168.31.10; our IP address is 192.168.31.142 | |
Filename 'Image'. | |
Load address: 0x40200000 | |
Loading: *################################################################# | |
[8C ################################################################# | |
[8C ############# | |
[8C 1.2 MiB/s | |
done | |
Bytes transferred = 2097752 (200258 hex) | |
Using ethernet@16030000 device | |
TFTP from server 192.168.31.10; our IP address is 192.168.31.142 | |
Filename 'jh7110-star64-pine64.dtb'. | |
Load address: 0x46000000 | |
Loading: *#### | |
[8C 1.2 MiB/s | |
done | |
Bytes transferred = 50235 (c43b hex) | |
Using ethernet@16030000 device | |
TFTP from server 192.168.31.10; our IP address is 192.168.31.142 | |
Filename 'initrd'. | |
Load address: 0x46100000 | |
Loading: *################################################################# | |
[8C ################################################################# | |
[8C ################################################################# | |
[8C ################################################################# | |
[8C ################################################################# | |
[8C ################################################################# | |
[8C ################################################################# | |
[8C ################################################################# | |
[8C ################################################################# | |
[8C #################################################### | |
[8C 1.2 MiB/s | |
done | |
Bytes transferred = 9337856 (8e7c00 hex) | |
## Flattened Device Tree blob at 46000000 | |
Booting using the fdt blob at 0x46000000 | |
Using Device Tree in place at 0000000046000000, end 000000004600f43a | |
Starting kernel ... | |
clk u5_dw_i2c_clk_core already disabled | |
clk u5_dw_i2c_clk_apb already disabled | |
BC | |
NuttShell (NSH) | |
nsh> [Kuname -a | |
NuttX 0.0.0 9668253bf9 Jun 25 2024 17:54:45 risc-v star64 | |
nsh> [Khelk[Klo | |
Hello, World!! | |
nsh> [Kfree | |
total used free maxused maxfree nused nfree | |
Kmem: 2065400 10472 2054928 35856 2051040 33 4 | |
Page: 20971520 647168 20324352 20324352 | |
nsh> [Kps | |
PID GROUP PRI POLICY TYPE NPX STATE EVENT SIGMASK STACK USED FILLED COMMAND | |
0 0 0 FIFO Kthread - Ready 0000000000000000 003056 000672 21.9% Idle_Task | |
1 0 100 RR Kthread - Waiting Semaphore 0000000000000000 001968 000736 37.3% lpwork 0x40402628 0x40402650 | |
3 3 100 RR Task - Running 0000000000000000 003008 001416 47.0% /system/bin/init | |
nsh> [Kls -l /dev | |
/dev: | |
crw-rw-rw- 0 console | |
crw-rw-rw- 0 null | |
brw-rw-rw- 16777216 ram0 | |
crw-rw-rw- 0 ttyS0 | |
crw-rw-rw- 0 zero | |
nsh> [Kgetp[K[K[K[Kgetprime | |
Set thread priority to 10 | |
Set thread policy to SCHED_RR | |
Start thread #0 | |
thread #0 started, looking for primes < 10000, doing 10 run(s) | |
thread #0 finished, found 1230 primes, last one was 9973 | |
Done | |
getprime took 0 msec | |
nsh> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment