- 09 Aug, 2021 40 commits
-
-
There is xrdc inside i.MX8ULP, we need to configure permission to make sure AP non-secure world could access the resources. Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Since S400 will set the memory of SPL image to R/X. We can't write to any data in SPL image. 1. Set the parameters save/restore only for u-boot, not for SPL. to avoid write data. 2. Not use MU DM driver but directly call MU API to send release XRDC to S400 at early phase. 3. Configure the SPL image memory of SRAM2 to writable (R/W/X) Signed-off-by:
Ye Li <ye.li@nxp.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Add API to support fuse read and write Signed-off-by:
Ye Li <ye.li@nxp.com>
-
The RDC API is updated to add a field for XRDC or TRDC Signed-off-by:
Ye Li <ye.li@nxp.com>
-
Add S400 API for image authentication Signed-off-by:
Ye Li <ye.li@nxp.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
According to latest S400 API doc, the the success indicate value is changed to 0xd6. So update the driver codes. Signed-off-by:
Ye Li <ye.li@nxp.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Because we have set reset vector to ATF in SPL, have to set it back to ROM for any reset in u-boot Signed-off-by:
Ye Li <ye.li@nxp.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Disable wdog3 which is configured by ROM Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
SRAM2 is half L2 cache and default to SRAM after system boot. To enable the full l2 cache (512KB), it needs to reset A35 to make the change happen. So re-implement the jump entry function in SPL: 1. configure the core0 reset vector to entry (ATF) 2. enable the L2 full cache 3. reset A35 So when core0 up, it runs into ATF. And we have 512KB L2 cache working. Signed-off-by:
Ye Li <ye.li@nxp.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
CMC1 also has a MR register for bootcfg Signed-off-by:
Ye Li <ye.li@nxp.com>
-
i.MX8ULP reuse same SDHC IP as i.MX8M, so follow i.MX8M code logic. Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Add i.MX8ULP clock support Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
i.MX8ULP lpuart has same register layout as i.MX7ULP and i.MX8 Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Add pinctrl driver for i.MX8ULP Signed-off-by:
Ye Li <ye.li@nxp.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Support i.MX8ULP in fec_mxc Signed-off-by:
Peng Fan <peng.fan@nxp.com> Reviewed-by:
Ramon Fried <rfried.dev@gmail.com>
-
Add MU driver and S400 API. Need enable MISC driver to work Signed-off-by:
Ye Li <ye.li@nxp.com>
-
Since i.MX8 and i.MX8ULP reuse common container, so move the Kconfig public to both. Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
i.MX8ULP support using ROM API to load container image, it use same ROM API as i.MX8MN/MP, and use same container format as i.MX8QM/QXP. Signed-off-by:
Ye Li <ye.li@nxp.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Guard included sci.h with CONFIG_AHAB_BOOT to avoid build failure for i.MX8ULP Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Since the container is shared among i.MX platforms, move its header file to mach-imx Signed-off-by:
Ye Li <ye.li@nxp.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Since we will re-use the container parser on imx8ulp, move the codes to mach-imx Signed-off-by:
Ye Li <ye.li@nxp.com>
-
Add basic i.MX8ULP support For the MMU part, Using a simple way the calculate the MMU size to avoid default heavy calcaulation. And align address and size in the table settings to 2MB or 4GB as much as possible. So we can reduce the 4K page allocations in MMU table which will spends much time in create the page table Signed-off-by:
Ye Li <ye.li@nxp.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Add get reset cause function to show what triggerred reset. Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Support print cpu info. the clock function has not been added, it will be added in following patches. Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
These defines could be reused by i.MX8ULP, so move them to common header. Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Add i.MX8ULP cpu type and helpers. Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Add i.MX8ULP related basic Kconfig option, which will be used later. Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Add the specific board model from EEPROM config to the device-tree to make it easier to access from Linux userspace. Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
remove unused SPL features to shink the size of the SPL which otherwise would no longer fit into IMX8M Mini OCRAM. Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
Make the conversion to driver model as it is mandatory. Successfully tested booting Linux from the SD card. Dropped support for networking and splash screen as these need to be properly converted to DM and tested. Signed-off-by:
Fabio Estevam <festevam@gmail.com>
-
Add PCIe reset gpio to the Bx50v3 devicetree and get get rid of CONFIG_PCIE_IMX_PERST_GPIO. Signed-off-by:
Sebastian Reichel <sebastian.reichel@collabora.com>
-
Select CONFIG_IMX_HAB so that the "hab_status" command becomes available, which is useful for checking if the chip has been correctly setup to run in secure boot mode. Signed-off-by:
Fabio Estevam <festevam@gmail.com>
-
The GW7902 is based on the i.MX 8M Mini / Nano SoC featuring: - LPDDR4 DRAM - eMMC FLASH - Gateworks System Controller - LTE CAT M1 modem - USB 2.0 HUB - M.2 Socket with USB2.0, PCIe, and dual-SIM - IMX8M FEC - PCIe based GbE - RS232/RS485/RS422 serial transceiver - GPS - CAN bus - WiFi / Bluetooth - MIPI header (DSI/CSI/GPIO/PWM/I2S) - PMIC Do the following to add support for it: - add dts - add PMIC config Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
Add board model/serial# strings to env. Move the creation of the strings to gsc_read() and the display of the info into gsc_info() so they are available to U-Boot proper. Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
replace looking up i2c bus name by bus number and define bus numbers and eeprom address with #defines. Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
Get mem size from dt which SPL updated per EEPROM config. Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
Use the common imx8mm-u-boot.dtsi Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
Replace the deprecated 'tx-fifo-depth' and 'rx-fifo-depth' properties not supported by U-Boot drivers/net/phy/dp83867.c with the proper 'ti,fifo-depth' property. Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
The GW71xx has a USB Type-C connector with USB 2.0 signaling. GPIO1_12 is the power-enable to the TPS25821 Source controller and power switch responsible for monitoring the CC pins and enabling VBUS. Therefore GPIO1_12 must always be enabled and the vbus output enable from the IMX8MM can be ignored. To fix USB OTG VBUS enable a pull-up on GPIO1_12 to always power the TPS25821 and change the regulator output to GPIO1_10 which is unconnected. Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
The intention of commit d714a75f ("imx: replace CONFIG_SECURE_BOOT with CONFIG_IMX_HAB") was to convert from CONFIG_SECURE_BOOT to CONFIG_IMX_HAB, but it replaced with an extra "_" character. Fix it by using the correct CONFIG_IMX_HAB symbol. Fixes: d714a75f ("imx: replace CONFIG_SECURE_BOOT with CONFIG_IMX_HAB") Signed-off-by:
Fabio Estevam <festevam@gmail.com>
-