[PATCH 1/2] arm: mvebu: Implement the mac command (Marvell hw_info)

Luka Kovacic luka.kovacic at sartura.hr
Mon Oct 11 12:19:07 CEST 2021


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


More information about the U-Boot mailing list