08 Dec, 2017

11 commits


07 Dec, 2017

8 commits


06 Dec, 2017

3 commits

  • Since commit 2614a208471e ("common: command: tempory buffer should
    have size of command line buf"), there have been consistent Travis CI
    failures on my builds (interestingly not for Tom, even though building
    the same commit id) due to a SEGV in building the byteswapped
    omapimage:
    arm: pcm051_rev3
    make[2]: *** [MLO.byteswap] Error 139
    ^^^ error code for a SEGV

    Turns out that the word-based byte-swapping loop in omapimage.c is to
    blame. With the loop condition
    while (swapped st_size / sizeof(uint32_t)))
    there had been one-too-many iterations for all file sizes divisible by
    the sizeof(uint32_t). I.e. we had 1 iteration for 0 bytes (and also 1
    through 3 bytes) and 2 iterations at 4 bytes... clearly overshooting
    on 0 and 4 bytes.

    This commit fixes the calculation of an up-rounded word-count and
    makes sure to keep the zero-based loop-counter below the number of
    words to be processed.

    References: 2614a20 ("common: command: tempory buffer should have size of command line buf")
    Fixes: 79b9ebb ("omapimage: Add support for byteswapped SPI images")
    Signed-off-by: Philipp Tomsich
    Reviewed-by: Martin Elshuber

    Philipp Tomsich
     
  • Patch queue for efi - 2017-12-05

    Highlights for this release:

    - Dynamic EFI object creation (lists instead of static arrays)
    - EFI selftest improvements
    - Minor fixes

    Tom Rini
     
  • Commit f5a2a93892f ("efi_loader: consistently use efi_uintn_t in boot
    services") changed the internal EFI API header without adapting its existing
    EFI stub users. Let's adapt the EFI stub as well.

    Fixes: f5a2a93892f ("efi_loader: consistently use efi_uintn_t in boot services")
    Signed-off-by: Alexander Graf
    Reviewed-by: Heinrich Schuchardt

    Alexander Graf
     

05 Dec, 2017

1 commit


04 Dec, 2017

17 commits