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 F2B32C19F2D for ; Sat, 13 Aug 2022 15:50:32 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 48DAF848AE; Sat, 13 Aug 2022 17:50:30 +0200 (CEST) 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="mkTFcZEm"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3AACD848CD; Sat, 13 Aug 2022 17:50:29 +0200 (CEST) Received: from mail-vs1-xe29.google.com (mail-vs1-xe29.google.com [IPv6:2607:f8b0:4864:20::e29]) (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 DAA988485C for ; Sat, 13 Aug 2022 17:50:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=matwey.kornilov@gmail.com Received: by mail-vs1-xe29.google.com with SMTP id s129so3476633vsb.11 for ; Sat, 13 Aug 2022 08:50:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc; bh=UlFK5ePDICZr5rKWwFXd0Vugx2lHL8ue8sWRPuIZb9o=; b=mkTFcZEmVlIbd9Dg2QF0c5zzLCbl+FwvMEmN9+o8Kzc51/+uN4jAnLMdDNhR8baY50 6d2C/3Vm+5F0Yh+5EvsPG6IEoFnBYBKBT0Qx707GZ9iaXTHkSGu65dQNHyYW0w/ghj1g po+3X5B6Bvv6AdMIDsDJca135xm6y5x2qgVo1sgfzDMhUhCAg9IL0g63lSTuAi4eBrU5 gR/wMiUZ4sv60MwmZMPLxADpSutX5AuGYakc4dx242B24pY2N0SgMGIxgBQHrrWm7zHD wMY15NfQxWYMgDonuJv3lROW4wfOSAsEyWQpvjAJorUulA3qcWP3hwNtepvtUrE7ZFxF AwXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc; bh=UlFK5ePDICZr5rKWwFXd0Vugx2lHL8ue8sWRPuIZb9o=; b=OaYLU+TNl+WHnOkErMiCho6krzsn2pQ6XFDXBDyEqXTIRBcbvL9P1NOk9dtrpTI2ky 2QA9Qptm8Qk+uhwVTWMUFfxLA8IUUyaJFGKRqxgs/017ggyMFmtotZYh6ELfasYqHnD5 TAnUv1DhIsqTHkj39l5Aqc3mVWHGEXvNMgi4GCNbRR385bLTqaunjtXfzVfKrvnI/x0D dd3IgaSG/xpffpIfPFzt3ynoX91ArV55BW7xyuZqNE0RVeszuZEN7k8RKBsislqtfrSV ywCNF8mIYdYEzdbT11UGSM08ohR7ztNBd4OVrpiu3uVtenStank9Re7DTSGfXkaoPNaR nbyQ== X-Gm-Message-State: ACgBeo0aucJnHhPX2SQfDlt3E5yhKAF+JifqjMdUruMK//GPkJogQxjc ntnjk8qGOBFvasDoROqqF1GY0d6rf16Isg448/G7/ixrC7CDng== X-Google-Smtp-Source: AA6agR7iGzeQ90il9Zdwj+QnOs3AyoANsVjBSNyvUAELFfJAbUWGa4Uvuqtzm4JnWg3QFZo0F54EfNVxITULzPNj6kE= X-Received: by 2002:a67:c38b:0:b0:37b:ae42:9d8a with SMTP id s11-20020a67c38b000000b0037bae429d8amr3727134vsj.8.1660405824585; Sat, 13 Aug 2022 08:50:24 -0700 (PDT) MIME-Version: 1.0 References: <20220729163256.GR1146598@bill-the-cat> <20220729164628.GS1146598@bill-the-cat> <20220810225202.uegc7jzhecmza3ya@snorkel> In-Reply-To: <20220810225202.uegc7jzhecmza3ya@snorkel> From: "Matwey V. Kornilov" Date: Sat, 13 Aug 2022 18:50:13 +0300 Message-ID: Subject: Re: [BISECTED] BeagleBone Black doesn't boot after a58147c2dbbf To: Nishanth Menon Cc: Robert Nelson , Tom Rini , U-Boot Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 =D1=87=D1=82, 11 =D0=B0=D0=B2=D0=B3. 2022 =D0=B3. =D0=B2 01:52, Nishanth Me= non : > > On 11:40-20220807, Matwey V. Kornilov wrote: > > =D0=BF=D1=82, 5 =D0=B0=D0=B2=D0=B3. 2022 =D0=B3. =D0=B2 18:01, Robert N= elson : > > > > > > On Fri, Jul 29, 2022 at 12:07 PM Matwey V. Kornilov > > > wrote: > > > > > > > > =D0=BF=D1=82, 29 =D0=B8=D1=8E=D0=BB. 2022 =D0=B3. =D0=B2 19:46, Tom= Rini : > > > > > > > > > > On Fri, Jul 29, 2022 at 07:38:28PM +0300, Matwey V. Kornilov wrot= e: > > > > > > =D0=BF=D1=82, 29 =D0=B8=D1=8E=D0=BB. 2022 =D0=B3. =D0=B2 19:32,= Tom Rini : > > > > > > > > > > > > > > On Fri, Jul 29, 2022 at 07:20:11PM +0300, Matwey V. Kornilov = wrote: > > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > > > I've tried to build an am335x_evm_defconfig u-boot to use i= t on my > > > > > > > > BeagleBone Black board. Surprisingly, I've found that it do= esn't work, > > > > > > > > I see the silent console: no messages even from SPL. > > > > > > > > > > > > > > > > Using bisect I've found that the following commit breaks th= e booting: > > > > > > > > > > > > > > > > a58147c2dbbf ("board: ti: common: board_detect: Do 1byt= e address > > > > > > > > checks first.") > > > > > > > > > > > > > > > > Could you please help me? > > > > > > > > > > > > > > Can you share some more details about which BeagleBone Black = you have, > > > > > > > specifically the revision? > > > > > > > > > > > > It is an ordinary C revision. Unfortunately, I cannot remember = who the > > > > > > producer was. As far as I know many companies made BeagleBone B= lack > > > > > > and EEPROM content can be different. > > > > > > > > > > OK, that'll help some. Can you see what the specific part number= of the > > > > > EEPROM is? That might also help Nishanth figure out what to do h= ere. > > > > > > > > Attached here is the EEPROM dump. > > > > > > .U3.A335BNLT00C0 > > > > > > Ah, the "CO"... i'm pretty sure that board was made by Element14, > > > (they messed up the position of the "C") not that it really mattered > > > as the A335BNLT is only used.. > > > > Hi Robert, > > > > I have BBB from different vendors, and I do remember that I've > > purchased the Element14 version at some point. However, I've messed > > everything up and cannot figure out which board from which vendor. You > > are the most probably right, but still I cannot confirm the origin. > > > > > > > > Can you please take a quick snapshot of the eeprom, it should be... > > > 24LC32AT-I/OT but maybe they used another variation.. > > > > Attached here is U7. It says M67E. 24AA32A/24LC32A datasheet page 14 > > says that it should be 24LC32AI. > > > > Wierd.. took me a bit of digging, but I did get the element14 beaglebone > rev C black board as well.. but it boots fine for me. > > https://gist.github.com/nmenon/104f040a67a6af0b0418c95ad83ad50b > > I tested the very tip of master: > 3dd4e916324e Merge https://source.denx.de/u-boot/custodians/u-boot-marvel= l > > Seemed to boot fine. Apparently it is supposed to be the same type as > your board as well and it boots just fine on master. > > U7, however, on my board, is unmarked. > > Not really sure what to make of this. Hi, I am finally able to run debug UART (temporarily reverting 0dba4586), and I see the following now: Bad EEPROM or unknown board, cannot configure pinmux. > > -- > Regards, > Nishanth Menon > Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DD= B5 849D 1736 249D --=20 With best regards, Matwey V. Kornilov