master u-boot broken for HiFive Unleashed

Atish Patra atishp at atishpatra.org
Wed Jul 29 23:43:00 CEST 2020


Hi,
The latest master (423e08cb7701 (origin/master, origin/HEAD) Merge
branch '2020-07-28-misc-soc-improvements') seems to be broken for
HiFive Unleashed.

It already has Bin's fix for unleashed.

a0018fc8209c riscv: Make SiFive HiFive Unleashed board boot again

dram start and size is corrupted for some reason. I have verified that
it was initialized properly during DT parsing. However, it shows
random values in the U-Boot console.

=> bdinfo
boot_params = 0x0000000000000000
memstart    = 0x0000000000000000
memsize     = 0x00000000
flashstart  = 0x0000000000000000
flashsize   = 0x0000000000000000
flashoffset = 0x0000000000000000
baudrate    = 115200 bps
relocaddr   = 0x00000000fff84000
reloc off   = 0x000000007fd84000
Build       = 64-bit

=> bdinfo
boot_params = 0x9a26a361c16aa601
DRAM bank   = 0x0000000000000000
-> start    = 0x974515c3bda965ef
-> size     = 0x79b6f0fb37923036
memstart    = 0x574587c7f00570f9
memsize     = 0xCFD8C0F4D42668AB
flashstart  = 0x67f9fbb06586658b
flashsize   = 0xf91aed913c99b9e1
flashoffset = 0x9ddbf00d69e870fa
baudrate    = 115200 bps

v2020.07 seems to work fine. I couldn't bisect between those two as
the number of commits didn't compile.

-- 
Regards,
Atish


More information about the U-Boot mailing list