- Muchas notas - Fran Acién

20230805 - Lichee uboot startup logs


[19:04:17.054] tio v2.6

[19:04:17.054] Press ctrl-t q to quit

[19:04:17.055] Connected
[  647.063665] sunxi-mmc 4021000.mmc: data error, sending stop command
[284]HELLO! BOOT0 is starting!
[287]BOOT0 commit : 20220228+g0ad88b
[290]set pll start
[292]periph0 has been enabled
[295]set pll end
[297]board init ok
[299]DRAM only have internal ZQ!!
[302]get_pmu_exist() = -1
[304]ddr_efuse_type: 0x0
[307][AUTO DEBUG] single rank and full DQ!
[311]ddr_efuse_type: 0x0
[314][AUTO DEBUG] rank 0 row = 16
[317][AUTO DEBUG] rank 0 bank = 8
[320][AUTO DEBUG] rank 0 page size = 2 KB
[324]DRAM BOOT DRIVE INFO: V0.24
[327]DRAM CLK = 792 MHz
[329]DRAM Type = 3 (2:DDR2,3:DDR3)
[333]DRAMC ZQ value: 0x7b7bfb
[335]DRAM ODT value: 0x42.
[338]ddr_efuse_type: 0x0
[341]DRAM SIZE =1024 M
[345]DRAM simple test OK.
[347]dram size =1024
[349]card no is 0
[350]sdcard 0 line count 4
[353][mmc]: mmc driver ver 2021-04-2 16:45
[362][mmc]: Wrong media type 0x0
[365][mmc]: ***Try SD card 0***
[386][mmc]: HSSDR52/SDR25 4 bit
[389][mmc]: 50000000 Hz
[392][mmc]: 15193 MB
[393][mmc]: ***SD/MMC 0 init OK!!!***
[429]Loading boot-pkg Succeed(index=1).
[433]Entry_name        = opensbi
[436]Entry_name        = dtb
[438]Entry_name        = u-boot
[442]Adding DRAM info to DTB.
[447]Jump to second Boot.

OpenSBI v1.1
   ____                    _____ ____ _____
  / __ \                  / ____|  _ \_   _|
 | |  | |_ __   ___ _ __ | (___ | |_) || |
 | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |
 | |__| | |_) |  __/ | | |____) | |_) || |_
  \____/| .__/ \___|_| |_|_____/|____/_____|
        | |
        |_|

Platform Name             : Allwinner D1 Nezha
Platform Features         : medeleg
Platform HART Count       : 1
Platform IPI Device       : aclint-mswi
Platform Timer Device     : aclint-mtimer @ 24000000Hz
Platform Console Device   : uart8250
Platform HSM Device       : sun20i-d1-ppu
Platform Reboot Device    : sunxi-wdt-reset
Platform Shutdown Device  : ---
Firmware Base             : 0x40000000
Firmware Size             : 288 KB
Runtime SBI Version       : 1.0

Domain0 Name              : root
Domain0 Boot HART         : 0
Domain0 HARTs             : 0*
Domain0 Region00          : 0x0000000014008000-0x000000001400bfff (I)
Domain0 Region01          : 0x0000000014000000-0x0000000014007fff (I)
Domain0 Region02          : 0x0000000040000000-0x000000004007ffff ()
Domain0 Region03          : 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.04 (Sep 09 2022 - 12:48:54 +0000)

DRAM:  1 GiB
sunxi_set_gate: (CLK#24) unhandled
Core:  54 devices, 18 uclasses, devicetree: board
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:  2  1  0 
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:f...
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
78Scanning disk mmc@4020000.blk...
Scanning disk mmc@4021000.blk...
Disk mmc@4021000.blk not ready
Found 7 disks
** Unable to read file ubootefi.var **
Failed to load EFI variables
BootOrder not defined
EFI boot manager: Cannot load any image
Found EFI removable media binary efi/boot/bootriscv64.efi
151552 bytes read in 29 ms (5 MiB/s)
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Booting /efi\boot\bootriscv64.efi