1. 23 Aug, 2021 1 commit
  2. 22 Aug, 2021 5 commits
  3. 21 Aug, 2021 5 commits
    • Matwey V. Kornilov's avatar
      display_options: Do not use %llu in print_size · f52352f6
      Matwey V. Kornilov authored and Tom Rini's avatar Tom Rini committed
      
      
      tiny-printf variant doesn't know how to handle %llu format string, but both
      tiny-printf and print_size can meet in SPL when TFTP is used to obtain main
      u-boot image. This is known to lead to critical boot issue at AM335x platform
      when printf is catched in infinite loop.
      
      To avoid such issues and make print_size function tiny-printf friendly, use %u
      instead of %luu. Note, that the size value is guaranteed to be less than 1024
      in this conditional branch, so the cast to unsigned int is safe.
      Signed-off-by: default avatarMatwey V. Kornilov <matwey.kornilov@gmail.com>
      Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      f52352f6
    • Matwey V. Kornilov's avatar
      tiny-printf: Handle %pM format when CONFIG_SPL_NET_SUPPORT is enabled · c091f652
      Matwey V. Kornilov authored and Tom Rini's avatar Tom Rini committed
      
      
      %pM format string is used to print MAC-address and this is required while SPL
      network boot.
      
      This patch fixes the SPL boot issues like the following:
      
          Trying to boot from USB eth
          ## Error: flags type check failure for "ethaddr" <= "40309614M" (type: m)
          ## Error inserting "ethaddr" variable, errno=1
          eth0: eth_cpsw## Error: flags type check failure for "eth1addr" <=
          "81f01114M" (type: m)
          ## Error inserting "eth1addr" variable, errno=1
          , eth1: usb_ether
          eth_cpsw Waiting for PHY auto negotiation to complete......... TIMEOUT !
          Problem booting with BOOTP
          SPL: failed to boot from all boot devices
          ### ERROR ### Please RESET the board ###
      Signed-off-by: default avatarMatwey V. Kornilov <matwey.kornilov@gmail.com>
      Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      c091f652
    • Oleh Kravchenko's avatar
      Fix flashing of eMMC user area with Fastboot · 55a202f6
      Oleh Kravchenko authored and Tom Rini's avatar Tom Rini committed
      
      
      'gpt' and 'mmc0' fastboot partitions have been treated as the same device,
      but it is wrong.
      
      Fill disk_partition structure with eMMC user partition info
      to properly flash data.
      Signed-off-by: default avatarOleh Kravchenko <oleg@kaa.org.ua>
      Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Sean Anderson <sean.anderson@seco.com>
      Cc: Tom Rini <trini@konsulko.com>
      Reviewed-by: default avatarSean Anderson <sean.anderson@seco.com>
      55a202f6
    • Oleh Kravchenko's avatar
      Fix flash and erase of eMMC Boot2 with Fastboot · 389b6765
      Oleh Kravchenko authored and Tom Rini's avatar Tom Rini committed
      
      
      The current U-Boot version has the next matches for boot partitions:
      > mmc0boot0 to EMMC_BOOT1
      > mmc0boot1 to EMMC_BOOT1 (should be EMMC_BOOT2)
      This patch fixes a typo for the boot partition number.
      Signed-off-by: default avatarOleh Kravchenko <oleg@kaa.org.ua>
      Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
      Cc: Marek Vasut <marex@denx.de>
      Reviewed-by: default avatarSean Anderson <sean.anderson@seco.com>
      389b6765
    • Adam Ford's avatar
      clk: clk_versaclock: Add support for versaclock driver · dcf2cee7
      Adam Ford authored and Tom Rini's avatar Tom Rini committed
      The driver is based on the Versaclock driver from the Linux code, but
      due differences in the clock API between them, some pieces had to be
      changed.
      
      This driver creates a mux, pfd, pll, and a series of fod ouputs.
       Rate               Usecnt      Name
      ------------------------------------------
       25000000             0        `-- x304-clock
       25000000             0            `-- clock-controller@6a.mux
       25000000             0                |-- clock-controller@6a.pfd
       2800000000           0                |   `-- clock-controller@6a.pll
       33333333             0                |       |-- clock-controller@6a.fod0
       33333333             0                |       |   `-- clock-controller@6a.out1
       33333333             0                |       |-- clock-controller@6a.fod1
       33333333             0                |       |   `-- clock-controller@6a.out2
       50000000             0                |       |-- clock-controller@6a.fod2
       50000000             0             ...
      dcf2cee7
  4. 19 Aug, 2021 1 commit
  5. 17 Aug, 2021 5 commits
  6. 16 Aug, 2021 19 commits
  7. 15 Aug, 2021 1 commit
    • Tom Rini's avatar
      Merge tag 'efi-2021-10-rc2-2' of https://source.denx.de/u-boot/custodians/u-boot-efi · fdc4fda3
      Tom Rini authored
      Pull request for efi-2021-10-rc2-2
      
      Documentation:
      
      * Require Sphinx >= 2.4.4 for 'make htmldocs'
      * Move devicetree documentation to restructured text and update it
      * Document stm32mp1 devicetree bindings
      
      UEFI
      
      * Extend measurement to UEFI variables and ExitBootServices()
      * Support Uri() node in devicetree to text protocol
      * Add Linux magic token to RISC-V EFI test binaries
      fdc4fda3
  8. 14 Aug, 2021 3 commits