Skip to content
Snippets Groups Projects
  1. Feb 03, 2022
  2. Jan 28, 2022
  3. Jan 13, 2022
  4. Dec 27, 2021
  5. Nov 14, 2021
  6. Nov 12, 2021
  7. Oct 21, 2021
  8. Oct 14, 2021
  9. Sep 30, 2021
  10. Sep 24, 2021
    • Kristian Amlie's avatar
      ARM: vexpress_ca9x4: Reintroduce board in order to use with QEMU. · 15e30106
      Kristian Amlie authored and Tom Rini's avatar Tom Rini committed
      
      vexpress_ca9x4 is seemingly the only board except for qemu_arm which
      is able to run U-Boot correctly, using the `-M vexpress-a9` option to
      QEMU. Building for qemu_arm and running qemu-system-arm with the `-M
      virt` argument has a number of downsides, most importantly that it
      only supports virtio storage drivers. This significantly reduces its
      usefulness in testing memory card and Flash solutions, especially when
      the tested images are from a third party source.
      
      So therefore we reintroduce the vexpress_ca9x4 board in this commit,
      with the explicit goal of using it with QEMU.
      
      A number of differences to note from the original:
      
      * Since the board was apparently unmaintained, I have now set myself
        as the maintainer.
      
      * The board has been converted to use the driver model, which was the
        reason it was removed in the first place.
      
      * The vexpress_ca15_tc2 and vexpress_ca5x2 boards, which were removed
        in the same commit, are not necessary for the QEMU use case, and
        have been omitted.
      
      * An `mmc0` alias was introduced in the dts file. The mmc is not
        detected correctly without this, now that it's based on the device
        tree instead of the board's init function.
      
      * A couple of other nodes were removed because they were problematic
        when trying to run the UEFI bootmgr. Once again, the primary use
        case here is QEMU, and these nodes are not needed for that to work.
      
      * Unnecessary board init code has been removed, thanks to driver model
        and device tree.
      
      * `CONFIG_OF_EMBED` has been enabled. I know this goes against
        recommended practice, but there doesn't seem to be any other way to
        pass the dtb to U-Boot in the QEMU scenario. Using the -dtb argument
        does not work, I suppose because U-Boot doesn't use the same
        mechanics as the kernel when it's booting.
      
      * Load addresses have been changed to fit QEMU use case.
      
      People wanting to get a more detailed, yet somewhat isolated, diff
      between this and the original, can run this command:
      
        git diff c6c26a05~1 -- \
            $( git diff-tree --diff-filter=A -r --name-only HEAD~1 HEAD)
      
      (Make sure to either check out this commit first, or replace HEAD with
      the commit ID of this commit)
      
      Signed-off-by: default avatarKristian Amlie <kristian.amlie@northern.tech>
      15e30106
  11. Sep 11, 2021
  12. Aug 06, 2021
  13. Aug 04, 2021
  14. Jul 27, 2021
  15. Jul 08, 2021
  16. Jul 07, 2021
    • Tom Rini's avatar
      ppc: Remove sbc8641d board · 1c58857a
      Tom Rini authored
      
      This board has not been converted to CONFIG_DM_PCI by the deadline and is
      also missing conversion to CONFIG_DM.  Remove it.  This is also the last
      of the ARCH_MPC8641/MPC8610 platforms, so remove that support as well.
      
      Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
      Cc: Priyanka Jain <priyanka.jain@nxp.com>
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      1c58857a
    • Tom Rini's avatar
      Azure/GitLab: Move to gcc-11.1.0 and LLVM-11 · 7bb1cc3b
      Tom Rini authored
      - Move to gcc-11.1.0 builds from kernel.org for supported platforms and
        LLVM-11 for those tests.
      - As Heinrich has noted, the RISC-V platform specification has a profile
        OS-A for running rich operating systems like Linux and BSD. This profile
        requires 64bit and UEFI conforming to the EBBR. Only the 'embedded'
        profile may use 32bit.  Given this, drop grub for 32bit RISC-V as it no
        longer compiles with gcc-11.1 and upstream is unlikely to fix it:
        https://www.mail-archive.com/grub-devel@gnu.org/msg30736.html
      
      
      - Update to grub-2.06 release to address other issues of building with
        gcc-11.1.
      - Update to newer Xtensa (gcc-9.2.0) and ARC (gcc-10.2) toolchains
      
      Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
      Cc: Bin Meng <bmeng.cn@gmail.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Rick Chen <rick@andestech.com>
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      Reviewed-by: Bin Meng's avatarBin Meng <bmeng.cn@gmail.com>
      7bb1cc3b
  17. Jul 05, 2021
    • Tom Rini's avatar
      Docker/CI: Update to "focal" and latest build · b1c2102d
      Tom Rini authored
      
      Move us up to being based on Ubuntu 20.04 "focal" and the latest tag
      from Ubuntu for this release.  For this, we make sure that "python" is
      now python3 but still include python2.7 for the rx51 qemu build as that
      is very old and does not support python3.
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      b1c2102d
    • Alper Nebi Yasak's avatar
      Azure: Add loop devices and CAP_SYS_ADMIN for sandbox test.py tests · e22ec9c6
      Alper Nebi Yasak authored and Tom Rini's avatar Tom Rini committed
      The filesystem test setup needs to prepare disk images for its tests,
      with either guestmount or loop mounts. The former requires access to the
      host fuse device (added in a previous patch), the latter requires access
      to host loop devices. Both mounts also need additional privileges since
      docker's default configuration prevents the containers from mounting
      filesystems (for host security).
      
      Add any available loop devices to the container and try to add as few
      privileges as possible to run these tests, which narrow down to adding
      SYS_ADMIN capability and disabling apparmor confinement. However, this
      much still seems to be insecure enough to let malicious container
      processes escape as root on the host system [1].
      
      [1] https://blog.trailofbits.com/2019/07/19/understanding-docker-container-escapes/
      
      
      
      Since the mentioned tests are marked to run only on the sandbox board,
      add these additional devices and privileges only when testing with that.
      
      An alternative to using mounts is modifying the filesystem tests to use
      virt-make-fs (like some EFI tests do), but it fails to generate a
      partitionless FAT filesystem image on Debian systems. Other more
      feasible alternatives are using guestfish or directly using libguestfs
      Python bindings to create and populate the images, but switching the
      test setups to these is nontrivial and is left as future work.
      
      Signed-off-by: default avatarAlper Nebi Yasak <alpernebiyasak@gmail.com>
      e22ec9c6
    • Alper Nebi Yasak's avatar
      Azure: Add fuse device for test.py tests · 1aaaf60d
      Alper Nebi Yasak authored and Tom Rini's avatar Tom Rini committed
      
      The EFI secure boot and capsule test setups need to prepare disk images
      for their tests using virt-make-fs, which requires access to the host
      fuse device. This is not exposed to the docker container by default and
      has to be added explicitly. Add it.
      
      Signed-off-by: default avatarAlper Nebi Yasak <alpernebiyasak@gmail.com>
      1aaaf60d
  18. Jun 22, 2021
    • Bin Meng's avatar
      azure: Use msys2 20210604 installer for Windows build · 1ce892cb
      Bin Meng authored and Tom Rini's avatar Tom Rini committed
      
      MSYS2 Windows build started to fail since yesterday (Jun 21):
      
        checking keyring...
        checking package integrity...
        error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust
        :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
        error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust
        :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
        error: failed to commit transaction (invalid or corrupted package)
        Errors occurred, no packages were upgraded.
      
      Switching to the latest installer (version 20210604) seems to fix it.
      
      Signed-off-by: Bin Meng's avatarBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      Tested-by: default avatarTom Rini <trini@konsulko.com>
      1ce892cb
  19. May 25, 2021
    • Daniel Schwierzeck's avatar
      MIPS: remove deprecated qemu_mips board · 5308a71d
      Daniel Schwierzeck authored
      
      Remove qemu_mips boards because DM migration doesn't make sense.
      The board support for qemu_mips is already marked as deprecated
      in Qemu in favour of the Malta board. Also qemu_mips support
      has been removed from Linux a long time ago.
      
      The official replacement is the Malta board. The same Malta U-Boot
      image can be used with Qemu and on physical hardware.
      All combinations of Big Endian and Little Endian as well as 32 bit
      and 64 bit are supported.
      
      Signed-off-by: Daniel Schwierzeck's avatarDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
      5308a71d
  20. Apr 29, 2021
  21. Apr 10, 2021
  22. Apr 07, 2021
  23. Mar 27, 2021
  24. Mar 26, 2021
  25. Mar 22, 2021
  26. Mar 04, 2021
  27. Feb 28, 2021
  28. Feb 01, 2021
  29. Jan 27, 2021
  30. Nov 05, 2020
  31. Oct 29, 2020
  32. Sep 15, 2020
  33. Sep 02, 2020
Loading