Both boards provide defaults matching real hardware. No need to ask users to repeat these. Also, remove these redundant arguments from the functional tests such that the defaults get tested.
Signed-off-by: Bernhard Beschow <[email protected]> --- docs/system/arm/imx8m.rst | 2 +- tests/functional/aarch64/test_imx8mm_evk.py | 4 +--- tests/functional/aarch64/test_imx8mp_evk.py | 4 +--- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/docs/system/arm/imx8m.rst b/docs/system/arm/imx8m.rst index 1bcb8255be..5348757089 100644 --- a/docs/system/arm/imx8m.rst +++ b/docs/system/arm/imx8m.rst @@ -79,7 +79,7 @@ For i.MX 8M Mini EVK: .. code-block:: bash - $ qemu-system-aarch64 -M imx8mm-evk -smp 4 -m 2G \ + $ qemu-system-aarch64 -M imx8mm-evk \ -display none -serial null -serial stdio \ -kernel Image \ -dtb imx8mm-evk.dtb \ diff --git a/tests/functional/aarch64/test_imx8mm_evk.py b/tests/functional/aarch64/test_imx8mm_evk.py index 86725991f1..73d286167c 100755 --- a/tests/functional/aarch64/test_imx8mm_evk.py +++ b/tests/functional/aarch64/test_imx8mm_evk.py @@ -52,9 +52,7 @@ def test_aarch64_imx8mm_evk_usdhc(self): self.require_accelerator("tcg") self.set_machine('imx8mm-evk') self.vm.set_console(console_index=1) - self.vm.add_args('-m', '2G', - '-smp', '4', - '-kernel', self.kernel_path, + self.vm.add_args('-kernel', self.kernel_path, '-initrd', self.initrd_path, '-dtb', self.dtb_path, '-append', 'root=/dev/mmcblk2p1', diff --git a/tests/functional/aarch64/test_imx8mp_evk.py b/tests/functional/aarch64/test_imx8mp_evk.py index 99ddcdef83..2ec421c326 100755 --- a/tests/functional/aarch64/test_imx8mp_evk.py +++ b/tests/functional/aarch64/test_imx8mp_evk.py @@ -52,9 +52,7 @@ def test_aarch64_imx8mp_evk_usdhc(self): self.require_accelerator("tcg") self.set_machine('imx8mp-evk') self.vm.set_console(console_index=1) - self.vm.add_args('-m', '2G', - '-smp', '4', - '-kernel', self.kernel_path, + self.vm.add_args('-kernel', self.kernel_path, '-initrd', self.initrd_path, '-dtb', self.dtb_path, '-append', 'root=/dev/mmcblk2p1', -- 2.55.0
