Open hansfbaier opened 1 year ago
Same here with 0.4.2 and RV + dock!
U-Boot SPL 2022.10-g528ae9bc-dirty (Feb 08 2023 - 02:58:22 +0000)
sunxi_ram_probe: dram-controller@3102000: probing
DRAM only have internal ZQ!!
ddr_efuse_type: 0x0
[AUTO DEBUG] single rank and full DQ!
ddr_efuse_type: 0x0
[AUTO DEBUG] rank 0 row = 15
[AUTO DEBUG] rank 0 bank = 8
[AUTO DEBUG] rank 0 page size = 2 KB
DRAM BOOT DRIVE INFO: V0.24
DRAM CLK = 792 MHz
DRAM Type = 3 (2:DDR2,3:DDR3)
DRAMC ZQ value: 0x7b7bfb
DRAM ODT value: 0x42.
ddr_efuse_type: 0x0
DRAM SIZE =512 M
DRAM simple test OK.
mxstatus=0xc0408000 mhcr=0x00000109 mcor=0x00000003 mhint=0x00004000
Trying to boot from MMC1
PLL reg = 0xf8216300, freq = 1200000000
SPL size = 81920, sector = 400
sunxi_ram_get_info: dram-controller@3102000: getting info
OpenSBI v1.2
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
\____/| .__/ \___|_| |_|_____/|____/_____|
| |
|_|
Platform Name : Sipeed Lichee RV Dock
Platform Features : medeleg
Platform HART Count : 1
Platform IPI Device : ---
Platform Timer Device : --- @ 0Hz
Platform Console Device : uart8250
Platform HSM Device : sun20i-d1-ppu
Platform PMU Device :
Platform Reboot Device : sunxi-wdt-reset
Platform Shutdown Device : ---
Firmware Base : 0x40000000
Firmware Size : 228 KB
Firmware RW Offset : 0x20000
Runtime SBI Version : 1.0
Domain0 Name : root
Domain0 Boot HART : 0
Domain0 HARTs : 0*
Domain0 Region00 : 0x0000000040000000-0x000000004001ffff M: (R,X) S/U: ()
Domain0 Region01 : 0x0000000040020000-0x000000004003ffff M: (R,W) S/U: ()
Domain0 Region02 : 0x0000000000000000-0xffffffffffffffff M: (R,W,X) S/U: (R,W,X)
Domain0 Next Address : 0x0000000042e00000
Domain0 Next Arg1 : 0x0000000042e87cf0
Domain0 Next Mode : S-mode
Domain0 SysReset : yes
Boot HART ID : 0
Boot HART Domain : root
Boot HART Priv Version : v1.11
Boot HART Base ISA : rv64imafdcvx
Boot HART ISA Extensions : time
Boot HART PMP Count : 8
Boot HART PMP Granularity : 2048
Boot HART PMP Address Bits: 38
Boot HART MHPM Count : 29
Boot HART MIDELEG : 0x0000000000020222
Boot HART MEDELEG : 0x000000000000b109
sunxi_set_gate: (CLK#24) unhandled
U-Boot 2022.10-g528ae9bc-dirty (Feb 08 2023 - 02:58:22 +0000) Allwinner Technology
DRAM: 512 MiB
sunxi_set_gate: (CLK#24) unhandled
Core: 50 devices, 19 uclasses, devicetree: separate
WDT: Started watchdog@6011000 with servicing every 1000ms (16s timeout)
MMC: mmc@4020000: 0, mmc@4021000: 1
Loading Environment from FAT... PLL reg = 0xf8216300, freq = 1200000000
Unable to use mmc 0:1...
In: serial@2500000
Out: serial@2500000
Err: serial@2500000
Net: No ethernet found.
starting USB...
Bus usb@4101000: USB EHCI 1.00
Bus usb@4101400: USB OHCI 1.0
Bus usb@4200000: USB EHCI 1.00
Bus usb@4200400: USB OHCI 1.0
scanning bus usb@4101000 for devices... 1 USB Device(s) found
scanning bus usb@4101400 for devices... 1 USB Device(s) found
scanning bus usb@4200000 for devices... 1 USB Device(s) found
scanning bus usb@4200400 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
PLL reg = 0xf8216300, freq = 1200000000
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
530 bytes read in 2 ms (258.8 KiB/s)
## Executing script at 41900000
Loading kernel from mmc 0:1 to address 0x41000000
mmc@4020000: 0 (SD)
mmc@4021000: 1
Device: mmc@4020000
Manufacturer ID: 3
OEM: 5344
Name: SR32G
Bus Speed: 50000000
Mode: SD High Speed (50MHz)
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 29.7 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
PLL reg = 0xf8216300, freq = 1200000000
Device: mmc@4020000
Manufacturer ID: 3
OEM: 5344
Name: SR32G
Bus Speed: 50000000
Mode: SD High Speed (50MHz)
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 29.7 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
Partition Map for MMC device 0 -- Partition Type: EFI
Part Start LBA End LBA Name
Attributes
Type GUID
Partition GUID
1 0x00014000 0x00095fff "boot"
attrs: 0x0000000000000000
type: 0fc63daf-8483-4772-8e79-3d69d8477de4
guid: 3037ea22-9315-49d3-bdf6-ce432ba7b6c8
2 0x00096000 0x00c41fff "root"
attrs: 0x0000000000000000
type: 0fc63daf-8483-4772-8e79-3d69d8477de4
guid: 03b746e1-0479-450c-833a-90c14c34bb23
3 0x00c42000 0x00e417ff "swap"
attrs: 0x0000000000000000
type: 0657fd6d-a4ab-43c4-84e5-0933c84b4f4f
guid: c8211123-96a1-40da-b0c7-c62a5b3ab89c
Partition Map for MMC device 0 -- Partition Type: EFI
Part Start LBA End LBA Name
Attributes
Type GUID
Partition GUID
1 0x00014000 0x00095fff "boot"
attrs: 0x0000000000000000
type: 0fc63daf-8483-4772-8e79-3d69d8477de4
guid: 3037ea22-9315-49d3-bdf6-ce432ba7b6c8
2 0x00096000 0x00c41fff "root"
attrs: 0x0000000000000000
type: 0fc63daf-8483-4772-8e79-3d69d8477de4
guid: 03b746e1-0479-450c-833a-90c14c34bb23
3 0x00c42000 0x00e417ff "swap"
attrs: 0x0000000000000000
type: 0657fd6d-a4ab-43c4-84e5-0933c84b4f4f
guid: c8211123-96a1-40da-b0c7-c62a5b3ab89c
5729854 bytes read in 953 ms (5.7 MiB/s)
Booting kernel with bootargs as earlycon=sbi console=ttyS0,115200n8 root=/dev/mmcblk0p2 rootwait cma=96M; and fdtcontroladdr is 5fd42280
Uncompressing Kernel Image
Moving Image from 0x41000000 to 0x40200000, end=41536000
## Flattened Device Tree blob at 5fd42280
Booting using the fdt blob at 0x5fd42280
Working FDT set to 5fd42280
Loading Device Tree to 0000000042df2000, end 0000000042dffb2f ... OK
Working FDT set to 42df2000
Starting kernel ...
I flashed the dock version, and I get a reboot loop when it is trying to load the kernel. The kernel does not boot, but it seems to timeout and then reboot.
and so on....