
11 Oct
2021
11 Oct
'21
12:19 p.m.
Hello Pali,
Something like this? compatible = "marvell,hw-info"
This compatible string looks good to me. We will send a new patch version, which implements the discussed DT functionality.
I am sure Luka knows more about the format than me.
The Marvell hw_info partition is very similar to the U-Boot environment. The only difference is in the separator between the "key=value" pairs, which is 0x20/space in the case of hw_info. This is also prevents us to hard-code the parameter addresses in the device tree, because they can move around.
The checksum is stored before the hw_info environment - this would have to be investigated further to implement checksum verification.
Kind regards, Luka