public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Nishanth Menon <nm@ti.com>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Alexander Sverdlin <alexander.sverdlin@gmail.com>,
	Neha Francis <n-francis@ti.com>, Tom Rini <trini@konsulko.com>,
	Simon Glass <sjg@google.com>, Bryan <bb@ti.com>,
	Praneeth <praneeth@ti.com>, Andrew <afd@ti.com>,
	Robert Nelson <robertcnelson@gmail.com>,
	Vignesh <vigneshr@ti.com>, <u-boot@lists.denx.de>,
	Mattijs Korpershoek <mkorpershoek@baylibre.com>,
	Simon Glass <sjg@chromium.org>,
	Andreas Dannenberg <dannenberg@ti.com>,
	Romain Naour <romain.naour@smile.fr>
Subject: Re: [PATCH V6 07/20] configs: am62x_evm_a53_defconfig: Switch to bootstd
Date: Tue, 20 Feb 2024 06:47:28 -0600	[thread overview]
Message-ID: <20240220124728.bbywtw254jgz3eee@obsession> (raw)
In-Reply-To: <782ea2c0-eef5-478d-a122-cc6e2d066762@siemens.com>

On 08:48-20240220, Jan Kiszka wrote:
> On 19.02.24 19:37, Jan Kiszka wrote:
> > On 17.02.24 12:36, Alexander Sverdlin wrote:
> >> Hi Jan!
> >>
> >> On Sat, 2024-02-17 at 09:42 +0100, Jan Kiszka wrote:
> >>>> U-Boot 2024.01 (Feb 15 2024 - 01:43:17 +0100)
> >>>>
> >>>> SoC:   AM62X SR1.0 HS-FS
> >>>> Model: Texas Instruments AM625 SK
> >>>> DRAM:  2 GiB
> >>>> Core:  56 devices, 23 uclasses, devicetree: separate
> >>>> MMC:   mmc@fa10000: 0, mmc@fa00000: 1
> >>>> Loading Environment from nowhere... OK
> >>>> In:    serial@2800000
> >>>> Out:   serial@2800000
> >>>> Err:   serial@2800000
> >>>> Net:   eth0: ethernet@8000000port@1
> >>>> Hit any key to stop autoboot:  0 
> >>>> switch to partitions #0, OK
> >>>> mmc1 is current device
> >>>> SD/MMC found on device 1
> >>>> Failed to load 'uEnv.txt'
> >>>> Scanning for bootflows in all bootdevs
> >>>> Seq  Method       State   Uclass    Part  Name                      Filename
> >>>> ---  -----------  ------  --------  ----  ------------------------  ----------------
> >>>> Scanning global bootmeth 'efi_mgr':
> >>>> No EFI system partition
> >>>> No EFI system partition
> >>>> Failed to persist EFI variables
> >>>> Scanning bootdev 'mmc@fa00000.bootdev':
> >>>> Scanning bootdev 'mmc@fa10000.bootdev':
> >>>> Unknown uclass 'usb' in label
> >>>> link up on port 1, speed 100, full duplex
> >>>> BOOTP broadcast 1
> >>>> BOOTP broadcast 2
> >>>> BOOTP broadcast 3

I am pretty sure ethernet is not enabled in upstream u-boot.

> >>>> ...
> >>>> ---
> >>>>
> >>>> I suppose TI's BSP has older U-Boot... So it's not providing necessary
> >>>> script for BOOTSTD, I suppose?
> >>>>
> >>>
> >>> You can make the BeagleBone boot via EFI, but it requires a hybrid
> >>> partition table (ROM loader want DOS, EFI needs GPT). A Debian
> >>> integration with this can be found for Isar [1] in this series [2]. It's
> >>> only using upstream sources (plus still one u-boot patch to get wifi
> >>> working).
> >>>
> >>> If you want legacy script booting, I suspect you need to flip some extra
> >>> switches explicitly by now.
> >>
> >> Thanks for the hints!
> >> I'm wondering, if this was a deliberate "let's stop booting all the
> >> pre-existing embedded distros" decision? (buildroot, yocto/meta-ti...)

It was more of a "lets standardize one way of booting across all ARM
devices as much as we can" effort - EBBR and others inclusive. To that
effort,  distro_boot and bootstd have made significant steps forward.
NOTE: yocto, buildroot etc will need a few tweaks to get things
operational unfortunately. BUT, note: bootstd was what beagleplay was
introduced upstream as default in the first place - so all we are
finding is that introduced behavior.

> >>
> > 
> > FWIW, I'm not seeing other boot methods being specifically disabled in
> > beagleplay in 2024.01 or even newer. I didn't try the result, but this
> > may actually be some other issue and real bug, nothing obviously intended.
> > 
> 
> I'm not even sure about this anymore, though there is still a bug, just 
> a different one:
> 
> ...
> U-Boot 2024.04-rc2-00040-g3e6f2a94bfc (Feb 20 2024 - 08:42:59 +0100)
> 
> SoC:   AM62X SR1.0 GP
> Model: BeagleBoard.org BeaglePlay
> DRAM:  2 GiB
> Core:  98 devices, 27 uclasses, devicetree: separate
> MMC:   mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2
> Loading Environment from nowhere... OK
> In:    serial@2800000
> Out:   serial@2800000
> Err:   serial@2800000
> Net:   No ethernet found.
> 
> Press SPACE to abort autoboot in 2 seconds
> => print bootmeths 
> bootmeths=script extlinux efi pxe
> => bootflow scan -l
> Scanning for bootflows in all bootdevs
> Seq  Method       State   Uclass    Part  Name                      Filename
> ---  -----------  ------  --------  ----  ------------------------  ----------------
> Scanning bootdev 'mmc@fa00000.bootdev':
>   0  efi          ready   mmc          2  mmc@fa00000.bootdev.part_ efi/boot/bootaa64.efi
> Scanning bootdev 'mmc@fa10000.bootdev':
>   1  extlinux     ready   mmc          1  mmc@fa10000.bootdev.part_ /extlinux/extlinux.conf
> Unknown uclass 'usb' in label
> "Synchronous Abort" handler, esr 0x86000004, far 0x3030303030303840
> elr: 3030302fb0bc0840 lr : 3030302fb0bc0840 (reloc)
> elr: 3030303030303840 lr : 3030303030303840
> x0 : 00000000ffffffed x1 : 0000000000000000
> x2 : 0000000000000002 x3 : 00000000ffb49d30
> x4 : 00000000fffd4c00 x5 : 00000000ffb49d50
> x6 : 0000000000000000 x7 : 00000000ffb4e890
> x8 : 0000000000006924 x9 : 00000000ffb1212c
> x10: 0000000000000003 x11: 0000000000006914
> x12: 00000000ffb1221c x13: 00000000ffb12b40
> x14: 00000000ffb12b40 x15: 00000000ffb12535
> x16: 00000000fff8a9d4 x17: 0000000000000000
> x18: 00000000ffb23da0 x19: 0000314074726f70
> x20: 00000000fffed000 x21: 00000000fffef000
> x22: 0000000000000000 x23: 00000000fffef000
> x24: 00000000fffef000 x25: 0000000000000000
> x26: 00000000fffc7174 x27: 0000000000000000
> x28: 0000000000000000 x29: 74656e7265687465
> 
> Same with 2024.01 release.

boot_targets=mmc1 mmc0 usb pxe

networking ran into some significant challenges. I was hoping to get
networking merged but the series got offset and network never made it..
Dropping pxe from boot_targets

=> setenv boot_targets mmc1 mmc0 usb
=> print bootmeths
bootmeths=script extlinux efi pxe
=> print boot_targets
boot_targets=mmc1 mmc0 usb
=> bootflow scan -l
Scanning for bootflows in all bootdevs
Seq  Method       State   Uclass    Part  Name                      Filename
---  -----------  ------  --------  ----  ------------------------  ----------------
Scanning bootdev 'mmc@fa00000.bootdev':
  0  extlinux     ready   mmc          1  mmc@fa00000.bootdev.part_ /extlinux/extlinux.conf
Scanning bootdev 'mmc@fa10000.bootdev':
  1  extlinux     ready   mmc          1  mmc@fa10000.bootdev.part_ /extlinux/extlinux.conf
Unknown uclass 'usb' in label
No more bootdevs
---  -----------  ------  --------  ----  ------------------------  ----------------
(2 bootflows, 2 valid)
=>



-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D

  reply	other threads:[~2024-02-20 14:47 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-25 18:02 [PATCH V6 00/20] board: ti: Add support for BeaglePlay Nishanth Menon
2023-08-25 18:02 ` [PATCH V6 01/20] include: env: ti: mmc: envboot/mmcboot: Check result of mmc dev before proceeding Nishanth Menon
2023-08-25 21:51   ` Tom Rini
2023-08-28 15:18   ` Mattijs Korpershoek
2023-09-09 13:30   ` Tom Rini
2023-08-25 18:02 ` [PATCH V6 02/20] include: env: ti: mmc: envboot: Only attempt boot.scr if BOOTSTD is not enabled Nishanth Menon
2023-08-25 21:51   ` Tom Rini
2023-08-28 15:25   ` Mattijs Korpershoek
2023-08-25 18:02 ` [PATCH V6 03/20] include: configs: ti_armv7_common: Add documentation for protected section Nishanth Menon
2023-08-25 18:02 ` [PATCH V6 04/20] include: configs: am62x_evm: Drop unused SDRAM address Nishanth Menon
2023-08-28 15:27   ` Mattijs Korpershoek
2023-08-25 18:02 ` [PATCH V6 05/20] include: configs: am62x_evm: Wrap distroboot with CONFIG_DISTRO_DEFAULTS Nishanth Menon
2023-08-28 15:27   ` Mattijs Korpershoek
2023-08-25 18:02 ` [PATCH V6 06/20] board: ti: am62x: am62x.env: Add explicit boot_targets Nishanth Menon
2023-08-28 15:28   ` Mattijs Korpershoek
2023-08-25 18:02 ` [PATCH V6 07/20] configs: am62x_evm_a53_defconfig: Switch to bootstd Nishanth Menon
2023-08-25 21:51   ` Tom Rini
2023-08-28 15:28   ` Mattijs Korpershoek
2024-02-17  3:11   ` Alexander Sverdlin
2024-02-17  8:42     ` Jan Kiszka
2024-02-17 11:36       ` Alexander Sverdlin
2024-02-19 18:37         ` Jan Kiszka
2024-02-20  7:48           ` Jan Kiszka
2024-02-20 12:47             ` Nishanth Menon [this message]
2024-02-20 12:50           ` Nishanth Menon
2024-02-21  9:10           ` Francesco Dolcini
2024-02-21  9:19             ` Jan Kiszka
2023-08-25 18:02 ` [PATCH V6 08/20] include: configs: am62x_evm: Drop distro_bootcmd usage Nishanth Menon
2023-08-28 15:30   ` Mattijs Korpershoek
2023-08-25 18:02 ` [PATCH V6 09/20] include: env: ti: ti_armv7_common.env: Rename to ti_common.env Nishanth Menon
2023-08-25 18:02 ` [PATCH V6 10/20] include: env: ti: Add a generic default_findfdt.env Nishanth Menon
2023-08-25 21:52   ` Tom Rini
2023-08-28 15:32   ` Mattijs Korpershoek
2023-08-25 18:02 ` [PATCH V6 11/20] board: ti: am62x: am62x.env: Use default findfdt Nishanth Menon
2023-08-28 15:33   ` Mattijs Korpershoek
2023-08-25 18:02 ` [PATCH V6 12/20] arm: mach-k3: am625_init: Use IS_ENABLED() Nishanth Menon
2023-08-25 18:02 ` [PATCH V6 13/20] arm: mach-k3: am625_init: Convert rtc_erratumi2327_init to static Nishanth Menon
2023-08-25 18:02 ` [PATCH V6 14/20] configs: am62x_evm*: Enable EMMC_BOOT configuration Nishanth Menon
2023-08-25 18:03 ` [PATCH V6 15/20] arm: mach-k3: am625: Add support for UDA FS Nishanth Menon
2023-08-25 18:03 ` [PATCH V6 16/20] configs: am62x_evm_a53_defconfig: Disable semi-functional PSCI reset support Nishanth Menon
2023-08-28 15:34   ` Mattijs Korpershoek
2023-08-25 18:03 ` [PATCH V6 17/20] arm: dts: k3-am625-sk-binman: Add labels for unsigned binary Nishanth Menon
2023-08-25 18:03 ` [PATCH V6 18/20] arm: dts: Add k3-am625-beagleplay Nishanth Menon
2023-08-25 18:03 ` [PATCH V6 19/20] board: ti: am62x: Add am62x_beagleplay_* defconfigs and env file Nishanth Menon
2023-08-25 21:52   ` Tom Rini
2023-08-25 18:03 ` [PATCH V6 20/20] doc: board: ti: Add BeaglePlay documentation Nishanth Menon
2023-08-28 15:18 ` [PATCH V6 00/20] board: ti: Add support for BeaglePlay Mattijs Korpershoek

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=20240220124728.bbywtw254jgz3eee@obsession \
    --to=nm@ti.com \
    --cc=afd@ti.com \
    --cc=alexander.sverdlin@gmail.com \
    --cc=bb@ti.com \
    --cc=dannenberg@ti.com \
    --cc=jan.kiszka@siemens.com \
    --cc=mkorpershoek@baylibre.com \
    --cc=n-francis@ti.com \
    --cc=praneeth@ti.com \
    --cc=robertcnelson@gmail.com \
    --cc=romain.naour@smile.fr \
    --cc=sjg@chromium.org \
    --cc=sjg@google.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=vigneshr@ti.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox