From: Bin Meng <bin.meng@processmission.com>
To: QEMU <qemu-devel@nongnu.org>
Cc: "Bin Meng" <bmeng.cn@gmail.com>,
"Jean-Christophe Dubois" <jcd@tribudubois.net>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Philippe Mathieu-Daudé" <philmd@mailo.com>,
"Pierrick Bouvier" <pierrick.bouvier@oss.qualcomm.com>,
qemu-arm@nongnu.org, qemu-block@nongnu.org
Subject: [PATCH 00/10] hw/arm: Enable U-Boot boot on MCIMX6UL-EVK
Date: Wed, 12 Aug 2026 09:36:03 +0800 [thread overview]
Message-ID: <20260812013619.2134092-1-bin.meng@processmission.com> (raw)
The mcimx6ul-evk machine can boot Linux directly, but it cannot run the
U-Boot proper produced by Buildroot far enough to load a kernel from its
SD card. Early U-Boot boot test accesses currently abort or observe
placeholder values, and the i.MX uSDHC model exposes several issues.
This series lets an unmodified Buildroot 2026.05 U-Boot 2024.07 image
run on mcimx6ul-evk, load zImage and imx6ul-14x14-evk.dtb from USDHC2,
start Linux, mount the SD card root file system, and reach the Buildroot
login prompt. It also documents and tests the existing direct Linux boot
path.
Patches 1 through 4 provide the minimum early-firmware-visible state.
Patches 5 through 8 address i.MX uSDHC behavior needed by U-Boot. The
last two patches document both boot paths and add functional tests for
U-Boot and direct Linux boot.
Bin Meng (10):
hw/arm: fsl-imx6ul: Add SCU compatibility window
hw/misc: imx6ul_ccm: Update PMU_MISC0 reset value
hw/arm: fsl-imx6ul: Map early firmware register placeholders
hw/arm: fsl-imx6ul: Add a minimal MMDC geometry model
hw/sd: sdhci: Use a QEMU-local no-busy IRQ quirk bit
hw/sd: sdhci: Honor i.MX uSDHC vendor clock gates
hw/sd: sdhci: Preserve uSDHC status enables for U-Boot
hw/sd: sdhci: Skip SDMA boundary stops for i.MX uSDHC
docs/system/arm: Document MCIMX6UL-EVK Buildroot boot
tests/functional/arm: Add MCIMX6UL-EVK boot tests
MAINTAINERS | 1 +
docs/system/arm/mcimx6ul-evk.rst | 67 +++++++++++++++++
hw/arm/fsl-imx6ul.c | 87 +++++++++++++++++++++-
hw/arm/mcimx6ul-evk.c | 2 +
hw/misc/imx6ul_ccm.c | 2 +-
hw/sd/sdhci.c | 89 +++++++++++++++++++----
include/hw/arm/fsl-imx6ul.h | 2 +
include/hw/sd/sdhci.h | 15 +++-
tests/functional/arm/meson.build | 2 +
tests/functional/arm/test_mcimx6ul_evk.py | 70 ++++++++++++++++++
10 files changed, 315 insertions(+), 22 deletions(-)
create mode 100644 tests/functional/arm/test_mcimx6ul_evk.py
---
base-commit: e8d693e12af9cbb89d724baadfcc08559669e279
branch: imx6ul-evk
--
2.53.0
next reply other threads:[~2026-08-12 1:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-12 1:36 Bin Meng [this message]
2026-08-12 1:36 ` [PATCH 01/10] hw/arm: fsl-imx6ul: Add SCU compatibility window Bin Meng
2026-08-12 1:36 ` [PATCH 02/10] hw/misc: imx6ul_ccm: Update PMU_MISC0 reset value Bin Meng
2026-08-12 1:36 ` [PATCH 03/10] hw/arm: fsl-imx6ul: Map early firmware register placeholders Bin Meng
2026-08-12 1:36 ` [PATCH 04/10] hw/arm: fsl-imx6ul: Add a minimal MMDC geometry model Bin Meng
2026-08-12 1:36 ` [PATCH 05/10] hw/sd: sdhci: Use a QEMU-local no-busy IRQ quirk bit Bin Meng
2026-08-12 1:36 ` [PATCH 06/10] hw/sd: sdhci: Honor i.MX uSDHC vendor clock gates Bin Meng
2026-08-12 1:36 ` [PATCH 07/10] hw/sd: sdhci: Preserve uSDHC status enables for U-Boot Bin Meng
2026-08-12 1:36 ` [PATCH 08/10] hw/sd: sdhci: Skip SDMA boundary stops for i.MX uSDHC Bin Meng
2026-08-12 1:36 ` [PATCH 09/10] docs/system/arm: Document MCIMX6UL-EVK Buildroot boot Bin Meng
2026-08-12 1:36 ` [PATCH 10/10] tests/functional/arm: Add MCIMX6UL-EVK boot tests Bin Meng
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=20260812013619.2134092-1-bin.meng@processmission.com \
--to=bin.meng@processmission.com \
--cc=bmeng.cn@gmail.com \
--cc=jcd@tribudubois.net \
--cc=peter.maydell@linaro.org \
--cc=philmd@mailo.com \
--cc=pierrick.bouvier@oss.qualcomm.com \
--cc=qemu-arm@nongnu.org \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.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 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.