Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from buildroot:master #386

Merged
merged 20 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
65f268e
package/arm-gnu-toolchain: add BR2_PACKAGE_HOST_ARM_GNU_TOOLCHAIN_SUP…
Oct 22, 2024
b948c25
boot/arm-trusted-firmware: use BR2_PACKAGE_HOST_ARM_GNU_TOOLCHAIN_SUP…
Oct 22, 2024
f22d407
boot/ti-k3-r5-loader: use BR2_PACKAGE_HOST_ARM_GNU_TOOLCHAIN_SUPPORTS
Oct 22, 2024
5144d2d
configs/aarch64_efi: bump Linux to 6.11.11
vstehle Dec 11, 2024
8ad137d
{toolchain, linux-headers}: add support for 6.12 headers
geomatsi Dec 8, 2024
535dbf2
linux: bump latest version to 6.12
geomatsi Dec 8, 2024
6f933e2
package/linux-headers: drop 6.11.x option
geomatsi Dec 8, 2024
2956a39
package/bc: update _SITE to use BR2_GNU_MIRROR
jolivain Nov 17, 2024
51858c4
boot/grub2: update _SITE to use BR2_GNU_MIRROR
jolivain Nov 17, 2024
7cc2d8b
configs/cubieboard2: bump Linux to 6.11.11 and U-Boot to 2024.10
vancepym Dec 6, 2024
4f6a924
configs/cubieboard2: switch to use extlinux.conf
vancepym Dec 6, 2024
dcb4d36
board/cubietech/cubieboard1: use lowercase keywords in extlinux.conf …
vancepym Dec 6, 2024
722cba4
configs/cubieboard1: bump Linux version to 6.11.11
vancepym Dec 6, 2024
36c7a53
support/testing/tests/boot/test_edk2.py: switch to neoverse-n1 cpu
jolivain Nov 16, 2024
c2f91e9
support/testing/tests/package/test_fwts.py: switch to neoverse-n1 cpu
jolivain Nov 16, 2024
0f9da39
Config.in: switch GNU mirrors URL to https
jolivain Nov 15, 2024
b0a1b0b
package/octave: update _SITE to use BR2_GNU_MIRROR
jolivain Nov 17, 2024
bfa2dbc
package/freeipmi: update _SITE to use BR2_GNU_MIRROR
jolivain Nov 17, 2024
9ccc0f5
package/nettle: update _SITE to use BR2_GNU_MIRROR
jolivain Nov 17, 2024
ed9da08
support/testing/infra/emulator.py: add qemu version in run log
jolivain Nov 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .checkpackageignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ board/chromebook/elm/sign.sh Shellcheck
board/chromebook/mksd.sh Shellcheck
board/chromebook/snow/sign.sh Shellcheck
board/ci20/patches/uboot/0001-mips-Remove-default-endiannes.patch lib_patch.Upstream
board/cubietech/cubieboard2/post-image.sh Shellcheck
board/freescale/common/imx/imx8-bootloader-prepare.sh Shellcheck
board/freescale/common/mxs/post-image.sh Shellcheck
board/friendlyarm/nanopi-r2s/post-build.sh Shellcheck
Expand Down Expand Up @@ -137,7 +136,6 @@ configs/beelink_gs1_defconfig lib_defconfig.ForceCheckHash
configs/broadcom_northstar_defconfig lib_defconfig.ForceCheckHash
configs/canaan_kd233_defconfig lib_defconfig.ForceCheckHash
configs/ci20_defconfig lib_defconfig.ForceCheckHash
configs/cubieboard2_defconfig lib_defconfig.ForceCheckHash
configs/engicam_imx6qdl_icore_defconfig lib_defconfig.ForceCheckHash
configs/engicam_imx6qdl_icore_qt5_defconfig lib_defconfig.ForceCheckHash
configs/engicam_imx6qdl_icore_rqs_defconfig lib_defconfig.ForceCheckHash
Expand Down
2 changes: 1 addition & 1 deletion Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ config BR2_KERNEL_MIRROR

config BR2_GNU_MIRROR
string "GNU Software mirror"
default "http://ftpmirror.gnu.org"
default "https://ftpmirror.gnu.org"
help
GNU has multiple software mirrors scattered around the
world. The following allows you to select your preferred
Expand Down
7 changes: 7 additions & 0 deletions Config.in.legacy
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,13 @@ endif

comment "Legacy options removed in 2025.02"

config BR2_KERNEL_HEADERS_6_11
bool "kernel headers version 6.11.x are no longer supported"
select BR2_LEGACY
help
Version 6.11.x of the Linux kernel headers are no longer
maintained upstream and are now removed.

config BR2_PACKAGE_GIBLIB
bool "giblib has been removed"
select BR2_LEGACY
Expand Down
2 changes: 1 addition & 1 deletion board/aarch64-efi/patches/linux/linux.hash
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
sha256 524858852f5869a9ef17de8b1e6e7faf05bcb2c462bc96b3c24dbf82ede373cf linux-6.10.12.tar.xz
sha256 62148e7e17f54c4a5ab5e75ad4882682c54bee818948be61a5963234fc0849fc linux-6.11.11.tar.xz
2 changes: 1 addition & 1 deletion board/cubietech/cubieboard1/patches/linux/linux.hash
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Locally calculated
sha256 c954f60197008f1e1f32a1e77293903cf3801d2543ec4bf521f5651eb7f133ce linux-6.11.6.tar.xz
sha256 62148e7e17f54c4a5ab5e75ad4882682c54bee818948be61a5963234fc0849fc linux-6.11.11.tar.xz
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
DEFAULT linux
LABEL linux
KERNEL /boot/zImage
DEVICETREE /boot/sun4i-a10-cubieboard.dtb
APPEND console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p1 rootwait
label cubieboard-buildroot
kernel /boot/zImage
devicetree /boot/sun4i-a10-cubieboard.dtb
append console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p1 rootwait
5 changes: 0 additions & 5 deletions board/cubietech/cubieboard2/boot.cmd

This file was deleted.

22 changes: 0 additions & 22 deletions board/cubietech/cubieboard2/genimage.cfg
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
# Minimal SD card image for the Cubieboard2
# Based in the Orange Pi genimage.cfg

image boot.vfat {
vfat {
files = {
"zImage",
"sun7i-a20-cubieboard2.dtb",
"boot.scr"
}
}

size = 10M
}

image sdcard.img {
hdimage {
}
Expand All @@ -24,15 +9,8 @@ image sdcard.img {
size = 1016K # 1MB - 8KB
}

partition boot {
partition-type = 0xC
bootable = "true"
image = "boot.vfat"
}

partition rootfs {
partition-type = 0x83
image = "rootfs.ext4"
size = 512M
}
}
2 changes: 2 additions & 0 deletions board/cubietech/cubieboard2/patches/linux/linux.hash
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Locally calculated
sha256 62148e7e17f54c4a5ab5e75ad4882682c54bee818948be61a5963234fc0849fc linux-6.11.11.tar.xz
2 changes: 2 additions & 0 deletions board/cubietech/cubieboard2/patches/uboot/uboot.hash
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Locally calculated
sha256 b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0 u-boot-2024.10.tar.bz2
16 changes: 0 additions & 16 deletions board/cubietech/cubieboard2/post-image.sh

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
label cubieboard-buildroot
kernel /boot/zImage
devicetree /boot/sun7i-a20-cubieboard2.dtb
append console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p1 rootwait
2 changes: 1 addition & 1 deletion boot/arm-trusted-firmware/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ config BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC
config BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_ARM32_TOOLCHAIN
bool "Needs arm-none-eabi toolchain"
depends on BR2_aarch64
depends on BR2_HOSTARCH = "x86_64"
depends on BR2_PACKAGE_HOST_ARM_GNU_TOOLCHAIN_SUPPORTS
help
Select this option if your ATF board configuration requires
an ARM32 bare metal toolchain to be available.
Expand Down
2 changes: 1 addition & 1 deletion boot/grub2/grub2.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
################################################################################

GRUB2_VERSION = 2.12
GRUB2_SITE = http://ftp.gnu.org/gnu/grub
GRUB2_SITE = $(BR2_GNU_MIRROR)/grub
GRUB2_SOURCE = grub-$(GRUB2_VERSION).tar.xz
GRUB2_LICENSE = GPL-3.0+
GRUB2_LICENSE_FILES = COPYING
Expand Down
1 change: 1 addition & 0 deletions boot/ti-k3-r5-loader/Config.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
config BR2_TARGET_TI_K3_R5_LOADER
bool "ti-k3-r5-loader"
depends on BR2_aarch64
depends on BR2_PACKAGE_HOST_ARM_GNU_TOOLCHAIN_SUPPORTS
select BR2_TARGET_TI_K3_BOOT_FIRMWARE # binman
help
Separate U-Boot SPL build for R5 core on TI's K3 processors.
Expand Down
4 changes: 2 additions & 2 deletions configs/aarch64_efi_defconfig
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
BR2_aarch64=y
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_10=y
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_11=y
BR2_GLOBAL_PATCH_DIR="board/aarch64-efi/patches"
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/aarch64-efi/post-image.sh support/scripts/genimage.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/aarch64-efi/genimage-efi.cfg"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.10.12"
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.11.11"
BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
BR2_LINUX_KERNEL_NEEDS_HOST_PYTHON3=y
Expand Down
2 changes: 1 addition & 1 deletion configs/cubieboard1_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/cubietech/cubieboard1/genimage.cfg"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.11.6"
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.11.11"
BR2_LINUX_KERNEL_DEFCONFIG="sunxi"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun4i-a10-cubieboard"
Expand Down
23 changes: 10 additions & 13 deletions configs/cubieboard2_defconfig
Original file line number Diff line number Diff line change
@@ -1,32 +1,29 @@
BR2_arm=y
BR2_cortex_a7=y
BR2_ARM_FPU_NEON_VFPV4=y
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y
BR2_TARGET_GENERIC_HOSTNAME="Cubieboard2"
BR2_TARGET_GENERIC_ISSUE="Welcome to Cubieboard2!"
BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/cubietech/cubieboard2/post-image.sh"
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_11=y
BR2_GLOBAL_PATCH_DIR="board/cubietech/cubieboard2/patches"
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
BR2_ROOTFS_OVERLAY="board/cubietech/cubieboard2/rootfs_overlay"
BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/cubietech/cubieboard2/genimage.cfg"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.11"
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.11.11"
BR2_LINUX_KERNEL_DEFCONFIG="multi_v7"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun7i-a20-cubieboard2"
BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun7i-a20-cubieboard2"
BR2_LINUX_KERNEL_INSTALL_TARGET=y
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10"
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.10"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="Cubieboard2"
BR2_TARGET_UBOOT_NEEDS_DTC=y
BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
BR2_TARGET_UBOOT_SPL=y
BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
BR2_PACKAGE_HOST_DOSFSTOOLS=y
BR2_PACKAGE_HOST_GENIMAGE=y
BR2_PACKAGE_HOST_MTOOLS=y
BR2_PACKAGE_HOST_UBOOT_TOOLS=y
BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y
BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/cubietech/cubieboard2/boot.cmd"
6 changes: 3 additions & 3 deletions linux/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ choice
prompt "Kernel version"

config BR2_LINUX_KERNEL_LATEST_VERSION
bool "Latest version (6.11)"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_11 if BR2_KERNEL_HEADERS_AS_KERNEL
bool "Latest version (6.12)"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_12 if BR2_KERNEL_HEADERS_AS_KERNEL

config BR2_LINUX_KERNEL_LATEST_CIP_VERSION
bool "Latest CIP SLTS version (5.10.162-cip24)"
Expand Down Expand Up @@ -134,7 +134,7 @@ config BR2_LINUX_KERNEL_CUSTOM_REPO_GIT_SUBMODULES

config BR2_LINUX_KERNEL_VERSION
string
default "6.11.11" if BR2_LINUX_KERNEL_LATEST_VERSION
default "6.12.3" if BR2_LINUX_KERNEL_LATEST_VERSION
default "5.10.162-cip24" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION
default "5.10.162-cip24-rt10" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION
default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \
Expand Down
2 changes: 1 addition & 1 deletion linux/linux.hash
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
sha256 62148e7e17f54c4a5ab5e75ad4882682c54bee818948be61a5963234fc0849fc linux-6.11.11.tar.xz
sha256 c89809cc777d50f1ea484a118630281a26383707a0e752c96fd834f6e765deae linux-6.12.3.tar.xz
sha256 d1054ab4803413efe2850f50f1a84349c091631ec50a1cf9e891d1b1f9061835 linux-6.6.63.tar.xz
sha256 aecdaf39d0a844a81ce4c67d9daff8979e938bb690df4f679fbbb494fe423278 linux-6.1.119.tar.xz
# From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
Expand Down
1 change: 1 addition & 0 deletions package/Config.in.host
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ menu "Host utilities"
source "package/amlogic-boot-fip/Config.in.host"
source "package/andes-spi-burn/Config.in.host"
source "package/android-tools/Config.in.host"
source "package/arm-gnu-toolchain/Config.in.host"
source "package/asn1c/Config.in.host"
source "package/babeltrace2/Config.in.host"
source "package/bmap-tools/Config.in.host"
Expand Down
4 changes: 4 additions & 0 deletions package/arm-gnu-toolchain/Config.in.host
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
config BR2_PACKAGE_HOST_ARM_GNU_TOOLCHAIN_SUPPORTS
bool "host arm-gnu-toolchain"
default y if BR2_HOSTARCH = "aarch64"
default y if BR2_HOSTARCH = "x86_64"
2 changes: 1 addition & 1 deletion package/bc/bc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
################################################################################

BC_VERSION = 1.07.1
BC_SITE = http://ftp.gnu.org/gnu/bc
BC_SITE = $(BR2_GNU_MIRROR)/bc
BC_DEPENDENCIES = host-flex
BC_LICENSE = GPL-2.0+, LGPL-2.1+
BC_LICENSE_FILES = COPYING COPYING.LIB
Expand Down
2 changes: 1 addition & 1 deletion package/freeipmi/freeipmi.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
################################################################################

FREEIPMI_VERSION = 1.6.14
FREEIPMI_SITE = https://ftp.gnu.org/gnu/freeipmi
FREEIPMI_SITE = $(BR2_GNU_MIRROR)/freeipmi
FREEIPMI_LICENSE = GPL-3.0+, BSD-like (sunbmc)
FREEIPMI_LICENSE_FILES = \
COPYING COPYING.bmc-watchdog COPYING.ipmiconsole COPYING.ipmi-dcmi \
Expand Down
16 changes: 10 additions & 6 deletions package/linux-headers/Config.in.host
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ comment "Kernel Header Options"
choice
prompt "Kernel Headers"
default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL
default BR2_KERNEL_HEADERS_6_11
default BR2_KERNEL_HEADERS_6_12
help
Select the kernel version to get headers from.

Expand Down Expand Up @@ -48,9 +48,9 @@ config BR2_KERNEL_HEADERS_6_6
bool "Linux 6.6.x kernel headers"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_6

config BR2_KERNEL_HEADERS_6_11
bool "Linux 6.11.x kernel headers"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_11
config BR2_KERNEL_HEADERS_6_12
bool "Linux 6.12.x kernel headers"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_12
select BR2_KERNEL_HEADERS_LATEST

config BR2_KERNEL_HEADERS_VERSION
Expand Down Expand Up @@ -129,8 +129,12 @@ choice
If your kernel headers are more recent than the latest version
in the choice, then select the latest version.

config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_12
bool "6.12.x or later"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_12

config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_11
bool "6.11.x or later"
bool "6.11.x"
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_11

config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_10
Expand Down Expand Up @@ -434,7 +438,7 @@ config BR2_DEFAULT_KERNEL_HEADERS
default "5.15.173" if BR2_KERNEL_HEADERS_5_15
default "6.1.119" if BR2_KERNEL_HEADERS_6_1
default "6.6.63" if BR2_KERNEL_HEADERS_6_6
default "6.11.11" if BR2_KERNEL_HEADERS_6_11
default "6.12.3" if BR2_KERNEL_HEADERS_6_12
default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL
default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \
Expand Down
2 changes: 1 addition & 1 deletion package/nettle/nettle.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
################################################################################

NETTLE_VERSION = 3.10
NETTLE_SITE = https://ftp.gnu.org/gnu/nettle
NETTLE_SITE = $(BR2_GNU_MIRROR)/nettle
NETTLE_DEPENDENCIES = host-m4 gmp
NETTLE_INSTALL_STAGING = YES
NETTLE_LICENSE = Dual GPL-2.0+/LGPL-3.0+
Expand Down
2 changes: 1 addition & 1 deletion package/octave/octave.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
################################################################################

OCTAVE_VERSION = 9.2.0
OCTAVE_SITE = https://ftp.gnu.org/gnu/octave
OCTAVE_SITE = $(BR2_GNU_MIRROR)/octave
OCTAVE_SOURCE = octave-$(OCTAVE_VERSION).tar.lz
OCTAVE_LICENSE = GPL-3.0+
OCTAVE_LICENSE_FILES = COPYING
Expand Down
12 changes: 9 additions & 3 deletions support/testing/infra/emulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,15 +116,21 @@ def boot(self, arch, kernel=None, kernel_cmdline=None, options=None):
ldavg_str = f"{ldavg[0]:.2f}, {ldavg[1]:.2f}, {ldavg[2]:.2f}"
self.logfile.write(f"> host loadavg: {ldavg_str}\n")
self.logfile.write(f"> timeout multiplier: {self.timeout_multiplier}\n")
self.logfile.write("> starting qemu with '%s'\n" % " ".join(qemu_cmd))
self.logfile.write(f"> emulator using {qemu_cmd[0]} version:\n")
host_bin = os.path.join(self.builddir, "host", "bin")
br_path = host_bin + os.pathsep + os.environ["PATH"]
qemu_env = {"QEMU_AUDIO_DRV": "none",
"PATH": br_path}
pexpect.run(f"{qemu_cmd[0]} --version",
encoding='utf-8',
logfile=self.logfile,
env=qemu_env)
self.logfile.write("> starting qemu with '%s'\n" % " ".join(qemu_cmd))
self.qemu = pexpect.spawn(qemu_cmd[0], qemu_cmd[1:],
timeout=5 * self.timeout_multiplier,
encoding='utf-8',
codec_errors='replace',
env={"QEMU_AUDIO_DRV": "none",
"PATH": br_path})
env=qemu_env)
# We want only stdout into the log to avoid double echo
self.qemu.logfile_read = self.logfile

Expand Down
3 changes: 2 additions & 1 deletion support/testing/tests/boot/test_edk2.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ class TestEdk2(infra.basetest.BRTest):
config = \
"""
BR2_aarch64=y
BR2_neoverse_n1=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
BR2_TARGET_ROOTFS_EXT2=y
Expand Down Expand Up @@ -63,7 +64,7 @@ def test_run(self):
flash1 = os.path.join(self.builddir, "images", "SBSA_FLASH1.fd")
self.emulator.boot(arch="aarch64",
options=["-M", "sbsa-ref",
"-cpu", "cortex-a57",
"-cpu", "neoverse-n1",
"-m", "512M",
"-pflash", flash0,
"-pflash", flash1,
Expand Down
Loading