Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Sergey Matyukevich <geomatsi@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] BL2: Failed to load image (-80)
Date: Tue, 8 Jun 2021 22:52:57 +0300	[thread overview]
Message-ID: <YL/KmfuuLHgmtIE+@curiosity> (raw)
In-Reply-To: <CAOiXNkDSm5hf=WH5ECrVN_DkYk4KCwG46_0L6iWbpbXAW4wRig@mail.gmail.com>


Hello Andrey,

> I am currently trying to add support for L-876e.A1 STM32MP1 board from Phytec.
> 
> https://www.phytec.de/en/produkte/single-board-computer/phyboard-sargas-stm32mp1/
> https://www.phytec.de/cdocuments/?doc=d4PmEQ
> 
> My approach is to transfer parts (patches&Co.) from the provided Yocto
> BSP and package them as required by Buildroot.
> 
> I reach the point where the boot process completes successfully and I
> can log in to the shell. However, it works only once after flashing
> the SD card. All the subsequent boots yield the error:
> BL2: Failed to load image (-80)
> and the boot process stopped there.

...

> But maybe there are other possible reasons. I would be thankful for
> any hints on how I can find the reasons for this one-time-only boot
> problem. Of course, when it works I will contribute it back to
> Buildroot.

Some time ago I investigated a similar issue for stm32mp157c-dk2 board.
In my case error code was different, but behavior was similar to yours.
RFC patch and root cause analysis is available in buildroot patchwork:

https://patchwork.ozlabs.org/project/buildroot/patch/20210130204456.793098-1-geomatsi at gmail.com/

Regards,
Sergey

  reply	other threads:[~2021-06-08 19:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-08 15:39 [Buildroot] BL2: Failed to load image (-80) Andrey Nechypurenko
2021-06-08 19:52 ` Sergey Matyukevich [this message]
2021-06-08 20:55   ` Andrey Nechypurenko

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=YL/KmfuuLHgmtIE+@curiosity \
    --to=geomatsi@gmail.com \
    --cc=buildroot@busybox.net \
    /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