mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: gianluca <gianlucarenzi@eurek.it>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: Barebox as first and second stage bootloader
Date: Wed, 26 Feb 2020 12:57:11 +0100	[thread overview]
Message-ID: <4f2b01e0-ad01-d130-5c8e-9c3acac58770@eurek.it> (raw)

Hello,
I was wondering if it possible to program Barebox (2020.01 or later) as 
first and second stage bootloader using the STM32 Programmer CLI tool.

I have the stm32mp157 evk-dk2 and I would like to have a working 
bootloader (running from SDRAM) via USB programming.

I do not know how the OTP Fuses are set for trusted boot or simple SPL.
I suppose they are TF-A for first stage bootloader and SPL for the 
second one.

The images built by Barebox (start_stm32mp157c_dk2.pblb[.stm32] and 
barebox-stm32mp157c-dk2.img) are suitable to be used as first stage 
bootloader running from internal SRAM and the .img as the second stage 
bootloader running from external SDRAM DDR???

Is there somebody who is working with STM32 Cube Programmer or DFU-Utils 
to obtain this boot??

Regards,
Gianluca Renzi
-- 
Eurek s.r.l.                          |
Electronic Engineering                | http://www.eurek.it
via Celletta 8/B, 40026 Imola, Italy  | Phone: +39-(0)542-609120
p.iva 00690621206 - c.f. 04020030377  | Fax:   +39-(0)542-609212

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2020-02-26 11:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-26 11:57 gianluca [this message]
2020-02-26 14:28 ` Ahmad Fatoum
2020-02-26 14:46   ` gianluca
2020-02-26 15:08     ` Ahmad Fatoum
2020-02-26 15:30       ` gianluca
2020-02-26 15:46         ` Ahmad Fatoum
     [not found]           ` <2b5d2afe-c71e-34b9-efa5-57aaa5f28445@eurek.it>
2020-02-27 11:51             ` Ahmad Fatoum
2020-02-28  7:50               ` gianluca
2020-02-28  8:28                 ` gianluca
2020-03-03  6:58                   ` Ahmad Fatoum
     [not found]           ` <fb81fdd3-b674-ce0b-e472-ec8e606e4131@eurek.it>
2020-03-03  7:03             ` Ahmad Fatoum

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=4f2b01e0-ad01-d130-5c8e-9c3acac58770@eurek.it \
    --to=gianlucarenzi@eurek.it \
    --cc=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /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