aboutsummaryrefslogtreecommitdiffstats
path: root/configs/kontron-sl-mx8mm_defconfig
Commit message (Collapse)AuthorAgeFilesLines
* configs: Resync with savedefconfigTom Rini2022-11-071-1/+0
| | | | | | Rsync all defconfig files using moveconfig.py Signed-off-by: Tom Rini <trini@konsulko.com>
* Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASESimon Glass2022-10-311-1/+1
| | | | | | | | | The current name is inconsistent with SPL which uses CONFIG_SPL_TEXT_BASE and this makes it imposible to use CONFIG_VAL(). Rename it to resolve this problem. Signed-off-by: Simon Glass <sjg@chromium.org>
* ARM: imx8m: Deduplicate CAAM init with arch_misc_init() callMarek Vasut2022-10-211-0/+1
| | | | | | | | | Instead of duplicating code implemented by i.MX8M version of arch_misc_init() in every board, enable CONFIG_ARCH_MISC_INIT and call arch_misc_init() from spl_board_init(). This removes the duplication. No functional change. Signed-off-by: Marek Vasut <marex@denx.de> Reviewed-by: Peng Fan <peng.fan@nxp.com>
* imx: kontron-sl-mx8mm: Add support for Kontron Electronics SoM SL i.MX8MM OSM-SFrieder Schrempf2022-10-201-0/+2
| | | | | | | | | | | | | | This adds support for the Kontron Electronics SoM SL i.MX8MM OSM-S and the matching baseboard BL i.MX8MM OSM-S. The SoM hardware complies to the Open Standard Module (OSM) 1.0 specification, size S (https://sget.org/standards/osm). The existing board configuration for the non-OSM SoM is reused and allows to detect the SoM variant at runtime. Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de> Reviewed-by: Fabio Estevam <festevam@denx.de>
* imx: kontron-sl-mx8mm: Adjust devicetree names, compatibles and model stringsFrieder Schrempf2022-10-201-1/+1
| | | | | | | | | | This adjusts the names of the boards and SoMs to the official naming used by Kontron marketing. These changes also affect devicetree names and compatibles. The same changes have been submitted to the Linux kernel. Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de> Reviewed-by: Fabio Estevam <festevam@denx.de>
* imx: kontron-sl-mx8mm: Prepare for other i.MX8MM SoM typesFrieder Schrempf2022-10-201-0/+1
| | | | | | | | | This sets an env variable 'som_type' from the board code. It can later be used by environment scripts, e. g. to select the proper devicetree for the board. Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de> Reviewed-by: Fabio Estevam <festevam@denx.de>
* imx: kontron-sl-mx8mm: Enable bootaux commandFrieder Schrempf2022-10-201-0/+1
| | | | | | | | Enable the bootaux command in order to be able to load a binary into the M4 core when needed. Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de> Reviewed-by: Fabio Estevam <festevam@denx.de>
* imx: kontron-sl-mx8mm: Enable environment in MMCFrieder Schrempf2022-10-201-0/+1
| | | | | | | | In case we boot from SD card or eMMC, we also want to load the environment from the according boot device. Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de> Reviewed-by: Fabio Estevam <festevam@denx.de>
* imx: kontron-sl-mx8mm: Add redundant environment and SPI NOR partitionsFrieder Schrempf2022-10-201-1/+3
| | | | | | | | | Enable the redundant environment feature to allow falling back in case of storage corruption. The partition layout for the SPI NOR device is added to the devicetree. Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de> Reviewed-by: Fabio Estevam <festevam@denx.de>
* imx: kontron-sl-mx8mm: Enable MTD commandFrieder Schrempf2022-10-201-0/+1
| | | | | | | Enable the MTD command to be used for the SPI NOR on the SoM. Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de> Reviewed-by: Fabio Estevam <festevam@denx.de>
* imx: kontron-sl-mx8mm: Increase CONFIG_SYS_CBSIZE to 2KFrieder Schrempf2022-10-201-1/+1
| | | | | | | | This allows using the command line with longer lines like large scripts in env variables. Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de> Reviewed-by: Fabio Estevam <festevam@denx.de>
* imx: kontron-sl-mx8mm: Add support for loading from SPI NOR in SPLFrieder Schrempf2022-10-201-0/+4
| | | | | | | | | | | | This was initially enabled, but got accidentally dropped while migrating Kconfig options and resyncing the defconfig in: commit 9802154a94d6 ("configs: Resync with savedefconfig") Let's enable this again to be able to boot from SPI NOR. Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de> Reviewed-by: Fabio Estevam <festevam@denx.de>
* imx: kontron-sl-mx8mm: Remove LVDS board type and devicetreesFrieder Schrempf2022-10-201-1/+0
| | | | | | | | | | | | | | The display isn't and won't be used in U-Boot. Also the display setup is not yet supported in mainline Linux, so even for cases where the U-Boot devicetree is passed to the kernel there is currently no use for this configuration. Selecting the proper configuration in the kernel FIT image automatically depending on the detected hardware can be handled by a script in the environment. Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de> Reviewed-by: Fabio Estevam <festevam@denx.de>
* kontron-sl-mx8mm: Let CONFIG_SPL_FIT_IMAGE_TINY be selectedFabio Estevam2022-09-211-1/+0
| | | | | | | | | | | | | | | | | | When CONFIG_IMX_HAB is selected the 'hab_status' command reports several error events, indicating that the BootROM failed to authenticate the SPL. After inspecting the content of the memory location that corresponds to the DTB load address, the content did not match with the DTB binary, showing that some kind of memory corruption/overlap occurred. Letting the CONFIG_SPL_FIT_IMAGE_TINY option to be selected causes the DTB to be properly placed into RAM and no more overlap occurs. With this change, the 'hab_status' command returns no more error events, which indicates that the BootROM succeeded to authenticate the SPL. Signed-off-by: Fabio Estevam <festevam@denx.de> Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
* configs: Resync with savedefconfigTom Rini2022-08-231-1/+0
| | | | | | Rsync all defconfig files using moveconfig.py Signed-off-by: Tom Rini <trini@konsulko.com>
* spl: imx8mm: enlarge SPL_MAX_SIZEPeng Fan2022-07-261-1/+0
| | | | | | | | | | | The CONFIG_SPL_MAX_SIZE could be 0x27000 for i.MX8MM when SPL_TEXT_BASE set to 0x7E1000. The DDR firmware max uses 96KB, there is a 4KB padding header before SPL_TEXT_BASE, so the SPL MAX SIZE is `256KB - 96KB - 4KB`. Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Fabio Estevam <festevam@denx.de>
* Merge branch 'next'WIP/11Jul2022Tom Rini2022-07-111-1/+13
|\
| * configs: Resync with savedefconfigWIP/20Jun2022-nextTom Rini2022-06-201-1/+0
| | | | | | | | | | | | Rsync all defconfig files using moveconfig.py Signed-off-by: Tom Rini <trini@konsulko.com>
| * imx: kontron-sl-mx8mm: enable DM_SERIALPeng Fan2022-06-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Enable CONFIG_DM_SERIAL. uart and its pinmux was already marked with u-boot,dm-spl. Move preloader_console_init after spl_init to make sure driver model work. Signed-off-by: Peng Fan <peng.fan@nxp.com> Acked-by: Frieder Schrempf <frieder.schrempf@kontron.de> Reviewed-by: Fabio Estevam <festevam@denx.de> Tested-by: Frieder Schrempf <frieder.schrempf@kontron.de>
| * Convert CONFIG_SYS_SPL_MALLOC_SIZE et al to KconfigTom Rini2022-06-061-0/+4
| | | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_SYS_SPL_MALLOC_SIZE CONFIG_SYS_SPL_MALLOC_START We introduce a default value here as well, and CONFIG_SYS_SPL_MALLOC to control if we have a malloc pool or not. Signed-off-by: Tom Rini <trini@konsulko.com>
| * Convert CONFIG_SPL_BSS_START_ADDR to KconfigTom Rini2022-06-061-0/+2
| | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_SPL_BSS_START_ADDR Signed-off-by: Tom Rini <trini@konsulko.com>
| * Convert CONFIG_SPL_STACK to KconfigTom Rini2022-06-061-0/+2
| | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_SPL_STACK Signed-off-by: Tom Rini <trini@konsulko.com>
| * Convert CONFIG_SPL_BSS_MAX_SIZE et al to KconfigTom Rini2022-06-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_SPL_BSS_MAX_SIZE CONFIG_SPL_MAX_FOOTPRINT Note that the da850evm platforms were violating the "only use one" rule here, and so now hard-code their BSS limit. Signed-off-by: Tom Rini <trini@konsulko.com>
| * Convert CONFIG_SPL_PAD_TO et al to KconfigTom Rini2022-06-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_SPL_PAD_TO CONFIG_SPL_MAX_SIZE CONFIG_TPL_PAD_TO CONFIG_TPL_MAX_SIZE Note that we need to make TPL_MAX_SIZE be hex, and so move and convert the existing places. Signed-off-by: Tom Rini <trini@konsulko.com>
| * Convert CONFIG_SYS_CBSIZE to KconfigTom Rini2022-06-061-0/+1
| | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_SYS_CBSIZE Signed-off-by: Tom Rini <trini@konsulko.com>
| * Convert CONFIG_SYS_PBSIZE to KconfigTom Rini2022-06-061-0/+1
| | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_SYS_PBSIZE Signed-off-by: Tom Rini <trini@konsulko.com>
* | kontron-sl-mx8mm: Add CAAM supportFabio Estevam2022-06-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | Add CAAM support, which is required when enabling HAB secure boot. Select CONFIG_SPL_DRIVERS_MISC so that CONFIG_IMX_HAB could build successfully, if selected. Signed-off-by: Fabio Estevam <festevam@denx.de> Acked-by: Frieder Schrempf <frieder.schrempf@kontron.de> Tested-by: Frieder Schrempf <frieder.schrempf@kontron.de>
* | imx: kontron-sl-mx8mm: Enable PCA9450 regulator driver and fix SD card accessFrieder Schrempf2022-06-281-0/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | Currently accessing the SD card on USDHC2 fails with: => mmc dev 1 Card did not respond to voltage select! : -110 This is due to the fact that UHS modes are enabled in the defconfig and the devicetree, but the referenced LDO5 regulator (reg_nvcc_sd) is not available to switch the data lines from 3.3V to 1.8V mode. By enabling the regulator driver the vqmmc-supply is now available and the SD card works also in high speed modes: => mmc dev 1 switch to partitions #0, OK mmc1 is current device Please note that the board has a GPIO connected to the SD_VSEL signal of the PMIC. As the driver uses the LDO5CTRL_H register to set the voltage, we need to make sure that this GPIO (GPIO01_IO4) is set to a high level. Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de> Reviewed-by: Fabio Estevam <festevam@denx.de> Tested-by: Fabio Estevam <festevam@denx.de>
* configs: Resync with savedefconfigTom Rini2022-05-231-1/+0
| | | | | | Rsync all defconfig files using moveconfig.py Signed-off-by: Tom Rini <trini@konsulko.com>
* kontron-sl-mx8mm: Select the CONFIG_CMD_UNZIP optionFabio Estevam2022-05-201-1/+1
| | | | | | | | Select the CMD_UNZIP option so that the 'gzwrite' command can be used to flash wic.gz image into the eMMC. Signed-off-by: Fabio Estevam <festevam@denx.de> Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
* configs: Resync with savedefconfigTom Rini2022-04-221-1/+0
| | | | | | Resync all defconfig files using moveconfig.py Signed-off-by: Tom Rini <trini@konsulko.com>
* configs: Resync with savedefconfigTom Rini2022-04-081-2/+1
| | | | | | Rsync all defconfig files using moveconfig.py Signed-off-by: Tom Rini <trini@konsulko.com>
* kontron-sl-mx8mm: change environment address variablesHeiko Thiery2022-02-191-1/+1
| | | | | | | | | | | | | | | Currently the space between kernel_addr_r and the fdt_addr_r is only 32MB. To have enought space to load kernel images bigger than 32MB change the variables to a feasible value. The new environment variables layout is based on the scheme from "include/configs/ti_armv7_common.h". The CONFIG_SYS_LOAD_ADDR value is set to 0x42000000. With that we have the same value as for the kernel_addr_r. Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com> Reviewed-by: Michael Walle <michael@walle.cc>
* imx: imx8mm: imx8mm-kontron-n801x-s: convert options to KconfigHeiko Thiery2022-02-051-0/+2
| | | | | | | CONFIG_SPL_MMC and CONFIG_SPL_SERIAL Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com> Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
* Convert CONFIG_ENV_SPI_BUS et al to KconfigTom Rini2021-12-271-4/+0
| | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_ENV_SPI_BUS CONFIG_ENV_SPI_CS CONFIG_ENV_SPI_MAX_HZ CONFIG_ENV_SPI_MODE As part of this, we use Kconfig to provide the defaults now that were done in include/spi_flash.h. We also in some cases change from using CONFIG_ENV_SPI_FOO to CONFIG_SF_DEFAULT_FOO as those were the values in use anyhow as ENV was not enabled. Signed-off-by: Tom Rini <trini@konsulko.com>
* Convert CONFIG_FSL_USDHC to KconfigTom Rini2021-11-121-1/+1
| | | | | | | This converts the following to Kconfig: CONFIG_FSL_USDHC Signed-off-by: Tom Rini <trini@konsulko.com>
* configs: Resync with savedefconfigWIP/01Nov2021Tom Rini2021-11-011-11/+4
| | | | | | Rsync all defconfig files using moveconfig.py Signed-off-by: Tom Rini <trini@konsulko.com>
* kontron-sl-mx8mm: fix missing configs and deadlock in CIStefano Babic2021-10-201-1/+3
| | | | | | | | | | | Even if board can be successfuly built, CI goes in deadlock (see thread on https://www.mail-archive.com/u-boot@lists.denx.de/msg419663.html). This is caused by SYS_CONFIG set in header file and because defconfig for the board is out of sync with Kconfig. As result, buildman goes on to read from stdin until an OOM is reached. Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Frieder Schrempf <frieder.schrempf@kontron.de>
* imx: imx8mm: Add support for Kontron Electronics SL/BL i.MX8M-Mini boards ↵Frieder Schrempf2021-10-071-0/+140
(N801x) The Kontron SoM-Line i.MX8MM (N801x) by Kontron Electronics GmbH is a SoM module with an i.MX8M-Mini SoC, 1/2/4 GB LPDDR4 RAM, SPI NOR, eMMC and PMIC. The matching evaluation boards (Board-Line) have 2 Ethernets, USB 2.0, HDMI/LVDS, SD card, CAN, RS485 and much more. Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de> Reviewed-by: Stefano Babic <sbabic@denx.de> Tested-by: Heiko Thiery <heiko.thiery@gmail.com>