summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2019-08-26apalis-imx8/colibri-imx8x: set fdtfile since it is used by distro bootcmdColibri-iMX8X_Console-Image_3.0b2.65-20190830Apalis-iMX8_Console-Image_3.0b2.65-20190830Stefan Agner
The environment variable fdtfile is used in include/config_distro_bootcmd.h hence we should make sure it is set by default. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2019-08-14apalis-imx8/colibri-imx8x: use proper distroboot scriptMarcel Ziswiler
Rather than using NXP proprietary boot script transition to using proper distroboot one. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-07-19colibri-imx8x: enable FDT relocationStefan Agner
FDT relocation disabled seems to cause issues when using TorizonCore, probably related to ramdisk. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2019-07-19colibri-imx8x/apalis-imx8: converge scriptaddr for distrobootStefan Agner
Distro boot scripts require scriptaddr. Make sure it is defined to a sensible address for both Apalis iMX8 as well as Colibri iMX8X. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2019-07-16apalis-imx8/colibri-imx8qxp: integrate fastboot recoveryMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-07-16colibri-imx8qxp: change default device treeMarcel Ziswiler
Change default device tree to the regular one now that parallel RGB is working. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-07-15colibri-imx8qxp: modify default ramdisk loading addressMing Liu
The current loading address for the ramdisk images overlaps with reserved memory for the decoder_boot section of the device tree (see fsl-imx8qxp.dtsi). This generates a kernel panic early in the boot process when trying to access that memory region. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
2019-07-15colibri-imx8qxp: do not undef configs configured using KconfigMing Liu
Do not undef CMD config defines which are set by Kconfig. This allows to enable those commands using Kconfig. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
2019-07-12colibri-imx8x: bootcmd_mfg, distroboot and bootm_len fixesMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-07-11colibri-imx8qxp: move environment into first boot areaMax Krummenacher
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-07-11apalis-imx8: fix ramdisk relocation addressMarcel Ziswiler
Fix ramdisk relocation address to work accross all our use cases. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-07-11apalis-imx8: enable FDT relocationStefan Agner
FDT relocation disabled seems to cause issues when using TorizonCore, probably related to ramdisk. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2019-07-11apalis-imx8: add scriptaddr for distrobootStefan Agner
Distro boot scripts require scriptaddr. Make sure it is defined to a sensible address. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2019-06-03apalis-imx8.h: move environment into first boot areaMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-05-10apalis-imx8: configure automatic booting on recoveryGerard Salvatella
When booting U-Boot in recovery mode the default boot command for automatic boots is substituted by bootcmd_mfg. For tezi we want this command to source the boot script inside the boot container that the uuu utility loads. The precise load address of this script is the one used in the mkimage_imx8 utility to generate the boot container. NOTE: this change affects both tezi U-Boot as well as BSP U-Boot. Since currently only tezi is supporting recovery mode, this shouldn't be a problem. Otherwise, consider adding preprocessor safeguards. Signed-off-by: Gerard Salvatella <gerard.salvatella@toradex.com>
2019-05-10apalis-imx8: enable distro boot in teziGerard Salvatella
Tezi uses Distro Boot by default. Enable it and modify the appropriate environment. Signed-off-by: Gerard Salvatella <gerard.salvatella@toradex.com>
2019-05-10apalis-imx8: increase bootm loading sizeGerard Salvatella
By default bootm can load kernels of up to 5MB. Our universal kernels in imx8 are much larger than this, even when compressed. Since recovery tezi needs to load from memory, allow for larger sizes to be loaded by bootm. Signed-off-by: Gerard Salvatella <gerard.salvatella@toradex.com>
2019-05-09apalis-imx8: do not undef configs configured using KconfigStefan Agner
Do not undef CMD config defines which are set by Kconfig. This allows to enable those commands using Kconfig. Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2019-05-07apalis-imx8: modify default ramdisk loading addressGerard Salvatella
The current loading address for the ramdisk images overlaps with reserved memory for the decoder_boot section of the device tree (see fsl-imx8qm.dtsi). This generates a kernel panic early in the boot process when trying to access that memory region. Signed-off-by: Gerard Salvatella <gerard.salvatella@toradex.com>
2019-04-15apalis-imx8: clean-up ethernet functionalityMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-11apalis-imx8: fused modules boot from emmcMax Krummenacher
Fused modules boot from eMMC rather than SD card. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-11apalis-imx8: clean-up board fileMax Krummenacher
Clean-up board file. 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-04-11apalis-imx8: adjust copyright/licensing headersMax Krummenacher
Adjust copyright/licensing headers e.g. universally using SPDX license identifier. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-10colibri-imx8qxp: adjust copyright/licensing headers some moreMax Krummenacher
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: default to dsihdmi device treeMarcel Ziswiler
As long as the parallel RGB interface bring-up is not completed default to dsihdmi device tree instead. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2019-03-20colibri-imx8qxp: fused modules boot from emmcMarcel Ziswiler
Fused modules boot from eMMC rather than SD card. 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-03-20colibri-imx8qxp: adjust copyright/licensing headersMarcel Ziswiler
Adjust copyright/licensing headers e.g. universally using SPDX license identifier. 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: synchronize with imx8qxp-mek from beta2Max Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 6557f1c6c8f5c5e6a5585459ab77e3d994ffff81) (cherry picked from commit 6efbcb8cd6740e60fc53f9033d60cc27f62b3c74)
2019-01-30colibri-imx8qxp: move debug uart to lpuart3Max Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 969f430f983d602afd83b6dd75b299e51463eae9) (cherry picked from commit 2963361493e0f3df76f3a25202a56a76e69fd63f)
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-30apalis-imx8: config: remove pcie and sataMax Krummenacher
U-Boot in the current 4.9.123 form freezes when initalizing HSIO. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 68a2be9b6247eaf5ac577082d8d5c0c930d37132) (cherry picked from commit e819b0c2d5790ce7b0c2bfc0501eb6e79e98db16)
2019-01-30apalis-imx8: boot from SD card for nowStefan Agner
Current samples are strapped to boot from SD card by default. Also make sure that the default U-Boot environment boots from SD card. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit 67cf06ee02ba39a93fbfd4ed2e82509ec86ba53e) (cherry picked from commit 82ffe3f0c08c9c4f8e988e1402dc814b71e3be92) (cherry picked from commit 1d7c4df41d20cb2447a6512de42475f8d754c905) (cherry picked from commit bfaf217291cbe34381ce5d5e9a63a700d211c48d)
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: add default memory layout and network optionsStefan Agner
Add default memory layout and networking options typically used on Toradex modules. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit 261060112cc55c25e672f6b73374d2a80e00a2e4) (cherry picked from commit 26db8b3fd1ad8bac8921f0ac11cb29364dc1bbaf) (cherry picked from commit 3bf49ccc73b2685eb965bcd61907bcffab3f3fd3) (cherry picked from commit f6cbf3f9c591646cd1f89b86d7dd5c7902269df8)
2019-01-30apalis-imx8: use eMMC as environment location/default boot deviceStefan Agner
Use USDHC1 which is eMMC to store U-Boot environment and as default root device for Linux. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit 65b8faac518e90ba1b53013e4639e2cd41e6bf2f) (cherry picked from commit 5b235d487dea79976597368d2edac64c1b468e4c) (cherry picked from commit f7bc9e4e18a15e44bc0a06afe0abaddb03f4e9c0) (cherry picked from commit a90ba0b545e88c0182ee0c9033020d952fd54aff)
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: set device tree to Apalis DT by defaultStefan Agner
Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit 04e7012224b6971972cb76415980c835a2ba9654) (cherry picked from commit 0759efaef277ff5e0583a4808593a36d7de0353d) (cherry picked from commit 6ceb16bf22088785c53d751328347f0b6579fafe) (cherry picked from commit c5844221c59cda20f645ae83352944ffa570c3f1)
2019-01-30apalis-imx8: use UART1 as console UARTStefan Agner
NXP LPUART1 is used as Apalis UART1, which is the main console on our Linux BSP. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> (cherry picked from commit 360629c1fd6187de19d0f50feb85c725995e49cc) (cherry picked from commit 63030dac6afc51d17b04d23ce41af4788f03717e) (cherry picked from commit 7bbe1708e0cebf3432c234ea74f8d6fb632a023b) (cherry picked from commit d58fa8f3247edc18bdbf716fa9a45bcf5fce9cb8)
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: 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-24MA-13832 [Trusty] Support random rpmb key setJi Luo
Sometimes we need to set random rpmb key which is invisible except for the device. Generate the random key with hwcrypto interface and support fastboot command "fastboot oem set-rpmb-random-key" to set it. Test: build and boot on imx8q. Change-Id: I44e1b6b091366d8ffceb1159fc65c17610ce5243 Signed-off-by: Ji Luo <ji.luo@nxp.com>
2018-12-24MA-13831-3 [trusty] Add command to generate rng with CAAMJi Luo
Add new hwcrypto command to support rng generation with CAAM. Test: rng generated on imx8qxp_mek. Change-Id: I756f3e99423f0f9dfc2bcd30117a3f96e9f5f2f7 Signed-off-by: Ji Luo <ji.luo@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-07MA-13722 Fix typo in imx8m licenceJi Luo
It's "Copyright" instead of "opyright". Change-Id: I4e66ea402e06ee03b5268d1d70c95e066ad35fd0 Signed-off-by: Ji Luo <ji.luo@nxp.com>