- Apr 21, 2022
-
-
Currently the space between kernel_addr_r and the fdt_addr_r is only 32MB. To have enough 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:
Peng Fan <peng.fan@nxp.com>
-
IMX_FEC_BASE is not used in these boards, so drop it. Reviewed-by:
Fabio Estevam <festevam@denx.de> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
In arch/arm/mach-imx/imx8m/soc.c there's an implementation of board_fix_fdt() introduced by commit 35bb6078. Remove the redundant one to avoid failed to build from source when enabling CONFIG_OF_BOARD_FIXUP. Signed-off-by:
Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org> Cc: Fabio Estevam <festevam@gmail.com> Cc: uboot-imx <uboot-imx@nxp.com> Reviewed-by:
Fabio Estevam <festevam@denx.de>
-
Fix wrong environment.h and remove DECLARE_GLOBAL_DATA_PTR Fixes: 30e39ac7 (imx: imx7 Support for Manufacturing Protection) Signed-off-by:
Ye Li <ye.li@nxp.com> Reviewed-by:
Gaurav Jain <gaurav.jain@nxp.com>
-
Update the Kconfig and Makefile to allow build for iMX8M and restrict the build only in u-boot. Signed-off-by:
Ye Li <ye.li@nxp.com> Reviewed-by:
Gaurav Jain <gaurav.jain@nxp.com>
-
HW accelerated hash operations are giving incorrect hash output. so invalidate cache lines to avoid cache overwriting in DDR memory region. caam_hash() -moved address alignment check in the beginning of function. -added invalidate_dcache_range for pout buffer before running descriptor. Fixes: d7af2baa (crypto/fsl: Fix HW accelerated hash commands) Signed-off-by:
Gaurav Jain <gaurav.jain@nxp.com> Reviewed-by:
Fabio Estevam <festevam@denx.de>
-
The imx8mn_evk target have been converted to use binman. With the binman approach the ATF load address is described via devicetree, so remove the now unneeded instruction of exporting ATF_LOAD_ADDR. Signed-off-by:
Fabio Estevam <festevam@denx.de>
-
There is no reason for disabling I-cache and D-cache in SPL. Remove the unneeded CONFIG_SPL_SYS_ICACHE_OFF and CONFIG_SPL_SYS_DCACHE_OFF options. Signed-off-by:
Fabio Estevam <festevam@denx.de>
-
Enable DM_SERIAL for both U_Boot and the SPL. The uart4 and its pinmux are already marked with u-boot,dm-spl but we need to move the call to preloader_console_init() after spl_init() to avoid a board hang as dm can't be used until after spl_init(). Remove the manual config of the UART pinmux now that it is no longer needed. Signed-off-by:
Michael Trimarchi <michael@amarulasolutions.com> Cc: Tim Harvey <tharvey@gateworks.com> Reviewed-by:
Fabio Estevam <festevam@denx.de> Tested-by:
Ariel D'Alessandro <ariel.dalessandro@collabora.com>
-
Add support for OF-LIST to common imx8mp-u-boot.dtsi so that it can be used with boards that have multiple DTB's. Signed-off-by:
Tim Harvey <tharvey@gateworks.com> Cc: Fabio Estevam <festevam@gmail.com> Cc: NXP i.MX U-Boot Team <uboot-imx@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Cc: Teresa Remmet <t.remmet@phytec.de> Cc: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org> Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by:
Fabio Estevam <festevam@denx.de>
-
issue: blob decapsulation operation store the decrypted data in memory even if ICV check failed. fix: clear the blob data output memory. Fixes: c5de15cb (crypto/fsl: Add command for encapsulating/decapsulating blobs) Signed-off-by:
Gaurav Jain <gaurav.jain@nxp.com> Reviewed-by:
Kshitiz Varshney <kshitiz.varshney@nxp.com> Tested-by:
Kshitiz Varshney <kshitiz.varshney@nxp.com> Reviewed-by:
Fabio Estevam <festevam@denx.de>
-
Marked related nodes as u-boot,dm-spl for serial driver model Enable CONFIG_DM_SERIAL Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Enable CONFIG_DM_SERIAL. uart2 and its pinmux was already marked with u-boot,dm-spl. move the preloader_console_init() call after spl_init() to avoid board hang Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Enable CONFIG_DM_SERIAL. uart2 and its pinmux was already marked with u-boot,dm-spl. move the preloader_console_init() call after spl_early_init() to avoid board hang Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Enable CONFIG_DM_SERIAL. uart2 and its pinmux was already marked with u-boot,dm-spl. Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Drop CONFIG_MMCROOT, no users now. Reviewed-by:
Fabio Estevam <festevam@denx.de> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
CONFIG_MMCROOT is only used to set mmcroot, no need a dedicated macro. Script as below " for i in `ls include/configs/*.h` do mmcroot=`sed -n '/define.*MMCROOT/ p' $i | awk -F\" '{ print $2;}'` if [ ! -n "$mmcroot" ]; then continue fi sed -i '/define.*MMCROOT/ d' $i sed -i 's,\" CONFIG_MMCROOT \",'$mmcroot',g' $i done " Reviewed-by:
Fabio Estevam <festevam@denx.de> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
With SPL_DM_MMC and DM_MMC, the two macros not needed, drop it. CONFIG_SYS_FSL_USDHC_NUM CONFIG_SYS_FSL_ESDHC_ADDR Reviewed-by:
Fabio Estevam <festevam@denx.de> Acked-By:
Teresa Remmet <t.remmet@phytec.de> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
With SPL_DM_MMC and DM_MMC, the two macros not needed, drop it. CONFIG_SYS_FSL_USDHC_NUM CONFIG_SYS_FSL_ESDHC_ADDR Reviewed-by:
Fabio Estevam <festevam@denx.de> Acked-By:
Tim Harvey <tharvey@gateworks.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
With SPL_DM_MMC and DM_MMC, the two macros not needed, drop it. CONFIG_SYS_FSL_USDHC_NUM CONFIG_SYS_FSL_ESDHC_ADDR Reviewed-by:
Fabio Estevam <festevam@denx.de> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
With SPL_DM_MMC and DM_MMC, the two macros not needed, drop it. CONFIG_SYS_FSL_USDHC_NUM CONFIG_SYS_FSL_ESDHC_ADDR Reviewed-by:
Fabio Estevam <festevam@denx.de> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
With SPL_DM_MMC and DM_MMC, the two macros not needed, drop it. CONFIG_SYS_FSL_USDHC_NUM CONFIG_SYS_FSL_ESDHC_ADDR Reviewed-by:
Fabio Estevam <festevam@denx.de> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
With DM_MMC, CONFIG_SYS_FSL_USDHC_NUM is not needed. Reviewed-by:
Fabio Estevam <festevam@denx.de> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
With SPL_DM_MMC and DM_MMC, the two macros not needed, drop it. #define CONFIG_SYS_FSL_USDHC_NUM 2 #define CONFIG_SYS_FSL_ESDHC_ADDR 0 Reviewed-by:
Fabio Estevam <festevam@denx.de> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
With SPL_DM_MMC and DM_MMC, the two macros not needed, drop it. #define CONFIG_SYS_FSL_USDHC_NUM 2 #define CONFIG_SYS_FSL_ESDHC_ADDR 0 Reviewed-by:
Fabio Estevam <festevam@denx.de> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
With SPL_DM_MMC and DM_MMC, the two macros not needed, drop it. #define CONFIG_SYS_FSL_USDHC_NUM 2 #define CONFIG_SYS_FSL_ESDHC_ADDR 0 Reviewed-by:
Fabio Estevam <festevam@denx.de> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
The 4 GiB boundary is at 0xffffffff+1 , not at 0x80000000, fix this. The PHYS_SDRAM of i.MX8M is at 0x40000000 , so to restrict ram_top below 4 GiB, the ram_top has to be set to 0xffffffff as it is not an offset from the start of PHYS_SDRAM, but rather a physical address marking the topmost allowed DRAM address. Fixes: e27bddff ("imx8m: Restrict usable memory to space below 4G boundary") Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Fabio Estevam <festevam@denx.de> Cc: Frieder Schrempf <frieder.schrempf@kontron.de> Cc: Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Reviewed-by:
Fabio Estevam <festevam@denx.de> Reviewed-by:
Frieder Schrempf <frieder.schrempf@kontron.de>
-
This GPIO is actually an input "Q7_3V3_PCIE_WAKE#_IN" not an output, so remove the misleaading and incorrect definition. Cc: Tim Harvey <tharvey@gateworks.com> (re: pci: imx: use vpcie-supply if defined by device-tree) Signed-off-by:
Ian Ray <ian.ray@ge.com>
-
There are no users of the imx6_pcie_toggle_power and imx6_pcie_toggle_reset weak overrides and as these functions are able to be handled now via dt properties lets remove these. Cc: Marek Vasut <marex@denx.de> Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
If vpcie-supply is defined by device-tree use that if CONFIG_PCIE_IMX_POWER_GPIO is not defined. Note that after this the following boards which define CONFIG_PCIE_IMX_POWER_GPIO in their board header file as well as their device-tree should be able to remove CONFIG_PCIE_IMX_PERST_GPIO without consequence: - mx6sabresd - mx6sxsabresd - novena Note that the ge_bx50v3 board uses CONFIG_PCIE_IMX_POWER_GPIO and does not have vpcie-supply defined in it's pcie node in the dt thus removing CONFIG_PCIE_IMX_POWER_GPIO globally can't be done until that board adds vpcie-supply. Cc: Ian Ray <ian.ray@ge.com> (maintainer:GE BX50V3 BOARD) Cc: Sebastian Reichel <sebastian.reichel@collabora.com> (maintainer:GE BX50V3 BOARD) Cc: Fabio Estevam <festevam@gmail.com> (maintainer:MX6SABRESD BOARD) Cc: Marek Vasut <marex@denx.de> (maintainer:NOVENA BOARD) Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
The Colibri PXA270 has been end-of-life since quite a while and would require more and more maintenance (e.g. DM conversions). Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com>
-
The GW74xx is based on the i.MX 8M Plus SoC featuring: - LPDDR4 DRAM - eMMC FLASH - Gateworks System Controller - PCIe Gen 3.0 switch (build option) - USB 3.0 HUB - USB Type-C front panel connector - GPS - 3-axis accelerometer - CAN bus - 6x GbE RJ45 front-panel jacks - 1x IMX8M FEC RGMII GbE (with Passive PoE) - 5x IMX8M EQOS RGMII 6 port GbE Switch (1x with 802.3af class 5 Active PoE) - RS232/RS485/RS422 serial transceiver - MIPI header (DSI/CSI/GPIO/PWM/I2S) - DigI/O header (UART/GPIO/I2C/ADC) - 802.11ac WiFi - Bluetooth BLE - 3x MiniPCIe sockets with PCI/USB - 1x M.2 Socket with USB2.0, PCIe, and dual-SIM - PMIC - Wide range DC input supply (8V to 60V DC) Do the following to add support for this and future imx8mp-venice boards: - add dts - add DRAM config - add PMIC config - add IMX8MP support in spl.c and venice.c Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
Gateworks produces many products from a single PCB with subloaded components. Add an additional two levels of dtb name matching so that for example a GW7400-A matches the dtb name of gw74xx.dtb Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
Use the common GSC driver. This allows us to do some additional cleanup: - use the GSC driver functions - move waiting for the EEPROM to the SPL int (it will always be ready after this) - move eeprom functions into eeprom file and elimate GSC_I2C_BUS - eliminate some redundant EEPROM reads (the EEPROM must be read in SPL before relocation, in SPL after relocation, and in U-Boot init. All subsequent uses can use the global structure) - remove unnecessary header files and alphabatize includes Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
Enable the md5sum and crc32 commands. Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
The TI DP83867 phy has been replaced with the MaxLinear GPY111 phy due to part availability. Add support for it: - increase post-reset time to 300ms per datasheet - add tx-delay/rx-delay config Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
enable CONFIG_OF_LIBFDT_OVERLAY to support applying dt overlays in U-Boot. Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
Add gpio hog support for board-specific gpio lines: - put hogs in u-boot.dtsi so as to keep the regular dts files in sync with the kernel. The hogs will not be put in the kernel as that makes them un-usable by userspace as well as re-initializes them to dt defaults overriding changes which may have been done by bootloader commands. - specify gpio names and initial config - enable GPIO_HOG Signed-off-by:
Tim Harvey <tharvey@gateworks.com> Acked-by:
Peng Fan <peng.fan@nxp.com>
-
Use the common GSC driver. This allows us to do some additional cleanup: - rename gsc{.c,.h} to eeprom{.c.h} for clarity - collapse eeprom_get_dev - remove unnecessary header files and alphabatize includes Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
Enable DM_SERIAL. Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-