- 20 10月, 2021 13 次提交
-
-
由 Oleksandr Suvorov 提交于
Variable "kernel_image" is used in boot.scr script only, that sets its own default value to the constant string @@KERNEL_IMAGETYPE@@ in case "kernel_image" is not set. The default name of the kernel image shipped with BSP 5.x is "Image.gz". Setting kernel_image="Image" as a pre-defined u-boot variable breaks booting systems with modern versions of boot.scr, whereas renaming it fixes booting with modern scripts and does not break working of earlier versions of boot.scr. While at it also update the copyright period, rather than hard-coding fdtfile default fdt_board to dev for the Verdin iMX8M Mini and fix its closing #endif comment. Signed-off-by: NOleksandr Suvorov <oleksandr.suvorov@toradex.com> Signed-off-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: NFabio Estevam <festevam@gmail.com>
-
由 Max Krummenacher 提交于
We drop support for Verdin iMX8M Mini V1.0B. Related-to: ELB-3551 Signed-off-by: NMax Krummenacher <max.krummenacher@toradex.com> Signed-off-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: NFabio Estevam <festevam@gmail.com>
-
由 Marcel Ziswiler 提交于
Alphabetically order includes. While at it also update copyright year resp. period. Signed-off-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com>
-
由 Max Krummenacher 提交于
This powers some peripherals on the carrier board e.g. the USB hub. Related-to: ELB-3206 Signed-off-by: NMax Krummenacher <max.krummenacher@toradex.com> Signed-off-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: NFabio Estevam <festevam@gmail.com>
-
由 Marcel Ziswiler 提交于
Use binman to pack images. Signed-off-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: NHeiko Thiery <heiko.thiery@gmail.com> Reviewed-by: NFabio Estevam <festevam@gmail.com> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Marcel Ziswiler 提交于
Alphabetically re-order nodes and properties. Signed-off-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com>
-
由 Marcel Ziswiler 提交于
Prepare for DEK blob encapsulation support through "dek_blob" command. On ARMv8, u-boot runs in non-secure, thus cannot encapsulate a DEK blob for encrypted boot. The DEK blob is encapsulated by OP-TEE through a trusted application call. U-boot sends and receives the DEK and the DEK blob binaries through OP-TEE dynamic shared memory. To enable the DEK blob encapsulation, add to the defconfig: CONFIG_SECURE_BOOT=y CONFIG_FAT_WRITE=y CONFIG_CMD_DEKBLOB=y Taken from NXP's commit 56d2050f ("imx8m: Add DEK blob encapsulation for imx8m"). Signed-off-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: NFabio Estevam <festevam@gmail.com>
-
由 Marcel Ziswiler 提交于
Turns out Microship (formerly Micrel) meanwhile integrated proper support for the DLL setup on their KSZ9131. Unfortunately, this conflicts with our previous board code doing that. Fix this by getting rid of our board code and just relying on the generic implementation relying on rgmii-id being used as phy-mode. Fixes: commit c6df0e2f ("net: phy: micrel: add support for DLL setup on ksz9131") Fixes: commit af2d3c91 ("ARM: dts: imx8mm-verdin: Set PHY mode to RGMII-ID") Signed-off-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: NFabio Estevam <festevam@gmail.com>
-
由 Marcel Ziswiler 提交于
Replace spurious spaces with proper tabs. Signed-off-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: NFabio Estevam <festevam@gmail.com>
-
由 Stefano Babic 提交于
Due to missing configs, CI goes in deadlock until an OOM is tracked. Add CONFIG_SYS_LOAD_ADDR and replace CONFIG_SYS_EXTRA_OPTIONS with CONFIG_IMX_CONFIG. Signed-off-by: NStefano Babic <sbabic@denx.de> CC: Ying-Chun Liu (PaulLiu)" <paul.liu@linaro.org> CC: Fabio Estevam <festevam@denx.de>
-
由 Stefano Babic 提交于
Even if board can be successfuly built, CI goes in deadlock (see thread on https://www.mail-archive.com/u-boot@lists.denx.de/msg419663.html). This is caused by SYS_CONFIG set in header file and because defconfig for the board is out of sync with Kconfig. As result, buildman goes on to read from stdin until an OOM is reached. Signed-off-by: NStefano Babic <sbabic@denx.de> CC: Frieder Schrempf <frieder.schrempf@kontron.de>
-
由 Simon Glass 提交于
Hex and int Kconfig options are supposed to have defaults. This is so we can configure U-Boot without having to enter particular values for the items that don't have specific values in the board's defconfig file. If this rule is not followed, then introducing a new Kconfig can produce a loop like this: Break things (BREAK_ME) [] (NEW) Error in reading or end of file. Break things (BREAK_ME) [] (NEW) Error in reading or end of file. The continues forever since buildman passes /dev/null to 'conf', and the build system just tries again. Eventually there is so much output that buildman runs out of memory. We can detect this situation by looking for a symbol (like 'BREAK_ME') which has no default (the '[]' above) and is marked as new. If this appears multiple times in the output, we know something is wrong. Add a filter function for the output which detects this situation. Allow it to return True to terminate the process. Implement this termination in cros_subprocess. With this we get a nice message: buildman --board sandbox -T0 Building current source for 1 boards (0 threads, 32 jobs per thread) sandbox: w+ sandbox +.config:66:warning: symbol value '' invalid for BREAK_ME + +Error in reading or end of file. +make[3]: *** [scripts/kconfig/Makefile:75: syncconfig] Terminated +make[2]: *** [Makefile:569: syncconfig] Terminated +make: *** [Makefile:177: sub-make] Terminated +(** did you define an int/hex Kconfig with no default? **) Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
At present buildman does not write any output (to the 'out' and 'err) files if the build terminates with a fatal error. This is to avoid adding lots of spam to the logs. However there are times when this is actually useful, such as when the build fails for an obscure reason such as a Kconfig loop. Update the logic to always write the output, so that the user gets a clue as to what is happening. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 19 10月, 2021 8 次提交
-
-
由 Marek Vasut 提交于
Bulletproof the default boot command with reset statements in case any command in the chain would fail. In case a failure were to happen, the board will reset, increment boot counter and retry the procedure. In case the failures persist and the boot counter reaches the bootlimit, U-Boot starts altbootcmd instead of the default bootcmd boot command. The altbootcmd swaps the default boot partition for the other boot partition, which is an identical copy or an older copy, and tries booting from that one instead. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Stefano Babic <sbabic@denx.de>
-
由 Marek Vasut 提交于
Build U-Boot in Thumb2 mode for M53Menlo board, this makes better use of the CPU since the instruction density is higher. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Stefano Babic <sbabic@denx.de>
-
由 Marek Vasut 提交于
The board can do primary/secondary boot switching, enable the bmode command. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Stefano Babic <sbabic@denx.de>
-
由 Ricardo Salveti 提交于
Move setting CONFIG_BOOTCOMMAND to the mx7ulp_com_defconfig file. It also allows replacing the default CONFIG_BOOTCOMMAND without code modification. Signed-off-by: NRicardo Salveti <ricardo@foundries.io> Signed-off-by: NOleksandr Suvorov <oleksandr.suvorov@foundries.io> Reviewed-by: NFabio Estevam <festevam@gmail.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Fabio Estevam 提交于
Select IMX_HAB to allow secure boot. Signed-off-by: NFabio Estevam <festevam@denx.de>
-
由 Fabio Estevam 提交于
Add redundant environment support as it is required by SWUpdate. While at it, place the CONFIG_ENV_OFFSET at 0x100000 to allow more headroom. Signed-off-by: NFabio Estevam <festevam@denx.de>
-
由 Francesco Dolcini 提交于
Enable dynamic DDR calibration to have a reliable behavior on edge temperatures conditions. Signed-off-by: NMax Krummenacher <max.krummenacher@toradex.com> Signed-off-by: NFrancesco Dolcini <francesco.dolcini@toradex.com>
-
由 Francesco Dolcini 提交于
Enable dynamic DDR calibration to have a reliable behavior on edge temperatures conditions. Signed-off-by: NMax Krummenacher <max.krummenacher@toradex.com> Signed-off-by: NFrancesco Dolcini <francesco.dolcini@toradex.com>
-
- 08 10月, 2021 2 次提交
-
-
由 Oleksandr Suvorov 提交于
Import HS400 support for iMX7ULP B0 from the Linux kernel: 2eaf5a533afd ("mmc: sdhci-esdhc-imx: Add HS400 support for iMX7ULP") According to IC suggest, need to clear the STROBE_DLL_CTRL_RESET before any setting of STROBE_DLL_CTRL register. USDHC has register bits(bit[27~20] of register STROBE_DLL_CTRL) for slave sel value. If this register bits value is 0, it needs 256 ref_clk cycles to update slave sel value. IC suggest to set bit[27~20] to 0x4, it only need 4 ref_clk cycle to update slave sel value. This will short the lock time of slave. i.MX7ULP B0 will need more time to lock the REF and SLV, so change to add 5us delay. Signed-off-by: NOleksandr Suvorov <oleksandr.suvorov@foundries.io> Reviewed-by: NFabio Estevam <festevam@gmail.com> Reviewed-by: NJaehoon Chung <jh80.chung@samsung.com> Reviewed-by: NIgor Opaniuk <igor.opaniuk@foundries.io>
-
由 Jorge Ramirez-Ortiz 提交于
Import data for eSDHC driver for SoC iMX7ULP from the Linux kernel. Set supported by u-boot flags only. Signed-off-by: NJorge Ramirez-Ortiz <jorge@foundries.io> Signed-off-by: NRicardo Salveti <ricardo@foundries.io> Co-developed-by: NOleksandr Suvorov <oleksandr.suvorov@foundries.io> Signed-off-by: NOleksandr Suvorov <oleksandr.suvorov@foundries.io> Reviewed-by: NFabio Estevam <festevam@gmail.com> Reviewed-by: NJaehoon Chung <jh80.chung@samsung.com> Reviewed-by: NIgor Opaniuk <igor.opaniuk@foundries.io>
-
- 07 10月, 2021 17 次提交
-
-
由 Tim Harvey 提交于
Use the common imx8mm-venice-u-boot.dtsi (dtb for the 'DEFAULT_DEVICE_TREE) so that it inherits things like binman. Signed-off-by: NTim Harvey <tharvey@gateworks.com>
-
由 Tim Harvey 提交于
Use the common imx8mm-venice-u-boot.dtsi (dtb for the 'DEFAULT_DEVICE_TREE) so that it inherits things like binman. Signed-off-by: NTim Harvey <tharvey@gateworks.com>
-
由 Tim Harvey 提交于
Use the common imx8mm-venice-u-boot.dtsi (dtb for the 'DEFAULT_DEVICE_TREE) so that it inherits things like binman. Signed-off-by: NTim Harvey <tharvey@gateworks.com>
-
由 Fabio Estevam 提交于
When using SWUpdate, it is necessary to toggle between partitions. Use the 'mmcpart' environment variable to accomplish that. Signed-off-by: NFabio Estevam <festevam@denx.de>
-
由 Peng Fan 提交于
After switch to use binman, no need to use the bash script to check file exsiting or not. And there is bug that the script will be executed everytime Makefile is used which is confusing people. Signed-off-by: NPeng Fan <peng.fan@nxp.com> Tested-by: NFrieder Schrempf <frieder.schrempf@kontron.de>
-
由 Peng Fan 提交于
When creating flash.bin, the hdmi firmware might not be copied to U-Boot source tree. Then mkimage will fail. However we are switching to binman, binman will show the message if the file not there, and create empty file per i.MX8MQ binman node. So we not fail mkimage here othersize CI will fail if hdmi firmware not copied here. Signed-off-by: NPeng Fan <peng.fan@nxp.com>
-
由 Frieder Schrempf 提交于
The Kontron SoM-Line i.MX8MM (N801x) by Kontron Electronics GmbH is a SoM module with an i.MX8M-Mini SoC, 1/2/4 GB LPDDR4 RAM, SPI NOR, eMMC and PMIC. The matching evaluation boards (Board-Line) have 2 Ethernets, USB 2.0, HDMI/LVDS, SD card, CAN, RS485 and much more. Signed-off-by: NFrieder Schrempf <frieder.schrempf@kontron.de> Reviewed-by: NStefano Babic <sbabic@denx.de> Tested-by: NHeiko Thiery <heiko.thiery@gmail.com>
-
由 Andrej Rosano 提交于
Enable ethernet driver model as it is mandatory. Signed-off-by: NAndrej Rosano <andrej.rosano@f-secure.com>
-
由 Tim Harvey 提交于
Remove board_ehci_hcd_init function that is not used with DM_USB and replace its functionality with device-tree configuraton that treats USB HUB RST# as a gpio enable for the usbh1 vbus regulator. Signed-off-by: NTim Harvey <tharvey@gateworks.com>
-
由 Tim Harvey 提交于
Enable LVDS display detection and panel-specific configuration Make I2C based LVDS detection and configuration model specific: - not all boards support LVDS connectors; fail detection that do not support LVDS to avoid misdetecting an I2C device as a display - GPIO configuration is panel specific; use panel name where needed Signed-off-by: NTim Harvey <tharvey@gateworks.com>
-
由 Tim Harvey 提交于
After mxc_ipuv3 DM_VIDEO conversion showing splash image doesn't work. Fix this by adding new requirements: - splashimage env variable. - CONFIG_SPLASH_SCREEN - CONFIG_CMD_BMP Signed-off-by: NTim Harvey <tharvey@gateworks.com>
-
由 Tim Harvey 提交于
Enable additional USB ethernet devices. Signed-off-by: NTim Harvey <tharvey@gateworks.com>
-
由 Tim Harvey 提交于
We configure network phy configuration for internal delay, LED config, and clock config. If we leave the phy reset gpio defined in dt the kernel may issue a reset to the phy and break these configs. While some may be handled by a kernel phy driver, others may not (typically LED config). Signed-off-by: NTim Harvey <tharvey@gateworks.com>
-
由 Tim Harvey 提交于
Add watchdog support for U-Boot Signed-off-by: NTim Harvey <tharvey@gateworks.com>
-
由 Tim Harvey 提交于
Add part command for obtaining info about disk partitions. Signed-off-by: NTim Harvey <tharvey@gateworks.com>
-
由 Frieder Schrempf 提交于
This adds support for i.MX6UL/ULL-based evaluation kits with SoMs by Kontron Electronics GmbH. Currently there are the following SoM flavors (SoM-Line): * N6310: SOM with i.MX6UL-2, 256MB RAM, 256MB SPI NAND * N6311: SOM with i.MX6UL-2, 512MB RAM, 512MB SPI NAND * N6411: SOM with i.MX6ULL, 512MB RAM, 512MB SPI NAND And the according evaluation boards (Board-Line): * N6310-S: Baseboard with SOM N6310, eMMC, display (optional), ... * N6311-S: Baseboard with SOM N6311, eMMC, display (optional), ... * N6411-S: Baseboard with SOM N6411, eMMC, display (optional), ... Currently U-Boot describes i.MX6UL and i.MX6ULL through separate config options at compile-time. Though the differences are so minor, that for the scope of these SoMs we just use a single defconfig that is compatible with both SoCs. Signed-off-by: NFrieder Schrempf <frieder.schrempf@kontron.de> Reviewed-by: NStefano Babic <sbabic@denx.de>
-
由 Matthias Schiffer 提交于
The CONFIG_SPL_MAX_SIZE definition did not account for all areas that are used by the boot ROM according to the manual, causing boot failures due to truncated SPL images when actually hitting this limit. Signed-off-by: NMatthias Schiffer <matthias.schiffer@ew.tq-group.com>
-