Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A781AC636CD for ; Fri, 10 Feb 2023 15:34:50 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1AF6A85FD5; Fri, 10 Feb 2023 16:34:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=kabelmail.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 1EA1185742; Fri, 10 Feb 2023 16:32:41 +0100 (CET) Received: from relay-b03.edpnet.be (relay-b03.edpnet.be [212.71.1.220]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 20EC985CF9 for ; Fri, 10 Feb 2023 16:32:17 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=kabelmail.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=janpieter.sollie@kabelmail.de X-ASG-Debug-ID: 1676043135-15c435469c9160c0001-4l7tJC Received: from [192.168.177.53] (213.219.188.14.adsl.dyn.edpnet.net [213.219.188.14]) by relay-b03.edpnet.be with ESMTP id oFfFXLfbfMypVjdl; Fri, 10 Feb 2023 16:32:15 +0100 (CET) X-Barracuda-Envelope-From: janpieter.sollie@kabelmail.de X-Barracuda-Effective-Source-IP: 213.219.188.14.adsl.dyn.edpnet.net[213.219.188.14] X-Barracuda-Apparent-Source-IP: 213.219.188.14 Message-ID: <8ce76097-4890-08ce-a38c-74ebec6ccfe5@kabelmail.de> Date: Fri, 10 Feb 2023 16:32:03 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Content-Language: en-US, nl-BE To: Peter Robinson Cc: u-boot@lists.denx.de References: <57009289-84a8-8b3f-a2ed-87ced76671d5@kabelmail.de> From: Janpieter Sollie Subject: Re: rk3328 broken between v2022.04 and v2022.07 - still not working with v2023.01 In-Reply-To: X-ASG-Orig-Subj: Re: rk3328 broken between v2022.04 and v2022.07 - still not working with v2023.01 X-Barracuda-Connect: 213.219.188.14.adsl.dyn.edpnet.net[213.219.188.14] X-Barracuda-Start-Time: 1676043135 X-Barracuda-URL: https://212.71.1.220:443/cgi-mod/mark.cgi X-Barracuda-Scan-Msg-Size: 3812 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.50 X-Barracuda-Spam-Status: No, SCORE=0.50 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=7.0 tests=BSF_RULE7568M, HTML_MESSAGE X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.104592 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 HTML_MESSAGE BODY: HTML included in message 0.50 BSF_RULE7568M Custom Rule 7568M Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.39 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Op 10/02/2023 om 13:41 schreef Peter Robinson: > On Fri, Feb 10, 2023 at 12:31 PM Janpieter Sollie > wrote: >> Hello, >> >> After a few years, I tried updating my u-boot 2021 to a more recent version, as the linux kernel >> complained "ATF needs update". >> The device I'm using is a nanopi neo3 2GB (more or less the same compared to NanoPi R2S, both >> RK3328 platform). >> >> Starting from 2023.04-rc1, I couldn't get it running: in TPL, it complained "out of memory". >> A hint on IRC made me pull back to v2022.04, which works with a few mods, but there's one >> (minor) thing not working: >> board_misc_init() causes a function call failed. Probably because efuse isn't working properly? >> I also had to modify the device tree a bit: > I have the Rock64 running 2022.10 without issues. > On your advice, I tested these as well 2022.10 and 2023.1. seems to work when the patches are applied.  However, still no misc_init(): initcall sequence 000000007ffcf0b0 failed at call 0000000000202ff8 (err=-1) ### ERROR ### Please RESET the board ### in the map file I see this points to misc_init() but I guess your advice already obsoletes my statement, it's only "2023.04-rc1" now. make oldconfig seems to be a bad idea, simply defconfig and make modifications again seems to be a much safer choice. Any way I could help fixing the misc_init_f()? kind regards, Janpieter Sollie