Skip to content
Snippets Groups Projects
  1. Jul 11, 2023
    • Tom Rini's avatar
      Makefile: Drop -rc6 · 7876a695
      Tom Rini authored
      
      When tagging and releasing v2023.07 I forgot to drop the -rc6 tag. For
      regular use, I've made a v2023.07.01 tag, but for here we can just drop
      the -rc6 tag.
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      7876a695
  2. Jul 07, 2023
  3. Jul 03, 2023
  4. Jun 26, 2023
  5. Jun 16, 2023
  6. Jun 12, 2023
  7. May 31, 2023
  8. May 29, 2023
  9. May 15, 2023
    • christophe leroy's avatar
      envtools lack extra settings since commit 86b9c3e4 ("env: Allow U-Boot scripts to be placed in · 40b77f2a
      christophe leroy authored and Tom Rini's avatar Tom Rini committed
      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 86b9c3e4 ("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 79fc0c5f ("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: 86b9c3e4 ("env: Allow U-Boot scripts to be placed in a .env file")
      Signed-off-by: default avatarChristophe Leroy <christophe.leroy@csgroup.eu>
      40b77f2a
    • christophe leroy's avatar
      Fix sparse checks processing · 6ab7c3d6
      christophe leroy authored and Tom Rini's avatar Tom Rini committed
      
      A lot of errors are encountered when building with sparse checking
      activated (make C=1 or make C=2).
      
      Many of them are fixed in Linux.
      
      Resynchronise Makefile and include/linux/build_bug.h with Linux
      kernel sources by porting the following Linux commits into u-boot:
      - 6c49f359ca14 ("kbuild: disable sparse warnings about unknown attributes")
      - 80591e61a0f7 ("kbuild: tell sparse about the $ARCH")
      - 8788994376d8 ("linux/build_bug.h: change type to int")
      - 527edbc18a70 ("build_bug.h: remove most of dummy BUILD_BUG_ON stubs for Sparse")
      - c60d3b79423a ("build_bug.h: remove negative-array fallback for BUILD_BUG_ON()")
      - 14e83077d55f ("include: drop pointless __compiler_offsetof indirection")
      
      Also revert commit aa9e891c ("include/linux/stddef.h: avoid
      'warning: preprocessor token offsetof redefined'") because the
      error it creates is worse than the warning it is trying to fix.
      
      Signed-off-by: default avatarChristophe Leroy <christophe.leroy@csgroup.eu>
      6ab7c3d6
  10. May 08, 2023
  11. May 01, 2023
  12. Apr 25, 2023
  13. Apr 20, 2023
  14. Apr 04, 2023
    • Luca Ceresoli's avatar
      arm: imx: add u-boot-nand.imx to boot from NAND without SPL · 95942f99
      Luca Ceresoli authored and Stefano Babic's avatar Stefano Babic committed
      
      U-Boot can be booted from NAND without SPL by prepending the DCD header to
      the actual U-Boot binary. However this requires prepending 1024 bytes to
      u-boot.imx (DCD + u-boot.bin).
      
      There is already a similar target to build spl/u-boot-nand-spl.imx, add the
      same option for no-SPL boot.
      
      Tested on i.MX6ULL.
      
      The resulting layout of u-boot-nand.imx is:
      
       - Offset 0x0000 (0 KiB): padding
       - Offset 0x0400 (1 KiB): DCD header
       - Offset 0x1000 (4 KiB): u-boot.bin
      
      Signed-off-by: default avatarLuca Ceresoli <luca.ceresoli@bootlin.com>
      95942f99
  15. Apr 03, 2023
  16. Mar 27, 2023
  17. Mar 22, 2023
    • Tom Rini's avatar
      global: Disable deprecated-non-prototype warning with clang · 52ee1a02
      Tom Rini authored
      
      We have a number of places in the code which use the following syntax:
      
      void func(a, b, c)
          int a; /* Does a */
          something_t *b; /* Pointer to b */
          int c; /* Does c */
      {
      ...
      }
      
      Which while not what we document as our coding style, this is also code
      which we have imported from other projects, and would like to re-sync
      with in the future. While the biggest example of this is the zlib code,
      there are other places as well. For now, we will silence this warning.
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      52ee1a02
  18. Mar 14, 2023
  19. Mar 08, 2023
  20. Mar 02, 2023
  21. Feb 28, 2023
  22. Feb 27, 2023
  23. Feb 23, 2023
    • Tom Rini's avatar
      Makefile: Link with -z noexectack · 57450d86
      Tom Rini authored
      
      When moving to gcc-12.2 we started trying to quiet some of the new
      linker warnings, that are not relevant to us. However, a
      misunderstanding of the mechanics at play meant that I intentionally
      omitted passing -z noexecstack to the linker, when we do need to. Add
      this flag and in turn remove warnings from the linker.
      
      Fixes: 1e1c51f8 ("Makefile: link with --no-warn-rwx-segments")
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      57450d86
  24. Feb 13, 2023
  25. Feb 07, 2023
  26. Feb 06, 2023
  27. Jan 30, 2023
  28. Jan 18, 2023
Loading