~kameliya/u-boot-test-hooks

cf979fcf — Heinrich Schuchardt 11 months ago master
u-boot-hooks: add virtio-rng-pci

In the UEFI subsystem we test the RNG device.
On QEMU it is provided via '-device virtio-rng-pci'.

We need to add this PCI device before enable DM_RNG on ARCH_ARM.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
25c96c1c — Stephen Warren 1 year, 14 days ago
Add Contributing.md

... which contains details of preferred patch subject prefix. This makes
it easier to see which patches apply to this repo.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
cf40f373 — Marek Vasut 1 year, 1 month ago
travis-ci: Add SH4 r2dplus machine with various PCI ethernet options

Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet
options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Stephen Warren <swarren@nvidia.com>
Cc: Tom Rini <trini@konsulko.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
96fc735c — Simon Glass 1 year, 7 months ago
Add support for rock2

This is a Rockchip RK3288-based board that uses SDwire for uSD access,
YKUSH for power and a serial console.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
b87e8ddf — Simon Glass 1 year, 7 months ago
Add chromebook_link

This uses servo to control the board and to access the serial console. It
uses em100 to write the flash. Add support for this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
c6233c47 — Simon Glass 1 year, 7 months ago
Add minnowmax with em100

Add support for minnowmax which uses a Dediprog em100 ROM emulator.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
9ffb9b97 — Stephen Warren 1 year, 2 months ago
Remove dfu-util

This binary isn't needed by most users; the only custom patch is a timeout
fix that's specific to Jetson TK1. Remove dfu-util from this repo; it's
been added to the Tegra-specific Jenkins scripts repo instead.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
21092744 — Stephen Warren 1 year, 2 months ago
Add COPYING file for dfu-util

Signed-off-by: Stephen Warren <swarren@nvidia.com>
969732ba — Cristian Ciocaltea 1 year, 8 months ago
travis-ci: Fix "ResourceWarning: unclosed file"

This patch gets rid of the warning messages like:

uboot-test-hooks/py/travis-ci/travis_tftp.py:43: ResourceWarning:
unclosed file <_io.BufferedReader name='.bm-work/qemu_arm/u-boot.bin'>

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
travis-ci: Update QEMU RISC-V run command

Explicitly pass the "-bios" option to QEMU to run U-Boot, instead
of the "-kernel" option, as we know that "-bios" behavior will be
changed since QEMU 5.1.0.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
4a3c30a6 — Stephen Warren 1 year, 3 months ago
Rename flash.create_image_32mb

This no longer creates only 32MB images. This "flashing" method is also
only useful for qemu. Rename it to reflect these points.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
9d3dc6c7 — Daniel Schwierzeck 1 year, 4 months ago
travis-ci: Add configs for malta{64,el,64el}_qemu targets

This is mostly copied from qemu_mips configs. The generic
Qemu MIPS machine is marked as deprecated by Qemu. The
MIPS Malta machine should be preferred. Thus in order to
be able to deprecate the qemu_mips target in U-Boot as
well, all MIPS specific Qemu CI tests have to be moved
to the Malta targets.

The Qemu MIPS Malta machine expects all firmware images to be
given in Big-Endian byte order. Thus the Malta Little-Endian
variants (maltael, malta64el) needs to use 'u-boot-swap.bin'
as firmware.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
9d78ae9e — Daniel Schwierzeck 1 year, 3 months ago
travis-ci: Replace qemu.qemu-mips with flash.create_image_32mb

The code is the same, only the flash images sizes differ.
But that's irrelevant for qemu_mips targets so remove the
redundant script.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
9e725cf7 — Daniel Schwierzeck 1 year, 3 months ago
travis-ci: Allow custom image size for flash.create_image_32mb

Introduce parameter 'flash_size' to allow a board to
configure a custom flash image size. This will be used
later by the Malta Qemu boards.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
915a4df4 — Daniel Schwierzeck 1 year, 3 months ago
travis-ci: Allow custom input binaries for flash.create_image_32mb

Introduce parameter 'flash_u_boot_bin' to allow a board to
configure custom U-Boot input binaries. This will be used
later by the Malta Qemu boards.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
04c8ae1c — Simon Glass 1 year, 7 months ago
Add support for zynq_zybo

Add this board which uses SDwire with DLI for power control. It needs a
slightly different mount method from Raspberry Pi.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
ac26fd24 — Simon Glass 1 year, 7 months ago
Allow waiting for the console to appear

Some boards have a UART built into them and it doesn't appear until the
board is powered on. An example is zynq_zybo. Try to handle this by waiting
for the console and then continuing as soon as possible (so we don't miss
the U-Boot banner).

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
ae20d6d0 — Simon Glass 1 year, 7 months ago
Use the common power code to power off

Use the power method instead of hard-coding ykusb, so we can use this
script from multiple places.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
1aeaa995 — Simon Glass 1 year, 7 months ago
Move common sdwire / mount code into a common file

Separate out the core of this script so that it can be used by other
methods which use SDwire but have different power control.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
bd79349b — Simon Glass 1 year, 7 months ago
Fix a few typos

Fix a typo in 'at' and two occurences of 'myx'.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
travis-ci: Add qemu-riscv{32,64}_spl targets

Add support for testing qemu-riscv{32,64}_spl_defconfig.
Unlike qemu-riscv{32,64} targets, this creates a 4-core SMP
configuration to cover U-Boot SMP codes testing.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Next