Conversation
Edited 10 months ago
Adding U-Boot support for the replacement riscv extension DT properties, come to find out that the extension detection there is completely broken, at least in QEMU.
It expects the ISA string to be 32 characters or less, probably true for all hardware it supports but untrue in QEMU for a long time. I guess there aren't too many ISA string parsers, but I do wonder how many others are broken in the face of the "fancier" strings.
1
0
0
I say "completely broken", because its not as if it stops parsing at 32 characters or something like that - its as simple as if the string is longer than 32 characters (the allotted buffer size) all detection fails.
0
0
0