- Mar 30, 2020
-
-
Marek Behun authored
When logical address of a regular extent is 0, the extent is sparse and consists of all zeros. Without this when sparse extents are used in a file reading fails with Cannot map logical address 0 to physical Signed-off-by:
Marek Behún <marek.behun@nic.cz>
-
- Feb 24, 2020
-
-
Marek Behun authored
Commit e8e9715d requires the USB3 regulator node to have the enable-active-high property for the regulator to work properly. The GPIO_ACTIVE_HIGH constant is not enough anymore. Signed-off-by:
Marek Behún <marek.behun@nic.cz> Fixes: e8e9715d ("regulator: fixed: Modify enable-active-high...")
-
- Oct 22, 2019
-
-
Marek Behun authored
For some reason the pci-aardvark driver in Linux always reports advk-pcie d0070000.pcie: link never came up if the PCIe controller is probed in U-Boot. Temporarily disable PCIe probing in U-Boot until this issue is solved in the pci-aardvark driver in U-Boot. Signed-off-by:
Marek Behún <marek.behun@nic.cz>
-
Marek Behun authored
Patch Linux's device tree according to which Mox modules are connected. Linux's device tree is supposed to have some nodes already preprogrammed. If user wants to use different device tree, they should disable CONFIG_OF_BOARD_SETUP in U-Boot's config, so that the boot command does not fail. Signed-off-by:
Marek Behún <marek.behun@nic.cz>
-
Marek Behun authored
With recent changes to the mmc subsystem (chip detect code etc) update the sdhci node of the Turris Mox device tree. Signed-off-by:
Marek Behún <marek.behun@nic.cz>
-
Marek Behun authored
The SPI clock signal changes value when the SPI configuration register is configured. This can sometimes lead to the device misinterpreting the enablement of the SPI controller as actual clock tick. This can be solved by first setting the SPI CS1 pin from GPIO to SPI mode, and only after that writing the SPI configuration register. Signed-off-by:
Marek Behún <marek.behun@nic.cz>
-
- Oct 21, 2019
-
-
Patrick Delaunay authored
Correct the name of the define used CONFIG_IS_ENABLED which is not aligned with Kconfig name: CONFIG_$(SPL_)PINCONF_RECURSIVE. The recursive calls is conditional only for UCLASS_PINCONFIG "pinconfig" driver. It is always needed to call pinctrl_post_bind for UCLASS_PINCTRL "pinctrl", the test CONFIG_IS_ENABLED(PINCONF_RECURSIVE) need to be removed for this driver. This correct a regression introduced because the same patch is applied twice times in u-boot-dm branch: - commit e878b53a ("dm: pinctrl: introduce PINCONF_RECURSIVE option") - commit c20851b3 ("dm: pinctrl: introduce PINCONF_RECURSIVE option") Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com>
-
Patrick Delaunay authored
Remove the duplicated configs introduced when the same patch is applied twice times: - commit e878b53a ("dm: pinctrl: introduce PINCONF_RECURSIVE option") - commit c20851b3 ("dm: pinctrl: introduce PINCONF_RECURSIVE option") Signed-off-by:
Patrick Delaunay <patrick.delaunay@st.com>
-
- Oct 18, 2019
-
-
Anatolij Gustschin authored
Loading U-Boot on i.MX8QXP MEK board is broken since recent changes in spl_mmc: U-Boot SPL 2019.10-00162-gff5bd397e4 (Oct 18 2019 - 15:50:45 +0200) Normal Boot WDT: Not found! Trying to boot from MMC2_2 Load image from MMC/SD 0x46400 spl: mmc partition switch failed SPL: failed to boot from all boot devices ### ERROR ### Please RESET the board ### The newly added CONFIG_SYS_MMCSD_RAW_MODE_EMMC_BOOT_PARTITION option is selected automatically and overrides the EXT_CSC_PART_CONFIG configurations with default value, always selecting the eMMC boot partition 1. Boards which place U-Boot image in other partitions became not bootable. Fix this by making the eMMC HW boot partition selection optional. Fixes: 17241ea0 (spl: mmc: Add option to set eMMC HW boot partition) Reviewed-by:
Lukasz Majewski <lukma@denx.de> Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
https://gitlab.denx.de/u-boot/custodians/u-boot-efiTom Rini authored
Pull request for UEFI sub-system for efi-2020-01-rc1 (2) Install the simple file protocol only if there is a file system on the partition. Enable CONFIG_CMD_NVEDIT_EFI on QEMU.
-
https://gitlab.denx.de/u-boot/custodians/u-boot-amlogicTom Rini authored
- document alternative libretech-cc installation methods, including upstream TF-A and opensource tools - add HDMI/CVBS display support for Amlogic G12A SoCs and SEI510 board - add support for Amlogic A311D based Khadas VIM3 - add support for Amlogic S905X3 based SEI610 board, targeting Android support like SEI510
-
https://gitlab.denx.de/u-boot/custodians/u-boot-riscvTom Rini authored
- Support sifive DM based gpio driver for FU540-SoC. - Align boot image header with Linux v5.3
-
Guillaume La Roque authored
Add separate config file to handle the different eMMC size on the sei610 board. Signed-off-by:
Guillaume La Roque <glaroque@baylibre.com> Signed-off-by:
Neil Armstrong <narmstrong@baylibre.com>
-
Guillaume La Roque authored
Move android generic config and boot sequence in meson64_android header and fix size of userdata to use all eMMC on SEI510. Signed-off-by:
Guillaume La Roque <glaroque@baylibre.com> Signed-off-by:
Neil Armstrong <narmstrong@baylibre.com>
-
Neil Armstrong authored
Add support for the customer board SEI610 manufactured by SEI Robotics with the following specifications: - Amlogic S905X3 ARM Cortex-A55 quad-core SoC - 2GB DDR4 SDRAM - 10/100 Ethernet (Internal PHY) - 1 x USB 3.0 Host - 1 x USB Type-C DRD - 1 x FTDI USB Serial Debug Interface - eMMC - SDcard - Infrared receiver - SDIO WiFi Module Like it's SEI510 counterpart, the boot flow is designed to boot Android AOSP built for the Yukawa Android device. Signed-off-by:
Neil Armstrong <narmstrong@baylibre.com>
-
Neil Armstrong authored
Rename meson-g12a-u-boot.dtsi into meson-g12-common-u-boot.dtsi to match the new DT architecture and add meson-sm1-sei610-u-boot.dtsi to handle the U-Boot specific DT for graphics. Signed-off-by:
Neil Armstrong <narmstrong@baylibre.com>
-
Neil Armstrong authored
The GX VPU Power Domain driver has been replaced by the Everything-Else Power Domain driver for G12A and SM1. Signed-off-by:
Neil Armstrong <narmstrong@baylibre.com>
-
Neil Armstrong authored
Based on the 54ecb8f7028c ("Linux 5.4-rc1") Everything-Else power domain driver for Amlogic SoCs. This driver handles the VPU Power domain and other domains from the Everything-Else part of the SM1 and G12A SoCs. Signed-off-by:
Neil Armstrong <narmstrong@baylibre.com>
-
Neil Armstrong authored
Import the Amlogic SM1 DT and the SEI610 board DT from [1] [1] da0c9ea146cb ("Linux 5.4-rc2") Signed-off-by:
Neil Armstrong <narmstrong@baylibre.com>
-
Neil Armstrong authored
The SM1 clock controller is almost identical to the G12A and so far the differences don't matter. Signed-off-by:
Neil Armstrong <narmstrong@baylibre.com>
-
Neil Armstrong authored
Add support for mmc-pwrseq-emmc in the meson-gx mmc driver to support enabling the eMMC. Signed-off-by:
Neil Armstrong <narmstrong@baylibre.com>
-
Neil Armstrong authored
Add the missing IDs to detect the SM1 S905X3 SoC. Signed-off-by:
Neil Armstrong <narmstrong@baylibre.com>
-
Andreas Färber authored
Values imported from Linux driver, but in correct numeric order. Khadas VIM3 prints: Amlogic Meson G12B (A311D) Revision 29:b (10:2) Cc: Christian Hewitt <christianshewitt@gmail.com> Signed-off-by:
Andreas Färber <afaerber@suse.de> Signed-off-by:
Neil Armstrong <narmstrong@baylibre.com>
-
Andreas Färber authored
Write SoC instead of Soc. The Linux driver is not affected. Fixes: f41d723b ("ARM: meson: display Amlogic SoC Information") Signed-off-by:
Andreas Färber <afaerber@suse.de> Signed-off-by:
Neil Armstrong <narmstrong@baylibre.com>
-
Andreas Färber authored
Derived from odroid-n2_defconfig and README.odroid-n2. Reviewed-by:
Neil Armstrong <narmstrong@baylibre.com> Signed-off-by:
Andreas Färber <afaerber@suse.de> Signed-off-by:
Neil Armstrong <narmstrong@baylibre.com>
-
Andreas Färber authored
In Linux meson-g12-common.dtsi was introduced as well as new g12b nodes and headers, as dependencies of new meson-g12b-a311d-khadas-vim3.dts. Copied from da0c9ea146cb ("Linux 5.4-rc2") Signed-off-by:
Andreas Färber <afaerber@suse.de> Signed-off-by:
Neil Armstrong <narmstrong@baylibre.com>
-
Neil Armstrong authored
Add the necessary config options to support BMP display over HDMI, and add a preboot command to load the BMP file from a predefined eMMC partition. Signed-off-by:
Neil Armstrong <narmstrong@baylibre.com> Reviewed-by:
Anatolij Gustschin <agust@denx.de>
-
Neil Armstrong authored
Like the meson-gx support, add the U-Boot specific bits in DT to support graphics on G12A SoCs. Signed-off-by:
Neil Armstrong <narmstrong@baylibre.com> Reviewed-by:
Anatolij Gustschin <agust@denx.de>
-
Neil Armstrong authored
If VIDEO_MESON is enabled, we need to setup the fdt for the framebuffer. Call meson_vpu_rsv_fb() which reserves the framebuffer memory region for EFI, and sets up simple-framebuffer nodes if simplefb support is enabled. Signed-off-by:
Neil Armstrong <narmstrong@baylibre.com> Reviewed-by:
Anatolij Gustschin <agust@denx.de>
-
Neil Armstrong authored
Finally add the Amlogic G12A SoC compatible for the VPU driver. Signed-off-by:
Neil Armstrong <narmstrong@baylibre.com> Reviewed-by:
Anatolij Gustschin <agust@denx.de>
-
Neil Armstrong authored
Synchronize the Amlogic Meson Video driver back with the latest DRM misc tree, adding G12A platform support, from the latest commit: 528a25d040bc ("drm: meson: use match data to detect vpu compatibility") The sync includes the following changes from Linux adapted to U-Boot: - Add support for VIC alternate timings - Switch PLL to 5.94GHz base for 297Mhz pixel clock - Add registers for G12A SoC - Add G12A Support for VPP setup - Add G12A Support for VIU setup - Add G12A support for OSD1 Plane - Add G12A support for plane handling in CRTC driver - Add G12A support for CVBS Encoder - Add G12A Video Clock setup - Add G12A support for the DW-HDMI Glue - fix G12A HDMI PLL settings for 4K60 1000/1001 variations - fix primary plane disabling - fix G12A primary plane disabling - mask value when writing bits relaxed - crtc: drv: vpp: viu: venc: use proper macros instead of magic constants - global clean-up - add macro used to enable HDMI PLL - venc: set the correct macrovision max amplitude value Signed-off-by:
Neil Armstrong <narmstrong@baylibre.com> Reviewed-by:
Anatolij Gustschin <agust@denx.de>
-
Neil Armstrong authored
Remove getting and enabling the node power domain since it's now handled by the dm core directly. Signed-off-by:
Neil Armstrong <narmstrong@baylibre.com> Reviewed-by:
Anatolij Gustschin <agust@denx.de>
-
Neil Armstrong authored
Add necessary clock support to set up clock for the VPU and HDMI support. Signed-off-by:
Neil Armstrong <narmstrong@baylibre.com> Reviewed-by:
Anatolij Gustschin <agust@denx.de>
-
Neil Armstrong authored
Add Amlogic G12A support for the gx-pwrc driver, aligned on the Linux v5.2 driver. Signed-off-by:
Neil Armstrong <narmstrong@baylibre.com> Reviewed-by:
Anatolij Gustschin <agust@denx.de>
-
Daniel Drake authored
As already documented in this README, several binaries must be glued together in order to boot the device. Extend the documentation to cover the prebuilt binaries (saving you the hassle of installing ancient cross-compilers), and also mention the open source replacements for the encryption tool (which is especially useful if you want to avoid requiring 32-bit x86 binaries in your build system). Signed-off-by:
Daniel Drake <drake@endlessm.com> Cc: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by:
Neil Armstrong <narmstrong@baylibre.com>
-
Atish Patra authored
The released Linux boot image header in v5.3 is different from the one present in U-Boot. Align the header with the new version. The changes in Linux are backward compatible. Previous U-Boot releases with older header will continue to work as well. As v5.3 kernel is the first one to support image header, there is no compatibility issue between new U-Boot (with this patch) and older kernel. Signed-off-by:
Atish Patra <atish.patra@wdc.com> Reviewed-by:
Rick Chen <rick@andestech.com>
-
Sagar Shrikant Kadam authored
Enable the DM based GPIO driver for FU540-C000 SoC. Signed-off-by:
Sagar Shrikant Kadam <sagar.kadam@sifive.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Tested-by:
Bin Meng <bmeng.cn@gmail.com>
-
Sagar Shrikant Kadam authored
This patch adds a DM based driver model for gpio controller present in FU540-C000 SoC on HiFive Unleashed A00 board. This SoC has one GPIO bank and 16 GPIO lines in total, out of which GPIO0 to GPIO9 and GPIO15 are routed to the J1 header on the board. This implementation is ported from linux based gpio driver submitted for review by Wesley W. Terpstra <wesley@sifive.com> and/or Atish Patra <atish.patra@wdc.com> (many thanks !!). The linux driver can be referred here [1] [1]: https://lkml.org/lkml/2018/10/9/1103 Signed-off-by:
Sagar Shrikant Kadam <sagar.kadam@sifive.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
- Oct 17, 2019
-
-
Heinrich Schuchardt authored
To reduce the default image size CONFIG_CMD_NVEDIT_EFI was disabled by default. Re-enable it on the QEMU platforms supporting the UEFI sub-system. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
AKASHI Takahiro authored
In the current implementation, EFI_SIMPLEFILE_SYSTEM_PROTOCOL is always installed to all the partitions even if some of them may house no file system. With this patch, that protocol will be installed only if any file system exists. Signed-off-by:
AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-