summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-03-13rdinfra/uefi: add a script for booting upto efi shellarmlt-20190708-00119.06Thomas Abraham
There should be a provision to boot upto the efi shell but not beyond. This is particularly useful for quick santiy checking of changes in firmware. Add a new test script to boot upto the efi shell. Change-Id: I2038545c723bc48ab7084cd032a39d59ad1c9c22 Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
2019-03-13sgi/uefi: add a script for booting upto efi shellThomas Abraham
There should be a provision to boot upto the efi shell but not beyond. This is particularly useful for quick santiy checking of changes in firmware. Add a new test script to boot upto the efi shell. Change-Id: I193c081c88062d23c6aab29a8a896c3aeba851fa Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
2019-03-13rde1edge/run_model: remove default virtio image selection for busyboxThomas Abraham
Do not default to a virtio image for busybox filesystem. The -v parameter is expected to set the virtio disk image to be used. Change-Id: Id566f8a5699c989113360c40e7c047e3ccb41463 Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
2019-03-13rdn1edge/run_model: remove default virtio image selection for busyboxThomas Abraham
Do not default to a virtio image for busybox filesystem. The -v parameter is expected to set the virtio disk image to be used. Change-Id: I994b2fa9ec283053af206d0a56931a0783f26d87 Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
2019-03-13sgi575/run_model: remove default virtio image selection for busyboxThomas Abraham
Do not default to a virtio image for busybox filesystem. The -v parameter is expected to set the virtio disk image to be used. Change-Id: I01cb0c542a89e765ab99e4be0569a7334140f268 Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
2019-03-13sgi/boot: use -v parameter to pass the location of virtio imageThomas Abraham
Instead of specifying busybox as the file system type, use the -v parameter to pass the path to the virtio image. Change-Id: Ia674929b8ed03695ec15d6e72e254090287cef27 Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
2019-03-07rdinfra/run_model: update the fastmodel names for rdinfra platformsRD-N1-E1-EDGE-19.1-RC0Thomas Abraham
The RD-N1-Edge and RD-E1-Edge platforms have new names for the fastmodel binary. Adapt the run-model scripts of these platforms to these changes. Change-Id: I6d43178ef487656e1b41a42d98f50b3a0d6668a8 Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
2019-03-06rde1edge/run_model: do not overwrite soc uart1 log file name for automated testsThomas Abraham
The uefi-mm logs are printed over the soc uart1 port and a log file name is assigned to it when the model is launched. So do not override that file name for automated tests with -j parameter. Change-Id: I69e24cc5e148c7ea0ebe29a4a0a661fb4a24fa1f Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
2019-03-06rdn1edge/run_model: do not overwrite soc uart1 log file name for automated testsThomas Abraham
The uefi-mm logs are printed over the soc uart1 port and a log file name is assigned to it when the model is launched. So do not override that file name for automated tests with -j parameter. Change-Id: I51e102f2c63ad1e3d2ddcb18368119b6dee0923c Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
2019-03-06sgi575/run_model: do not overwrite soc uart1 log file name for automated testsThomas Abraham
The uefi-mm logs are printed over the soc uart1 port and a log file name is assigned to it when the model is launched. So do not override that file name for automated tests with -j parameter. Change-Id: I81ef205a54a87e72fc850a66115acf4cae4e860b Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
2019-03-05sgi/secure_boot: copy the prebuilt nor2 flash imageJagadeesh Ujja
In case of automated execution, it is not possible to manually register the secure keys into secure variable storage. So copy a prebuilt nor flash image that is pre-loaded with these keys. Change-Id: I5fd8607827e236374a998fb5161b843b30f1dbbb Signed-off-by: Jagadeesh Ujja <jagadeesh.ujja@arm.com>
2019-03-05kvm: use linux kernel image from /boot/ folder for kvm testVijayenthiran Subramaniam
Linux kernel image for refinfra platforms is located in /boot/vmlinux-refinfra. Use this image for the kvm test. Change-Id: Iabefa95fefc0f7c64ef41b7a800249958d100242 Signed-off-by: Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
2019-03-04plat/run_model: update the path to fastmodel executableThomas Abraham
Update the path of the default fastmodel executable location. Change-Id: I9041337e6afe8e638748ff0ebddc438e60784898 Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
2019-03-04sgi/tests: adapt the help messages to the new product namesThomas Abraham
Adapt the help messages in the test execute scripts to the new product names. In addition to this, use helper functions to simplify the script code. Change-Id: I4e1969434b6bbb10b4b5cd31158d4f743e4bd326 Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
2019-03-04sgi/sgi_common_util: add helper functions to check for supported platformsThomas Abraham
The sgi test scripts have replicated code that validates in the input parameters with the list of platforms supported. This duplicated code is now moved into a sgi common code as appropriate functions. Change-Id: I0cc4ea8b6186adc1e3919f861f009caf09d36df1 Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
2019-03-01rdinfra: add 'rdinfra' platform test scriptsThomas Abraham
The new 'RD' infrastructure/enterprise platforms can reuse all the tests under the SGI platforms. So add initial set of test run scripts that reuse all the run scripts for the SGI platform. Change-Id: I0687205966e502239394b7e9dee5a8468d2f34af Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
2019-02-28ras|kvm: switch to using generic platform name instead of sgiThomas Abraham
To adapt to the product names for the latest SGI platforms, replace the use of 'sgi' with 'refinfra' for prebuilts. Change-Id: Id9a1a68606ba510ee639f3378fee9d5e69f83ba7 Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
2019-02-26rdinfra: add 'rdinfra' platform test scriptsThomas Abraham
The new 'RD' infrastructure/enterprise platforms can reuse all the tests under the SGI platforms. So add initial set of test run scripts that reuse all the run scripts for the SGI platform. Change-Id: I0687205966e502239394b7e9dee5a8468d2f34af Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
2019-02-26rde1edge: rename sgiclarkh platform as rde1edgeThomas Abraham
Rename sgiclarkh platform as rde1edge as per the new product name for this platform. Change-Id: I338744cc2dd37bd832323b5c591c8dac4490eb52 Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
2019-02-26rdn1edge: rename sgiclarka platform as rdn1edgeThomas Abraham
Rename sgiclarka platform as rdn1edge as per the new product name for this platform. Change-Id: I47fbdf56044cecea42e8b9dcd9857a649f8f339c Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
2019-02-26sgi/tests: update access path to sgi_common_util.sh from test scriptsThomas Abraham
The test scripts under sgi/ directory will be used by other platforms as well. To allow access to sgi_common_util.sh from test scripts when tests are invoked from platforms other than sgi/, update the path to the sgi_common_util.sh script in each of the supported tests. Change-Id: I3a724aeee77106f8b4692a46df9e1ec882fe9424 Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
2019-02-26sgi/tftf: allow this script to be usable on sgiclarka platformChandni Cherukuri
SGI-Clark.Ares uses a TF-A firmware to boot the application cores. So TF-A tests can be used on this platform to validate the port of TF-A on this platform. So allow the usability of this script on SGI-Clark.Ares platform. Change-Id: I0e30810da2d4221efbc1f277f7fb69bc6d164e09 Signed-off-by: Chandni Cherukuri <chandni.cherukuri@arm.com>
2019-02-26sgi/sct: allow this script to be usable on sgiclarkh platformJagadeesh Ujja
SGI-Clark.Helios platform can be validated using SCT test suite. So enable usability of this script on SGI-Clark.Ares platform. Change-Id: I150b6673206bb4a981d6dd76f815842deb0e7331 Signed-off-by: Jagadeesh Ujja <jagadeesh.ujja@arm.com>
2019-02-26sgi/sct: allow this script to be usable on sgiclarka platformJagadeesh Ujja
SGI-Clark.Ares platform can be validated using SCT test suite. So enable usability of this script on SGI-Clark.Ares platform. Change-Id: Ibe2bade07329c0ccf6f6c7246a6a6668a3a36837 Signed-off-by: Jagadeesh Ujja <jagadeesh.ujja@arm.com>
2019-02-26sgi/secure_boot: allow this script to be usable on sgiclarkh platformJagadeesh Ujja
SGI-Clark.Helios platform supports secure storage of EFI variables and secure boot of the platform. So enable usability of this script on SGI-Clark.Helios platform. Change-Id: If2f265939204b4e42dbaeea06edcf39a99cf5801 Signed-off-by: Jagadeesh Ujja <jagadeesh.ujja@arm.com>
2019-02-26sgi/secure_boot: allow this script to be usable on sgiclarka platformJagadeesh Ujja
SGI-Clark.Ares platform supports secure storage of EFI variables and secure boot of the platform. So enable usability of this script on SGI-Clark.Ares platform. Change-Id: I2b11e4bb0ebe56a2c0afbb28c9777b9d20e8f889 Signed-off-by: Jagadeesh Ujja <jagadeesh.ujja@arm.com>
2019-02-26sgi/build-test-kvm: allow this script to be usable on sgiclarkh platformVijayenthiran Subramaniam
SGI-Clark.Helios platform can be used to support kvm and launch multiple VMs. So allow this test script to be used on SGI-Clark.Helios platform. Change-Id: I26c5e003fa53c21dcfc6b7eb5cffc6274d5b9d54 Signed-off-by: Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
2019-02-26sgi/build-test-kvm: allow this script to be usable on sgiclarka platformVijayenthiran Subramaniam
SGI-Clark.Ares platform can be used to support kvm and launch multiple VMs. So allow this test script to be used on SGI-Clark.Ares platform. Change-Id: I1001d9991c06783e08bcbde9236fd3bb8d37ad99 Signed-off-by: Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
2019-02-26sgi/distro: allow this script to be usable on SGI-Clark.Helios platformVijayenthiran Subramaniam
SGI-Clark.Helios platform supports booting most of common distributions. So allow this script to be usable on SGI-Clark.Helios platform. Change-Id: I3d52a6fc9700079d040b97aec7e47f055eaed339 Signed-off-by: Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
2019-02-25sgi/distro: allow this script to be usable on SGI-Clark.Ares platformVijayenthiran Subramaniam
SGI-Clark.Ares platform supports booting most of common distributions. So allow this script to be usable on SGI-Clark.Ares platform. Change-Id: I364442dde13c73070a11ef0ef29021a6cf776500 Signed-off-by: Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
2019-02-25sgi/distro: add copyright notice headerThomas Abraham
The copyright notice header has been missing on this file. So add the copyright notice to this script. Change-Id: I82e42a2651381773263b7b991af25b3b543c7f90 Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
2019-02-25sgi/ras: allow this script to be usable on sgiclarkh platformThomas Abraham
SGI-Clark.Helios platform supports platform RAS error injection and error handling. So enable usability of this script on SGI-Clark.Helios platform. Change-Id: Id5a961a402ee81e0adfd72bef538f59aa2d49b3a Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
2019-02-25sgi/ras: allow this script to be usable on sgiclarka platformThomas Abraham
SGI-Clark.Ares platform supports platform RAS error injection and error handling. So enable usability of this script on SGI-Clark.Ares platform. Change-Id: I2c34bde8aace5b299acdb0cd5c30b64df3fc4f67 Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
2019-02-25sgi/acs: allow this script to be usable on sgiclarkh platformThomas Abraham
SGI-Clark.Helios platform can be validated using ACS test suite. So enable usability of this script on SGI-Clark.Helios platform. Change-Id: If185433808c43163c9b235553d030444de77125b Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
2019-02-25sgi/acs: allow this script to be usable on sgiclarka platformThomas Abraham
SGI-Clark.Ares platform can be validated using ACS test suite. So enable usability of this script on SGI-Clark.Ares platform. Change-Id: Ibfaef0322d3ca6b1e3d5edc181882c47796e574d Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
2019-02-25sgi/boot: allow boot test script to be usable on SGI-Clark.Helios platformChandni Cherukuri
Add SGI-Clark.Helios platform as a supported platform in busybox boot test script. Change-Id: Ic63ef722f87451a436432cf092c5cce77633735c Signed-off-by: Chandni Cherukuri <chandni.cherukuri@arm.com>
2019-02-25sgi/boot: allow boot test script to be usable on SGI-Clark.Ares platformChandni Cherukuri
Add SGI-Clark.Ares platform as a supported platform in busybox boot test script. Change-Id: I890ca1f9f02fb07c52e3fd0b398a2224eeca404f Signed-off-by: Chandni Cherukuri <chandni.cherukuri@arm.com>
2019-02-25platforms/sgiclarkh: add model launch script for SGI-Clark.Helios platformChandni Cherukuri
Add a helper script to script to launch the model for SGI-Clark.Helios platform. This script sets up the model parameters based on the input parameters it receives. Change-Id: I34daae8f1159008865c77cbad3a1f073e9461be6 Signed-off-by: Chandni Cherukuri <chandni.cherukuri@arm.com>
2019-02-25platforms/sgiclarka: add model launch script for SGI-Clark.Ares platformChandni Cherukuri
Add a helper script to script to launch the model for SGI-Clark.Ares platform. This script sets up the model parameters based on the input parameters it receives. Change-Id: I833bdaae8e7e2a36b4ab33771801da59ba510f12 Signed-off-by: Chandni Cherukuri <chandni.cherukuri@arm.com>
2019-02-25sgi/boot: fix minor typo in the help message descriptionVijayenthiran Subramaniam
Change all usages of ./busybox_boot.sh to ./boot.sh in order to align with the new file name. Change-Id: I3749fe316b0f7dc69577c0c9b77f4d8708baeb7d Signed-off-by: Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
2019-02-18sgi/acs: allow prebuilt luv-live image to be specifiedThomas Abraham
Add support for a command line option to specify a absolute path of the luv-live image to be tested with. This is useful when executing ACS tests with a pre-built version of the luv-live ACS image. To specify the pre-built image, use the command line option "-v" and specify the absolute path of the luv-live image as its parameter. Change-Id: Ifaba3e7dc2571453e1f0647f1f657a0bfca2a33e Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
2019-02-18platforms/sgi575: fix minor typo of mcp log file namesThomas Abraham
MCP uart log file name require a minor fix (css-mcp_uar0 -> css-mcp_uart0 and css-mcp_uar1 -> css-mcp_uart1) Change-Id: If0f2dc5be17b99d69a93ca8d4d2ce58eaf3a21d8 Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
2019-02-18sgi/distro: rename the existing distro install and boot scriptThomas Abraham
The existing script that supports both distribution install and boot is name as 'distro_boot.sh'. Since it supports distribution install as well, it is being renamed as 'distro.sh'. Change-Id: I89462125685c13c66a34b05e75232f6bbd0d3198 Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
2019-02-18sgi/boot: change the boot script name from busybox.sh to boot.shThomas Abraham
On SGI platforms, the simple boot test uses busybox as the filesystem and there is no other file system supported for simple boot test. So instead of naming the boot test script as "busybox_boot.sh", name it as "boot.sh" Change-Id: I4d3f659e9be8ca1c49e7d415cf8f291b92c8fdfd Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
2019-02-18sgi/tftf: add script for executing TF-A tests on SGI platformsChandni Cherukuri
Add support to execute Trusted Firmware-A tests on SGI platforms. The result of the tests is printed on the console. Change-Id: I397c71d91732900acb60fe99babe13769353029e Signed-off-by: Chandni Cherukuri <chandni.cherukuri@arm.com>
2019-02-18sgi/sct: add helper script for UEFI SCT testLokesh B V
Adds run script for validation of SCT test on SGI platforms. Change-Id: I4f3839e9c9234ed632ca882ff8a1946b5de637c3 Signed-off-by: Lokesh B V <lokesh.bv@arm.com>
2019-02-18sgi/secure_boot: add helper script for validating secure bootJagadeesh Ujja
Add a run script for secure boot feature validation on SGI platforms. This script allows for a quicker validation of the secure boot feature using busybox as the root filesystem. Change-Id: I4f81b675cbbd590371b87facabeec39bd4a9f4ab Signed-off-by: Jagadeesh Ujja <jagadeesh.ujja@arm.com>
2019-02-18sgi/acs: add helper script for executing acs testsChandni Cherukuri
Add a run script for the ACS feature validation on SGI platforms. The script looks for the compiled luv-live image and sets it as the virtio-disk for the model to boot from. Change-Id: I2f308d2461ba3c922ee8fc3224bf96c032e26396 Signed-off-by: Chandni Cherukuri <chandni.cherukuri@arm.com>
2019-01-31sgi/ras: add helper script for RAS feature validationSughosh Ganu
Add a run script for the RAS feature validation. This boots the distribution image that has the kernel for SGI platforms with drivers needed for demonstrating RAS error injection and error handling on the SGI platforms. Change-Id: I76fe93486b7159581bd3bab598f3f79d277070e9 Signed-off-by: Sughosh Ganu <sughosh.ganu@arm.com>
2019-01-31sgi/kvm: add helper script for kvm feature validationVijayenthiran Subramaniam
Add a run script for the kvm feature validation. This boots the distribution image that has the kernel for SGI platforms. After booting upto the shell prompt, the lkvm tool which is available in the root file system can be used to launch the virtual machines. Change-Id: Id96af6ebac23a27886fa1513cffb32522cd9196d Signed-off-by: Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>