Skip to content

imx: introduce rdc and boot auxiliary core

Peng Fan u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest11 patches 0 repliesNew
  2. v111 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11imx: mx6: introduce rdc regsarch/arm/include/asm/arch-mx6/imx-regs.h+24 -00 replies
2/11imx: imx-common: introduce Resource Domain Controller supportarch/arm/imx-common/Kconfig arch/arm/imx-common/Makefile arch/arm/imx-common/rdc-sema.c +2 more+304 -00 replies
3/11imx: mx6sx Add RDC mappings of masters and peripheralsarch/arm/include/asm/arch-mx6/imx-rdc.h arch/arm/include/asm/arch-mx6/mx6sx_rdc.h+159 -00 replies
4/11imx: mx7d: Add RDC supportarch/arm/include/asm/arch-mx7/imx-rdc.h arch/arm/include/asm/arch-mx7/imx-regs.h arch/arm/include/asm/arch-mx7/mx7d_rdc.h+182 -00 replies
5/11imx: mx7d: clock support for RDCarch/arm/cpu/armv7/mx7/clock.c+6 -00 replies
6/11imx: imx-common: introduce boot auxiliary corearch/arm/imx-common/Kconfig arch/arm/imx-common/Makefile arch/arm/imx-common/imx_bootaux.c+79 -00 replies
7/11imx: mx6: implement functions to boot auxiliary corearch/arm/cpu/armv7/mx6/soc.c arch/arm/include/asm/arch-mx6/imx-regs.h+43 -00 replies
8/11imx: mx6sxsabresd: add command and macros for boot m4 coreinclude/configs/mx6sxsabresd.h+24 -00 replies
9/11imx: mx7: implement functions to boot auxiliary corearch/arm/cpu/armv7/mx7/soc.c arch/arm/include/asm/arch-mx7/imx-regs.h+41 -00 replies
10/11imx: mx7dsabresd: add command and macros for boot m4 coreinclude/configs/mx7dsabresd.h+24 -00 replies
11/11imx: mx7d: isolate resources to domain 0 for A7 corearch/arm/cpu/armv7/mx7/soc.c configs/mx7dsabresd_defconfig+66 -00 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [U-Boot] [PATCH V2 00/11] imx: introduce rdc and boot auxiliary core

From: Peng Fan <[email protected]>

To i.MX6SX and i.MX7D, there is a M4 core embedded. Resources can be shared or occupied exclusively by setting Resource domain controller between A9/7 core and M4 core.

Refer "Chapter 52 Resource Domain Controller (RDC)" of i.MX 6SoloX RM and "Chapter 3.2 Resource Domain Controller (RDC)" of i.MX 7Dual RM for detailed infomation.

To bootup M4 core, a new command 'bootaux' is introduced. To i.MX7D, we need to setting RDC when booting M4 core, so make RDC and boot auxiliary core patches into one patch set.

Since we also sometimes put the M4 image in QSPI to let M4 directly fecth code in the memory mapped QSPI space, we can not support such as libz compressed image.

Peng Fan (11):
imx: mx6: introduce rdc regs
imx: imx-common: introduce Resource Domain Controller support
imx: mx6sx Add RDC mappings of masters and peripherals
imx: mx7d: Add RDC support
imx: mx7d: clock support for RDC
imx: imx-common: introduce boot auxiliary core
imx: mx6: implement functions to boot auxiliary core
imx: mx6sxsabresd: add command and macros for boot m4 core
imx: mx7: implement functions to boot auxiliary core
imx: mx7dsabresd: add command and macros for boot m4 core
imx: mx7d: isolate resources to domain 0 for A7 core

 arch/arm/cpu/armv7/mx6/soc.c               |  38 ++++++
 arch/arm/cpu/armv7/mx7/clock.c             |   6 +
 arch/arm/cpu/armv7/mx7/soc.c               | 100 ++++++++++++++++
 arch/arm/imx-common/Kconfig                |  14 +++
 arch/arm/imx-common/Makefile               |   2 +
 arch/arm/imx-common/imx_bootaux.c          |  72 ++++++++++++
 arch/arm/imx-common/rdc-sema.c             | 183 +++++++++++++++++++++++++++++
 arch/arm/include/asm/arch-mx6/imx-rdc.h    |  16 +++
 arch/arm/include/asm/arch-mx6/imx-regs.h   |  29 +++++
 arch/arm/include/asm/arch-mx6/mx6sx_rdc.h  | 155 ++++++++++++++++++++++++
 arch/arm/include/asm/arch-mx7/imx-rdc.h    |  16 +++
 arch/arm/include/asm/arch-mx7/imx-regs.h   |   8 ++
 arch/arm/include/asm/arch-mx7/mx7d_rdc.h   | 163 +++++++++++++++++++++++++
 arch/arm/include/asm/imx-common/rdc-sema.h | 100 ++++++++++++++++
 configs/mx7dsabresd_defconfig              |   2 +
 include/configs/mx6sxsabresd.h             |  24 ++++
 include/configs/mx7dsabresd.h              |  24 ++++
 17 files changed, 952 insertions(+)
 create mode 100644 arch/arm/imx-common/imx_bootaux.c
 create mode 100644 arch/arm/imx-common/rdc-sema.c
 create mode 100644 arch/arm/include/asm/arch-mx6/imx-rdc.h
 create mode 100644 arch/arm/include/asm/arch-mx6/mx6sx_rdc.h
 create mode 100644 arch/arm/include/asm/arch-mx7/imx-rdc.h
 create mode 100644 arch/arm/include/asm/arch-mx7/mx7d_rdc.h
 create mode 100644 arch/arm/include/asm/imx-common/rdc-sema.h
Signature · 1 line
2.6.2