[PATCH 06/11] boards: enclustra-sa2: read MAC address from EEPROM

David Picard david.picard at clermont.in2p3.fr
Tue Sep 23 02:07:39 PDT 2025


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/

David

Le 22/09/2025 à 15:15, Sascha Hauer a écrit :
> Hi David,
>
> On Thu, Sep 18, 2025 at 05:07:53PM +0200, David Picard wrote:
>> The driver has cascaded dependencies: CRYPTO_DEV_ATMEL_I2C, CRYPTO_ECDH,
>> CRC16, HW_RANDOM
>>
>> Bringing the Linux driver and friends into Barebox is definitely way beyond
>> my competence...
> I did a quick port of the driver and just sent it to the list. Please
> give it a try. I ported only the OTP part for now as the hwrng seems to
> be mostly useless.
>
> I couldn't test it due to lack of hardware, but I hope that at least I
> did it good enough for you to debug it ;)
>
> Regards,
>   Sascha
>




More information about the barebox mailing list