summaryrefslogtreecommitdiff
path: root/configs
AgeCommit message (Collapse)Author
2020-03-19verdin-imx8mm: add overlay capabilitiestoradex_imx_v2018.03_4.14.78_1.0.0_ga-bringupStefan Eichenberger
All Toradex modules have OF_LIBFDT_OVERLAY enabled but not Verdin iMX8MM so far. This commit enables devicetree overlay capabilities on U-Boot for Verdin iMX8MM. Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
2019-11-27board: toradex: add verdin imx8mm 2gb wb it v1.0a module supportMax Krummenacher
This commit adds initial support for the Toradex Verdin iMX8MM 2GB WB IT V1.0A module. They are now strapped to boot from eFuses which are factory fused to properly boot from their on-module eMMC. U-Boot supports either booting from the on-module eMMC or may be used for recovery purpose using the universal update utility (uuu) aka mfgtools 3.0. Functionality wise the following is known to be working: - eMMC, 8-bit and 4-bit MMC/SD card slots - Gigabit Ethernet - GPIOs - I2C - USB_1 peripheral: fastboot or ums - USB_2 host: USB mass storage To prepare the program image for eMMC fastboot using imx-mkimage and subsequently flash it using U-Boot proceed as follows: cd imx-mkimage/ make SOC=iMX8MM flash_evk_emmc_fastboot load mmc 1:1 $loadaddr flash.bin setexpr blkcnt ${filesize} + 0x1ff && setexpr blkcnt ${blkcnt} / 0x200 mmc dev 0 1 mmc write ${loadaddr} 0x2 ${blkcnt} To prepare the program image for use with USB recovery aka serial downloader using imx-mkimage and subsequently download using uuu with an uuu.auto script proceed as follows: cd imx-mkimage/ make SOC=iMX8MM flash_evk uuu_version 1.3.34 SDP: boot -f flash.bin CFG: SDPU: -vid 0x0525 -pid 0xb4a4 SDPU: delay 1000 SDPU: write -f flash.bin -offset 0x57c00 SDPU: jump Fusing i.MX 8MM SoC and configuring eMMC for fastboot (already done during manufacturing): fuse prog 1 3 0x100020d6 (BT_FUSE_SEL, eMMC boot, SD1, fast boot, 4-bit DDR, high speed, 1.8V) fuse prog 2 2 0x00000001 (enable boot ack) mmc bootbus 0 1 0 2 (4-bit, reset bus width, DDR) mmc partconf 0 1 1 0 (booting from boot area partition 1, send acknowledge) SD manufaccture boot: SD manufacture boot only works as long as the module is un-fused and SD_1_PWR_EN is bypassed on the carrier board. cd imx-mkimage/ make SOC=iMX8MM flash_evk sudo dd if=iMX8M/flash.bin of=/dev/mmcblk0 bs=1024 seek=33 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-11-27MA-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> (cherry picked from commit e7db3f3b68bf792f7df5c113c385ebecd468f6ce)
2019-11-27apalis/colibri-imx8/8x: streamline hush shell promptsMarcel Ziswiler
Just like on any of our other modules also use the module type as hush shell prompt. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-10-10apalis-imx8/x/colibri-imx8qxp: enable device tree overlay supportStefan Agner
Enable device tree overlay support which is used in the current dtconf implementation in TorizonCore. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2019-10-01configs: apalis/colibri-imx8: change bootdelay to one secondPhilippe Schenker
Use one second for the bootdelay like on all other toradex boards Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-09-27Machine: Apalis-iMX8X: Change name from apalis-imx8qxp to apalis-imx8xPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-09-18apalis-imx8qxp: initial addPhilippe Schenker
Initial board support for Apalis iMX8QXP using a copy of Colibri iMX8QXP. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2019-07-16apalis-imx8/colibri-imx8qxp: integrate fastboot recoveryMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-07-15colibri-imx8qxp: enable env import by defaultMing Liu
Enable env import by default. It is enabled in other modules too and it is required to boot TorizonCore. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
2019-05-14colibri-imx8qxp: enable fastboot supportIgor Opaniuk
Enable USB fastboot support (CONFIG_FASTBOOT). Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
2019-05-09apalis-imx8: enable env import by defaultStefan Agner
Enable env import by default. It is enabled in other modules too and it is required to boot TorizonCore. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2019-04-15apalis-imx8: clean-up ethernet functionalityMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-11apalis-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>
2019-03-20colibri-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>
2019-03-20colibri-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>
2019-01-30apalis-imx8: forward port to 2018.03Max Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit eb0ed0e4283385700db1e5080d78f9a2684f98a5)
2019-01-30colibri-imx8qxp: forward port to 2018.03Max Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 3a5cc1cf85b8e22da78d794a2d71c03490f500b6)
2019-01-30colibri-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)
2019-01-30tdx-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)
2019-01-30apalis-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)
2019-01-30apalis-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)
2019-01-30apalis-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)
2019-01-30apalis-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)
2019-01-30apalis-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)
2018-12-20MA-13785 remove the fastboot command of ucmd and acmdfaqiang.zhu
To avoid end user executing uboot command through fastboot, the fastboot command of "ucmd" and "acmd" in the uboot to be flashed into non-volatile storage device is removed in this partch. Change-Id: I999b8688a53c2201d02979be68266afc110dfb15 Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
2018-12-19MA-13788 add defconfig for aiy_imx8mq uboot used by uuufaqiang.zhu
To align aiy_imx8mq uboot used by uuu with other platforms, a defconfig used to configure and build uboot used by uuu is added. This "imx8mq_aiy_android_uuu_defconfig" for now is a copy of below file: imx8mq_aiy_android_defconfig Change-Id: I7c96297fa13fa7bb02117ceee8675e95f86e7b60 Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
2018-12-12MA-13759-1 imx8mm: Enable trusty supportJi Luo
Open configs to enable trusty for imx8mm_evk and also add new config imx8mm_evk_android_trusty_defconfig based on imx8mm_evk_android_defconfig. Test: Trusty starts ok. Change-Id: Iaea90de21f886ed23082a5e8e8d2fa7fb139a9cb Signed-off-by: Ji Luo <ji.luo@nxp.com>
2018-12-04MA-13637 [Auto] Enable memory operation commandsJi Luo
Enable the memory operation commands because we need them sometimes, this won't increase much boot time. Test: build and boot on imx8qm_mek. Change-Id: Idad8de845203c3d958dd58c58b17b7d8a5d65b4f Signed-off-by: Ji Luo <ji.luo@nxp.com>
2018-11-27MA-13537-3 disable SPL feature for uuu ubootfaqiang.zhu
uuu doesn't parse SPL+FIT format for mek_8q platforms. this patch delete SPL and FIT related configurations in defconfig file for uuu uboot. Change-Id: If7c352a60a1534b1a5af9f0b661953c9c60191dc Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
2018-11-27MA-13537-2 add defconfig files for uuu uboot imagefaqiang.zhu
defconfig files for uuu uboot and uboot flashed to board need to be different. because ab slot feature need to be used, defconfig of BSP team won't be used. this patch add for defconfig files for uuu uboot used on imx8. these two files are directly copied from the files below: 1. imx8qm_mek_android_defconfig 2. imx8qxp_mek_android_defconfig 3. imx8mm_evk_android_defconfig 4. imx8mq_evk_android_defconfig they are respectively be pasted as: 1. imx8qm_mek_android_uuu_defconfig 2. imx8qxp_mek_android_uuu_defconfig 3. imx8mm_evk_android_uuu_defconfig 4. imx8mq_evk_android_uuu_defconfig Change-Id: I483593beb99477f1821c529254856d372d274661 Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
2018-11-23MA-13488-3 remove FIT related configurations for imx8qfaqiang.zhu
for 8qxp_mek and 8qm_mek platforms, container is used instead of FIT, SPL now will load container, not FIT. This modification can minish the size of u-boot image. Change-Id: Id7e3e62bf95db5941264c3370a3e092e9b77a42f Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
2018-11-21MLK-20436 mx6sabreauto_eimnor: Fix typo in defconfig filesYe Li
Fix typo "ONFIG_CMD_FLASH=y" in defconfig, correct it to CONFIG_CMD_FLASH=y Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit eabb33f2a422aa677816bb984efd1885ae3b9c19)
2018-11-22MA-13487 Refine fsl avb functionsLuo Ji
Too many macros are used in fsl_avbkey.c and make it difficult to maintain. This patch made some refine by: 1. Move all avb/atx operations to fsl_avb.c. 2. Refine the functions logic. 3. Drop some unsupported conditions/functions. Test: build and boot on imx8qm_mek/imx8mq_evk/imx6qp_sabresd/imx7d_pico/imx8m_aiy. Change-Id: I5c99732acfc47d53cdf188d69223983777e577f4 Signed-off-by: Luo Ji <ji.luo@nxp.com>
2018-11-16MLK-20383 imx8qm: xen: enable dm usbPeng Fan
Enable dm usb using the base board otg usb port for fastboot usage Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com>
2018-11-15MLK-20373-6 imx8qm: xen: enable dm serialPeng Fan
Enable dm serial for xen uboot. Log as below: #xl console 1 MMC: FSL_SDHC: 0 Loading Environment from <NULL>... *** Warning - bad CRC, using default environment Failed (-5) In: serial@5a060000 Out: serial@5a060000 Err: serial@5a060000 flash target is MMC:0 Fastboot: Normal Normal Boot => Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Flynn xu <flynn.xu@nxp.com>
2018-11-12[iot] Enable HAB for imx8mJi Luo
Enable HAB for imx8m Android Things platform, this will enable HAB verify for bootloader.img(atf+tee+u-boot) at spl stage. Disable the HAB verify for bootimg because we will use AVB to verify it. Test: Build and boot ok on AIY. Change-Id: Ia6ee456c7c5fa71afc3740689adf898f411c6c4e Signed-off-by: Ji Luo <ji.luo@nxp.com>
2018-11-12[iot] Support authenticated unlockJi Luo
Add fastboot commands "fastboot oem at-get-vboot-unlock-challenge" and "fastboot oem at-unlock-vboot" to support the authenticated unlock feature for Android Things devices. Use software random numbers generator to generate the 16 bytes random challenge, it should be replaced with hardware encrypted random generator when the TEE part is ready. Test: Generate unlock challenge by: ./avbtool make_atx_unlock_credential --output=atx_unlock_credential.bin --intermediate_key_certificate=atx_pik_certificate.bin --unlock_key_certificate=atx_puk_certificate.bin --challenge=my_generated_challenge.bin --unlock_key=testkey_atx_puk.pem validated the unlock credential successfully on imx7d_pico and AIY. Change-Id: I4b8cee87c9e96924169479b65020a081136681f6 Signed-off-by: Ji Luo <ji.luo@nxp.com>
2018-11-12[iot] Enable Trusty OS for imx8m phanbellHaoran.Wang
Change-Id: Ia9e76742d0501d3222d5837057d8bc916f2ff989 Signed-off-by: Haoran.Wang <elven.wang@nxp.com>
2018-11-12Use stdint for uboot.Yu Shan
Because sysdeps.h in trusty include stdint.h, so we need to define USE_STDINT. Test: Local build test and flash on imx7d. Verify provision som key and product key succeed. Bug: None Change-Id: I08db7c10dd4453a87f15ff4432335fe4c41f9c5f
2018-11-08MLK-20078 imx8mm_evk: Update flexspi defconfig fileYe Li
Some configs are missed in imx8mm_evk_fspi_defconfig file, so the FAT commands are not supported in flexspi u-boot and cause kernel booting failed from SD card. Also add the missed splash screen configs for MIPI DSI. Signed-off-by: Ye Li <ye.li@nxp.com>
2018-11-02MLK-20163-03 board: imx8mq_evk: Refact the imx8mq dram init codeBai Ping
Refact the i.MX8MQ dram init flow to reuse the common dram driver used by i.MX8MM. Signed-off-by: Bai Ping <ping.bai@nxp.com>
2018-11-02MLK-20154-2 imx8mm_ddr3l_val: Add SPI NOR supportYe Li
iMX8MM DDR3L validation board uses FPGA to link with SPI NOR flash on ECSPI1 port. Update the codes and configurations to enable the ECSPI1 to access SPI NOR in u-boot. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
2018-11-02MA-13276 [Auto] Generate key blob when set the rpmb keyJi Luo
Generate the key blob and store it to the last block of boot1 partition after setting the rpmb key. The key blob should be checked in spl and be passed to Trusty OS if it's valid. If the key blob are damaged, RPMB storage proxy service will return fail and should make the device hang. Test: Build and boot ok on imx8qm/qxp. Change-Id: Ia274cd72109ab6ae15920e91b2a2008e1f1e667c Signed-off-by: Ji Luo <ji.luo@nxp.com>
2018-11-02MLK-19877-3: iMX8QXP: Add NAND SPL supportTeo Hall
Add defconfig for nand on lpddr4 arm2 board Signed-off-by: Teo Hall <teo.hall@nxp.com>
2018-11-02MLK-20129 mx6sxsabraauto optee add fastbootFrank Li
Signed-off-by: Frank Li <Frank.Li@nxp.com>
2018-10-26MA-13124-2 Support spl build for imx8qLuo Ji
Open configs to enable spl build for imx8q on both Android and Android Auto. Change-Id: Ide757086ad0208973ac8510ba4a2f1c84aecdfad Signed-off-by: Luo Ji <ji.luo@nxp.com>
2018-10-24MLK-20049-2 imx8mm_val: Add DDR3L validation board supportYe Li
Add DDR3 init codes, board codes, defconfig and DTS into u-boot. Basic modules are ready: SD, UART, I2C, USB host and NAND. There is a FPGA on this board. It controls WDOG_B, and ENET PHY RESET. So reset and ethernet won't work at default. Signed-off-by: Ye Li <ye.li@nxp.com> Acked-by: Peng Fan <peng.fan@nxp.com>
2018-10-16iMX8QX mek SPL: Add FIT image loading supportAbel Vesa
Add support for FIT image loading of ATF and uboot proper for iMX8QXP mek. Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
2018-10-16iMX8QM mek SPL: Add FIT image loading supportAbel Vesa
Add support for FIT image loading of ATF and uboot proper for iMX8QM mek. Signed-off-by: Abel Vesa <abel.vesa@nxp.com>