From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 23 Sep 2025 11:08:25 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1v0z0b-0008cE-1h for lore@lore.pengutronix.de; Tue, 23 Sep 2025 11:08:25 +0200 Received: from bombadil.infradead.org ([2607:7c80:54:3::133]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1v0z0b-0005UK-06 for lore@pengutronix.de; Tue, 23 Sep 2025 11:08:25 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=V7tODW+PQGIRv52KPWvaaN082wKLyAXll1U0pjkysuk=; b=rlg+GjoQxZO+d68N1w0OVU5InT L/4HSflQauYSiZVRnswQbXDM6hGW28Hj6BaWObStFV3YAbFlsfFFkyRzUoOYARkEOln4sAE47cag/ hfBsyhC5k8z3CTSEQ4rfN5W1xmuceTXEauHkPOc5rJalPVIY4S9w+6oKWP2sZZoVa2bQttrJwG9Ky s9jkQm4ltSRgA7kcl9qjjuF68Vu4R6bdSguDCvj2q37zI5rgOcNvAFi9DvNZ2vhUhZyH/8Eazoq4O 7m0CEys+r1yEwGh5SPS9OCe6vSM31HocqP9Fr9bFBRRh1FtZetDaCFcOx5clXDybQS4q6LmMNGznp 33o1Ic8w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1v0z04-0000000CtAT-1BRt; Tue, 23 Sep 2025 09:07:52 +0000 Received: from cczrelay01.in2p3.fr ([134.158.66.141]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1v0yzw-0000000Ct3r-1JR0 for barebox@lists.infradead.org; Tue, 23 Sep 2025 09:07:50 +0000 Received: from [134.158.124.135] (clrelecpo09w.in2p3.fr [134.158.124.135]) (authenticated bits=0) by cczrelay01.in2p3.fr (8.14.4/8.14.4) with ESMTP id 58N97d0g000676 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO); Tue, 23 Sep 2025 11:07:39 +0200 Message-ID: Date: Tue, 23 Sep 2025 11:07:39 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Sascha Hauer Cc: BAREBOX References: <20250917-boards-enclustra-sa2-add-support-v1-0-2de8f69107a1@clermont.in2p3.fr> <20250917-boards-enclustra-sa2-add-support-v1-6-2de8f69107a1@clermont.in2p3.fr> <00327370-bbd5-4e70-863a-c7cb5a801bf4@clermont.in2p3.fr> <96208dcc-fbd7-478c-b8dc-cad04e04b169@clermont.in2p3.fr> From: David Picard Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250923_020744_679190_6A4A6B47 X-CRM114-Status: GOOD ( 13.10 ) X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "barebox" X-SA-Exim-Connect-IP: 2607:7c80:54:3::133 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-4.2 required=4.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.2 Subject: Re: [PATCH 06/11] boards: enclustra-sa2: read MAC address from EEPROM X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on metis.whiteo.stw.pengutronix.de) 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 >