- 18 Sep, 2020 1 commit
-
-
Soeren Moch authored
This is not required for sysboot (we defined fdtfile), let's save a few bytes in the binary image without these variables. Signed-off-by:
Soeren Moch <smoch@web.de> Reviewed-by:
Fabio Estevam <festevam@gmail.com>
-
- 17 Sep, 2020 19 commits
-
-
Philippe Schenker authored
The Toradex product is called apalis-imx8 consisting of SoM with i.MX8QM and i.MX8QP SoCs. Signed-off-by:
Philippe Schenker <philippe.schenker@toradex.com> Reviewed-by:
Igor Opaniuk <igor.opaniuk@toradex.com>
-
Philippe Schenker authored
The Toradex product is called colibri-imx8x consisting of SoM with i.MX8QXP and i.MX8DX SoCs. Signed-off-by:
Philippe Schenker <philippe.schenker@toradex.com> Reviewed-by:
Igor Opaniuk <igor.opaniuk@toradex.com>
-
Haibo Chen authored
Currently, after config the clock rate, delay 10ms, this is quite a rough method. Check the clock stable status in the present status register is enough. Tested-by:
Ji Luo <ji.luo@nxp.com> Signed-off-by:
Haibo Chen <haibo.chen@nxp.com>
-
Marek Vasut authored
This patch adds support for iMX6UL/ULL/SL/SDL MMDC into the DDR calibration code. The difference between MX6DQ and MX6UL/ULL/SL is that the later SoCs have 2 SDQS registers, just like MX6SX, while the MX6DQ/MX6SDL has 8. Fixes: 4f4c128c65 ("ARM: mx6: ddr: Add support for iMX6SX") Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Eric Nelson <eric@nelint.com> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Reviewed-by:
Fabio Estevam <festevam@gmail.com>
-
Denis Pynkin authored
The size of the binary created with the default U-boot config is much greater than the default offset for environment `0x60000`. In case if that binary is used for booting via MMC it is overlapped with the environment stored on MMC. This leads to U-Boot corruption while saving environment with `saveenv` command and non-bootable SabreLite board. The offset for environment `CONFIG_ENV_OFFSET=0x60000` was added in commit a09fea1d but did not count in the change to `0xC0000` if option `CONFIG_ENV_IS_IN_MMC` is used. The offset is also used for variant with environment saving onto SPI NOR flash (with enabled option `CONFIG_ENV_IS_IN_SPI_FLASH`). In that case the U-Boot binary flashed on SPI NOR is also corrupted after environment saving with the original 0x60000 offset. Signed-off-by:
Denis Pynkin <denis.pynkin@collabora.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Peng Fan authored
Latest datasheet revE has removed MIMX8ML7D/5D/7C/5C parts, so update u-boot to remove decoding and support for those parts. Signed-off-by:
Ye Li <ye.li@nxp.com> Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Peng Fan authored
Add missed return Signed-off-by:
Peng Fan <peng.fan@nxp.com>
-
Peng Fan authored
Fix SSCG_PLL_REFCLK_SEL_x, the offset starts from 0, not 16 Reported-by: Coverity 3448860 Signed-off-by:
Peng Fan <peng.fan@nxp.com> Reviewed-by:
Ye Li <ye.li@nxp.com>
-
Peng Fan authored
Coverity reported dead code, however it is FRAC_PLL_REFCLK_SEL_MASK was wrongly set. Reported-by: Coverity 10045172 Signed-off-by:
Peng Fan <peng.fan@nxp.com> Reviewed-by:
Ye Li <ye.li@nxp.com>
-
Peng Fan authored
According to i.MX 7Dual Applications Processor Reference Manual, Rev. 1 The target interface CCM root index ranges [0,124], so the number should be 125. Reported-by: Coverity 18045 Signed-off-by:
Peng Fan <peng.fan@nxp.com> Reviewed-by:
Ye Li <ye.li@nxp.com>
-
Igor Opaniuk authored
Provide fdtfile value in default env instead of setting it dynamically in runtime. Fixes: 85cb2bc6("apalis/colibri imx6: provide proper fdtfile value") Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com>
-
Igor Opaniuk authored
Provide fdtfile value in default env instead of setting it dynamically in runtime. Fixes: 85cb2bc6("apalis/colibri imx6: provide proper fdtfile value") Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com>
-
Igor Opaniuk authored
Enable and set preboot var with fdtfile evaluation. preboot will be checked and run immediately before starting the CONFIG_BOOTDELAY countdown and/or running the auto-boot command resp. entering interactive mode. This provides possibility to use different boot cmds in interactive mode without manual setting fdtfile value, as it it's already evaluated before entering interactive mode. Fixes: a62c6061("colibri_imx7_emmc: add Colibri iMX7D 1GB (eMMC) module support") Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com>
-
Igor Opaniuk authored
Enable and set preboot var with fdtfile evaluation. preboot will be checked and run immediately before starting the CONFIG_BOOTDELAY countdown and/or running the auto-boot command resp. entering interactive mode. This provides possibility to use different boot cmds in interactive mode without manual setting fdtfile value, as it it's already evaluated before entering interactive mode. Fixes: 304042c1("colibri_vf: set fdtfile for distroboot") Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com>
-
Igor Opaniuk authored
Enable and set preboot var with fdtfile evaluation. preboot will be checked and run immediately before starting the CONFIG_BOOTDELAY countdown and/or running the auto-boot command resp. entering interactive mode. This provides possibility to use different boot cmds in interactive mode without manual setting fdtfile value, as it it's already evaluated before entering interactive mode. Fixes: board: 31b1e17f("toradex: add Colibri iMX6ULL support") Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com>
-
Igor Opaniuk authored
Wrap video specific functionality with ifdefs. Fixes: 195011b2("colibri-imx7: fix splash logo drawing") Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com>
-
Igor Opaniuk authored
Drop show_boot_logo legacy function, as splashscreen functionality can be used instead. Fixes: d3241897("toradex: common: show boot logo") Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com>
-
Igor Opaniuk authored
Set proper splashscreen env value instead of calling legacy function to show embed boot logo. Fixes: 195011b2("colibri-imx7: fix splash logo drawing") Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com>
-
Igor Opaniuk authored
Set proper splashscreen env value instead of calling legacy function to show embed boot logo. Fixes: 391c712d("colibri-imx6ull: show boot logo") Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com>
-
- 16 Sep, 2020 6 commits
-
-
https://gitlab.denx.de/u-boot/custodians/u-boot-efiTom Rini authored
Pull request for UEFI sub-system for efi-2020-10-rc5 The following bugs are fixed: * unaligned access in br_i32_decode() * missing restore of global data pointer in UEFI selftest * missing restore of global data pointer on RISC-V in UEfI subsystem * efi_var_mem_notify_exit_boot_services() should not be __efi_runtime
-
https://gitlab.denx.de/u-boot/custodians/u-boot-rockchipTom Rini authored
- Fix rv1108 grf access issue - make_fit_atf: ignore empty PT_LOAD segment
-
Heinrich Schuchardt authored
The linker sometimes creates PT_LOAD segments with length (p_filesz) zero as described in https://man7.org/linux/man-pages/man5/elf.5.html. This leads to build failures. We should ignore empty segments. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de> Tested-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
Enable board early init callback to init board specific hardware. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
The grf node will be used before relocate, enable it in dts. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
Use board_early_init_f() instead of mach_cpu_init() for board, the board_early_init_f() is used for board init and after dm_initf, while the mach_cpu_init() is used for CPU/SOC and before dm_initf()(not able to use syscon API). Fixes: 9cec3367 ("rockchip: evb-rv1108: Use syscon API to get grf base") Fixes: 4aa33690 {"rockchip: elgin-rv1108: Use syscon API to get grf base") Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
- 15 Sep, 2020 4 commits
-
-
https://gitlab.denx.de/u-boot/custodians/u-boot-mmcTom Rini authored
- Use mmc_of_parse for msm_sdhci - Add missing common host caps for xenon_sdhci.
-
Marek Vasut authored
Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip. Signed-off-by:
Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Andre Heider authored
Use mmc_of_parse() to set the common host properties. That includes "bus-width", so parsing it can be removed from the driver. But more importantly, "non-removable" is now respected, which fixes the usage of eMMC. Signed-off-by:
Andre Heider <a.heider@gmail.com> Reviewed-by:
Konstantin Porotchkin <kostap@marvell.com> Tested-by:
Marek Behún <marek.behun@nic.cz>
-
Manivannan Sadhasivam authored
Since the introduction of 'get_cd' callback in sdhci core, dragonboard410c's MMC interface is broken. It turns out that 'get_cd' callback checks for the host_caps for validating the chip select. And since the msm_sdhci driver is not parsing the host_caps from DT, not all of the cababilities are parsed properly. This results in the MMC interfaces to be broken. Hence, fix this by adding a call to 'mmc_of_parse' during driver probe. Signed-off-by:
Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Tested-by:
Aníbal Limón <anibal.limon@linaro.org> Reviewed-By:
Ramon Fried <rfried.dev@gmail.com> Reviewed-by:
Jaehoon Chung <jh80.chung@samsung.com>
-
- 14 Sep, 2020 6 commits
-
-
Heinrich Schuchardt authored
Before calling do_reset() in the EFI selftest we must restore the global data pointer. Fixes: fa63753f ("efi_selftest: substitute ResetSystem() by do_reset()") Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
Heinrich Schuchardt authored
On RISC-V the global data pointer is stored in register gp. When a UEFI binary calls the EFI API we have to restore it. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
Heinrich Schuchardt authored
Function set_gd() is needed in the UEFI sub-system if the global data pointer is stored in a register. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
Heinrich Schuchardt authored
efi_var_mem_notify_exit_boot_services() is invoked when ExitBootServices() is called by the UEFI payload. efi_var_mem_notify_exit_boot_services() should not be defined as __efi_runtime as it is invoking EFI_ENTRY() and EFI_EXIT() which themselves are not __efi_runtime. Fixes: f1f990a8 ("efi_loader: memory buffer for variables") Fixes: e01aed47 ("efi_loader: Enable run-time variable support for tee based variables") Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de> Acked-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org>
-
Robert Reither authored
Fixes problem for unaligned 32bit big-endian access in lib/rsa/rsa-keyprop.c. Exchanges br_i32_decode() with get_unaligned_be32(). This will keep the unaligned access for architectures capable and will do some byte-shift magic for the not so capable ones. Reported-by:
Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-by:
Robert Reither <robert.reither@external.thalesgroup.com> Remove unused include. Reviewed-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
Tom Rini authored
- A large assortment of minor fixes - Documentation improvements
-
- 12 Sep, 2020 4 commits
-
-
Heinrich Schuchardt authored
The environment variable test uses function validate_empty() to check that a variable is not defined. If the hush parser is not enabled, we cannot refer to a variable by $var_name but only by ${var_name}. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de> Acked-by:
Stephen Warren <swarren@nvidia.com>
-
Heinrich Schuchardt authored
HTML documentation is generated in doc/output/. This directory shall be deleted by 'make mrproper' Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Heinrich Schuchardt authored
Provide a description of the U-Boot build process with GCC in the HTML documentation. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
Heinrich Schuchardt authored
Add a chapter to the HTML documentation describing how to retrieve the U-Boot sources. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-