mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Rouven Czerwinski <>
To: Ahmad Fatoum <>,
Subject: Re: [PATCH v2 1/3] ARM: i.MX8MP: bbu: fix wrong flash header offset for eMMC boot partition
Date: Tue, 31 Aug 2021 11:42:19 +0200	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>


On Mon, 2021-08-30 at 13:51 +0200, Ahmad Fatoum wrote:
> According to the reference manual of the i.MX8MP, the bootrom expects
> the bootloader to sit directly at the start of the eMMC boot partition.
> The 32K offset is only valid for eMMC user partitions and SD.
> Tell barebox_update about this, so it can strip away the first 32K
> when writing to an eMMC boot partition.
> Signed-off-by: Ahmad Fatoum <>
> ---
> v1 -> v2:
>   - fix wrong use of flash header offset: This refers to offset in file,
>     but we want to change offset on disk. There is a knob for that
>     (IMX_BBU_FLAG_PARTITION_STARTS_AT_HEADER), so use that instead
> Tested on i.MX8MN.

Whole series is,

Tested-by: Rouven Czerwinski <>

on i.MX8MP-EVK.

Best Regards,

barebox mailing list

      parent reply	other threads:[~2021-08-31  9:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-30 11:51 Ahmad Fatoum
2021-08-30 11:51 ` [PATCH v2 2/3] mci: imx-esdhc-pbl: support eMMC boot partitions on i.MX8MP Ahmad Fatoum
2021-10-04 10:56   ` Sascha Hauer
2021-10-04 11:00     ` Ahmad Fatoum
2021-10-04 11:41       ` Sascha Hauer
2021-08-30 11:51 ` [PATCH v2 3/3] ARM: i.MX8MP: EVK: change bbu handler from eMMC user to boot partition Ahmad Fatoum
2021-08-31  9:42 ` Rouven Czerwinski [this message]

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:

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

  git send-email \ \ \ \ \ \ \

* 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