1. 24 Aug, 2021 1 commit
  2. 23 Aug, 2021 3 commits
  3. 22 Aug, 2021 5 commits
  4. 21 Aug, 2021 5 commits
    • Matwey V. Kornilov's avatar
      display_options: Do not use %llu in print_size · f52352f6
      Matwey V. Kornilov authored
      
      
      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
      
      
      %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
      
      
      '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
      
      
      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
      
      
      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                |       |   `-- clock-controller@6a.out3
       125000000            0                |       `-- clock-controller@6a.fod3
       125000000            0                |           `-- clock-controller@6a.out4
       25000000             0                `-- clock-controller@6a.out0_sel_i2cb
      
      A translation function is added so the references to <&versaclock X> get routed
      to the corresponding clock-controller@6a.outX.
      Signed-off-by: default avatarAdam Ford <aford173@gmail.com>
      Reviewed-by: default avatarSean Anderson <sean.anderson@seco.com>
      dcf2cee7
  5. 20 Aug, 2021 1 commit
  6. 19 Aug, 2021 1 commit
  7. 18 Aug, 2021 14 commits
  8. 17 Aug, 2021 10 commits