hooks: qemu-arm64be: New board
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
13
test/hooks/bin/travis-ci/conf.qemu_arm64be_na
Normal file
13
test/hooks/bin/travis-ci/conf.qemu_arm64be_na
Normal file
@@ -0,0 +1,13 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
# Copyright (c) 2024 Jiaxun Yang
|
||||
#
|
||||
|
||||
console_impl=qemu
|
||||
qemu_machine="virt"
|
||||
qemu_helper_script="swtpm"
|
||||
qemu_binary="qemu-system-aarch64"
|
||||
qemu_extra_args="-cpu cortex-a57 -nographic -netdev user,id=net0,tftp=${UBOOT_TRAVIS_BUILD_DIR} -device e1000,netdev=net0 -device virtio-rng-pci -semihosting -chardev socket,id=chrtpm,path=/tmp/tpm/swtpm-sock -tpmdev emulator,id=tpm0,chardev=chrtpm -device tpm-tis-device,tpmdev=tpm0"
|
||||
qemu_kernel_args="-bios ${U_BOOT_BUILD_DIR}/u-boot.bin"
|
||||
reset_impl=none
|
||||
flash_impl=none
|
||||
10
test/hooks/py/travis-ci/u_boot_boardenv_qemu_arm64be_na.py
Normal file
10
test/hooks/py/travis-ci/u_boot_boardenv_qemu_arm64be_na.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import os
|
||||
import travis_tftp
|
||||
|
||||
env__net_uses_pci = True
|
||||
env__net_dhcp_server = True
|
||||
env__net_tftp_readable_file = travis_tftp.file2env('u-boot.bin', 0x40400000)
|
||||
env__efi_fit_tftp_file = {
|
||||
'addr' : 0x40400000,
|
||||
"dn" : os.environ['UBOOT_TRAVIS_BUILD_DIR'],
|
||||
}
|
||||
Reference in New Issue
Block a user