Skip to content

Instantly share code, notes, and snippets.

@cyyself
Last active April 6, 2024 17:11
Show Gist options
  • Save cyyself/aa98b07b8c77bb1d53b5a4c5e67a37cf to your computer and use it in GitHub Desktop.
Save cyyself/aa98b07b8c77bb1d53b5a4c5e67a37cf to your computer and use it in GitHub Desktop.
U-Boot SPL 2022.10 (Nov 28 2023 - 21:45:06 +0800)
imge: uboot load to 0 compress =1 src a500254 len=4cf2a
imge: uboot load to 0 compress =1 src a500254 len=9a710
U-Boot 2022.10 (Nov 28 2023 - 21:45:06 +0800)
CPU: rv64imafdcvsu
Model: kendryte k230 evb
DRAM: 512 MiB
Core: 23 devices, 15 uclasses, devicetree: embed
MMC: mmc0@91580000: 0, mmc1@91581000: 1
Loading Environment from MMC... OK
In: serial@91400000
Out: serial@91400000
Err: serial@91400000
Net: No ethernet found.
Hit any key to stop autoboot: 0
K230# usb start
starting USB...
Bus usb-otg@91500000: dwc2_usb usb-otg@91500000: Core Release: 4.30a
USB DWC2
Bus usb-otg@91540000: dwc2_usb usb-otg@91540000: Core Release: 4.30a
USB DWC2
scanning bus usb-otg@91500000 for devices... 2 USB Device(s) found
scanning bus usb-otg@91540000 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
K230# setenv ipaddr 10.12.2.108
K230# setenv serverip 10.12.2.195
K230# tftpboot 0x0 k230.bin
Using r8152_eth device
TFTP from server 10.12.2.195; our IP address is 10.12.2.108
Filename 'k230.bin'.
Load address: 0x0
Loading: #####
1.4 MiB/s
done
Bytes transferred = 66844 (1051c hex)
K230# go 0
## Starting application at 0x00000000 ...
hart 0 is booting
mxstatus = 0x00000000c0438000
setting mtvec to 0x000000000000063c
mmu map new begin!
mmu map done!
0x0000000024484dff
0x00000000244851ff
0x0000000000009999
0x0000001fffffffff
0x00000000001f9999
dump ra address=0x0000000000000310
mmu init ok!
dump ra address=0x0000000000000310
returned from mmu_init
zeroed 0x0000000000010340
zicboz works
entering smode
now entered smode
zeroed 0x0000000000010340
zicboz works
0x3ff0000000000000
Hello World from UART!
cpu freq = 1600000039Hz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment