[PATCH 06/11] boards: enclustra-sa2: read MAC address from EEPROM
David Picard
david.picard at clermont.in2p3.fr
Tue Sep 23 04:50:33 PDT 2025
It works! https://paste.debian.net/1397791/
However, I don't see how I can use the driver to read the MAC address.
Could you give me some hints?
David
Le 23/09/2025 à 11:40, Sascha Hauer a écrit :
> On Tue, Sep 23, 2025 at 11:07:39AM +0200, David Picard wrote:
>> Hi,
>>
>> The driver crashes and causes immediate reset.
>>
>> I could track it as far as this line:
>> https://git.pengutronix.de/cgit/barebox/tree/drivers/nvmem/core.c#n473
>>
>> Boot log and some more details: https://paste.debian.net/1397772/
> Seems *i2c_priv is not zeroed. Could you replace the devm_kmalloc() in
> atmel_i2c_probe() with devm_kzalloc()?
>
> Sascha
>
More information about the barebox
mailing list