29 Nov, 2016

14 commits


27 Nov, 2016

7 commits

  • We have all the building blocks now to run arbitrary efi applications
    in travis. The most important one out there is grub2, so let's add
    a simple test to verify that grub2 still comes up.

    Signed-off-by: Alexander Graf

    Alexander Graf
     
  • Most of the time when running the sleep test in Travis for
    the integratorcp_cm926ejs target I get errors like this:

    E assert 2.999901056289673 >= 3

    The deviation is tiny, but fails the overall build result. Since
    the sleep test is not terribly important as gate keeper for travis
    tests, let's just exclude it for this board.

    Signed-off-by: Alexander Graf
    Reviewed-by: Tom Rini

    Alexander Graf
     
  • Today we can compile a self-contained hello world efi test binary that
    allows us to quickly verify whether the EFI loader framwork works.

    We can use that binary outside of the self-contained test case though,
    by providing it to a to-be-tested system via tftp.

    This patch separates compilation of the helloworld.efi file from
    including it in the u-boot binary for "bootefi hello". It also modifies
    the efi_loader test case to enable travis to pick up the compiled file.
    Because we're now no longer bloating the resulting u-boot binary, we
    can enable compilation always, giving us good travis test coverage.

    Signed-off-by: Alexander Graf
    Reviewed-by: Tom Rini

    Alexander Graf
     
  • Now that we have working network tests and a hello world efi application
    built inside our tree, we can automatically test that efi binary running
    inside of U-Boot.

    Signed-off-by: Alexander Graf
    Reviewed-by: Simon Glass
    Reviewed-by: Tom Rini

    Alexander Graf
     
  • When running in travis-ci, we want to pass environment configuration to
    the tests. These reside in a path available through PYTHONPATH, so let's
    define that one to point to the unit test repo.

    Signed-off-by: Alexander Graf
    Reviewed-by: Tom Rini

    Alexander Graf
     
  • Some travis QEMU tests can transfer files between the build directory
    and the guest U-Boot instance. For that to work, both need to have access
    to the same directory.

    This patch puts the current build path into an environment variable, so
    that the environment generating python scripts can extract it from there
    and read the respective files.

    Signed-off-by: Alexander Graf
    Reviewed-by: Tom Rini

    Alexander Graf
     
  • The network test currently downloads files at 0MB offset of RAM start.
    This works for most ARM systems, but x86 has weird memory layout constraints
    on the first MB of RAM.

    To not get caught into any of these, let's add a 4MB pad from start
    of RAM to the default memory offset.

    Signed-off-by: Alexander Graf
    Reviewed-by: Simon Glass
    Reviewed-by: Tom Rini

    Alexander Graf
     

26 Nov, 2016

19 commits