Skip to content

Enable Windows 10 IoT Core on i.MX6 and i.MX7

Henry Beberman u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11imx: Add bootcmd to load and run UEFI from mmcarch/arm/mach-imx/Makefile arch/arm/mach-imx/boot.c common/Kconfig +1 more+66 -05 replies
1/11imx: Add bootcmd to load and run UEFI from mmc+0 -01 reply
1/11imx: Add bootcmd to load and run UEFI from mmc+0 -01 reply
1/11imx: Add bootcmd to load and run UEFI from mmc+0 -00 replies
1/11imx: Add bootcmd to load and run UEFI from mmc+0 -00 replies
1/11imx: Add bootcmd to load and run UEFI from mmc+0 -01 reply
2/11arm: Allow U-Boot Proper to run in normal worldarch/arm/cpu/armv7/Kconfig arch/arm/cpu/armv7/start.S arch/arm/mach-imx/mx7/soc.c +3 more+30 -70 replies
3/11spl: Add FIT boot into OP-TEE then U-Boot properarch/arm/cpu/armv7/Makefile arch/arm/cpu/armv7/optee_jump.S arch/arm/lib/spl.c +3 more+84 -00 replies
4/11spl: imx: Add optional lds to keep SPL entirely in on-chip RAMarch/arm/mach-imx/u-boot-spl-sram.lds include/configs/imx6_spl.h include/configs/imx7_spl.h+63 -02 replies
4/11spl: imx: Add optional lds to keep SPL entirely in on-chip RAM+0 -00 replies
4/11spl: imx: Add optional lds to keep SPL entirely in on-chip RAM+0 -00 replies
5/11mx6sabresd: Add Windows boot support for iMX6 Sabrearch/arm/dts/Makefile arch/arm/dts/imx6qdl-sdb.dts board/freescale/mx6sabresd/MAINTAINERS +3 more+87 -10 replies
6/11mx7dsabresd: Add Windows boot support for iMX7 Sabrearch/arm/mach-imx/mx7/Kconfig board/freescale/mx7dsabresd/MAINTAINERS board/freescale/mx7dsabresd/mx7dsabresd.c +4 more+199 -11 reply
6/11mx7dsabresd: Add Windows boot support for iMX7 Sabre+0 -01 reply
6/11mx7dsabresd: Add Windows boot support for iMX7 Sabre+0 -00 replies
7/11mx6cuboxi: Add Windows boot support for mx6cuboxiarch/arm/dts/Makefile arch/arm/dts/imx6qdl-mx6cuboxi.dts board/solidrun/mx6cuboxi/MAINTAINERS +3 more+88 -00 replies
8/11udoo_neo: Add Windows boot support for UDOO Neoarch/arm/dts/Makefile arch/arm/dts/imx6sx-udoo-neo.dts board/udoo/neo/MAINTAINERS +3 more+81 -00 replies
9/11cl-som-imx7: Add Windows boot support for cl-som-imx7arch/arm/dts/Makefile arch/arm/dts/imx7d-cl-som-imx7.dts board/compulab/cl-som-imx7/MAINTAINERS +4 more+159 -40 replies
10/11imx: Reserve a global page in memory to pass configuration to UEFIarch/arm/mach-imx/Kconfig arch/arm/mach-imx/Makefile arch/arm/mach-imx/boot.c +4 more+82 -00 replies
11/11imx: Add MAC addresses to global page to pass MAC into UEFIarch/arm/mach-imx/Kconfig arch/arm/mach-imx/global_page.c configs/cl-som-imx7_nt_defconfig +4 more+57 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 00/11] Enable Windows 10 IoT Core on i.MX6 and i.MX7

From: Henry Beberman <[email protected]>

This patch series is a collaboration between Microsoft and NXP to enable Windows 10 IoT Core on NXP's iMX6 and iMX7 platforms.

The series contains reference configurations to enable Windows boot on the following
platforms: mx6sabresd, mx7dsabresd, mx6cuboxi, udoo_neo, and cl-som-imx7

These patches enable the following Windows boot flow:
1) U-Boot SPL loads from the MMC into on-chip RAM.
2) SPL loads a Flat Image Tree containing the OP-TEE runtime and U-Boot Proper.
3) SPL disables caches/interrupts and jumps into OP-TEE.
4) OP-TEE initializes then returns to the entry point of U-Boot
Proper in normal mode. OP-TEE is later used as a runtime for Trusted Applications from within Windows.
5) U-Boot Proper initializes the platform bypassing several actions
that would require secure world access.
6) The U-Boot Proper bootcmd loads a UEFI firmware binary from the
first FAT partition of the MMC into memory.
7) An overridden go command will stash the platform MAC address
from the U-Boot env into a page of memory that is preserved for UEFI.
8) The overridden go command will disable caches and interrupts then
jump into UEFI.
9) UEFI initializes the platform further and boots Windows from MMC.

Henry Beberman (11):
imx: Add bootcmd to load and run UEFI from mmc
arm: Allow U-Boot Proper to run in normal world
spl: Add FIT boot into OP-TEE then U-Boot proper
spl: imx: Add optional lds to keep SPL entirely in on-chip RAM
mx6sabresd: nt: Add Windows boot support for iMX6 Sabre
mx7dsabresd: Add Windows boot support for iMX7 Sabre
mx6cuboxi: Add Windows boot support for mx6cuboxi
udoo_neo: Add Windows boot support for UDOO Neo
cl-som-imx7: Add Windows boot support for cl-som-imx7
imx: Reserve a global page in memory to pass configuration to UEFI
imx: Add MAC addresses to global page to pass MAC into UEFI

Cc:  Stefano Babic <[email protected]>
Cc:  Fabio Estevam <[email protected]>
Cc:  Tom Rini <[email protected]>
Cc:  Robert Solomon <[email protected]>
Cc:  Chirag Shah <[email protected]>
Cc:  Robert Oshana <[email protected]>
Cc:  Patrick Stilwell <[email protected]>
 arch/arm/cpu/armv7/Kconfig                |   7 ++
 arch/arm/cpu/armv7/Makefile               |   1 +
 arch/arm/cpu/armv7/optee_jump.S           |  31 +++++++++
 arch/arm/cpu/armv7/start.S                |  11 ++--
 arch/arm/dts/Makefile                     |   4 ++
 arch/arm/dts/imx6qdl-mx6cuboxi.dts        |   8 +++
 arch/arm/dts/imx6qdl-sdb.dts              |   8 +++
 arch/arm/dts/imx6sx-udoo-neo.dts          |   8 +++
 arch/arm/dts/imx7d-cl-som-imx7.dts        |   8 +++
 arch/arm/lib/spl.c                        |  16 +++++
 arch/arm/mach-imx/Kconfig                 |  23 +++++++
 arch/arm/mach-imx/Makefile                |   2 +
 arch/arm/mach-imx/boot.c                  |  25 ++++++++
 arch/arm/mach-imx/global_page.c           |  52 +++++++++++++++
 arch/arm/mach-imx/mx7/Kconfig             |   1 +
 arch/arm/mach-imx/mx7/soc.c               |   7 +-
 arch/arm/mach-imx/syscounter.c            |   2 +
 arch/arm/mach-imx/u-boot-spl-sram.lds     |  59 +++++++++++++++++
 board/compulab/cl-som-imx7/MAINTAINERS    |   2 +
 board/compulab/cl-som-imx7/cl-som-imx7.c  |  47 +++++++++++++-
 board/compulab/cl-som-imx7/spl.c          |   7 ++
 board/freescale/mx6sabresd/MAINTAINERS    |   2 +
 board/freescale/mx6sabresd/mx6sabresd.c   |   9 ++-
 board/freescale/mx7dsabresd/MAINTAINERS   |   1 +
 board/freescale/mx7dsabresd/mx7dsabresd.c |  79 +++++++++++++++++++++++
 board/solidrun/mx6cuboxi/MAINTAINERS      |   2 +
 board/solidrun/mx6cuboxi/mx6cuboxi.c      |   7 ++
 board/udoo/neo/MAINTAINERS                |   2 +
 board/udoo/neo/neo.c                      |   7 ++
 common/Kconfig                            |  17 +++++
 common/spl/Kconfig                        |   9 +++
 common/spl/spl.c                          |   6 ++
 configs/cl-som-imx7_nt_defconfig          |  82 ++++++++++++++++++++++++
 configs/mx6cuboxi_nt_defconfig            |  64 +++++++++++++++++++
 configs/mx6sabresd_nt_defconfig           |  60 ++++++++++++++++++
 configs/mx7dsabresd_nt_defconfig          | 102 ++++++++++++++++++++++++++++++
 configs/udoo_neo_nt_defconfig             |  57 +++++++++++++++++
 drivers/gpio/Makefile                     |   3 +
 drivers/pinctrl/nxp/pinctrl-imx7.c        |   4 +-
 include/config_uefi_bootcmd.h             |  29 +++++++++
 include/configs/cl-som-imx7.h             |  18 +++++-
 include/configs/imx6_spl.h                |   2 +
 include/configs/imx7_spl.h                |   2 +
 include/configs/mx6_common.h              |  16 +++++
 include/configs/mx6cuboxi.h               |   8 +++
 include/configs/mx6sabre_common.h         |  10 +++
 include/configs/mx7_common.h              |  10 +++
 include/configs/mx7dsabresd.h             |  10 +++
 include/configs/udoo_neo.h                |   8 +++
 include/global_page.h                     |  32 ++++++++++
 include/spl.h                             |  21 ++++++
 51 files changed, 995 insertions(+), 13 deletions(-)
 create mode 100644 arch/arm/cpu/armv7/optee_jump.S
 create mode 100644 arch/arm/dts/imx6qdl-mx6cuboxi.dts
 create mode 100644 arch/arm/dts/imx6qdl-sdb.dts
 create mode 100644 arch/arm/dts/imx6sx-udoo-neo.dts
 create mode 100644 arch/arm/dts/imx7d-cl-som-imx7.dts
 create mode 100644 arch/arm/mach-imx/boot.c
 create mode 100644 arch/arm/mach-imx/global_page.c
 create mode 100644 arch/arm/mach-imx/u-boot-spl-sram.lds
 create mode 100644 configs/cl-som-imx7_nt_defconfig
 create mode 100644 configs/mx6cuboxi_nt_defconfig
 create mode 100644 configs/mx6sabresd_nt_defconfig
 create mode 100644 configs/mx7dsabresd_nt_defconfig
 create mode 100644 configs/udoo_neo_nt_defconfig
 create mode 100644 include/config_uefi_bootcmd.h
 create mode 100644 include/global_page.h
Signature · 1 line
2.16.2.gvfs.1.33.gf5370f1