Skip to content

Instantly share code, notes, and snippets.

@xypron
Created February 20, 2024 22:36
Show Gist options
  • Save xypron/2202c7b86cdd149d70c59d353e64e76e to your computer and use it in GitHub Desktop.
Save xypron/2202c7b86cdd149d70c59d353e64e76e to your computer and use it in GitHub Desktop.
defective in memory device-tree when running u-boot-starfive_2024.01+dfsg-1ubuntu1_riscv64
Device-tree in memory
$47 = 0xff72efc9 "clock-f\001"
(gdb) x/16w 0xff72efa0
0xff72efa0: 0x69006b73 0x7265746e 0x74707572 0x70616d2d
0xff72efb0: 0x72777000 0x672d6e65 0x736f6970 0x73657200
0xff72efc0: 0x672d7465 0x736f6970 0x6f6c6300 0x662d6b63
0xff72efd0: >>0x00000001<< 0x79636e65 0x66697300 0x2c657669
0xff72efe0: 0x2d726464 0x61726170 0x6300736d 0x6b636f6c
0xff72eff0: 0x74756f2d 0x2d747570 0x656d616e 0x756d0073
0xff72f000: 0x7069746c 0x692d656c 0x6567616d 0x69660073
0xff72f010: 0x616e656c 0x6400656d 0x72637365 0x69747069
0xff72f020: 0x66006e6f 0x662c7469 0x6c2d7464 0x00747369
0xff72f030: 0x68637261 0x6d6f6300 0x73657270 0x6e6f6973
0xff72f040: 0x616f6c00 0x6e650064 0x00797274 0x7373696d
0xff72f050: 0x2d676e69 0x0067736d 0x61666564 0x00746c75
in u-boot.itb
000745C0 2D 63 6C 6F 63 6B 2D 72 61 74 65 73 00 00 00 00 -clock-rates....
000745D0 63 6C 6B 00 00 00 00 00 63 6C 6F 63 6B 2D 66 72 clk.....clock-fr
000745E0 65 71 75 65 6E 63 79 00 66 69 78 65 64 5F 72 61 equency.fixed_ra
000745F0 74 65 5F 72 61 77 5F 63 6C 6F 63 6B 00 00 00 00 te_raw_clock....
00074600 66 69 78 65 64 5F 63 6C 6F 63 6B 00 00 00 00 00 fixed_clock.....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment