From: Josua Mayer <josua@solid-run.com>
To: u-boot@lists.denx.de
Cc: sr@denx.de, sjg@chromium.org, kabel@kernel.org,
Josua Mayer <josua@solid-run.com>
Subject: [PATCH v2 0/2] mvebu: clearfog: add support for emmc boot
Date: Wed, 25 Oct 2023 10:22:52 +0200 [thread overview]
Message-ID: <20231025082254.31630-1-josua@solid-run.com> (raw)
On Armada 388 booting from eMMC is different to SD-Card in two major ways:
- Environment location
- Sectors scanned by Boot-ROM
This patchset first makes it possible to select offset 4096 for
eMMC partition. Here U-Boot can be placed to avoid conflict
conflict with MBR.
Secondly the bubt command is updated to use LBA-4096 for eMMC data
partition only, keeping previous values for SD and boot0/1 unchanged
Changes since v1:
- New defconfigs for environment location are skipped in this version,
pending further research if it can be auto-detected.
- invert logic of if statement allowing it to compile both with,
and without CONFIG_SUPPORT_EMMC_BOOT defined.
Reported by Stefan Roese with turris_mox_defconfig, thanks!
Josua Mayer (2):
arm: mvebu: allow additional 4096 offset for bootable mmc image
cmd: mvebu/bubt: move eMMC data-partition uboot from LBA-0 to 4096
arch/arm/mach-mvebu/spl.c | 5 +++--
cmd/mvebu/bubt.c | 11 +++++++++--
2 files changed, 12 insertions(+), 4 deletions(-)
--
2.35.3
next reply other threads:[~2023-10-25 8:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-25 8:22 Josua Mayer [this message]
2023-10-25 8:22 ` [PATCH v2 1/2] arm: mvebu: allow additional 4096 offset for bootable mmc image Josua Mayer
2023-10-26 7:10 ` Stefan Roese
2023-10-27 6:49 ` Stefan Roese
2023-10-25 8:22 ` [PATCH v2 2/2] cmd: mvebu/bubt: move eMMC data-partition uboot from LBA-0 to 4096 Josua Mayer
2023-10-26 7:10 ` Stefan Roese
2023-10-27 6:49 ` 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=20231025082254.31630-1-josua@solid-run.com \
--to=josua@solid-run.com \
--cc=kabel@kernel.org \
--cc=sjg@chromium.org \
--cc=sr@denx.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.