- 20 7月, 2019 40 次提交
-
-
由 Ludwig Zenz 提交于
This patch enables DM I2C for DHCOM i.MX6 PDK2 boards and removes non DM I2C code. The I2C EEPROM with ethaddr (MAC) is defined in the device tree. Use UCLASS_I2C_EEPROM to find the device by fixed hardware path and read the ethaddr. Tested with DHCOM i.MX6dl and DHCOM i.MX6q. Signed-off-by: NLudwig Zenz <lzenz@dh-electronics.com> Reviewed-by: NMarek Vasut <marex@denx.de>
-
由 Ludwig Zenz 提交于
For a single binary approach for imx6 quad/dual/duallite/solo it is necessary to enable CONFIG_SATA for quad/dual. On the other hand on imx6 duallite/sole SATA is not available. Therefore sata_remove() is skipped according to a blacklist scheme. Adding further imx derivates is probably not recessary as they are usually not pin-compatible and therefore a different board with its own configuration. Signed-off-by: NLudwig Zenz <lzenz@dh-electronics.com>
-
由 Ludwig Zenz 提交于
It turned out that after a reset the boot process from the spi bootflash is disturbed by other spi slave devices connected to DHCOM SPI1, which uses the same spi interface with a different SS line. Therefore the pad pull ups are enabled. Signed-off-by: NLudwig Zenz <lzenz@dh-electronics.com>
-
由 Marcel Ziswiler 提交于
Fix issue as reported by checkpatch.pl. Leave long lines as line continuation in text output is not recommended. Signed-off-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: NIgor Opaniuk <igor.opaniuk@toradex.com> Reviewed-by: NOleksandr Suvorov <oleksandr.suvorov@toradex.com>
-
由 Marcel Ziswiler 提交于
The Apalis iMX8 was missing the interactive part should a customer have bricked his module and want to re-create the configuration block. Fix this. Signed-off-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: NIgor Opaniuk <igor.opaniuk@toradex.com> Reviewed-by: NOleksandr Suvorov <oleksandr.suvorov@toradex.com>
-
由 Marcel Ziswiler 提交于
The Colibri iMX8X target got re-named late in the cycle which we forgot to reflect here. Furthermore, it was missing the interactive part should a customer have bricked his module and want to re-create the configuration block. Fix this. Signed-off-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: NIgor Opaniuk <igor.opaniuk@toradex.com> Reviewed-by: NOleksandr Suvorov <oleksandr.suvorov@toradex.com>
-
由 Marcel Ziswiler 提交于
Make the interactive Wi-Fi/BT handling generic by pulling it out of the Colibri iMX6ULL interactive part to be re-used for Apalis iMX8 and Colibri iMX8X. Signed-off-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: NIgor Opaniuk <igor.opaniuk@toradex.com> Reviewed-by: NOleksandr Suvorov <oleksandr.suvorov@toradex.com>
-
由 Stefan Agner 提交于
If the module is in serial downloader mode, we do no longer read the environment from eMMC. Therefor, the eMMC is unitialized when trying to read the config block. Use mmc_init to initialize the selected MMC device before using it. Note: In case the MMC has already been initialized, the mmc_init detects that and returns immediately. Signed-off-by: NStefan Agner <stefan.agner@toradex.com> Acked-by: NMax Krummenacher <max.krummenacher@toradex.com> Signed-off-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: NIgor Opaniuk <igor.opaniuk@toradex.com> Reviewed-by: NOleksandr Suvorov <oleksandr.suvorov@toradex.com>
-
由 Ye Li 提交于
According to iMX6DQ RM, the minor field (low 8 bits) in DIGPROG is not aligned on silicon revision 1.3. So update get_cpu_rev to correct the revision. 0x00630002 Silicon revision 1.2 0x00630005 Silicon revision 1.3 0x00630006 Silicon revision 1.6 Signed-off-by: NYe Li <ye.li@nxp.com> Reviewed-by: NPeng Fan <peng.fan@nxp.com>
-
由 Lukasz Majewski 提交于
This patch fixes not enabled uart2 (and hence serial console) on i.MX53 devices. After following commit 1d255904 ("ARM: dts: imx: imx53: Synchronize iMX53 DT with Linux") from the uart2 compatible the 'fsl,imx7d-uart' has been removed (which was correct). However, the root cause of the problem was the commit 98d62e61 ("arm: imx: add i.MX53 Beckhoff CX9020 Embedded PC") which introduced this compatible. Moreover, without this patch all i.MX53 UARTs are not usable as neither 'fsl,imx53-uart' nor 'fsl,imx21-uart' are in compatible IDs in drivers/serial/serial_mxc.c file. The fix is to add 'fsl,imx53-uart' and 'fsl,imx21-uart' as compatibles for the aforementioned serial driver (those are also defined in the Linux kernel). Signed-off-by: NLukasz Majewski <lukma@denx.de> Acked-by: NMarek Vasut <marex@denx.de>
-
由 Lukasz Majewski 提交于
This patch disables support for running EFI applications on HSC|DDC boards. As a result - considerable size reduction (~14%) has been observed (for for u-boot-dtb.imx 475KiB to 407KiB). Signed-off-by: NLukasz Majewski <lukma@denx.de>
-
由 Ludwig Zenz 提交于
Configure fitImage for U-Boot with a device tree for imx6 quad/dual and duallite/solo. This enables to support the imx6 derivates quad/dual/duallite/solo with a single binary. Signed-off-by: NLudwig Zenz <lzenz@dh-electronics.com> Reviewed-by: NMarek Vasut <marex@denx.de>
-
由 Ludwig Zenz 提交于
This device tree adds support for DHCOM iMX6 duallite and solo deriviates. Signed-off-by: NLudwig Zenz <lzenz@dh-electronics.com> Reviewed-by: NMarek Vasut <marex@denx.de>
-
由 Ludwig Zenz 提交于
To use the device tree definitions imx6q-dhcom-som.dtsi for all imx6 derivatives rename it to imx6qdl-dhcom.dtsi. We omit the '-som', because it simplifies further mainlinening of already existing device trees. To reuse board level common stuff imx6qdl-dhcom-pdk2.dtsi is created and included by imx6q-dhcom-pdk2.dts. Signed-off-by Ludwig Zenz <lzenz@dh-electronics.com> Reviewed-by: NMarek Vasut <marex@denx.de>
-
由 Igor Opaniuk 提交于
Remove obsolete legacy usbboot wrapper, as distroboot can handle booting from USB drivers. Signed-off-by: NIgor Opaniuk <igor.opaniuk@toradex.com> Reviewed-by: NOleksandr Suvorov <oleksandr.suvorov@toradex.com>
-
由 Igor Opaniuk 提交于
Remove obsolete legacy usbboot wrapper, as distroboot can handle booting from USB drivers. Signed-off-by: NIgor Opaniuk <igor.opaniuk@toradex.com> Reviewed-by: NOleksandr Suvorov <oleksandr.suvorov@toradex.com>
-
由 Marek Vasut 提交于
Enable DM support for regulators and fixed regulator driver and convert USB Vbus control over to the regulators defined in DT. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Ludwig Zenz <lzenz@dh-electronics.com> Cc: Stefano Babic <sbabic@denx.de> Tested-by: NLudwig Zenz <lzenz@dh-electronics.com>
-
由 Igor Opaniuk 提交于
1. Introduce androidboot wrapper for booting AOSP. 2. Add partitions_android env var for simplifying the process of writing new gpt table from U-boot shell/fastboot. Signed-off-by: NIgor Opaniuk <igor.opaniuk@toradex.com> Reviewed-by: NOleksandr Suvorov <oleksandr.suvorov@toradex.com>
-
由 Anatolij Gustschin 提交于
The gpio command currently uses equal bank names "GPIO0_" for all existing gpio banks, i. e.: U-Boot# gpio status -a Bank GPIO0_: GPIO0_0: input: 0 [ ] GPIO0_1: output: 1 [x] dbg1.gpios ... Bank GPIO0_: GPIO0_0: input: 0 [ ] GPIO0_1: input: 0 [ ] ... So the command is broken, it is not possible to address a desired bank. Add gpio aliases to fix this. Signed-off-by: NAnatolij Gustschin <agust@denx.de>
-
由 Shyam Saini 提交于
imx6ul-isiot-mmc.dts was removed in uboot version v2018.03 and from then onwards IMX6UL isiot uses imx6ul-isiot-emmc.dts for mmc, so remove unnecessary check for mmc. Signed-off-by: NShyam Saini <shyam.saini@amarulasolutions.com>
-
由 Igor Opaniuk 提交于
We never really added a sensible DFU configuration for platforms based on eMMC. Most of the things one might want to do can also be done with UMS or fastboot, so drop the DFU configuration. Signed-off-by: NIgor Opaniuk <igor.opaniuk@toradex.com> Reviewed-by: NPhilippe Schenker <philippe.schenker@toradex.com>
-
由 Breno Matheus Lima 提交于
Secure boot is not enabled in mx6sxsabresd imximage.cfg, add support for it. Signed-off-by: NBreno Lima <breno.lima@nxp.com> Reviewed-by: NPeng Fan <peng.fan@nxp.com> Reviewed-by: NFabio Estevam <festevam@gmail.com>
-
由 Anatolij Gustschin 提交于
Move build_info() to common place. Signed-off-by: NAnatolij Gustschin <agust@denx.de> Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com> Cc: Peng Fan <peng.fan@nxp.com> Reviewed-by: NPeng Fan <peng.fan@nxp.com>
-
由 Anatolij Gustschin 提交于
New imx8 boards started adding duplicated UART init code. Factor out this to common function sc_pm_setup_uart(). Signed-off-by: NAnatolij Gustschin <agust@denx.de> Cc: Peng Fan <peng.fan@nxp.com> Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: NPeng Fan <peng.fan@nxp.com> Reviewed-by: NPeng Fan <peng.fan@nxp.com>
-
由 Igor Opaniuk 提交于
Enable CONFIG_ARMV7_BOOT_SEC_DEFAULT by default to avoid a kernel crash when booting NXP linux kernels in non-secure world, when job ring device allocation is done by CAAM hw accelerator driver: caam 30900000.caam: job rings = 3, qi = 0 caam_jr 30901000.jr0: failed to flush job ring 0 caam_jr: probe of 30901000.jr0 failed with error -5 caam_jr 30902000.jr1: failed to flush job ring 1 caam_jr: probe of 30902000.jr1 failed with error -5 caam_jr 30903000.jr2: failed to flush job ring 2 caam_jr: probe of 30903000.jr2 failed with error -5 caam algorithms registered in /proc/crypto Job Ring Device allocation for transform failed caam 30900000.caam: caam pkc algorithms registered in /proc/crypto Unable to handle kernel NULL pointer dereference at virtual address 00000010 pgd = c0004000 [00000010] *pgd=00000000 Internal error: Oops: 5 [#1] PREEMPT SMP ARM Modules linked in: CPU: 0 PID: 1 Comm: swapper/0 Tainted: Hardware name: Freescale i.MX7 Dual (Device Tree) task: ec0d8000 task.stack: ec0ce000 PC is at caam_sm_startup+0x3f8/0x4f4 Signed-off-by: NIgor Opaniuk <igor.opaniuk@toradex.com>
-
由 Marcel Ziswiler 提交于
Unfortunately, that missing M makes the current downstream NXP BSP 4.14.98_2.0.0_ga crash early during Linux kernel boot. Fix this. Signed-off-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: NOleksandr Suvorov <oleksandr.suvorov@toradex.com> Reviewed-by: NIgor Opaniuk <igor.opaniuk@toradex.com> Tested-by: NIgor Opaniuk <igor.opaniuk@toradex.com>
-
由 Joris Offouga 提交于
This patch enable usb support with device-tree Signed-off-by: NJoris Offouga <offougajoris@gmail.com> Reviewed-by: NJun Nie <jun.nie@linaro.org>
-
由 Marek Vasut 提交于
Enable DM Watchdog support on iMX53 M53Menlo. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Stefano Babic <sbabic@denx.de>
-
由 Lukasz Majewski 提交于
The DM_FLAG_PRE_RELOC shall be set unconditionally as this driver is going to be re-used in both early SPL and U-Boot proper's pre-reloc. For i.MX based devices it is crucial to have available the serial console before relocation (otherwise the board may hand). The device definition may be provided either via device tree description or with U_BOOT_DEVICE(mxc_serial) definition. In the latter case the device will not bind in U-Boot proper when DM_FLAG_PRE_RELOC is not set. The !CONFIG_IS_ENABLED(OF_CONTROL) #if check was set as a "workaround" for DM problem described in following commit 46879196 ("serial: Remove DM_FLAG_PRE_RELOC flag in various drivers"). Let's look on this check more thoroughly - we add this flag if the board doesn't support OF_CONTROL. This is a bit strange as the serial_mxc.c can be used with CONFIG_DM_SERIAL but without corresponding device tree description (OF_CONTROL). In such case the aforementioned U_BOOT_DEVICE(mxc_serial) definition is used. Other boards/SoCs have this flag set unconditionally for serial driver. Signed-off-by: NLukasz Majewski <lukma@denx.de>
-
由 Marek Vasut 提交于
Add DM and DT probing support to iMX watchdog driver. This should allow boards to move over to this driver, enable SYSRESET_WATCHDOG to handle cpu_reset() if required. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Peng Fan <Peng.Fan@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Tested-by: NHeiko Schocher <hs@denx.de>
-
由 Marek Vasut 提交于
Use CONFIG_IS_ENABLED(WDT) to permit use of WDT in SPL without DM, while the full U-Boot can use rich DM/DT WDT driver. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Peng Fan <Peng.Fan@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Tested-by: NHeiko Schocher <hs@denx.de> Tested-by: NSuniel Mahesh <sunil.m@techveda.org>
-
由 Lukasz Majewski 提交于
Before the wide DM/DTS adoption in the U-Boot proper, the display5 has been using only DM_SERIAL to provide serial console in pre-relocation. After moving to full DM/DTS adoption in the U-Boot proper the U_BOOT_DEVICE definition is not needed anymore, as it has been replaced with udevice creation from provided DTS description. Signed-off-by: NLukasz Majewski <lukma@denx.de> Reviewed-by: NPeng Fan <peng.fan@nxp.com>
-
由 Lukasz Majewski 提交于
This file setups UART5 based serial to be used as pre-relocation console in the U-Boot proper. On purpose pinux configuration is omitted here as it has been already done in SPL. For early pre-relocation code we only need the serial device from DTS. Signed-off-by: NLukasz Majewski <lukma@denx.de> Reviewed-by: NPeng Fan <peng.fan@nxp.com>
-
由 Lukasz Majewski 提交于
This commit ports from Linux kernel - tag: v5.1 - the device tree description for display5 board. Signed-off-by: NLukasz Majewski <lukma@denx.de> Reviewed-by: NPeng Fan <peng.fan@nxp.com>
-
由 Lukasz Majewski 提交于
Porting more DTS code from Linux kernel for display5 board required increase of pre-relocation malloc pool size in U-Boot proper. The early malloc memory is necessary for handling parsing and setup of e.g. serial port device (and all its ancestors in DT tree). Signed-off-by: NLukasz Majewski <lukma@denx.de> Acked-by: NPeng Fan <peng.fan@nxp.com>
-
由 Lukasz Majewski 提交于
Add missing parenthesis to the GPIO_TO_PORT macro. Signed-off-by: NLukasz Majewski <lukma@denx.de> Reviewed-by: NPeng Fan <peng.fan@nxp.com>
-
由 Lukasz Majewski 提交于
After commit 14453fbf ("Convert CONFIG_SF_DEFAULT_* to Kconfig") and commit abe66b1b ("Convert CONFIG_ENV_SPI_* to Kconfig") ,which moved some SPI related CONFIG_* defines to Kconfig the display5 board has become unbootable as the SPI CS check condition had wrong value. This commit fixes this check and allows proper SPI NOR flash operation in SPL. Signed-off-by: NLukasz Majewski <lukma@denx.de>
-
由 Lukasz Majewski 提交于
This commit just corrects spelling of 'accessed' word in the EEPROM comment. Signed-off-by: NLukasz Majewski <lukma@denx.de> Reviewed-by: NPeng Fan <peng.fan@nxp.com>
-
由 Lukasz Majewski 提交于
Some comments are not needed anymore after Kconfig automated conversion. Signed-off-by: NLukasz Majewski <lukma@denx.de> Reviewed-by: NPeng Fan <peng.fan@nxp.com>
-
由 Shyam Saini 提交于
This would be used for writing spl images along nand BCB Signed-off-by: NShyam Saini <shyam.saini@amarulasolutions.com>
-