Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on May 16, 2023

  1. Merge tag 'efi-2023-07-rc3' of https://source.denx.de/u-boot/custodia…

    …ns/u-boot-efi
    
    Pull request efi-2023-07-rc3
    
    Documentation:
    
    * update the description of signature algorithms
    
    UEFI:
    
    * fix unaligned access to GUID in HII database protocol
    * fix launching EFI binaries loaded via semihosting
    * fix filling of file path in loaded image protocol for non-block devices
    trini committed May 16, 2023
  2. Merge branch '2023-05-15-assorted-bugfixes'

    - Merge in a long-standing fix for some exynos platforms, correct a
      Kconfig description, fix some env issues, fix an issue in
      devfdt_get_addr_size_index_ptr and look for "panel-timings" not
      "panel-timing" per upstream binding.
    trini committed May 16, 2023
  3. Merge tag 'xilinx-for-v2023.07-rc3' of https://source.denx.de/u-boot/…

    …custodians/u-boot-microblaze
    
    Xilinx changes for v2023.07-rc3
    
    .mailmap
    - Fix Xilinx IDs
    
    ZynqMP:
    - Fix R5 split boot mode
    - DT fixes - sync with Linux
    
    Xilinx:
    - Enable virtio and RNG support
    - Enable ADI ethernet phy
    
    SPI/Zynq:
    - Fix dummy byte calculation
    trini committed May 16, 2023

Commits on May 15, 2023

  1. environment: ti: rproc: fix remoteproc environment variables

    During refactor this seemed to have been missed.
    
    Fixes: 65dbb12 ("include: environment: ti: Use .env for environment variables")
    
    Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
    manorit2001 authored and trini committed May 15, 2023
  2. core: fdtaddr: use map_sysmem() as cast for the return (part 2)

    For the devfdt_get_addr_size_index_ptr() function use
    map_sysmem() function as cast for the return for use in
    sandbox.
    
    Signed-off-by: Johan Jonker <jbx6244@gmail.com>
    Johan Jonker authored and trini committed May 15, 2023
  3. drivers: core: ofnode: fix typo in panel timing decode

    In case where a single timing resolution is implemented in the
    device-tree, the property is named "panel-timing", as specify
    in Linux kernel binding file:
    
    Documentation/devicetree/bindings/display/panel/panel-common.yaml
    
      # Display Timings
      panel-timing:
        description:
          Most display panels are restricted to a single resolution and
          require specific display timings. The panel-timing subnode expresses those
          timings.
        $ref: panel-timing.yaml#
    
      display-timings:
        description:
          Some display panels support several resolutions with different timings.
          The display-timings bindings supports specifying several timings and
          optionally specifying which is the native mode.
        $ref: display-timings.yaml#
    
    Fixes: 0347cc7 ("drivers: core: ofnode: Add panel timing decode.")
    Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
    Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
    rgallaispouSTM authored and trini committed May 15, 2023
  4. envtools lack extra settings since commit 86b9c3e ("env: Allow U-Boot…

    … scripts to be placed in
    
    After converting my targets from CFG_EXTRA_ENV_SETTINGS to
    CONFIG_EXTRA_ENV_TEXT as suggested by Tom, I discovered that
    fw_setenv doesn't set the entire defaut environment anymore.
    
    I tried to fix it with the below patch, but it fails qemu-x86 CI test,
    see https://source.denx.de/u-boot/custodians/u-boot-mpc8xx/-/pipelines/16326
    That's the only CI test that fails AFAICS.
    
    Could you help with a solution ? This needs to be fixed.
    
    Thanks
    Christophe
    
    ---- >8 ----
    From: Christophe Leroy <christophe.leroy@csgroup.eu>
    Subject: [RFC PATCH] envtools: Fix default environment
    
    After converting some targets from CFG_EXTRA_ENV_SETTINGS to
    CONFIG_EXTRA_ENV_TEXT, default environment embedded in
    fw_env tool missed all extra settings.
    
    Commit 86b9c3e ("env: Allow U-Boot scripts to be placed in
    a .env file") restricted the inclusion of the content of that
    file to builds without USE_HOSTCC.
    
    But as mentionned in commit 79fc0c5 ("tools/env: cross-compile
    fw_printenv without setting HOSTCC"), HOSTCC and USE_HOSTCC are
    kept for code re-use.
    
    Remove the restricting so that settings included in a .env
    file are also added to fw_env tool.
    
    Fixes: 86b9c3e ("env: Allow U-Boot scripts to be placed in a .env file")
    Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
    chleroy authored and trini committed May 15, 2023
  5. samsung: common: do not reset if cros-ec uclass is missing

    Otherwise non-ChromeOS samsung devices, like the odroid boards, are
    stuck in a bootloop if CONFIG_CROS_EC is not enabled:
    
        <...>
        MMC: SAMSUNG SDHCI: 2, EXYNOS DWMMC: 0
        Loading Environment from MMC... *** Warning - bad CRC, using default environment
    
        cros-ec communications failure -96
    
        Please reset with Power+Refresh
    
        Cannot init cros-ec device
        resetting ...
    
    Issue started after commit e44d7e7 ("dm: core: Switch
    uclass_*_device_err to use uclass_*_device_check").
    
    Signed-off-by: Henrik Grimler <henrik@grimler.se>
    Reviewed-by: Simon Glass <sjg@chromium.org>
    Reviewed-by: Minkyu Kang <mk7.kang@samsung.com>
    Grimler91 authored and trini committed May 15, 2023
  6. Revert "mmc: s5p_sdhci: unset the SDHCI_QUIRK_BROKEN_R1B"

    This reverts commit a034ec0.
    
    Commit 4a3ea75 ("Revert "mmc: sdhci: set to INT_DATA_END when
    there are data"") reverted the alternative fix that was added for
    Exynos 4 devices, causing an error when trying to boot from an sdcard:
    
        <...>
        Loading Environment from MMC... sdhci_send_command: Timeout for status update!
        mmc fail to send stop cmd
        <...>
    
    Re-add the quirk to allow booting from sdcards again.
    
    Signed-off-by: Henrik Grimler <henrik@grimler.se>
    Grimler91 authored and trini committed May 15, 2023
  7. video: tweak CONFIG_SPL_VIDEO description

    Make it clear that this is the SPL option to avoid potential confusion
    when the description for CONFIG_SPL_VIDEO is the same as that for
    CONFIG_VIDEO.
    
    Signed-off-by: John Keeping <john@metanate.com>
    johnkeeping authored and trini committed May 15, 2023
  8. Merge https://source.denx.de/u-boot/custodians/u-boot-cfi-flash

    - cfi: respect reg address length (Nuno)
    trini committed May 15, 2023
  9. mtd: cfi: respect reg address length

    flash_get_size() will get the flash size from the device itself and go
    through all erase regions to read protection status. However, the device
    mappable region (eg: devicetree reg property) might be lower than the
    device full size which means that the above cycle will result in a data
    bus exception. This change fixes it by reading the 'addr_size' during
    probe() and also use that as one possible upper limit.
    
    Signed-off-by: Nuno Sá <nuno.sa@analog.com>
    nunojsa authored and stroese committed May 15, 2023
  10. .mailmap: Map all Xilinx users mail ids to AMD

    The mail ids of all the current Xilinx users are to be mapped to AMD
    following the merger with AMD. The mailmap file is updated accordingly.
    
    The ids of Marek Behún and Michal Simek are taken as reference.
    
    Signed-off-by: Algapally Santosh Sagar <santoshsagar.algapally@amd.com>
    Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
    Link: https://lore.kernel.org/r/20230426060104.10412-3-ashok.reddy.soma@amd.com
    Signed-off-by: Michal Simek <michal.simek@amd.com>
    Algapally Santosh Sagar authored and michalsimek committed May 15, 2023
  11. .mailmap: Sort the mailmap ids in dictionary order

    The mailmap ids are not arranged in the dictionary order. So, sort the
    mailmap ids in the dictionary order.
    
    Signed-off-by: Algapally Santosh Sagar <santoshsagar.algapally@amd.com>
    Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
    Link: https://lore.kernel.org/r/20230426060104.10412-2-ashok.reddy.soma@amd.com
    Signed-off-by: Michal Simek <michal.simek@amd.com>
    Algapally Santosh Sagar authored and michalsimek committed May 15, 2023
  12. Revert "spi: zynq_qspi: Use dummy buswidth in dummy byte calculation"

    This reverts commit e097847. The
    commit wrongly divides the dummy bytes by dummy bus width to calculate
    the dummy bytes. The framework already converts the dummy cycles to the
    number of bytes and the controller use the SPI flash command to
    determine the dummy cycles via the address width.
    
    Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
    Acked-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
    Link: https://lore.kernel.org/r/20230427065355.7413-1-stefan.herbrechtsmeier-oss@weidmueller.com
    Signed-off-by: Michal Simek <michal.simek@amd.com>
    herbrechtsmeier authored and michalsimek committed May 15, 2023
  13. arm64: versal: Enable ADIN ethernet phy

    Versal VEK280 board has Analog Devices ethernet phy. So, enable
    CONFIG_PHY_ADIN config in Versal defconfig.
    
    Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
    Link: https://lore.kernel.org/r/20230420085645.21260-3-ashok.reddy.soma@amd.com
    Signed-off-by: Michal Simek <michal.simek@amd.com>
    Ashok Reddy Soma authored and michalsimek committed May 15, 2023
  14. arm64: zynqmp: Enable ADIN ethernet phy

    Some of the Kria SOM and ZynqMP boards are using Analog Devices ethernet
    phy. So, enable CONFIG_PHY_ADIN for all ZynqMP platforms.
    
    Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
    Link: https://lore.kernel.org/r/20230420085645.21260-2-ashok.reddy.soma@amd.com
    Signed-off-by: Michal Simek <michal.simek@amd.com>
    Ashok Reddy Soma authored and michalsimek committed May 15, 2023
  15. arm64: zynqmp: Fix User MTD partition size

    The commit c863016 ("arm64: zynqmp: Add mtd partition for secure OS
    storage area") didn't update User partition size that's why size was beyond
    actual device size.
    
    Signed-off-by: Michal Simek <michal.simek@amd.com>
    Link: https://lore.kernel.org/r/0a56405553b87a75e066cd71697cafe7c1c97eef.1681309812.git.michal.simek@amd.com
    michalsimek committed May 15, 2023
  16. arm64: zynqmp: Fix issue of apps executing from R5 core 1

    In current implementation, applications can execute only on R5 core 0.
    The boot address for R5 core 1 is not supplied. Pass TCM address for
    R5 core 1 based on the argument to fix the issue.
    
    Remove incomplete comment.
    
    Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com>
    Signed-off-by: Michal Simek <michal.simek@amd.com>
    Link: https://lore.kernel.org/r/da865717d26648ab7a84345ca8749712efdddee5.1680699999.git.michal.simek@amd.com
    Ashok Reddy Soma authored and michalsimek committed May 15, 2023
  17. ARM: zynq: Sync Microzed board with Linux kernel

    Fix model name, node locations and also add pinctrl description for usb.
    
    Signed-off-by: Michal Simek <michal.simek@amd.com>
    Link: https://lore.kernel.org/r/3295fde73db13a712b65f4967eb5f39ced895ad4.1679988091.git.michal.simek@amd.com
    michalsimek committed May 15, 2023
  18. ARM: zynq: Switch from earlyprintk to earlycon

    Switch to earlycon which is preffered over earlyprintk.
    It is also sync with Linux kernel (zynq-microzed).
    
    Signed-off-by: Michal Simek <michal.simek@amd.com>
    Link: https://lore.kernel.org/r/d280fa18068f80412cf12c235c5245651e7062e2.1679987839.git.michal.simek@amd.com
    michalsimek committed May 15, 2023
  19. xilinx: Enable virtio mmio transport and devices

    Qemu can create virtio mmio transports and passing devices through it
    that's why enable virtio by default on all arm64 based SoCs.
    
    Signed-off-by: Michal Simek <michal.simek@amd.com>
    Link: https://lore.kernel.org/r/a2ee18e7e8c1881ce72c5cd13127794a02410696.1679583129.git.michal.simek@amd.com
    michalsimek committed May 15, 2023
  20. arch: arm: zynqmp: mp.c: tcminit halt both cores in split mode

    The "zynqmp tcminit split" command should halt both cores and not just RPU1
    when configuring the TCM memory for split mode.
    
    Signed-off-by: Neal Frager <neal.frager@amd.com>
    Link: https://lore.kernel.org/r/20230323082506.31576-1-neal.frager@amd.com
    Signed-off-by: Michal Simek <michal.simek@amd.com>
    Neal Frager authored and michalsimek committed May 15, 2023

Commits on May 14, 2023

  1. Merge branch '2023-05-13-bootstd-updates-and-improvements'

    - Assorted bootstd fixes and cleanups. This should fix problems with
      Debian, and make script-based distributions work when BOOTMETH_DISTRO
      is enabled now (as BOOTMETH_DISTRO was renamed and then reintroduced).
    trini committed May 14, 2023

Commits on May 13, 2023

  1. bootstd: Create a new BOOTMETH_DISTRO

    We cannot be sure what bootmeth a distro will need to use. Add a new
    BOOTMETH_DISTRO option which collects these together. Select this from
    BOOTSTD_DEFAULTS so that it is clear what is needed.
    
    Signed-off-by: Simon Glass <sjg@chromium.org>
    [trini: Make BOOTMETH_EFILOADER depend on EFI_LOADER, select if EFI_LOADER]
    Signed-off-by: Tom Rini <trini@konsulko.com>
    sjg20 authored and trini committed May 13, 2023
  2. bootstd: Rename distro and syslinux to extlinux

    We use the terms 'distro' to mean extlinux but they are not really the
    same. 'Distro' could refer to any method of booting a distribution,
    whereas extlinux is a particular method.
    
    Also we sometimes use syslinux, but it is better to use the same term in
    all cases.
    
    Rename distro to syslinux and also update bootstd uses of syslinux to use
    extlinux instead.
    
    Signed-off-by: Simon Glass <sjg@chromium.org>
    sjg20 authored and trini committed May 13, 2023
  3. bootstd: Tidy up reporting of errors

    In a few cases the error handling is not quite right. Make sure we
    return the actual error in distro_efi_read_bootflow_file() rather than
    -EINVAL. Return -IO when a file cannot be read. Also show the error name
    if available.
    
    This does not change operation, but does make it easier to diagnose
    problems.
    
    Signed-off-by: Simon Glass <sjg@chromium.org>
    sjg20 authored and trini committed May 13, 2023
  4. bootstd: Correct default boot command

    The patch to relax flag requirements was not accepted[1], so we still have
    to have separate bootcommands depending on CMD_BOOTFLOW_FULL.
    
    The previous attempt at this did not work, since it used the wrong name
    for the options.
    
    Fix this and change the message to mention BOOTSTD_FULL since this affects
    not just the flags, but all functionality, so is more likely what the user
    wants.
    
    Drop the useless condition on CMD_BOOTFLOW_FULL while we are here.
    
    [1] https://patchwork.ozlabs.org/project/uboot/patch/20230329071655.1959513-2-sjg@chromium.org/
    
    Signed-off-by: Simon Glass <sjg@chromium.org>
    Fixes: a91492b ("bootstd: Provide a default command")
    sjg20 authored and trini committed May 13, 2023
  5. bootstd: Require HUSH_PARSER for script booting

    Armbian uses a script which needs the HUSH parser. It is likely that
    other distros will do the same. Enable it by default, just in case.
    
    Signed-off-by: Simon Glass <sjg@chromium.org>
    Tested-by: Jonas Karlman <jonas@kwiboo.se>
    sjg20 authored and trini committed May 13, 2023
  6. bootstd: usb: Avoid initing USB twice

    This causes crashes on some boards, e.g. rockpro64. In any case, we
    should not do it.
    
    Check the usb_started flag to avoid this.
    
    Signed-off-by: Simon Glass <sjg@chromium.org>
    Tested-by: Jonas Karlman <jonas@kwiboo.se>
    Tested-by: Tom Rini <trini@konsulko.com>
    sjg20 authored and trini committed May 13, 2023
  7. usb: Tidy up the usb_start flag

    This should be declared in a header file so that type-checking works
    correctly.
    
    Add a single declaration to usb.h and remove the others.
    
    Signed-off-by: Simon Glass <sjg@chromium.org>
    Reviewed-by: Marek Vasut <marex@denx.de>
    Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
    sjg20 authored and trini committed May 13, 2023
  8. bootstd: Work around missing partition 1

    If there is no partition numbered 1, we decide that there are no
    partitions at all. That may not be correct, since at least one Debian
    installed has just a single partition numbered 2.
    
    Continue searching up to partition 3, just in case.
    
    Signed-off-by: Simon Glass <sjg@chromium.org>
    sjg20 authored and trini committed May 13, 2023
  9. efi_loader: fix efi_dp_from_file()

    * When called from efi_dp_from_name() we miss to append the filename
      for non-block devices.
    * expand_media_path() could be simplified by using efi_dp_from_file to
      prepend the device path of the boot device.
    
    This can be avoided by passing a device path to efi_dp_from_file() instead
    of a block device descriptor and a partition number.
    
    Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
    xypron committed May 13, 2023
  10. efi_loader: simplify efi_dp_from_name()

    Don't do the same check and assignment in multiple places.
    
    Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
    xypron committed May 13, 2023
Older