Skip to content
Snippets Groups Projects
  1. Sep 19, 2024
  2. Sep 16, 2024
  3. Sep 13, 2024
    • Tom Rini's avatar
      Merge patch series "Bump new hush commits and fix old hush test behavior" · 979207ed
      Tom Rini authored
      Francis Laniel <francis.laniel@amarulasolutions.com> says:
      
      Hi!
      
      With this series, I bumped the new hush to get the latest commits from upstream.
      
      Also, I added back a reverted commit which goal was to fix a bad behavior in
      old hush test.
      I had to tweak a bit this commit, but everything worked both locally and in the
      CI.
      979207ed
    • Francis Laniel's avatar
      cli: modern_hush: Add upstream commits up to 13 July 2024 · 874be948
      Francis Laniel authored
      
      This commit adds the following hush busybox upstream commits:
      23da5c4b716b ("hush: do not exit interactive shell on some redirection errors")
      14e28c18ca1a ("hush: fix "exec 3>FILE" aborting if 3 is exactly the next free fd")
      6c38d0e9da2d ("hush: avoid duplicate fcntl(F_SETFD, FD_CLOEXEC) during init")
      758b21402abc ("hush: detect when terminating "done"/"fi" is missing")
      2639f3bc72ac ("hush: set G.ifs sooner (prevents segfault)")
      
      Adding specific ifdef and endif guard was needed for 2639f3bc72ac.
      
      Signed-off-by: default avatarFrancis Laniel <francis.laniel@amarulasolutions.com>
      874be948
    • Ion Agorria's avatar
      test: hush: dollar: fix bugous behavior · 80ef176a
      Ion Agorria authored
      
      The dollar test was merged with bugous console behavior, and
      instead of fixing it, this behavior was just workarounded.
      This was done to keep compatibility with the existing behavior.
      
      It seems like without the fix the ut_assert_skipline(); didn't clear
      console and running ut_assert_skipline(); many times would give always
      OK. With e58bafc3 ("lib: membuff: fix readline not returning line in case of overflow")
      the line is cleared correctly and next assert fails because now there
      is nothing to clean which is correct if we look the this a bit above
      the failing assert:
      
          if (gd->flags & GD_FLG_HUSH_MODERN_PARSER) {
               /*
                * For some strange reasons, the console is not empty after
                * running above command.
                * So, we reset it to not have side effects for other tests.
                */
               console_record_reset_enable();
          } else if (gd->flags & GD_FLG_HUSH_OLD_PARSER) {
               ut_assert_console_end();
          }
      
      Which further confirms that tests workaround the old problem and now
      that problem is fixed we can remove the whole if blocks and simply
      place ut_assert_console_end() right after ut_assert_skipline() without
      any conditional and will pass green.
      
      So this part of code goes from:
          ut_assert_skipline();
          ut_assert_skipline();
      
          if (gd->flags & GD_FLG_HUSH_MODERN_PARSER) {
              /* See above comments. */
              console_record_reset_enable();
          } else if (gd->flags & GD_FLG_HUSH_OLD_PARSER) {
              ut_assert_console_end();
          }
      
      to become:
          ut_assert_skipline();
          if (gd->flags & GD_FLG_HUSH_OLD_PARSER) {
              ut_assert_skipline();
          }
          ut_assert_console_end();
      
      The if block mentioned above that calls console_record_reset_enable() is
      completely removed as fixed by e58bafc3.
      
      [flaniel: adapt second if]
      
      Signed-off-by: default avatarIon Agorria <ion@agorria.com>
      Signed-off-by: default avatarSvyatoslav Ryhel <clamor95@gmail.com>
      Tested-by: default avatarMattijs Korpershoek <mkorpershoek@baylibre.com>
      Reviewed-by: default avatarMattijs Korpershoek <mkorpershoek@baylibre.com>
      Link: https://lore.kernel.org/r/20240105072212.6615-8-clamor95@gmail.com
      
      
      [mkorpershoek: reworded commit title]
      Signed-off-by: default avatarMattijs Korpershoek <mkorpershoek@baylibre.com>
      [flaniel: remove console_record_reset_enable() if]
      Signed-off-by: default avatarFrancis Laniel <francis.laniel@amarulasolutions.com>
      80ef176a
    • Tom Rini's avatar
      Merge tag 'efi-next-20241024' of https://source.denx.de/u-boot/custodians/u-boot-efi into next · 35394e1e
      Tom Rini authored
      Pull request efi-next-20241024
      
      UEFI:
      
      * Use generated UUIDs in UEFI capsules:
        - efi: define struct efi_guid
        - lib: uuid: add UUID v5 support
        - efi: add a helper to generate dynamic UUIDs
        - doc: uefi: document dynamic UUID generation
        - sandbox: switch to dynamic UUIDs
        - lib: uuid: supporting building as part of host tools
        - include: export uuid.h
        - tools: mkeficapsule: use u-boot UUID library
        - tools: mkeficapsule: support generating dynamic GUIDs
        - test: lib/uuid: add unit tests for dynamic UUIDs
        - test: lib/uuid: add tests for UUID version/variant bits
      
      * Minor code clean-up
        - shorten efi_bootmgr_release_uridp_resource()
        - rename efi_bootmgr_image_return_notify
        - return the correct error in efi_bootmgr_release_uridp()
        - Kconfig: clean up the efi configuration status
        - Use puts() in cout so that console recording works
        - Put back copyright message in helloworld.c
      35394e1e
    • Tom Rini's avatar
      Merge tag 'doc-2024-10-rc4' of https://source.denx.de/u-boot/custodians/u-boot-efi · a7b83ade
      Tom Rini authored
      Pull request doc-2024-10-rc4
      
      * doc/develop/sending_patches.rst: Clarify when to use which branch
      * doc/arch/m68k.rst: Update toolchain comment
      * doc/arch/mips.rst: Update toolchain list
      * doc: Update rST to not reference the old wiki
      * doc/mkeficapsule.1: Update homepage link
      * bootcount: Update to point to current documentation
      * binman: Update links for sending patches
      a7b83ade
  4. Sep 12, 2024
Loading