linux4sam / at91bootstrap

Second level bootloader for Microchip SoC (aka AT91)
https://www.linux4sam.org/linux4sam/bin/view/Linux4SAM/AT91Bootstrap4
112 stars 232 forks source link

Overall FDT library improvements to review: from debug messages to node detection. #136

Closed liviorecchia closed 3 years ago

liviorecchia commented 3 years ago

I've got quite some troubles figuring out why my board with a device tree blob didn't boot. So I had to add more debug messages to try to figure out what went wrong. I've noticed that according to original file node names have to end with a NULL characters while on some dts from linux kernel nodes will have a '@' followed by another string usually a hex address. The board didn't booted because node "memory" wasn't found because on vanilla linux kernel dts file is called "memory@20000000".

ehristev commented 3 years ago

Can you please rebase this on top of current master. And leave a single commit with only your changes, so I can have a look at them. Thanks !