Skip to content
  1. Jan 05, 2023
    • Robbie Cao's avatar
      doc: Add limitations and improvements for demo application · 78e08462
      Robbie Cao authored
      
      
      The main changes are as below:
      
      * Move the description of running demo application manually from
        Reproduce section to Application section.
      * Add a section to describe the limitations in rpmsg-demo and how
        to improve it.
      * Update Known Issues and Limitations in changelog.
      * Minor changes to keep the doc consistent overall.
      
      Issue-Id: SCM-5651
      Signed-off-by: Robbie Cao's avatarRobbie Cao <robbie.cao@arm.com>
      Change-Id: Ia2c820f8e42f1251c6464e351f1583fd81fbb922
      v5.0
      78e08462
  2. Dec 21, 2022
  3. Dec 20, 2022
  4. Dec 16, 2022
  5. Dec 15, 2022
    • Robbie Cao's avatar
      armv8r64-extras/xen-devicetree: Exclude evtchn if only 1 domain · b1eda310
      Robbie Cao authored
      
      
      The event channel is established statically for communication between
      two domains. There is no need to define event channels in device tree
      if only one domain is running on Xen. Also, since the event channel
      must describe the foreign-evtchn phandle connected to in the device
      tree, this is missing in the case of only one domain running on Xen,
      which causes the device tree overlay to fail.
      
      Based on the above reason, this patch adds a switch to enable the
      description of evtchn in the device tree. Whether it is enabled or not
      is determined by the 'XEN_DOM0LESS_DOMAINS' configuration: if only one
      domain runs on Xen, evtchn will be excluded from the device tree.
      
      This functionality is achieved by:
      1. Wrap the evtchn node in '#if VAR / #endif'
      2. The value of VAR (0 or 1) is determined by XEN_DOM0LESS_DOMAINS
      3. Use cpp (c preprocessor) to generate dts that meet the conditions
      
      Issue-Id: SCM-5451
      Signed-off-by: Robbie Cao's avatarRobbie Cao <robbie.cao@arm.com>
      Change-Id: I9c96f0b9de502757a1f29c6f022addb842990bee
      b1eda310
    • Robbie Cao's avatar
      armv8r64-extras/linux: Upgrade linux version to 5.19 · ee0ca7a3
      Robbie Cao authored
      
      
      And update the patches for shmem & evtchn driver as well.
      
      Issue-Id: SCM-5625
      Signed-off-by: Robbie Cao's avatarRobbie Cao <robbie.cao@arm.com>
      Change-Id: Ie3894945040858ce2206f4ca5a4a8e51884276aa
      ee0ca7a3
    • Robbie Cao's avatar
      armv8r64-extras/xen: Upgrade Xen to 4.17 · 77c7144e
      Robbie Cao authored
      
      
      To achieve this upgrade, the main changes are as follows:
      * Switch to use the main Xen Project repository
      * Add .bb for xen 4.17 and change to use stable-4.17 branch
      * Bump the version to RELEASE-4.17.0
      * Do the same for xen-tools 4.17
      * Remove downstream patches for shmem and evtchn since their support
        was included in 4.17
      * Add Xen support for Armv8-R AArch64 with MPU as downstream patches
      * Update Xen's config
      * Update device tree, mainly including:
         * Add 'xen,static-heap' settings
         * Update 'xen,static-mem' settings
         * Add 'xen,peer-dom-id' settings
         * Update the shared memory nodes
         * Update event channel nodes:
            * The 'evtchn' nodes are now inside the DomUs
            * Add configs for evtchn in xen_dom0less_config.bbclass
            * Remove obsolete evtchn configs, templates and python code
      * Update the Linux driver patches for shmem and evtchn
      
      Issue-Id: SCM-5230
      Signed-off-by: Robbie Cao's avatarRobbie Cao <robbie.cao@arm.com>
      Change-Id: I5bd2f7d52817214f36b70fda242dbcf9788a9093
      77c7144e
  6. Dec 12, 2022
    • Jiacheng Tang's avatar
      components/apps: Using semaphore to synchronize in rpmsg demo · 8e547544
      Jiacheng Tang authored and Robbie Cao's avatar Robbie Cao committed
      
      
      * Use semaphore instead of receiving flag to synchronize data receving
      in rpmsg demo.
      * Change "metal_irq_enable" after the registration of endpoint
      
      Issue-Id: SCM-5560
      Signed-off-by: Jiacheng Tang's avatarJiacheng Tang <jiacheng.tang@arm.com>
      Change-Id: I5f1c4a903eab4937cd110d76484f9f6508e64c8b
      8e547544
    • Peter Hoyes's avatar
      armv8r64-extras/zephyr: Add recipe for SDK 0.15.1 & inc for kernel 3.2.0 · bd4aa0dd
      Peter Hoyes authored and Robbie Cao's avatar Robbie Cao committed
      
      
      The main changes are as below:
      
      * Use the same branch as the defaults setting, for meta-zephyr
      
      * Set PREFERRED_VERSION_zephyr-kernel to 3.2.0
      
      * Add recipe for the Zephyr SDK v0.15.1
      
        Zephyr 3.2.0 requires Zephyr SDK version >= 0.15.0, so add a recipe
        to meta-armv8r64-extras for 0.15.1 which requires the upstream
        0.14.2 recipe.
      
      * Add .inc file for Zephyr 3.2.0
      
        Use the generate-versions.py script in meta-zephyr-core to generate a
        .inc file for meta-zephyr containing the Yocto modules and SRCREVs for
        Zephyr 3.2.0
      
        The version-specific include file is currently included using a local
        include relative to meta-zephyr-core, so as a workaround re-require
        the new .inc file in the fvp-baser-aemv8r64 machine bbappend.
      
      Issue-Id: SCM-4874
      Signed-off-by: default avatarPeter Hoyes <Peter.Hoyes@arm.com>
      Signed-off-by: Robbie Cao's avatarRobbie Cao <robbie.cao@arm.com>
      Change-Id: I3e9e71c1cdbb902329be86060650e86f0b63688b
      bd4aa0dd
    • Robbie Cao's avatar
      armv8r64-extras/conf: Use bbclass to add machine-specific Zephyr config · cac823c1
      Robbie Cao authored
      
      
      The bbappend that is currently used to apply machine-specific Zephyr
      configuration is problematic because it applies to all recipes with the
      'zephyr-' prefix, including zephyr-sdk, which is not a Zephyr
      application for the target.
      Replace this mechanism with one using ZEPHYR_INHERIT_CLASSES, which is
      only present in Zephyr application recipes. Create a bbclass,
      zephyr-machine-extras, which includes a machine-specific .inc file, if
      it exists.
      
      Issue-Id: SCM-4874
      Signed-off-by: default avatarPeter Hoyes <Peter.Hoyes@arm.com>
      Signed-off-by: Robbie Cao's avatarRobbie Cao <robbie.cao@arm.com>
      Change-Id: I3c0c3eb748aa192531299f573f611ceb65fb72cc
      cac823c1
    • Qi Feng's avatar
      doc: Update user guide · 18884170
      Qi Feng authored
      
      
      The main changes are as below:
      
      * Add commands to test Nginx web server and rpmsg-demo, both manually
        and using autorun.
      * Running virtualization configuration will not connect to Linux
        terminal by default.
      * Add explanation about XEN_DOM0LESS_DOM_LINUX_DEMO_AUTORUN and
        TESTIMAGE_AUTO
      * Update validation output examples.
      
      Signed-off-by: Qi Feng's avatarQi Feng <qi.feng@arm.com>
      Issue-Id: SCM-4879
      Change-Id: I69b54898f196c22793ce6263a276168acda662cb
      18884170
  7. Dec 07, 2022
  8. Dec 05, 2022
    • Qi Feng's avatar
      doc: Update developer manual and user guide · 362bfd63
      Qi Feng authored
      
      
      The main changes are as below:
      
      * Add introduction to device tree nodes for shared memory and event
        channel in Xen.
      * Add the description to the configurations for Linux kernel to run as
        Xen VM, enable shared memory, run docker, etc.
      * Introduction to the demo applications.
      * Bump Zephyr version to 3.2.0.
      * Update the introduction to Zephyr sample applications
      
      Signed-off-by: Qi Feng's avatarQi Feng <qi.feng@arm.com>
      Signed-off-by: Robbie Cao's avatarRobbie Cao <robbie.cao@arm.com>
      Issue-Id: SCM-4877
      Issue-Id: SCM-4878
      Change-Id: I12dfa0d38062119ab7e306adf78b8b81c9a96250
      362bfd63
    • Qi Feng's avatar
      doc: Add description to new use cases and features · 06899e51
      Qi Feng authored
      
      
      The software stack introduces two new use scenarios by extending the
      virtualization stack:
      
      * Inter-VM communication using the shared memory and event channel
        mechanism provided by the Xen hypervisor
      * Exposing data with a docker container hosted Nginx
      
      These two use cases are implemented using the OpenAMP framework and
      docker container technology.
      
      This patch adds an introduction to these two new use cases and related
      features, as well as other related changes.
      
      Signed-off-by: Qi Feng's avatarQi Feng <qi.feng@arm.com>
      Signed-off-by: Robbie Cao's avatarRobbie Cao <robbie.cao@arm.com>
      Issue-Id: SCM-4877
      Issue-Id: SCM-4878
      Change-Id: I42c3c98bde9dcd131e662e6cd0ba0b811a17b5e3
      06899e51
  9. Dec 01, 2022
    • Robbie Cao's avatar
      components/apps: Delete oldest item if the total is more than 100 · 8bbf7fd3
      Robbie Cao authored
      
      
      A simple yet effective method to manage the data file: use the 'sed'
      command to simply delete the oldest line of data, to maintain the
      data file like a FIFO.
      
      Doing like this is to avoid the data file becomes larger and larger.
      
      Issue-Id: SCM-5560
      Signed-off-by: Robbie Cao's avatarRobbie Cao <robbie.cao@arm.com>
      Change-Id: I8aabf7e1aed7d155ffee2075aaeddabb332cd21f
      8bbf7fd3
    • Robbie Cao's avatar
      armv8r64-extras/demo: Add support nginx-docker-demo autorun · eb4dc393
      Robbie Cao authored
      
      
      Add support to autorun nginx-docker-demo when system boot.
      
      The main changes are as follows:
      * Introduce a SysV-style initscript to control the starting, stopping
        and restarting of nginx docker container.
      * Install the initscript with the help of update-rc.d class, thus
        nginx docker container can start automatically after system boot.
      * The autorun works only if XEN_DOM0LESS_DOM_LINUX_DEMO_AUTORUN is set
        as "1".
      * To disable the autorun, build the stack using the following command:
      
            XEN_DOM0LESS_DOM_LINUX_DEMO_AUTORUN=0 \
                kas build v8r64/meta-armv8r64-extras/kas/virtualization.yml
      
      Issue-Id: SCM-4876
      Signed-off-by: Robbie Cao's avatarRobbie Cao <robbie.cao@arm.com>
      Signed-off-by: Jiacheng Tang's avatarJiacheng Tang <jiacheng.tang@arm.com>
      Change-Id: Iec49632a60cc3fc14ce64c58af066ade9e688cd3
      eb4dc393
    • Robbie Cao's avatar
      armv8r64-extras/demo: Add support rpmsg-demo autorun · d0c55fcd
      Robbie Cao authored
      
      
      Add support to autorun rpmsg-demo when system boot.
      
      The main changes are as follows:
      * Introduce a SysV-style initscript to control the starting, stopping
        and restarting of rpmsg-remote daemon.
      * Install the initscript with the help of update-rc.d class, thus
        rpmsg-remote can start automatically after system boot.
      * Introduce a configuration XEN_DOM0LESS_DOM_LINUX_DEMO_AUTORUN to
        set if autorun rpmsg-demo when building the target image.
        And config it to "1" as default for virtualization stack.
        To disable it, build the stack using the following command:
      
            XEN_DOM0LESS_DOM_LINUX_DEMO_AUTORUN=0 \
                kas build v8r64/meta-armv8r64-extras/kas/virtualization.yml
      
      * The autorun works only if XEN_DOM0LESS_ZEPHYR_APPLICATION is set as
        "zephyr-rpmsg-demo".
      
      Issue-Id: SCM-4876
      Signed-off-by: Robbie Cao's avatarRobbie Cao <robbie.cao@arm.com>
      Signed-off-by: Jiacheng Tang's avatarJiacheng Tang <jiacheng.tang@arm.com>
      Change-Id: I49b430e86828910f8a73f2be4789493692bf11a9
      d0c55fcd
    • Robbie Cao's avatar
      meta-armv8r64-extras/demo: Register IRQ after vring initialized · e38496c0
      Robbie Cao authored
      
      
      Registering evtchn to metal irq before vring and vq are initialized
      may trigger null pointer access in irq handler, and cause Segmentation
      fault.
      
      To avoid this potential risk, register evtchn to metal irq after vring
      and vq are initialized.
      
      Issue-Id: SCM-5451
      Signed-off-by: Robbie Cao's avatarRobbie Cao <robbie.cao@arm.com>
      Change-Id: I3b23cd6bd933098c159fe8b4d522c45944caf8fc
      e38496c0
    • Robbie Cao's avatar
      config/qa-checks: Set commit message length to 72 · 9d030f9a
      Robbie Cao authored
      
      
      Set commit message length (title and body) to 72.
      
      Issue-Id: SCM-4874
      Signed-off-by: Robbie Cao's avatarRobbie Cao <robbie.cao@arm.com>
      Change-Id: Iae323a4b7dabfe2c02162fceac6d190ee4dcebf3
      9d030f9a
    • Robbie Cao's avatar
      armv8r64-extras/zephyr: Remove SRCREV_libmetal setting · 05841fe5
      Robbie Cao authored
      
      
      SRCREV_libmetal is already set in meta-zephyr.
      
      Issue-Id: SCM-4874
      Signed-off-by: Robbie Cao's avatarRobbie Cao <robbie.cao@arm.com>
      Change-Id: I6bea8e68bd42f4c7dfa47b28d8cd762aa571ea6b
      05841fe5
  10. Nov 30, 2022
Loading