Skip to content

Commit

Permalink
travis-ci: provide env__efi_fit_tftp_file
Browse files Browse the repository at this point in the history
Provide dictionary env__efi_fit_tftp_file describing the file used for the
UEFI FIT image test.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
  • Loading branch information
xypron authored and nvswarren committed Feb 21, 2020
1 parent ff0d4c7 commit fbf1d46
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 0 deletions.
5 changes: 5 additions & 0 deletions py/travis-ci/u_boot_boardenv_qemu_arm64_na.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os
import travis_tftp

env__net_uses_pci = True
Expand All @@ -6,3 +7,7 @@
env__net_tftp_readable_file = travis_tftp.file2env('u-boot.bin', 0x40400000)
env__efi_loader_helloworld_file = travis_tftp.file2env('lib/efi_loader/helloworld.efi', 0x40400000)
env__efi_loader_grub_file = travis_tftp.file2env('grub_arm64.efi', 0x40400000)
env__efi_fit_tftp_file = {
'addr' : 0x40400000,
"dn" : os.environ['UBOOT_TRAVIS_BUILD_DIR'],
}
5 changes: 5 additions & 0 deletions py/travis-ci/u_boot_boardenv_qemu_arm_na.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os
import travis_tftp

env__net_uses_pci = True
Expand All @@ -6,3 +7,7 @@
env__net_tftp_readable_file = travis_tftp.file2env('u-boot.bin', 0x40400000)
env__efi_loader_helloworld_file = travis_tftp.file2env('lib/efi_loader/helloworld.efi', 0x40400000)
env__efi_loader_grub_file = travis_tftp.file2env('grub_arm.efi', 0x40400000)
env__efi_fit_tftp_file = {
'addr' : 0x40400000,
"dn" : os.environ['UBOOT_TRAVIS_BUILD_DIR'],
}
5 changes: 5 additions & 0 deletions py/travis-ci/u_boot_boardenv_qemu_x86_64_na.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os
import travis_tftp

env__net_uses_pci = True
Expand All @@ -8,3 +9,7 @@

env__efi_loader_check_smbios = True
env__efi_loader_grub_file = travis_tftp.file2env('grub_x64.efi')

env__efi_fit_tftp_file = {
"dn" : os.environ['UBOOT_TRAVIS_BUILD_DIR'],
}
5 changes: 5 additions & 0 deletions py/travis-ci/u_boot_boardenv_qemu_x86_na.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os
import travis_tftp

env__net_uses_pci = True
Expand All @@ -8,3 +9,7 @@

env__efi_loader_check_smbios = True
env__efi_loader_grub_file = travis_tftp.file2env('grub_x86.efi')

env__efi_fit_tftp_file = {
"dn" : os.environ['UBOOT_TRAVIS_BUILD_DIR'],
}
4 changes: 4 additions & 0 deletions py/travis-ci/u_boot_boardenv_vexpress_ca15_tc2_qemu.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import os
import travis_tftp

env__net_dhcp_server = True

env__net_tftp_readable_file = travis_tftp.file2env('u-boot')
env__efi_loader_helloworld_file = travis_tftp.file2env('lib/efi_loader/helloworld.efi')
env__efi_loader_grub_file = travis_tftp.file2env('grub_arm.efi')
env__efi_fit_tftp_file = {
"dn" : os.environ['UBOOT_TRAVIS_BUILD_DIR'],
}
4 changes: 4 additions & 0 deletions py/travis-ci/u_boot_boardenv_vexpress_ca9x4_qemu.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import os
import travis_tftp

env__net_dhcp_server = True

env__net_tftp_readable_file = travis_tftp.file2env('u-boot')
env__efi_loader_helloworld_file = travis_tftp.file2env('lib/efi_loader/helloworld.efi')
env__efi_loader_grub_file = travis_tftp.file2env('grub_arm.efi')
env__efi_fit_tftp_file = {
"dn" : os.environ['UBOOT_TRAVIS_BUILD_DIR'],
}

0 comments on commit fbf1d46

Please sign in to comment.