Skip to content
  1. Oct 04, 2024
  2. Jul 01, 2024
  3. Apr 17, 2024
    • Nitin Sharma's avatar
      aemfvp-a-rme: locate container script · 9751b234
      Nitin Sharma authored
      
      
      docker container script is needed to rebuild the buildroot stack
      needed during automated cca kernel update. modifying the path of
      execution script to locate it in parent dir.
      
      Signed-off-by: Nitin Sharma's avatarnitin sharma <nitin.sharma3@arm.com>
      Change-Id: I9e72dcfef11c4dbb3c6315a14685151d8115561c
    • Nitin Sharma's avatar
      aemfvp-a-rme: adding realm distro usecase for 2024.04.15 release · 47f283ef
      Nitin Sharma authored and Nitin Sharma's avatar Nitin Sharma committed
      
      
      For a distro to boot in realm security state the stock kernel in
      distro image has to be updated with a cca aware kernel that we
      are building as part of building this stack.
      Updates include
      - adding update_debs flag in distro.sh to update the cca aware kernel
        in distro image with sudo dpkg -i.
      - automate_distro_realm_boot.sh script aims to automate distro realm
        boot preperation steps.
        1. Building the stack with LINUX_BUILD_DEB_PKG=1 to create debs
        2. Copying the linux debs over to distro image's Linux filesystem
          section with utils/distro_kernel_debs_copy.sh
        3. Booting distro fvp and updating the default kernel with sudo
          dkpg using utils/distro_dpkg_update.sh
        4. Rebuilding the buildroot section of stack to pack the cca kernel
          distro image in host's filesystem using rebuild_buildroot.sh
        5. Checking distro image can be booted in realm security state
           with realm_distro_boot.sh
      - adding 30 sec delay to ensure network stack is initialised before ping.
      
      Signed-off-by: Nitin Sharma's avatarnitin sharma <nitin.sharma3@arm.com>
      Change-Id: I5e9e217b9d50b7aa889e6262d01a2b16e067c3a6
      47f283ef
    • Nitin Sharma's avatar
      aemfvp-a-rme: add utils for supporting distro image preparation · 7f3cb0e8
      Nitin Sharma authored and Nitin Sharma's avatar Nitin Sharma committed
      
      
      Changes include
      - adding script distro_kernel_debs_copy for mounting the linux filesystem
        of the distro image and copying the linux debs to /boot path.
      - distro_dpkg_update for running sudo dpkg -i <debs> on booted fvp distro
        image to replace the stock kernel in distro image.
      - rebuilding buildroot with rebuild_buildroot to repack the updated distro
        image in host's filesystem.
      
      Signed-off-by: Nitin Sharma's avatarnitin sharma <nitin.sharma3@arm.com>
      Change-Id: Id013face7e7d0061e1aced4c35c8ab20f4c183d7
      7f3cb0e8
    • Nitin Sharma's avatar
      aemfvp-a-rme: script for booting a lkvm distro guest in realm security state · 69ddeed6
      Nitin Sharma authored and Nitin Sharma's avatar Nitin Sharma committed
      
      
      Adding realm_distro_boot.sh for launching distro realm guest. Usecase supports
      - booting FVP with stack built bins and images.
      - waiting for fvp boot to complete and login prompt to appear.
      - lkvm_uefi_boot_cmd to launch lkvm guest using distro image and firmware.
      - waiting for distro login prompt to appear indicating successfull boot.
      - use case is supporting automated runs.
      - fvprun to run ssh command at FVP host.
      
      Signed-off-by: Nitin Sharma's avatarnitin sharma <nitin.sharma3@arm.com>
      Change-Id: I4fd16cf8ef80c45956638dd116a8a6e622e17424
      69ddeed6
    • Nitin Sharma's avatar
      aemfvp-a-rme: script for booting a lkvm guest in realm security state · 85a28a23
      Nitin Sharma authored and Nitin Sharma's avatar Nitin Sharma committed
      
      
      Adding realm_guest.sh script for launching lkvm guest in realm.
      Usecase supports
      - booting FVP with stack built bins and images.
      - waiting for boot to complete and login to appear.
      - launching realm_guest_test script in FVP host to run lkvm guest.
      - verifying the lkvm guest has been launched and login appears.
      
      Signed-off-by: Nitin Sharma's avatarnitin sharma <nitin.sharma3@arm.com>
      Change-Id: I0f7390e9b304d10f7eeb5c90f34f7fc466cd9892
      85a28a23
    • Nitin Sharma's avatar
      aemfvp-a-rme: script for booting and installing distro in FVP · b7dba503
      Nitin Sharma authored and Nitin Sharma's avatar Nitin Sharma committed
      
      
      added distro.sh script to allow a distro's raw or iso image to be installed
      or booted at FVP. Changes include
      - support installation of distro iso images at FVP with a generated satadisk
        to install the image on with params -i <image> -s <satadisk_size>
      - allow a pre-installed satadisk or a distro raw image to be booted at FVP
        using param -d <disk image>
      - automated use case supported in boot scenario, where xterm logs are collected
        and FVP is killed after boot is complete and login prompt appears.
      
      Signed-off-by: Nitin Sharma's avatarnitin sharma <nitin.sharma3@arm.com>
      Change-Id: Ife8368527c213474cdf9f7881f0ae9b5b35b029b
      
      Change-Id: I6081129725188662388e2ea8fcc34f4f01bf8a14
      b7dba503
    • Nitin Sharma's avatar
      aemfvp-a-rme: support network connection to fvp in boot test · c28b4a26
      Nitin Sharma authored and Nitin Sharma's avatar Nitin Sharma committed
      
      
      boot.sh use case booted an aemfvp-a-rme fvp until login, this change adds
      support of network connection to FVP via a tap interface that is setup at
      test machine and used as model param for network connectivity. Updates are
      - find_tap_interface to look for available tap interfaces available at
        host machine.
      - NTW_ENABLE introduced in run_model to indicate connection request.
      - enabling model params for virtio_net and hostbridge.interface=tap to
        allow tap interface connection to FVP.
      - add -n <true/false> param in boot.sh to enable network.
      - add model params for pcie to provide an image for boot.
      - virtio block device param to FVP added to attach a satadisk.
      
      Signed-off-by: Nitin Sharma's avatarnitin sharma <nitin.sharma3@arm.com>
      Change-Id: I196c1b4c66bd19c213b2fd389fb47ef1a4e287c6
      c28b4a26
    • Nitin Sharma's avatar
      aemfvp-a: updates for q1'24 release · abee8153
      Nitin Sharma authored and Nitin Sharma's avatar Nitin Sharma committed
      
      
      Changes done to support AEMFVP-A-2024.04.15 release of the stack.
      Modifications are
      - update pci-hidden flag for model, earlier the virtio storage on the PCI
        bus modelling was broken so we were hiding it, disabling it now.
      - update satadisk model parameter from pci.ahci_pci to pci.pcie_rc.ahci0
      - update the artifact loading for fvp runs and use semihosting.
      
      Signed-off-by: default avatarBen Taylor <ben.taylor@linaro.org>
      Change-Id: If4e6cf377bdb0f22bfee007f0ee1d432c9eb211c
      abee8153
  4. Dec 21, 2023
    • Nitin Sharma's avatar
      aemfvp-rme: script updates for 23'q4 release · 89c8fcea
      Nitin Sharma authored and Thomas Abraham's avatar Thomas Abraham committed
      
      
      The 23'q4 release of aemfvp-a-rme software stack migrates the quality
      level of stack to EAC5. There are changes in model-script as part of
      this migration as follows :
      
      - TF build flags for GIC extended SPI ranges.
      - enabling SVE plugins to model.
      - enabling Automated runs for fvp in docker environment.
      - dynamically choosing FVP path from host arch.
      - added function capture_terminal_output to flush out xterm output in case of
        automated runs.
      - ssh_connection.sh test script for checking ssh to realm guest from host.
      
      Signed-off-by: Nitin Sharma's avatarNitin Sharma <nitin.sharma3@arm.com>
      Change-Id: I7f002ee01315dd931484b7c6880cbc955f922cb8
      89c8fcea
  5. Mar 23, 2023
  6. Mar 06, 2023
  7. Mar 01, 2023
  8. Feb 27, 2023
  9. Dec 08, 2022
    • Patrik Berglund's avatar
      aemfvp-a: hide VirtIO PCI block devices · 93cbf5d6
      Patrik Berglund authored
      The VirtIO block devices on the PCI must be hidden because of FVP
      modelling issue.
      The devices effected are not used by the aemfvp-a stack so this
      workaround is acceptable.
      
      Change-Id: Ib377848d7584ebbc5cfb17ea50506e312bd6f739
      93cbf5d6
  10. Sep 21, 2021
  11. Aug 16, 2021
  12. Aug 11, 2021
  13. Jul 15, 2021
  14. Jun 24, 2021
  15. Dec 18, 2020
Loading