2015-09-03 16:49:28 +00:00
|
|
|
CONFIG_ARM=y
|
|
|
|
CONFIG_ARCH_MX7=y
|
2020-08-10 19:31:07 +00:00
|
|
|
CONFIG_NR_DRAM_BANKS=1
|
2019-11-19 01:02:10 +00:00
|
|
|
CONFIG_ENV_SIZE=0x2000
|
|
|
|
CONFIG_ENV_OFFSET=0xC0000
|
2020-01-22 18:38:00 +00:00
|
|
|
CONFIG_DM_GPIO=y
|
|
|
|
CONFIG_TARGET_MX7DSABRESD=y
|
2016-07-13 07:25:41 +00:00
|
|
|
# CONFIG_ARMV7_VIRT is not set
|
imx: mx7d: isolate resources to domain 0 for A7 core
In current design, if any peripheral was assigned to both A7 and M4,
it will receive ipg_stop or ipg_wait when any of the 2 platforms
enter low power mode. We will have a risk that, if A7 enter wait,
M4 enter stop, peripheral will have chance to get ipg_stop and ipg_wait
asserted same time. Also if M4 enters stop mode, A7 will have no
chance to access the peripheral.
There are 26 peripherals affected by this IC issue:
SIM2(sim2/emvsim2)
SIM1(sim1/emvsim1)
UART1/UART2/UART3/UART4/UART5/UART6/UART7
SAI1/SAI2/SAI3
WDOG1/WDOG2/WDOG3/WDOG4
GPT1/GPT2/GPT3/GPT4
PWM1/PWM2/PWM3/PWM4
ENET1/ENET2
Software Workaround:
The solution is to set the peripherals to Domain0 by A core, since A core
in Domain0. The peripherals which will be used by M4, will be set to Domain1
by M4.
For example, A core set WDOG4 to domain0, but when M4 boots up, M4 will
set WDOG4 to domain1, because M4 will use WDOG4.
So the peripherals are not shared by them. This way requires
the uboot implemented the RDC driver and set the 26 IPs above
to domain 0 only. M4 image will set the M4 to domain 1 and
set peripheral which it will use to domain 1.
This patch enables the CONFIG_IMX_RDC and CONFIG_IMX_BOOTAUX for
i.MX7D SABRESD board, and setup the 26 IP resources to domain 0.
Signed-off-by: Ye.Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2016-01-28 08:55:09 +00:00
|
|
|
CONFIG_IMX_RDC=y
|
|
|
|
CONFIG_IMX_BOOTAUX=y
|
2020-07-28 12:46:52 +00:00
|
|
|
CONFIG_DEFAULT_DEVICE_TREE="imx7d-sdb"
|
2019-12-08 17:02:31 +00:00
|
|
|
CONFIG_DISTRO_DEFAULTS=y
|
2016-03-03 07:56:02 +00:00
|
|
|
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx7dsabresd/imximage.cfg"
|
2019-12-08 17:02:31 +00:00
|
|
|
CONFIG_BOOTCOMMAND="run finduuid; run distro_bootcmd"
|
2016-10-18 02:12:37 +00:00
|
|
|
# CONFIG_CONSOLE_MUX is not set
|
|
|
|
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
|
2015-09-03 16:49:28 +00:00
|
|
|
# CONFIG_CMD_BOOTD is not set
|
2019-09-20 21:36:50 +00:00
|
|
|
# CONFIG_BOOTM_NETBSD is not set
|
|
|
|
# CONFIG_BOOTM_PLAN9 is not set
|
|
|
|
# CONFIG_BOOTM_RTEMS is not set
|
2015-09-03 16:49:28 +00:00
|
|
|
# CONFIG_CMD_IMI is not set
|
|
|
|
# CONFIG_CMD_XIMG is not set
|
2016-04-22 20:41:25 +00:00
|
|
|
# CONFIG_CMD_EXPORTENV is not set
|
|
|
|
# CONFIG_CMD_IMPORTENV is not set
|
|
|
|
CONFIG_CMD_MEMTEST=y
|
2020-05-04 13:26:21 +00:00
|
|
|
CONFIG_SYS_MEMTEST_START=0x80000000
|
|
|
|
CONFIG_SYS_MEMTEST_END=0xa0000000
|
2017-08-14 23:58:53 +00:00
|
|
|
CONFIG_CMD_DFU=y
|
|
|
|
CONFIG_CMD_GPIO=y
|
2016-04-22 20:41:25 +00:00
|
|
|
CONFIG_CMD_I2C=y
|
2017-08-14 23:58:53 +00:00
|
|
|
CONFIG_CMD_MMC=y
|
2016-04-22 20:41:25 +00:00
|
|
|
CONFIG_CMD_USB=y
|
2016-04-24 21:29:26 +00:00
|
|
|
CONFIG_CMD_USB_MASS_STORAGE=y
|
2017-04-27 04:27:55 +00:00
|
|
|
CONFIG_CMD_BMP=y
|
2016-04-24 21:29:26 +00:00
|
|
|
CONFIG_CMD_CACHE=y
|
2017-04-13 06:09:57 +00:00
|
|
|
CONFIG_CMD_PMIC=y
|
|
|
|
CONFIG_CMD_REGULATOR=y
|
2016-04-24 21:29:26 +00:00
|
|
|
CONFIG_CMD_EXT4_WRITE=y
|
2019-12-08 17:02:31 +00:00
|
|
|
# CONFIG_ISO_PARTITION is not set
|
|
|
|
# CONFIG_EFI_PARTITION is not set
|
2017-04-13 06:09:50 +00:00
|
|
|
CONFIG_OF_CONTROL=y
|
2020-07-03 11:48:56 +00:00
|
|
|
CONFIG_ENV_OVERWRITE=y
|
2019-11-13 03:46:36 +00:00
|
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
2020-10-09 16:22:06 +00:00
|
|
|
CONFIG_BOUNCE_BUFFER=y
|
2016-09-19 17:31:30 +00:00
|
|
|
CONFIG_DFU_MMC=y
|
|
|
|
CONFIG_DFU_RAM=y
|
2017-04-13 06:09:57 +00:00
|
|
|
CONFIG_DM_74X164=y
|
|
|
|
CONFIG_DM_I2C=y
|
|
|
|
CONFIG_DM_MMC=y
|
2019-05-01 07:58:27 +00:00
|
|
|
CONFIG_SUPPORT_EMMC_BOOT=y
|
2018-01-21 11:00:25 +00:00
|
|
|
CONFIG_MMC_IO_VOLTAGE=y
|
|
|
|
CONFIG_MMC_UHS_SUPPORT=y
|
|
|
|
CONFIG_MMC_HS200_SUPPORT=y
|
2019-08-14 12:23:43 +00:00
|
|
|
CONFIG_FSL_USDHC=y
|
2017-08-02 00:19:59 +00:00
|
|
|
CONFIG_PHYLIB=y
|
2019-12-08 17:02:30 +00:00
|
|
|
CONFIG_PHY_BROADCOM=y
|
|
|
|
CONFIG_DM_ETH=y
|
|
|
|
CONFIG_DM_MDIO=y
|
|
|
|
CONFIG_DM_MDIO_MUX=y
|
|
|
|
CONFIG_FEC_MXC=y
|
|
|
|
CONFIG_RGMII=y
|
2018-07-21 04:03:57 +00:00
|
|
|
CONFIG_MII=y
|
2017-04-13 06:09:57 +00:00
|
|
|
CONFIG_PINCTRL=y
|
|
|
|
CONFIG_PINCTRL_IMX7=y
|
|
|
|
CONFIG_DM_PMIC=y
|
|
|
|
CONFIG_DM_PMIC_PFUZE100=y
|
|
|
|
CONFIG_DM_REGULATOR=y
|
|
|
|
CONFIG_DM_REGULATOR_PFUZE100=y
|
|
|
|
CONFIG_DM_REGULATOR_FIXED=y
|
|
|
|
CONFIG_DM_REGULATOR_GPIO=y
|
2020-06-09 14:46:46 +00:00
|
|
|
CONFIG_MXC_UART=y
|
2018-04-15 17:51:26 +00:00
|
|
|
CONFIG_SPI=y
|
2017-04-13 06:09:57 +00:00
|
|
|
CONFIG_DM_SPI=y
|
|
|
|
CONFIG_SOFT_SPI=y
|
2016-03-25 14:39:47 +00:00
|
|
|
CONFIG_USB=y
|
2017-04-13 06:09:59 +00:00
|
|
|
CONFIG_DM_USB=y
|
2016-07-13 07:25:36 +00:00
|
|
|
CONFIG_USB_EHCI_HCD=y
|
2016-07-13 07:25:38 +00:00
|
|
|
CONFIG_MXC_USB_OTG_HACTIVE=y
|
2016-03-25 14:39:47 +00:00
|
|
|
CONFIG_USB_GADGET=y
|
2017-09-07 06:58:08 +00:00
|
|
|
CONFIG_USB_GADGET_MANUFACTURER="FSL"
|
|
|
|
CONFIG_USB_GADGET_VENDOR_NUM=0x0525
|
|
|
|
CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
|
2016-04-13 11:20:25 +00:00
|
|
|
CONFIG_CI_UDC=y
|
2016-04-13 11:20:26 +00:00
|
|
|
CONFIG_USB_GADGET_DOWNLOAD=y
|
2017-08-28 08:50:45 +00:00
|
|
|
CONFIG_USB_HOST_ETHER=y
|
2017-08-28 08:50:46 +00:00
|
|
|
CONFIG_USB_ETHER_ASIX=y
|
2017-10-30 16:58:33 +00:00
|
|
|
CONFIG_VIDEO=y
|
2020-08-11 17:23:35 +00:00
|
|
|
CONFIG_SPLASH_SCREEN=y
|
|
|
|
CONFIG_SPLASH_SCREEN_ALIGN=y
|
2020-09-28 09:30:15 +00:00
|
|
|
CONFIG_VIDEO_BMP_RLE8=y
|
2017-04-13 06:09:57 +00:00
|
|
|
CONFIG_ERRNO_STR=y
|