08 Feb, 2017

1 commit

  • At present devices use a simple integer offset to record the device tree
    node associated with the device. In preparation for supporting a live
    device tree, which uses a node pointer instead, refactor existing code to
    access this field through an inline function.

    Signed-off-by: Simon Glass

    Simon Glass
     

27 Nov, 2016

4 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
     
  • 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
     
  • 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
     

22 Nov, 2016

2 commits


24 Oct, 2016

1 commit

  • In pytest 3, runtestprotocol() may not call pytest_runtest_setup() if
    the test is skipped. That call is required to create a section for the
    test in the log file. If this is skipped, the call to log.end_section()
    at the tail of pytest_runtest_protocol() will throw an exception. This
    patch ensures that a log section always exists, both to avoid the
    exception and to ensure that a consistently structured log file is
    always created.

    Cc: Stefan Brüns
    Reported-by: Stefan Brüns
    Signed-off-by: Stephen Warren
    Tested-by: Tom Rini

    Stephen Warren
     

15 Oct, 2016

1 commit


14 Oct, 2016

3 commits


23 Sep, 2016

6 commits


22 Sep, 2016

1 commit


23 Aug, 2016

1 commit

  • The fs-test.sh script expected there to be a \n\r style newline at the
    end of the output. This is no longer the case, so use 'tr' to remove the
    \r that we get.

    Fixes: (c5917b4b054d "dm: serial-uclass: Move a carriage return before a
    line feed")
    Signed-off-by: Tom Rini

    Tom Rini
     

21 Aug, 2016

1 commit

  • This prevents capture of command output from terminating early on boards
    that use a simple prompt (e.g. "=> ") that appears in the middle of
    command output (e.g. crc32's "... ==> 2fa737e0").

    Reported-by: Tom Rini
    Signed-off-by: Stephen Warren
    Tested-by: Tom Rini
    Reviewed-by: Heiko Schocher

    Stephen Warren
     

20 Aug, 2016

1 commit

  • This adds a bunch of unit tests for the "fdt apply" command.

    They've all been run successfully in the sandbox. However, as you still
    require an out-of-tree dtc with overlay support, this is disabled by
    default.

    Acked-by: Simon Glass
    Acked-by: Pantelis Antoniou
    Signed-off-by: Maxime Ripard

    Maxime Ripard
     

06 Aug, 2016

8 commits


28 Jul, 2016

3 commits


23 Jul, 2016

2 commits

  • Getting this error:
    Zynq> sb load hostfs - 100
    /home/monstr/data/disk/u-boot/build-zynq_zc706/test.fit
    Unknown command 'sb' - try 'help'

    because sb command is present only for Sandbox
    obj-$(CONFIG_SANDBOX) += host.o

    that's why mark this test to be run only at Sandbox

    Signed-off-by: Michal Simek
    Acked-by: Simon Glass

    Michal Simek
     
  • Without this, the test fails if the test is run with a cwd other than the
    root of the U-Boot source tree.

    Fixes: 8729d582595d ("test: Convert the vboot test to test/py")
    Signed-off-by: Stephen Warren
    Reviewed-by: Simon Glass

    Stephen Warren
     

17 Jul, 2016

1 commit


15 Jul, 2016

4 commits