summaryrefslogtreecommitdiff
path: root/configs
AgeCommit message (Collapse)Author
2020-03-05apalis-imx8: clean-up ethernet functionalityMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-03-05apalis-imx8: clean-up configurationMax Krummenacher
Clean-up configuration moving some stuff from include header file to Kconfig defconfig. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-03-05colibri-imx8qxp: fix ethernet functionalityMarcel Ziswiler
Fix Ethernet functionality. The FEC clock on i.MX 8X really has an additional by 2 divider plus our design requires the ENET0_RCLK50M_OUT on the ENET0_RGMII_TXC pin to be turned on for the Micrel PHY. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-03-05colibri-imx8qxp: clean-up configurationMarcel Ziswiler
Clean-up configuration moving some stuff from include header file to Kconfig defconfig. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2020-03-05apalis-imx8: forward port to 2018.03Max Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit eb0ed0e4283385700db1e5080d78f9a2684f98a5)
2020-03-05colibri-imx8qxp: forward port to 2018.03Max Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 3a5cc1cf85b8e22da78d794a2d71c03490f500b6)
2020-03-05colibri-imx8qxp: initial addMax Krummenacher
Initial board support for Colibri iMX8QXP using a copy of Apalis iMX8. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 62f0f03e1acb4bb6b0fcca8d4e9bd4d2df04ad33) (cherry picked from commit be14c3ea1850e2614883c86b62fd1c3a1828eac2)
2020-03-05tdx-cfg-block: add config block supportStefan Agner
Add Toradex config block support for i.MX8QM. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit 18426b50681e6cd64ab5977f0ba84efd3f7c4495) (cherry picked from commit c6d0e1042170d273a5b5434abe867213155d5582) (cherry picked from commit ae31e946da33510a352795de09aa1c0ea9fc8280) (cherry picked from commit 0798437c661ef3ca11f84fb45b4cce5b7ac145d9)
2020-03-05apalis-imx8: load HDMI firmwareStefan Agner
Extend bootcmd to also load the HDMI firmware through hdp command. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit 41ef3986ae21dc6fcc4355ab53ccc809d80d361e) (cherry picked from commit 94d78f51638f4ab3519b845c4fbffe92865cc5b3) (cherry picked from commit cad9542ed852cee3d3dd0b6c25a36a0de6f22c29) (cherry picked from commit 331fc0f28dc6b3a4938c66a5788041e527eabc8b)
2020-03-05apalis-imx8: fix EthernetStefan Agner
Make sure that all pins connected to the Micrel KSZ9031 PHY are muxed. Properly reset the PHY after all muxing has been applied. This makes sure that strapping is not overwritten by the SoC default mux (particularly it makes sure that CLK125_NDO is not driven low during reset). Make sure to not use CONFIG_DM_ETH as it seems to break ETH support as is. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit f0a1ceb6f5e2ab3b3618190541b1e7a9fd4c1e4a) (cherry picked from commit 8f6405070189a8744c2f6a9d9a6e041554fb9046) (cherry picked from commit 6f24c637fd7725a27249d6a950f587134f30b97c) (cherry picked from commit 1b3c97e1eb50a56066820596a6b1b83da465af7f)
2020-03-05apalis-imx8: remove PCA9557 GPIO controllersStefan Agner
The Apalis iMX8 module does not have PCA9557 GPIO controllers on the module. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit c80b3bfbe693d5a8851129f4878d0cd3a7325d13) (cherry picked from commit 898ae105703cd0019a542bc0a17649339c934fa6) (cherry picked from commit 69d385444efa79d2909f772c4a4b404d1bd7274d) (cherry picked from commit 0f5887d5b80f8535a7f422b73d7a0bf4a4e445af)
2020-03-05apalis-imx8: add Apalis iMX8 specific device treeStefan Agner
Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit aa830cb6a7c953ce85232b2ae951543ab1060948) (cherry picked from commit f6c37cdf31633a541078d0813ab4f59f6b80babb) (cherry picked from commit ae70d02213beabcd60853f655e2ff9849375c45c) (cherry picked from commit ba629689c627a571d5902a1c50fe9927424b45c6)
2020-03-05apalis-imx8: initial addStefan Agner
Initial board support for Apalis iMX8 using a copy of NXP iMX8QM ARM2 LPDDR4 board. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit 68e401998ba0654292b7914b85433d8453202ec8) (cherry picked from commit 6b9234fa1f5889f0eeecc6147afffbc859933c99) (cherry picked from commit 0b7feded806717b4292615373ed6c018324b8ef5) Conflicts: arch/arm/cpu/armv8/imx8/Kconfig, file moved (cherry picked from commit 393dd8dd4061833fcc3cfd85886d49160b515ce0)
2020-01-15MLK-23241 imx8dx_mek: Add iMX8DX MEK board supportYe Li
iMX8DX MEK board has similar design with 8QXP MEK. The major changes are 1. DDR changed to 16bits 1GB DDR part 2. USB3.0 is removed and only support OTG on typec port. (No SW change needed) This patch adds new defconfigs and DTS file for this new board. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit 5efb4275f6cfefb5dd342f2e498834b40b989883)
2019-12-30MA-16095-1 remove CONFIG_USB_TCPC form defconfig filesfaqiang.zhu
Android does not use usb host function in uboot, and also TCPC function failure may cause the fastboot does not work, remove all CONFIG_USB_TCPC configuration items so TCPC is not used in uboot. Change-Id: I8c54e144517160bd7234a8ae28c6bc83734be538 Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
2019-12-10MA-16048 Fix imx8q u-boot hangJi Luo
Address 0x8880_0000 is reserved for M4 image on imx8q, which leaves limited memory region for the malloc pool. The avb will consume much heap memory to verify the kernel and dtbo image, memory conflicts may happen as the kernel/dtbo image size is getting larger. As the avb will load kernel/dtbo in every avb_slot_verify(), but will only free the memory after both slots are checked(if needed). And for trusty enabled platforms, extra heap memory will be used to do the hash calculation. This commit will free the slot memory once it's marked as unbootable and will use fixed memory started from CONFIG_FASTBOOT_BUF_ADDR to help store the data to do the hash calculation. With above change, we get a chance to decrease the malloc pool size. Test: boot on imx8qxp and imx8mn. Change-Id: Id95b9becf6fa7fae4f120a4dc9e9a3ba90da578c Signed-off-by: Ji Luo <ji.luo@nxp.com>
2019-12-05SSI-87: imx8: Configure SNVSFranck LENORMAND
Add a module to configure the tamper and secure violation of the SNVS using the SCU API. The module also adds some commands: - snvs_cfg: Configure the SNVS HP and LP registers - snvs_dgo_cfg: Configure the SNVS DGO bloc if present (8QXP) - tamper_pin_cfg: Change the configuration of the tamper pins - snvs_clear_status: Allow to write to LPSR and LPTDSR to clear status bits Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com> (cherry picked from commit 75aa7f2254f0883aa14568ac32702b1ca15367e4)
2019-12-04MA-16001-2 Enable android imx8mn lpddr4 boardJi Luo
Change configs to make imx8mn lpddr4 works on Android. Test: build and boot. Change-Id: Ibd27d73a973660a7d80bf85ba285f5f7619ecbb8 Signed-off-by: Ji Luo <ji.luo@nxp.com>
2019-12-04MA-16001-1 Add configs for imx8mn lpddr4 boardJi Luo
Add build target for imx8mn lpddr4 board based on config imx8mn_evk_defconfig. Change-Id: Iceca7cb65c6417fc3da1878323f8a65ffc31e1ef Signed-off-by: Ji Luo <ji.luo@nxp.com>
2019-10-28MLK-22851-4 imx8mm/imx8mn: Enable eMMC HS400ES and SD UHS mode on EVKYe Li
Both imx8mn/imx8mm EVK boards have eMMC 5.1 chip and support SD3.0 So we enable the HS400ES and UHS configs to enhance eMMC/SD access. The change also needs to set usdhc clock to 400Mhz and update compatible string to fsl,imx8mm-usdhc Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
2019-10-27MLK-22851-3 imx8mq: Enable eMMC HS400 and SD UHS mode on EVKYe Li
iMX8MQ EVK board has a eMMC5.0 chip and supports SD3.0, so enable the UHS and HS400 configs to enhance the eMMC/SD access. The change also needs to set usdhc clock to 400Mhz, and add the off-on-delay-us to SD reset pin, otherwise some SD cards will fail to select UHS mode in re-initialization. Signed-off-by: Ye Li <ye.li@nxp.com>
2019-10-15MLK-22759-3 imx8mn: Add LPDDR4 EVK board supportYe Li
Add support for iMX8MN LPDDR4 EVK board which uses 2GB LPDDR4 and PCA9450B PMIC. Signed-off-by: Ye Li <ye.li@nxp.com>
2019-10-15MLK-22759-1 imx8mn: Use CONFIG_TARGET_IMX8MN_DDR4_EVK for DDR4 EVK boardYe Li
To align with other iMX8M platforms, use CONFIG_TARGET_IMX8MN_DDR4_EVK for DDR4 EVK board and will use CONFIG_TARGET_IMX8MN_EVK for LPDDR4 EVK. Signed-off-by: Ye Li <ye.li@nxp.com>
2019-10-09MA-15582 Fix imx8mn u-boot hangJi Luo
The u-boot-spl.bin is getting larger and it will break the ddr firmware which will cause ddr training fail. Disable unnecessary configs for imx8mn to reduce the spl image size. Test: boot on imx8mn_evk. Change-Id: Id105b0adf8669e471752495f78012314efad24c0 Signed-off-by: Ji Luo <ji.luo@nxp.com>
2019-08-26MA-15334-2 enable trusty for imx8q standard Android ubootfaqiang.zhu
"CONFIG_IMX_TRUSTY_OS=y" is added to the corresponding defconfig files to include trusty related code. "CONFIG_SPL_ENV_SUPPORT=y" and "CONFIG_SPL_LIBDISK_SUPPORT=y" are added because "mmc_get_env_dev()" and "blk_get_dev()" are invoked in SPL stage with trusty related code. "CONFIG_SHA256=y" is added since SPL will access RPMB now. MACROs are added in corresponding header files. standard android uboot has more content than android auto uboot, the uboot malloc pool size is changed from 76MB to 86MB to make the boot process can be handed over to kernel without malloc problem. Change-Id: I7505adeb2e30ddaecc8217cee991e6d7b0785af0 Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
2019-08-26MA-15334-1 add two defconfig files for trusty supported ubootfaqiang.zhu
add below two defconfig files: configs/imx8qm_mek_android_trusty_defconfig configs/imx8qxp_mek_android_trusty_defconfig they are directly copied from below two files for the ease of tracking the modifications: configs/imx8qm_mek_android_defconfig configs/imx8qxp_mek_android_defconfig Change-Id: I84ca6ce62698b48bceb651df95ad61cf3e565e99 Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
2019-07-30MA-15217-2 Enable dual bootloader for imx8mJi Luo
Open configs to enable dual bootloader feature for imx8m platforms. Test: A/B slot switch and spl recovery mode test. Change-Id: I3fe0217c858b4cb1e06bd76f829a4f8977370cde Signed-off-by: Ji Luo <ji.luo@nxp.com>
2019-07-26MA-15217-1 Enable dual bootloader for imx8mJi Luo
Duplicate configs to enable dual bootloader for imx8m. Change-Id: I4e03b73dc42f036e0c8d477ce5d2a6892ac2938c Signed-off-by: Ji Luo <ji.luo@nxp.com>
2019-07-18MLK-22287 imx8mn: enable CONFIG_ENV_DEFAULT_NOWHERE at defaultYe Li
This CONFIG_ENV_DEFAULT_NOWHERE config must be enabled for USB download when we implemented the override function to select env storage medium. To avoid adding it to every imx8mn defconfig, enable the config as default on imx8mn. Signed-off-by: Ye Li <ye.li@nxp.com>
2019-07-17MLK-22279-5 imx8mn_evk: Remove flexspi defconfigYe Li
Remove the defconfig for flexspi boot, we can use one defconfig for both SD and flexspi. Signed-off-by: Ye Li <ye.li@nxp.com>
2019-07-17MLK-22279-4 imx8mn_evk: Enable multiple env storagesYe Li
Enable multiple environment storage devices on iMX8MN DDR4 EVK board. Remove duplicated CONFIG_ENV_OFFSET since we use env_get_offset to override it. Signed-off-by: Ye Li <ye.li@nxp.com>
2019-07-12MA-15087-4 Support mmc loader for imx8mn_evkHaoran.Wang
Align using emmc loader when there is no Trusty OS for Android standard boot in SD/EMMC. Add hook for getting correct offset when load uboot. Change-Id: I5898cf196e734ffaca1a513918a049ce504b14e9 Signed-off-by: Haoran.Wang <elven.wang@nxp.com>
2019-07-12MA-15087-1 Enable Trusty OS on imx8mnHaoran.Wang
This patch removed the SDP support in imx8mn due it will cause the memory resource limitation when run SPL. This patch also removed ROMAPI loader. Due Trusty OS need SPL support mmc related features. So fall back to use mmc loader instead of ROMAPI. To fix mmc loader, correct the uboot raw loader offset. Change-Id: If13f6c9133226efd0831a1867377b8ab0abb6327 Signed-off-by: Haoran.Wang <elven.wang@nxp.com>
2019-07-12MA-15087 Duplicate imx8mn defconfig to trusty oneHaoran.Wang
Duplicate imx8mn_ddr4_evk_android_defconfig to imx8mn_ddr4_evk_android_trusty_defconfig to for the one who support Trusty OS. Change-Id: I0577324a913abc1a118d2e58bea2534b8873ae88 Signed-off-by: Haoran.Wang <elven.wang@nxp.com>
2019-07-10MA-15062-4 support flashing mcu firmware on uboot used by uuufaqiang.zhu
"mcu_os" parition is hard-coded in uboot, the uboot used by uuu also need to have mcu firmware flash support to flash Cortex-M core images when used uuu. Change-Id: Iaf2a0061f2407941aececd3d1a909d5fcd721ace Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
2019-07-08MA-14981-1 Add evk_imx8mm 4GB DDR supportJi Luo
Add configs to support evk_imx8mm 4GB DDR board. The 4GB DDR will be split into two banks, one is 3GB (0x4000_0000~0xffff_0000) and another is 1GB(0x1_0000_0000~0x1_4000_0000). Test: build and boot with or without trusty. Change-Id: I02f6465fc5709b15fd76820edb846452d011dd56 Signed-off-by: Ji Luo <ji.luo@nxp.com>
2019-07-03MA-15062-3 enable MCU firmware support on evk_8mnfaqiang.zhu
modify the defconfig file for evk_8mn running Android, to make evk_8mn be able to be flashed with mcu firmware image and boot up the mcu. Change-Id: Ic05c1d7800fb4eb7582c0da034af87374d40946a Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
2019-06-21MLK-22080 imx8mn_evk: add SPL and u-boot build for nominal modeYe Li
Add imx8mn_ddr4_evk_nom_defconfig to generate SPL and u-boot to force SOC to nominal mode. So the VDD_SOC will be 0.85V and ARM will be fixed to 0.85V with DVFS disabled in kernel. Signed-off-by: Ye Li <ye.li@nxp.com> Acked-by: Anson Huang <Anson.Huang@nxp.com>
2019-06-11MLK-21992-2 imx8mn_evk: add defconfig for flexspi nor bootYe Li
Add imx8mn_ddr4_evk_fspi_defconfig used for flexspi nor boot. Move the u-boot environments to flexspi nor. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
2019-06-11MLK-21992-1 imx8mn_evk: Remove SPL MMC and SPL USB SDP configsYe Li
Since we are using ROM API to load image, then drivers like SPL MMC and SPL USB SDP are not needed. Remove them from defconfig file to reduce SPL size. Signed-off-by: Ye Li <ye.li@nxp.com>
2019-05-30MA-14893-2 Add android build target for imx8mnJi Luo
Add configs to support evk_imx8mn android build. Test: build and boot on eMMC and sd. Change-Id: Id5c63b31e45357d791425976358635c18de928eb Signed-off-by: Ji Luo <ji.luo@nxp.com>
2019-05-29MLK-21889-11 imx8mn_evk: Add board codes and defconfig for iMX8M Nano EVKYe Li
Add board level codes, header file, and defconfig for iMX8M Nano EVK board. The board has similar design as iMX8MM EVK. Signed-off-by: Ye Li <ye.li@nxp.com> Signed-off-by: Jacky Bai <ping.bai@nxp.com>
2019-05-21MA-14759-2 Memory refine for evk_imx8mm 1GB DRAM boardJi Luo
Config the memory size of evk_imx8mm to 1GB. Change-Id: I8f605a099b4f825c2ded6326c5209b52b5ba3925 Signed-off-by: Ji Luo <ji.luo@nxp.com>
2019-05-05MA-14693 AIY: Decrease the spl image size to fix panicJi Luo
imx8mq has very limited TCM memory (about 256k bytes) to store the spl code and lpddr4 training binaries, u-boot may panic when the spl code size becomes too large. This problem is much worse on AIY because we have to support multiple ddr size. And on some daily build servers, the u-boot binary will be slight larger than the binary built on other servers (which is quite confusing...). This patch disables some unused configs to decrease the spl size, it will help fix u-boot panic built from daily build servers. Test: build and boot on AIY. Change-Id: I6e216bf4d88fb29c9cacd945e9dc93ddf9e73451 Signed-off-by: Ji Luo <ji.luo@nxp.com>
2019-04-09MLK-21400 mx6solosabre: Enable fastboot for UUU supportYe Li
Enable fastboot configurations in mx6solo sabresd and sabreauto defconfigs to support UUU. Since the DDR size on mx6solo sabre boards is smaller, also change the fastboot buffer to 256MB. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
2019-04-02MA-14501[Android] change BOOTAUX_RESERVED_MEM macro to defconfigZhang Bo
As the M4 use different DDR memory size in normal android/car2 and car image, use different defconfig for car2 to decrease DDR memory reservation. So memory reserved for each M4 core is 8MB in car2 and normal android image. it's 32MB for car image. Change-Id: Idf608f539cd614a154c78e3a1af28eff1da5c1f2 Signed-off-by: Zhang Bo <bo.zhang@nxp.com>
2019-03-12MA-14318-4 Support dual bootloader for xenJi Luo
Add defconfig file to support dual bootloader for xen. Test: build and boot on imx8qm_mek. Change-Id: I21e372b71a9b25e4cbf71cf7f41cfd87296b9afe Signed-off-by: Ji Luo <ji.luo@nxp.com>
2019-03-12MA-14296-2[Android]Enable virtual I2C for imx8qxp to support fastboot functionZhang Bo
The enable pin of USB is controlled by i2c IO expender which is controlled by M4 image. Add macro to enable virtual i2c function. It will send i2c message to M4 side to enable USB phy chip. Change-Id: Ib7ed710d293b002526be3bd233921797eb9c6d41 Signed-off-by: Zhang Bo <bo.zhang@nxp.com>
2019-03-08MA-14289-1 Revert "imx8q: Move spl to dram to fix reboot issue"Ji Luo
Move spl to 0x8000_0000 will cause cpu1 ~ cpu3 jump to spl when boot/reboot, revert this patch. This reverts commit 7d111f4c8bac25c234b0fc24af885421ce8bb188. Change-Id: I9adcd980b42a7539d6309cafaabff9d079ca993d
2019-03-07MA-14273-1 imx8q: Move spl to dram to fix reboot issueJi Luo
The spl is located at ocram which will be lost when suspend/resume, partition reboot will make A core reboot from the start address of ATF, which blocks dual bootloader feature on Android Auto. Move the spl to dram and make the partition reboot from spl to fix this issue. The memory map will be changed to: SPL: 0x0000_0000 --------> 0x8000_0000 ATF: 0x8000_0000 --------> 0x8004_0000 U-boot: 0x8002_0000 --------> 0x8006_0000 Test: reboot ok on imx8qm/imx8qxp. Change-Id: I49e8be51bf427dd00eb7507de22a787c6f6e1582 Signed-off-by: Ji Luo <ji.luo@nxp.com>