From mboxrd@z Thu Jan 1 00:00:00 1970 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 21467C433F5 for ; Tue, 11 Jan 2022 19:33:30 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 99CC080FDA; Tue, 11 Jan 2022 20:33:28 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ntH5MPjT"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 684EF82A71; Tue, 11 Jan 2022 20:33:27 +0100 (CET) Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D8F4C83022 for ; Tue, 11 Jan 2022 20:33:24 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=aford173@gmail.com Received: by mail-ed1-x52d.google.com with SMTP id 30so503875edv.3 for ; Tue, 11 Jan 2022 11:33:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=p/uAA/NoGuO8PYVJisKVf1zmL7X9rXrEpMy8mjTuKws=; b=ntH5MPjTPyrrhprwTCEOKgrKbK/Q//rub5t1Dj3X91AJ37+KEOcFp9wKV0T1By2Esb sJucyOvTRCFAXfEStg60HsgmrYwBQYxC0RG8p0j16paEHkw6Sy4xElnqy1alpe91MT+z y3mieOkKuiwhcvhAJMCyxins73rRWOrwuCNIjJ4hONYpyK8hQNWHbutpUKZFN1MHYasQ SpjQBbKS3B1S6UyftRmtbHRmOpIBLx58PyqJ7efT79N0bRH0Z+n03WTegLrih5a5NGYW BfBB6a41dQfCjYZVxtEI4UG4l4xw6T3MnTCmdmKSf3Bzpvb0uThkYPcTVqhUuFUfBZ3L jzWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=p/uAA/NoGuO8PYVJisKVf1zmL7X9rXrEpMy8mjTuKws=; b=UxHWHJKpHm5vtxkO+eSQxj6YzNyR5qOORvbaTdN7QtKq7A5sVRpk3POovUhv6efkoi 0tN0wScBBuxBJ4oWU94/2T0WSykk0YEVF5iNrsQIlCUaSDKmDnSNy+gzphnaIoR3B//J /O2ta7RFZiM0Ybvj2UZWw9qIXcMBWiCAzXTAxL/L+if0A9RiFfLMkB5of1gbux7Dt+M0 4nviaaX2bM/syz5kziWZ+rjlC+MM/8RFTCE8n7LJwizELrrQaHlsdNq+4FlRZwIissNU 8Ko/Iajrjcs84Im47yecbzHGMHoA8aYQZceSqsmhZ6BX3jLIwAZN6TOB4u8VgMYhEEMB pa1Q== X-Gm-Message-State: AOAM5317zz2zttl0uQIxhlM4VQCCpBfP/VKsh76ivnlYBGEk20uw1lOo j8uIToYzItEZnV7l168EizSCRPMp+Kx8VVUp8ME= X-Google-Smtp-Source: ABdhPJyaD04FlyxaSLxqL7+iNXgu4uQcz6UtEAzJIpiveOmQhcojlOnpSGouIcnnWi0rdEzgiPF1K6AoBRcHbNf1AsM= X-Received: by 2002:a17:906:ae87:: with SMTP id md7mr5169763ejb.32.1641929604192; Tue, 11 Jan 2022 11:33:24 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Adam Ford Date: Tue, 11 Jan 2022 13:33:12 -0600 Message-ID: Subject: Re: imx: imx8mm: imx8mm-kontron-n801x-s: does not start work To: Heiko Thiery Cc: Fabio Estevam , Michael Walle , Stefano Babic , Simon Glass , U-Boot Mailing List , Frieder Schrempf Content-Type: text/plain; charset="UTF-8" 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.2 at phobos.denx.de X-Virus-Status: Clean On Tue, Jan 11, 2022 at 1:18 AM Heiko Thiery wrote: > > Hi all, > > I wanted to test the newly introduced kontron-sl-mx8mm_defconfig but > it does not work. > > I already found two converted config options that are missing in that defconfig: > > +CONFIG_SPL_MMC=y > +CONFIG_SPL_SERIAL=y > > With that the output appears but the u-boot hangs when trying to find > the binman node in the dtb. > > --- >8 ---- > U-Boot SPL 2022.01-00323-g56915a34d1 (Jan 11 2022 - 08:11:03 +0100) > Kontron SL i.MX8MM (N801X) module, 1 GB RAM detected > Touch controller detected, assuming LVDS panel... > Normal Boot > WDT: Not starting watchdog@30280000 > Trying to boot from MMC2 > NOTICE: BL31: v2.4(release):v2.4 > NOTICE: BL31: Built : 09:46:16, Jan 10 2022 > > > U-Boot 2022.01-00323-g56915a34d1 (Jan 11 2022 - 08:11:03 +0100) > > CPU: Freescale i.MX8MMQ rev1.0 1600 MHz (running at 1200 MHz) > CPU: Industrial temperature grade (-40C to 105C) at 47C > Reset cause: POR > Model: Kontron i.MX8MM N801X S LVDS > DRAM: 1 GiB > binman_init failed:-2 > initcall sequence 000000007ffcef80 failed at call 000000004021f200 (err=-2) > ### ERROR ### Please RESET the board ### > --- >8 ---- > > Does anyone have an idea what goes wrong? I did a diff on your defconfig and compared it to the imx8mm_beacon board, and there are few items that are different, but nothing obvious. I confirmed the Beacon board does boot. You might want to compare your defconfig files with other boards to see if you see something. One main difference is that I have only one DTB file integrated into the FIT file, but you have several. I wonder if that is causing issues. adam > > I already disabled BINMAN_FDT an the u-boot start but when printing > the fdt node I do not see the binman node: > > ---- >8 ---- > > => fdt addr $fdtcontroladdr > => fdt list > / { > interrupt-parent = <0x00000001>; > #address-cells = <0x00000002>; > #size-cells = <0x00000002>; > model = "Kontron i.MX8MM N801X S LVDS"; > compatible = "kontron,imx8mm-n801x-s-lvds", "fsl,imx8mm"; > fit-images { > }; > aliases { > }; > cpus { > }; > opp-table { > }; > clock-osc-32k { > }; > clock-osc-24m { > }; > clock-ext1 { > }; > clock-ext2 { > }; > clock-ext3 { > }; > clock-ext4 { > }; > psci { > }; > pmu { > }; > timer { > }; > thermal-zones { > }; > usbphynop1 { > }; > usbphynop2 { > }; > soc@0 { > }; > memory@40000000 { > }; > chosen { > }; > clock-osc-can { > }; > leds { > }; > pwm-beeper { > }; > regulator-rst-eth2 { > }; > regulator-5v { > }; > backlight { > }; > regpanel-pwr { > }; > regpanel-rst { > }; > regpanel-stby { > }; > regpanel-hinv { > }; > regpanel-vinv { > }; > regulator-24v { > }; > }; > => > > ---- >8 ---- > > Thanks > -- > Heiko