public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Andre Heider <a.heider@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH 2/2] arm: mvebu: Espressobin: Setup MTD partitions when booting kernel
Date: Thu, 27 Aug 2020 18:29:48 +0200	[thread overview]
Message-ID: <7d34df2b-b7d2-facd-ae2a-487470340b83@gmail.com> (raw)
In-Reply-To: <20200819142417.15771-2-pali@kernel.org>

On 19/08/2020 16:24, Pali Roh?r wrote:
> Due to different partition layouts in different U-Boot versions, DTS for
> Espressobin in Linux does not contain any definition of MTD partitions.
> See commit https://git.kernel.org/stable/c/00954566464a4 for more details.
> 
> This patch via ft_board_setup() hook fills current partition layout used by
> U-Boot, so booted kernel would see correct MTD partitions layout.
> 
> U-Boot env partition is calculated from CONFIG_ENV_OFFSET option.
> 
> First partition contains secure firmware, ARM trusted firmware and U-Boot
> with checksums. So it is not possible to replace just one image (e.g.
> U-Boot) without updating other parts where is stored checksum of U-Boot.
> Therefore there is no extra partition defined for U-Boot and first
> partition is called just 'firmware'.
> 
> Signed-off-by: Pali Roh?r <pali@kernel.org>

Tested-by: Andre Heider <a.heider@gmail.com>

  parent reply	other threads:[~2020-08-27 16:29 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-19 14:24 [PATCH 1/2] arm: mvebu: Espressobin: Make SPI env offset compatible with Marvell's U-Boot Pali Rohár
2020-08-19 14:24 ` [PATCH 2/2] arm: mvebu: Espressobin: Setup MTD partitions when booting kernel Pali Rohár
2020-08-19 18:01   ` [EXT] " Kostya Porotchkin
2020-08-20  5:02   ` Stefan Roese
2020-08-20  7:40     ` Pali Rohár
2020-08-20  8:17       ` Stefan Roese
2020-08-20  8:51         ` Pali Rohár
2020-08-20 11:12           ` Pali Rohár
2020-08-20 11:19             ` Stefan Roese
2020-08-20 11:45               ` Pali Rohár
2020-08-20 12:03           ` Pali Rohár
2020-08-20 12:09             ` Stefan Roese
2020-08-25 10:42               ` Pali Rohár
2020-08-27 16:29   ` Andre Heider [this message]
2020-08-31 13:05   ` Stefan Roese
2020-08-19 17:59 ` [EXT] [PATCH 1/2] arm: mvebu: Espressobin: Make SPI env offset compatible with Marvell's U-Boot Kostya Porotchkin
2020-08-20  4:59 ` Stefan Roese
2020-08-27 16:29 ` Andre Heider
2020-08-31 13:05 ` Stefan Roese

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=7d34df2b-b7d2-facd-ae2a-487470340b83@gmail.com \
    --to=a.heider@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox