mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-21 01:18:52 +09:00
![Igor Opaniuk](/assets/img/avatar_default.png)
This commit adds initial support for the Toradex Apalis iMX8X 2GB WB IT V1.1A System on Module support [1]. Boot log: U-Boot 2020.10-02940-g894aebb7e8-dirty (Oct 22 2020 - 09:43:57 +0300) CPU: NXP i.MX8QXP RevB A35 at 1200 MHz at 30C DRAM: 2 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 Loading Environment from MMC... OK In: serial@5a070000 Out: serial@5a070000 Err: serial@5a070000 Model: Toradex Apalis iMX8 QuadXPlus 2GB Wi-Fi / BT IT V1.1A, Serial# 06617018 Net: eth0: ethernet@5b040000 [PRIME] Hit any key to stop autoboot: 0 Functionality wise the following is known to be working: - eMMC and MMC/SD card - Ethernet (*) - GPIOs - I2C Unfortunately, there is no USB functionality for the i.MX 8QXP as of yet. * With the SCU FW from the latest Toradex BSP 5.0.0 (SCU FW 1.5.1) ETH PHY encounters bring up problems after reset, this will be fixed soon on SCU FW side. [1] https://www.toradex.com/computer-on-modules/apalis-arm-family/nxp-imx-8x Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com> Acked-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
123 lines
2.6 KiB
Plaintext
123 lines
2.6 KiB
Plaintext
if ARCH_IMX8
|
|
|
|
config AHAB_BOOT
|
|
bool "Support i.MX8 AHAB features"
|
|
help
|
|
This option enables the support for AHAB secure boot.
|
|
|
|
config IMX8
|
|
bool
|
|
|
|
config MU_BASE_SPL
|
|
hex "MU base address used in SPL"
|
|
default 0x5d1b0000
|
|
help
|
|
SPL runs in EL3 mode, it use MU0_A to communicate with SCU.
|
|
So we could not reuse the one in dts which is for normal U-Boot.
|
|
|
|
config IMX8QM
|
|
select IMX8
|
|
select SUPPORT_SPL
|
|
select SPL_RECOVER_DATA_SECTION
|
|
bool
|
|
|
|
config IMX8QXP
|
|
select IMX8
|
|
select SUPPORT_SPL
|
|
select SPL_RECOVER_DATA_SECTION
|
|
bool
|
|
|
|
config SYS_SOC
|
|
default "imx8"
|
|
|
|
config SPL_LOAD_IMX_CONTAINER
|
|
bool "Enable SPL loading U-Boot as a i.MX Container image"
|
|
depends on SPL
|
|
help
|
|
This is to let SPL could load i.MX8 Container image
|
|
|
|
config IMX_CONTAINER_CFG
|
|
string "i.MX Container config file"
|
|
depends on SPL
|
|
help
|
|
This is to specific the cfg file for generating container
|
|
image which will be loaded by SPL.
|
|
|
|
config BOOTAUX_RESERVED_MEM_BASE
|
|
hex "i.MX auxiliary core dram memory base"
|
|
default 0
|
|
|
|
config BOOTAUX_RESERVED_MEM_SIZE
|
|
hex "i.MX auxiliary core dram memory size"
|
|
default 0
|
|
|
|
choice
|
|
prompt "i.MX8 board select"
|
|
optional
|
|
|
|
config TARGET_APALIS_IMX8
|
|
bool "Support Apalis iMX8 module"
|
|
select BOARD_LATE_INIT
|
|
select IMX8QM
|
|
|
|
config TARGET_COLIBRI_IMX8X
|
|
bool "Support Colibri iMX8X module"
|
|
select BOARD_LATE_INIT
|
|
select IMX8QXP
|
|
|
|
config TARGET_APALIS_IMX8X
|
|
bool "Support Apalis iMX8X module"
|
|
select BOARD_LATE_INIT
|
|
select IMX8QXP
|
|
|
|
config TARGET_DENEB
|
|
bool "Support i.MX8QXP Capricorn Deneb board"
|
|
select BOARD_LATE_INIT
|
|
select IMX8QXP
|
|
|
|
config TARGET_GIEDI
|
|
bool "Support i.MX8QXP Capricorn Giedi board"
|
|
select BOARD_LATE_INIT
|
|
select IMX8QXP
|
|
|
|
config TARGET_IMX8QM_MEK
|
|
bool "Support i.MX8QM MEK board"
|
|
select BOARD_LATE_INIT
|
|
select IMX8QM
|
|
|
|
config TARGET_IMX8QM_ROM7720_A1
|
|
bool "Support i.MX8QM ROM-7720-A1"
|
|
select BOARD_LATE_INIT
|
|
select SUPPORT_SPL
|
|
select IMX8QM
|
|
|
|
config TARGET_IMX8QXP_MEK
|
|
bool "Support i.MX8QXP MEK board"
|
|
select BOARD_LATE_INIT
|
|
select IMX8QXP
|
|
|
|
endchoice
|
|
|
|
source "board/freescale/imx8qm_mek/Kconfig"
|
|
source "board/freescale/imx8qxp_mek/Kconfig"
|
|
source "board/advantech/imx8qm_rom7720_a1/Kconfig"
|
|
source "board/toradex/apalis-imx8/Kconfig"
|
|
source "board/toradex/colibri-imx8x/Kconfig"
|
|
source "board/toradex/apalis-imx8x/Kconfig"
|
|
source "board/siemens/capricorn/Kconfig"
|
|
|
|
config IMX_SNVS_SEC_SC
|
|
bool "Support SNVS configuration"
|
|
help
|
|
Allow to configure the SNVS via SCU API to configure tampers and secure
|
|
violation.
|
|
|
|
config IMX_SNVS_SEC_SC_AUTO
|
|
bool "Support SNVS configuration command"
|
|
depends on IMX_SNVS_SEC_SC
|
|
help
|
|
This configuration will apply the selected configurations automatically
|
|
at boot.
|
|
|
|
endif
|