All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Matwey V. Kornilov" <matwey.kornilov@gmail.com>
To: Nishanth Menon <nm@ti.com>
Cc: Robert Nelson <robertcnelson@gmail.com>,
	Tom Rini <trini@konsulko.com>,
	 U-Boot Mailing List <u-boot@lists.denx.de>
Subject: Re: [BISECTED] BeagleBone Black doesn't boot after a58147c2dbbf
Date: Thu, 11 Aug 2022 10:47:18 +0300	[thread overview]
Message-ID: <CAJs94EbupM2r0nWMbrC_UD9nBMzf_dTCq2MNs+8djKZt4bU=rA@mail.gmail.com> (raw)
In-Reply-To: <CAJs94EYaUEnopqGvi-3yxUTob7JbA1aae75UyPs3FP3AjQiCyQ@mail.gmail.com>

Can somebody please advise me working CONFIG_DEBUG_UART _* values for
the board? I think I need to obtain some output from the board to
debug it further.

чт, 11 авг. 2022 г. в 09:56, Matwey V. Kornilov <matwey.kornilov@gmail.com>:
>
> чт, 11 авг. 2022 г. в 01:52, Nishanth Menon <nm@ti.com>:
> >
> > On 11:40-20220807, Matwey V. Kornilov wrote:
> > > пт, 5 авг. 2022 г. в 18:01, Robert Nelson <robertcnelson@gmail.com>:
> > > >
> > > > On Fri, Jul 29, 2022 at 12:07 PM Matwey V. Kornilov
> > > > <matwey.kornilov@gmail.com> wrote:
> > > > >
> > > > > пт, 29 июл. 2022 г. в 19:46, Tom Rini <trini@konsulko.com>:
> > > > > >
> > > > > > On Fri, Jul 29, 2022 at 07:38:28PM +0300, Matwey V. Kornilov wrote:
> > > > > > > пт, 29 июл. 2022 г. в 19:32, Tom Rini <trini@konsulko.com>:
> > > > > > > >
> > > > > > > > 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 it on my
> > > > > > > > > BeagleBone Black board. Surprisingly, I've found that it doesn't work,
> > > > > > > > > I see the silent console: no messages even from SPL.
> > > > > > > > >
> > > > > > > > > Using bisect I've found that the following commit breaks the booting:
> > > > > > > > >
> > > > > > > > >     a58147c2dbbf ("board: ti: common: board_detect: Do 1byte 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 Black
> > > > > > > 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 here.
> > > > >
> > > > > 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-marvell
>
> 3dd4e916324e doesn't work,
> 3dd4e916324e + reverted a58147c2dbbf boots:
>
> U-Boot SPL 2022.10-rc2-00029-g3dd4e91632-dirty (Aug 11 2022 - 09:50:59 +0300)
> Trying to boot from MMC1
>
>
> U-Boot 2022.10-rc2-00029-g3dd4e91632-dirty (Aug 11 2022 - 09:50:59 +0300)
>
> CPU  : AM335X-GP rev 2.1
> Model: TI AM335x BeagleBone Black
> DRAM:  512 MiB
> Core:  160 devices, 18 uclasses, devicetree: separate
> WDT:   Started wdt@44e35000 with servicing (60s timeout)
> NAND:  0 MiB
> MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
> Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1...
> <ethaddr> not set. Validating first E-fuse MAC
> Net:   eth2: ethernet@4a100000, eth3: usb_ether
> Hit any key to stop autoboot:  0
> => i2c dev 0 ; i2c md 0x50 0x00.2 400
> Setting bus to 0
> 0000: aa 55 33 ee 41 33 33 35 42 4e 4c 54 30 30 43 30    .U3.A335BNLT00C0
> 0010: 34 34 31 34 42 42 42 4b 31 30 30 30 ff ff ff ff    4414BBBK1000....
> 0020: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
> 0030: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
> 0040: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
> 0050: 58 41 4e 30 30 31 30 30 30 58 58 58 58 58 58 58    XAN001000XXXXXXX
> 0060: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
> 0070: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
> 0080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
> 0090: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
> 00a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
>
>
>
>
> >
> > 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.
> >
> > --
> > Regards,
> > Nishanth Menon
> > Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
>
>
>
> --
> With best regards,
> Matwey V. Kornilov



-- 
With best regards,
Matwey V. Kornilov

  reply	other threads:[~2022-08-11  7:47 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-29 16:20 [BISECTED] BeagleBone Black doesn't boot after a58147c2dbbf Matwey V. Kornilov
2022-07-29 16:32 ` Tom Rini
2022-07-29 16:38   ` Matwey V. Kornilov
2022-07-29 16:46     ` Tom Rini
2022-07-29 17:06       ` Matwey V. Kornilov
2022-08-02  7:46         ` Matwey V. Kornilov
2022-08-05 15:00         ` Robert Nelson
2022-08-07  8:40           ` Matwey V. Kornilov
2022-08-10 22:52             ` Nishanth Menon
2022-08-11  6:56               ` Matwey V. Kornilov
2022-08-11  7:47                 ` Matwey V. Kornilov [this message]
2022-08-11 12:46                   ` Tom Rini
2022-08-11 12:53                     ` Alex Kiernan
2022-08-11 16:11                       ` Matwey V. Kornilov
2022-08-13 15:31                         ` Matwey V. Kornilov
2022-08-13 15:42                           ` Tom Rini
2022-08-13 15:50               ` Matwey V. Kornilov
     [not found]                 ` <20220815121657.nvjae4zjjftfo4gb@matcher>
2022-08-15 17:30                   ` Matwey V. Kornilov
2022-08-15 17:53                     ` Nishanth Menon
2022-08-15 18:12                       ` Matwey V. Kornilov
     [not found]                         ` <20220815195644.l6or6z6hg5igxzzm@humbly>
     [not found]                           ` <CAJs94EbKW3OLKXxTUX7PANWkY5QEOC0DREfhxP6fTOVEFydbdA@mail.gmail.com>
     [not found]                             ` <CAJs94Ea-2n56j-=gu4VyjQMro9nQFCj7JtRQVTGSSoAc+CqbVw@mail.gmail.com>
     [not found]                               ` <CAJs94EbReuKoq_28jrdrdHQDmpAn9zW0YS=9s20yS=p_mF5pNA@mail.gmail.com>
     [not found]                                 ` <20220816012722.bt2xcizturouc4fi@nursing>
2022-08-16 14:18                                   ` Matwey V. Kornilov
2022-08-18  8:28                                     ` Matwey V. Kornilov
2022-08-19  9:30                                       ` Nishanth Menon
2022-08-19 13:56                                         ` Robert Nelson
2022-08-23  3:54                                           ` Nishanth Menon
2022-08-23  5:47                                             ` Matwey V. Kornilov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJs94EbupM2r0nWMbrC_UD9nBMzf_dTCq2MNs+8djKZt4bU=rA@mail.gmail.com' \
    --to=matwey.kornilov@gmail.com \
    --cc=nm@ti.com \
    --cc=robertcnelson@gmail.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.