Port-RISCV archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Unable to load dtb?



Hi,
Eventually, I build an u-boot loader image to try but it seems unable to load
the dtb image:

U-Boot 2022.04 (Oct 31 2023 - 22:17:55 +0800)

DRAM:  1 GiB
sunxi_set_gate: (CLK#24) unhandled
Core:  32 devices, 18 uclasses, devicetree: board
WDT:   Started watchdog@6011000 with servicing (16s timeout)
MMC:   mmc@4020000: 0
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
=> fatload mmc 0:3 45000000 netbsd.ub
9636428 bytes read in 1669 ms (5.5 MiB/s)
=> fdt addr 44000000
=> bootm 45000000 - 44000000
## Booting kernel from Legacy Image at 45000000 ...
   Image Name:   NetBSD/d1
   Image Type:   RISC-V NetBSD Kernel Image (uncompressed)
   Data Size:    9636364 Bytes = 9.2 MiB
   Load Address: 45000000
   Entry Point:  45000000
   Verifying Checksum ... OK
   Loading Kernel Image
## Transferring control to NetBSD stage-2 loader (at address 45000000) ...

------------
NetBSD start

sp:      0x0000_0000_45a0_2000
pc:      0x0000_0000_4500_0080
hart:    0x0000_0000_7fb6_af90
dtb:     0x0000_0000_0000_0000
l1:      0x0000_0000_45a0_3000
l2:      0x0000_0000_45a0_2000
uspace:  0x0000_0000_45a0_0000
bootstk: 0x0000_0000_45a0_2000
vtopdiff:0xffff_ffbf_bb00_0000

bss:     0x0000_0000_4593_0a0c - 0x0000_0000_45a0_4000

l2pde:   0x0000_0000_45a0_2800:  0x0000_0000_1168_0c01

kern:    0x0000_0000_45a0_3000:  0x0000_0000_1140_00ef
kern:    0x0000_0000_45a0_3008:  0x0000_0000_1148_00ef
kern:    0x0000_0000_45a0_3010:  0x0000_0000_1150_00ef
kern:    0x0000_0000_45a0_3018:  0x0000_0000_1158_00ef
kern:    0x0000_0000_45a0_3020:  0x0000_0000_1160_00ef
kern:    0x0000_0000_45a0_3028:  0x0000_0000_1168_00ef
kern:    0x0000_0000_45a0_3030:  0x0000_0000_1170_00ef
kern:    0x0000_0000_45a0_3038:  0x0000_0000_1178_00ef
kern:    0x0000_0000_45a0_3040:  0x0000_0000_1180_00ef
kern:    0x0000_0000_45a0_3048:  0x0000_0000_1188_00ef
kern:    0x0000_0000_45a0_3050:  0x0000_0000_1190_00ef
kern:    0x0000_0000_45a0_3058:  0x0000_0000_1198_00ef
kern:    0x0000_0000_45a0_3060:  0x0000_0000_11a0_00ef
kern:    0x0000_0000_45a0_3068:  0x0000_0000_11a8_00ef
kern:    0x0000_0000_45a0_3070:  0x0000_0000_11b0_00ef
kern:    0x0000_0000_45a0_3078:  0x0000_0000_11b8_00ef
dtb:     0x0000_0000_45a0_3080:  0x0000_0000_0000_00e7
PM
[   1.0000000] panic: fdt_check_header failed: FDT_ERR_BADMAGIC
[   1.0000000] cpu0: Begin traceback...

-rxg



Home | Main Index | Thread Index | Old Index