test/functional: Update buildroot images to 2024.11

The main changes compared to upstream 2024.11 buildroot are

- bumped Linux to version 6.11.11 with a custom config
- changed U-Boot to OpenBMC branch for more support
- included extra target packages

See branch [1] for more details.

There is a slight output change when powering off the machine,
the console now contains :

    reboot: Power off not available: System halted

Adjust accordingly the expect string in
do_test_arm_aspeed_buildroot_poweroff().

[1] https://github.com/legoater/buildroot/commits/aspeed-2024.11

Reviewed-by: Jamin Lin <jamin_lin@aspeedtech.com>
Link: https://lore.kernel.org/qemu-devel/20250122070909.1138598-9-clg@redhat.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
This commit is contained in:
Cédric Le Goater 2025-01-22 08:09:08 +01:00
parent a03e138259
commit f7ae9612fb
3 changed files with 9 additions and 9 deletions

View File

@ -42,7 +42,7 @@ class AspeedTest(LinuxKernelTest):
def do_test_arm_aspeed_buildroot_poweroff(self): def do_test_arm_aspeed_buildroot_poweroff(self):
exec_command_and_wait_for_pattern(self, 'poweroff', exec_command_and_wait_for_pattern(self, 'poweroff',
'reboot: System halted'); 'System halted');
def do_test_arm_aspeed_sdk_start(self, image): def do_test_arm_aspeed_sdk_start(self, image):
self.require_netdev('user') self.require_netdev('user')

View File

@ -11,15 +11,15 @@ from qemu_test import exec_command_and_wait_for_pattern
class AST2500Machine(AspeedTest): class AST2500Machine(AspeedTest):
ASSET_BR2_202311_AST2500_FLASH = Asset( ASSET_BR2_202411_AST2500_FLASH = Asset(
('https://github.com/legoater/qemu-aspeed-boot/raw/master/' ('https://github.com/legoater/qemu-aspeed-boot/raw/master/'
'images/ast2500-evb/buildroot-2023.11/flash.img'), 'images/ast2500-evb/buildroot-2024.11/flash.img'),
'c23db6160cf77d0258397eb2051162c8473a56c441417c52a91ba217186e715f') '641e6906c18c0f19a2aeb48099d66d4771929c361001d554d0d45c667413e13a')
def test_arm_ast2500_evb_buildroot(self): def test_arm_ast2500_evb_buildroot(self):
self.set_machine('ast2500-evb') self.set_machine('ast2500-evb')
image_path = self.ASSET_BR2_202311_AST2500_FLASH.fetch() image_path = self.ASSET_BR2_202411_AST2500_FLASH.fetch()
self.vm.add_args('-device', self.vm.add_args('-device',
'tmp105,bus=aspeed.i2c.bus.3,address=0x4d,id=tmp-test'); 'tmp105,bus=aspeed.i2c.bus.3,address=0x4d,id=tmp-test');

View File

@ -16,15 +16,15 @@ from qemu_test import exec_command_and_wait_for_pattern, skipIfMissingCommands
class AST2600Machine(AspeedTest): class AST2600Machine(AspeedTest):
ASSET_BR2_202311_AST2600_FLASH = Asset( ASSET_BR2_202411_AST2600_FLASH = Asset(
('https://github.com/legoater/qemu-aspeed-boot/raw/master/' ('https://github.com/legoater/qemu-aspeed-boot/raw/master/'
'images/ast2600-evb/buildroot-2023.11/flash.img'), 'images/ast2600-evb/buildroot-2024.11/flash.img'),
'b62808daef48b438d0728ee07662290490ecfa65987bb91294cafb1bb7ad1a68') '4bb2f3dfdea31199b51d66b42f686dc5374c144a7346fdc650194a5578b73609')
def test_arm_ast2600_evb_buildroot(self): def test_arm_ast2600_evb_buildroot(self):
self.set_machine('ast2600-evb') self.set_machine('ast2600-evb')
image_path = self.ASSET_BR2_202311_AST2600_FLASH.fetch() image_path = self.ASSET_BR2_202411_AST2600_FLASH.fetch()
self.vm.add_args('-device', self.vm.add_args('-device',
'tmp105,bus=aspeed.i2c.bus.3,address=0x4d,id=tmp-test'); 'tmp105,bus=aspeed.i2c.bus.3,address=0x4d,id=tmp-test');