Skip to content
Snippets Groups Projects
  1. Feb 04, 2022
  2. Jan 26, 2022
  3. Jan 24, 2022
  4. Jan 21, 2022
  5. Jan 19, 2022
  6. Jan 15, 2022
    • Amjad Ouled-Ameur's avatar
      cmd: pxe_utils: sysboot: add label override support · c2969792
      Amjad Ouled-Ameur authored
      
      This will allow consumers to choose a pxe label at runtime instead of
      having to prompt the user. One good use-case for this, is choosing
      whether or not to apply a dtbo depending on the hardware configuration.
      e.g: for TI's AM335x EVM, it would be convenient to apply a particular
      dtbo only when the J9 jumper is on PRUSS mode. To achieve this, the
      pxe menu should have 2 labels, one with the dtbo and the other without,
      then the "pxe_label_override" env variable should point to the label with
      the dtbo at runtime only when the jumper is on PRUSS mode.
      
      This change can be used for different use-cases and bring more
      flexibilty to consumers who use sysboot/pxe_utils.
      
      if "pxe_label_override" is set but does not exist in the pxe menu,
      the code should fallback to the default label if given, and no failure
      is returned but rather a warning message.
      
      Signed-off-by: default avatarAmjad Ouled-Ameur <aouledameur@baylibre.com>
      Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      Reviewed-by: default avatarArtem Lapkin <email2tema@gmail.com>
      Reviewed-by: default avatarRamon Fried <rfried.dev@gmail.com>
      c2969792
  7. Jan 13, 2022
  8. Dec 27, 2021
    • Tom Rini's avatar
      Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig · 2f8a6db5
      Tom Rini authored
      
      In order to finish moving this symbol to Kconfig for all platforms, we
      need to do a few more things.  First, for all platforms that define this
      to a function, introduce CONFIG_DYNAMIC_SYS_CLK_FREQ, similar to
      CONFIG_DYNAMIC_DDR_CLK_FREQ and populate clock_legacy.h.  This entails
      also switching all users from CONFIG_SYS_CLK_FREQ to get_board_sys_clk()
      and updating a few preprocessor tests.
      
      With that done, all platforms that define a value here can be converted
      to Kconfig, and a fall-back of zero is sufficiently safe to use (and
      what is used today in cases where code may or may not have this
      available).  Make sure that code which calls this function includes
      <clock_legacy.h> to get the prototype.
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      2f8a6db5
    • Tom Rini's avatar
      Convert CONFIG_SD_BOOT et al to Kconfig · 66e0e2b1
      Tom Rini authored
      
      This converts the following to Kconfig:
         CONFIG_SD_BOOT
         CONFIG_SD_BOOT_QSPI
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      66e0e2b1
  9. Dec 20, 2021
  10. Dec 17, 2021
    • Simon Glass's avatar
      fdtgrep: Handle an empty output tree · 121cfe5a
      Simon Glass authored
      
      In strange cases it is possible for fdtgrep to find nothing to output.
      Typically this means that the resulting SPL device tree is not going to
      allow anything to boot, but at present the tree is actually invalid,
      since it only has an END tag in the struct region.
      
      The FDT spec requires at least a root node. So add a special case to
      include at least this, if the FDT_REG_SUPERNODES flag is set.
      
      This ensures that grepping an empty tree still produces a valid tree.
      
      Also add comments to the enum since it is not completely obvious from
      the names now.
      
      The typical symptom of this problem is a message from binman:
      
         pylibfdt error -11: FDT_ERR_BADSTRUCTURE
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      121cfe5a
  11. Nov 23, 2021
  12. Nov 17, 2021
  13. Nov 16, 2021
    • Simon Glass's avatar
      bootm: Tidy up use of autostart env var · 78398652
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      This has different semantics in different places. Go with the bootm method
      and put it in a common function so that the behaviour is consistent in
      U-Boot. Update the docs.
      
      To be clear, this changes the way that 'bootelf' and standalone boot
      work. Before, if autostart was set to "fred" or "YES", for example, they
      would consider that a "yes". This may change behaviour for some boards,
      but the only in-tree boards which mention autostart use "no" to disable
      it, which will still work.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      Suggested-by: default avatarWolfgang Denk <wd@denx.de>
      78398652
  14. Nov 15, 2021
  15. Nov 13, 2021
  16. Nov 12, 2021
Loading