summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2023-10-06toradex: verdin-imx8mm/imx8mp: Remove bootcmd_mfgJoao Paulo Goncalves
The bootcmd_mfg env variable is legacy from IMX downstream u-boot branch and is not needed on mainline. Upstream-Status: Submitted [https://lore.kernel.org/u-boot/20231004191358.24488-1-francesco@dolcini.it/] Signed-off-by: Joao Paulo Goncalves <joao.goncalves@toradex.com> Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
2023-04-03colibri-imx8x: add usb supportAndrejs Cainikovs
Add USB support. Upstream-Status: Pending As of now, no iMX8 USB support present in mainline. Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-03-07colibri-imx8x: set bootaux memory base and sizeAndrejs Cainikovs
Move i.MX auxiliary core memory base and size configuration to defconfig where it should belong. Upstream-Status: Submitted [https://lore.kernel.org/all/20230303132642.15574-14-andrejs.cainikovs@toradex.com/] Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-03-07colibri-imx8x: update env memory layoutMarcel Ziswiler
Update the distro config env memory layout for the Colibri iMX8X: - kernel_comp_addr_r=0xb0000000 temporary area for uncompressing (ie FIT images or Image.gz booted using booti) - kernel_comp_size=0x08000000 - loadaddr=0x95c00000 avoiding any reserved areas located before that - fdt_addr_r = loadaddr + 128MB - allows for 128MB kernel - scriptaddr = fdt_addr_r + 512KB - allows for 512KB fdt - ramdisk_addr_r = scriptaddr + 512KB - allows for 512KB script Idea of memory layout taken from commit a9f1e35bedc4 ("apalis-imx8: update env memory layout"). Note that for our regular BSP Layers and Reference Images for Yocto Project an updated distro boot script is required (see meta-toradex-bsp-common/recipes-bsp/u-boot/u-boot-distro-boot). Upstream-Status: Submitted [https://lore.kernel.org/all/20230303132642.15574-13-andrejs.cainikovs@toradex.com/] Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-03-07colibri-imx8x: switch from fatload to loadAndrejs Cainikovs
Make sure M4 binary loading works equally well on ext4 as well as fat file systems. Upstream-Status: Submitted [https://lore.kernel.org/all/20230303132642.15574-12-andrejs.cainikovs@toradex.com/] Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-03-07colibri-imx8x: drop obsolete environment variablesAndrejs Cainikovs
Drop obsolete environment variables boot_file, bootcmd_mfg, fdt_addr, finduuid, image, mfgtool_args, mmcargs, mmcdev, mmcpart, panel, sec_boot, vidargs. Upstream-Status: Submitted [https://lore.kernel.org/all/20230303132642.15574-10-andrejs.cainikovs@toradex.com/] Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-03-07colibri-imx8x: construct fdtfile dynamicallyAndrejs Cainikovs
The following expression is used to construct the device tree name: fdtfile=${soc}-colibri-${fdt_board}.dtb - soc is set dynamically (either imx8qxp or imx8dx) - fdt_board can be modified by the user (eval-v3, aster, iris/iris-v2) Upstream-Status: Submitted [https://lore.kernel.org/all/20230303132642.15574-9-andrejs.cainikovs@toradex.com/] Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-03-07colibri-imx8x: update update_uboot confirmation messageMarcel Ziswiler
Update update_uboot confirmation message. Upstream-Status: Submitted [https://lore.kernel.org/all/20230303132642.15574-7-andrejs.cainikovs@toradex.com/] Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-03-07colibri-imx8x: remove obsolete sdhc related config definesMarcel Ziswiler
Remove obsolete SDHC related config defines. Nowadays, all SDHC related hardware configuration comes from the device tree. Upstream-Status: Submitted [https://lore.kernel.org/all/20230303132642.15574-6-andrejs.cainikovs@toradex.com/] Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-03-07colibri-imx8x: remove obsolete net usb startMarcel Ziswiler
Remove obsolete net USB start. While at it also add a comment about enabling distro-boot. Upstream-Status: Submitted [https://lore.kernel.org/all/20230303132642.15574-5-andrejs.cainikovs@toradex.com/] Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-03-07colibri-imx8x: Remove baudrate from console argumentPhilippe Schenker
This commit does remove the options argument from the console kernel-argument as it prevents the serial driver from outputting anything. Do this by switchting to use the variable "setup" as it is done on other Toradex modules. Upstream-Status: Submitted [https://lore.kernel.org/all/20230303132642.15574-3-andrejs.cainikovs@toradex.com/] Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-01-19apalix-imx8: downstream usb supportAndrejs Cainikovs
Add USB support. Upstream-Status: Inappropriate [other] No iMX8 USB support present in mainline. Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-01-19apalis-imx8: delete boot_file environment variableAndrejs Cainikovs
Delete unused boot_file environment variable. Upstream-Status: Submitted [https://lore.kernel.org/u-boot/20230113171751.331268-15-francesco@dolcini.it/] Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2023-01-19apalis-imx8: add M4 boot environment helpersAndrejs Cainikovs
Add M4 boot environment functions for reference. Upstream-Status: Submitted [https://lore.kernel.org/u-boot/20230113171751.331268-22-francesco@dolcini.it/] Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2022-12-23apalis-imx8: update env memory layoutMarcel Ziswiler
Update the distro config env memory layout for the Apalis iMX8 aka QuadMax: - kernel_comp_addr_r=0xf0000000 temporary area for uncompressing (ie FIT images or Image.gz booted using booti) - kernel_comp_size=0x08000000 - loadaddr=0x95400000 avoiding any reserved areas located before that - fdt_addr_r = loadaddr + 128MB - allows for 128MB kernel - scriptaddr = fdt_addr_r + 512KB - allows for 512KB fdt - ramdisk_addr_r = scriptaddr + 512KB - allows for 512KB script Basic idea of memory layout taken from commit fd5c7173ade4 ("imx8m{m,n}_venice: update env memory layout"). However, moved past any reserved areas to avoid any kind of conflicts. Note that for our regular BSP Layers and Reference Images for Yocto Project an updated distro boot script is required (see meta-toradex-bsp-common/recipes-bsp/u-boot/u-boot-distro-boot). Upstream-Status: Submitted [https://lore.kernel.org/all/20221212000930.45505-17-marcel@ziswiler.com/] Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2022-12-23apalis-imx8: update update_uboot confirmation messageMarcel Ziswiler
Update update_uboot confirmation message. Upstream-Status: Backport [https://lore.kernel.org/all/20221212000930.45505-16-marcel@ziswiler.com/] Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2022-12-23apalis-imx8: drop obsolete environment variablesMarcel Ziswiler
Drop obsolete environment variables fdt_addr, finduuid, mmcargs, mmcdev, mmcpart and panel. Upstream-Status: Submitted [https://lore.kernel.org/all/20221212000930.45505-15-marcel@ziswiler.com/] Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2022-12-23apalis-imx8: introduce setup setting setupargsMarcel Ziswiler
Introduce setup setting setupargs and move earlycon there. Upstream-Status: Submitted [https://lore.kernel.org/all/20221212000930.45505-14-marcel@ziswiler.com/] Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2022-12-23apalis-imx8: remove obsolete net usb startMarcel Ziswiler
Remove obsolete net USB start. While at it also add a comment about enabling distro-boot. Upstream-Status: Submitted [https://lore.kernel.org/all/20221212000930.45505-13-marcel@ziswiler.com/] Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2022-12-23apalis-imx8: remove obsolete SDHC related config definesMarcel Ziswiler
Remove obsolete SDHC related config defines. Nowadays, all SDHC related hardware configuration comes from the device tree. Upstream-Status: Submitted [https://lore.kernel.org/all/20221212000930.45505-12-marcel@ziswiler.com/] Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2022-12-23apalis-imx8: update spdx license identifier stringMarcel Ziswiler
Update SPDX license identifier string. While at it also update copyright period. Upstream-Status: Submitted [https://lore.kernel.org/all/20221212000930.45505-11-marcel@ziswiler.com/] Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2022-12-23apalis/colibri-imx8/8x: remove global variable scriptOleksandr Suvorov
The distroboot script system scans boot_scripts variable and try to find and use to boot each script name mentioned there. Setting global variable "script" breaks this general mechanism of searching and running a distro boot script. Remove global variables "script" to fix working the general distro boot script mechanism. Upstream-Status: Submitted [https://lore.kernel.org/all/20221212000930.45505-9-marcel@ziswiler.com/] Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2022-12-23apalis-imx8: implement pcb version and soc variant handlingMarcel Ziswiler
Implement PCB version and SoC variant handling which automatically loads the correct device tree for the Linux kernel. Upstream-Status: Submitted [https://lore.kernel.org/all/20221212000930.45505-3-marcel@ziswiler.com/] Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2022-12-23toradex: drop legacy nfsboot scriptIgor Opaniuk
Drop legacy nfsboot script in favor of distroboot DHCP boot. Upstream-Status: Backport [1410cba567803b66b1ac7a354f5cda0c5f0e84ec] Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2022-12-23toradex: set default dhcp distroboot scriptnameIgor Opaniuk
Use the same name of DHCP Distroboot script as in regular eMMC case. Upstream-Status: Backport [1377a776c3f9c8580462f42a5d078976e5eec3ee] Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2022-11-08Merge remote-tracking branch 'gh-nxp/lf_v2022.04' into ↵Philippe Schenker
update-to-5.15.52_2.1.0__toradex_imx_lf_v2022.04
2022-09-23verdin-imx8mm: verdin-imx8mp: drop obsolete net/phy configsMarcel Ziswiler
Drop obsolete networking/PHY related configuration defines. Upstream-Status: Submitted [https://lore.kernel.org/all/20220921113419.1088398-1-marcel@ziswiler.com/] Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2022-09-05verdin-imx8mm: verdin-imx8mp: update env memory layoutMarcel Ziswiler
Update the distro config env memory layout for the Verdin iMX8M Mini and Verdin iMX8M Plus: - loadaddr=0x48200000 allows for 128MB area for uncompressing (ie FIT images, kernel_comp_addr_r, kernel_comp_size) - fdt_addr_r = loadaddr + 128MB - allows for 128MB kernel - scriptaddr = fdt_addr_r + 512KB - allows for 512KB fdt - ramdisk_addr_r = scriptaddr + 512KB - allows for 512KB script Memory layout taken from commit fd5c7173ade4 ("imx8m{m,n}_venice: update env memory layout"). Note that for our regular BSP Layers and Reference Images for Yocto Project an updated distro boot script is required (see meta-toradex-bsp-common/recipes-bsp/u-boot/u-boot-distro-boot). Upstream-Status: Submitted [https://lore.kernel.org/all/20220819051827.185560-2-marcel@ziswiler.com/] Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2022-09-05configs: verdin-imx8m{m,p}: add default ip addressAndrejs Cainikovs
Align default ip address with other Toradex boards. Upstream-Status: Inappropriate [configuration] Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
2022-09-05toradex: imx8: set default dhcp distroboot scriptnameIgor Opaniuk
Use the same name of DHCP Distroboot script as in regular eMMC case Upstream-Status: Backport [1377a776c3f9c8580462f42a5d078976e5eec3ee] Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com> (cherry picked from commit 8aa931d8f78e8cf5b2c84421314ef47971384778)
2022-08-10Merge remote-tracking branch 'origin/imx_v2022.04' into lf_v2022.04BJ DevOps Team
* origin/imx_v2022.04: (9 commits) LFU-384 board: freescale: imx8m[q,m,n,p]_evk: add per system GUID capsule: board: Add information needed for capsule updates doc: uefi: Update the capsule update related documentation mkeficapsule: Remove raw and FIT GUID types FMP: Remove GUIDs for FIT and raw images ...
2022-08-10LFU-384 board: freescale: imx8m[q,m,n,p]_evk: add per system GUIDPeng Fan
Add Per system GUID for SR-IR-2.0 Reviewed-by: Ye Li <ye.li@nxp.co> Signed-off-by: Peng Fan <peng.fan@nxp.com>
2022-08-10capsule: board: Add information needed for capsule updatesSughosh Ganu
Add a structure which defines the information that is needed for executing capsule updates on a platform. Some information in the structure like the dfu string is used for making the update process more robust while some information like the per platform image GUIDs is used for fixing issues. Initialise this structure in the board file, and use the information for the capsule updates. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
2022-08-10FMP: Remove GUIDs for FIT and raw imagesSughosh Ganu
The capsule update code has been modified for getting the image GUID values from the platform code. With this, each image now has a unique GUID value. With this change, there is no longer a need for defining GUIDs for FIT and raw images. Remove these GUID values. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
2022-08-08Merge remote-tracking branch 'origin/imx_v2022.04' into lf_v2022.04BJ DevOps Team
* origin/imx_v2022.04: MLK-26005 configs: imx93: modify mem=
2022-08-08MLK-26005 configs: imx93: modify mem=Alice Guo
Ethosu occupies 0x10000000 DRAM from 0xc0000000 so that increase mem= by 256MB to include it. Signed-off-by: Alice Guo <alice.guo@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com>
2022-08-05Merge remote-tracking branch 'origin/imx_v2022.04' into lf_v2022.04BJ DevOps Team
* origin/imx_v2022.04: LFU-381 imx93_evk: Fix conflict SPL early malloc address
2022-08-05LFU-381 imx93_evk: Fix conflict SPL early malloc addressYe Li
Because the early malloc pool size is set to 0x18000, so using this start address may cause conflict with ATF, then corrupt the heap data. So we delete the definition to use the default early malloc pool from CONFIG_SPL_STACK to avoid any conflict Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Jacky Bai <ping.bai@nxp.com>
2022-08-03verdin-imx8mm, verdin-imx8mp: Fix default systemd console outputPhilippe Schenker
systemd prints its messages on the last console= statement that it finds in the kernel arguments. The current ordering sends the systemd messages to tty1, by default this is the display. Ensure that systemd sends its messages to the default UART, reorder the console= statements accordingly. Upstream-Status: Backport [a3f2dcf8f44445703a1919a5fa83b4328b244f92] Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> Reviewed-by: Stefano Babic <sbabic@denx.de> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2022-08-03Merge remote-tracking branch 'origin/imx_v2022.04' into lf_v2022.04BJ DevOps Team
* origin/imx_v2022.04: LFU-376 imx93_evk: Change ethprime to eQOS port for default LFU-378 imx8ulp: Hang the u-boot when M33 is not loaded LFU-377-2 imx: spl_imx_romapi: Get and print boot stage LFU-377-1 imx: container: Skip container set check for ROM API
2022-08-03LFU-376 imx93_evk: Change ethprime to eQOS port for defaultYe Li
To align with iMX8MP, use eQOS port as default ethernet port, so set ethprime to eth1 Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
2022-08-03Merge remote-tracking branch 'origin/imx_v2022.04' into lf_v2022.04BJ DevOps Team
* origin/imx_v2022.04: MA-20481-2 Enable round mipi-panel usmp-rm67162 for imx8ulp watch board MA-20481-1 Add board files and defconfig for imx8ulp watch board
2022-08-03MA-20481-1 Add board files and defconfig for imx8ulp watch boardZhang Bo
New imx8ulp_watch files are based on imx8ulp_evk and modified for watch board. Change-Id: I0ad6130cd7df60cb453abb9adcf36242f3cc0fd5 Signed-off-by: Zhang Bo <bo.zhang@nxp.com>
2022-08-02Merge remote-tracking branch 'remotes/origin/ls_v2022.04' into lf_v2022.04Jason Liu
* remotes/origin/ls_v2022.04: LF-6627: ls1043ardb: nand driver fixups for revision v7.0 boards board: ls1043ardb: fdt fixups for revision v7.0 boards
2022-08-02board: ls1043ardb: fdt fixups for revision v7.0 boardsCamelia Groza
The LS1043ARDB rev v7.0 board replaces the AQR105 PHY on MAC9 with an AQR113C PHY. The address of the PHY on the MDIO bus changes from 0x1 to 0x8. Enable CONFIG_OF_BOARD_FIXUP and update both u-boot and Linux device trees to reflect this change. Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
2022-07-31Merge remote-tracking branch 'origin/imx_v2022.04' into lf_v2022.04BJ DevOps Team
* origin/imx_v2022.04: LFU-372-3 imx8ulp: Enable SCMI thermal for temperature LFU-372-2 DTS: imx8ulp: Add SCMI sensor node LFU-372-1 thermal: Add SCMI Sensor based thermal driver
2022-07-31LFU-372-1 thermal: Add SCMI Sensor based thermal driverYe Li
Add SCMI Sensor protocol based thermal driver to get temperature from SCMI platform server. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Alice Guo <alice.guo@nxp.com>
2022-07-19Merge remote-tracking branch 'origin/imx_v2022.04' into lf_v2022.04BJ DevOps Team
* origin/imx_v2022.04: (11 commits) LFU-332-10: configs: imx8mm: ab2 target board config options LFU-332-9: include: configs: imx8mm ab2: board configs LFU-332-8: dts: arm: imx8mm ab2: target board support LFU-332-7: arm: mach imx8m: imx8mm ab2 target board configs LFU-332-6: board: freescale: imx8mm ab2: target board support ...
2022-07-18LFU-332-9: include: configs: imx8mm ab2: board configsAdrian Alonso
Common config options for imx8m mini audio board 2 Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com>
2022-07-18LFU-332-5: include: configs: imx8mn ab2: board configsAdrian Alonso
Common config options for imx8m nano audio board 2 Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com>