Skip to content

Cannot boot kernel (u-boot cannot find a suitable image) #17

@XFer012

Description

@XFer012

Hello, using the latest image (0.33) with Lichee RV Dock.

U-boot cannot find the kernel image.

Boot log:

[131]HELLO! BOOT0 is starting!
[134]BOOT0 commit : 882671f
[137]set pll start
[138]periph0 has been enabled
[141]set pll end
[143]board init ok
[145]DRAM only have internal ZQ!!
[148]get_pmu_exist() = -1
[150]ddr_efuse_type: 0x0
[153][AUTO DEBUG] single rank and full DQ!
[157]ddr_efuse_type: 0x0
[160][AUTO DEBUG] rank 0 row = 15
[163][AUTO DEBUG] rank 0 bank = 8
[167][AUTO DEBUG] rank 0 page size = 2 KB
[170]DRAM BOOT DRIVE INFO: V0.24
[173]DRAM CLK = 792 MHz
[176]DRAM Type = 3 (2:DDR2,3:DDR3)
[179]DRAMC ZQ value: 0x7b7bfb
[182]DRAM ODT value: 0x42.
[184]ddr_efuse_type: 0x0
[187]DRAM SIZE =512 M
[191]DRAM simple test OK.
[193]dram size =512
[195]card no is 0
[196]sdcard 0 line count 4
[199][mmc]: mmc driver ver 2021-04-2 16:45
[208][mmc]: Wrong media type 0x0
[211][mmc]: Try SD card 0
[309][mmc]: HSSDR52/SDR25 4 bit
[311][mmc]: 50000000 Hz
[314][mmc]: 15268 MB
[315][mmc]: SD/MMC 0 init OK!!!
[351]Loading boot-pkg Succeed(index=1).
[355]Entry_name = opensbi
[358]Entry_name = dtb
[360]Entry_name = u-boot
[364]Adding DRAM info to DTB.
[369]Jump to second Boot.

OpenSBI v1.1


/ __ \ / | _ _ |
| | | |
__ ___ _ __ | (
| |
) || |
| | | | '_ \ / _ \ '_ \ ___ | _ < | |
| || | |) | __/ | | |) | |) || |
_
/| ./ _|| ||/|____/|
| |
|_|

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 Reboot Device : sunxi-wdt-reset
Platform Shutdown Device : ---
Firmware Base : 0x40000000
Firmware Size : 240 KB
Runtime SBI Version : 1.0

Domain0 Name : root
Domain0 Boot HART : 0
Domain0 HARTs : 0*
Domain0 Region00 : 0x0000000040000000-0x000000004003ffff ()
Domain0 Region01 : 0x0000000000000000-0xffffffffffffffff (R,W,X)
Domain0 Next Address : 0x000000004a000000
Domain0 Next Arg1 : 0x0000000044000000
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 : 0
Boot HART MIDELEG : 0x0000000000000222
Boot HART MEDELEG : 0x000000000000b109

U-Boot 2022.07-rc3-gafc07cec-dirty (Jul 21 2022 - 05:36:22 +0000)

DRAM: 512 MiB
sunxi_set_gate: (CLK#24) unhandled
Core: 51 devices, 21 uclasses, devicetree: board
WDT: Started watchdog@6011000 with servicing (16s timeout)
MMC: mmc@4020000: 0, mmc@4021000: 1
Loading Environment from nowhere... OK
In: serial@2500000
Out: serial@2500000
Err: serial@2500000
Net: No ethernet found.
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
716176 bytes read in 128 ms (5.3 MiB/s)

Executing script at 41900000

No FIT subimage unit name
SCRIPT FAILED: continuing...
No EFI system partition
BootOrder not defined
EFI boot manager: Cannot load any image
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

Device 0: unknown device
No ethernet found.
missing environment variable: pxeuuid
Retrieving file: pxelinux.cfg/00000000
No ethernet found.
Retrieving file: pxelinux.cfg/0000000
No ethernet found.
Retrieving file: pxelinux.cfg/000000
No ethernet found.
Retrieving file: pxelinux.cfg/00000
No ethernet found.
Retrieving file: pxelinux.cfg/0000
No ethernet found.
Retrieving file: pxelinux.cfg/000
No ethernet found.
Retrieving file: pxelinux.cfg/00
No ethernet found.
Retrieving file: pxelinux.cfg/0
No ethernet found.
Retrieving file: pxelinux.cfg/default-riscv-sunxi-sunxi
No ethernet found.
Retrieving file: pxelinux.cfg/default-riscv-sunxi
No ethernet found.
Retrieving file: pxelinux.cfg/default-riscv
No ethernet found.
Retrieving file: pxelinux.cfg/default
No ethernet found.
Config file not found
No ethernet found.
No ethernet found.
=>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions