Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add virtual Cortex-R8 platform #74094

Merged
merged 7 commits into from
Oct 1, 2024

Commits on Sep 24, 2024

  1. arch: Add Cortex-R8 support

    Enable Cortex R8 support, similar to Cortex-R5.
    
    Signed-off-by: Krzysztof Sychla <ksychla@antmicro.com>
    Signed-off-by: Marek Slowinski <mslowinski@antmicro.com>
    Signed-off-by: Piotr Zierhoffer <pzierhoffer@antmicro.com>
    Signed-off-by: Mateusz Hołenko <mholenko@antmicro.com>
    ksychla authored and mateusz-holenko committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    2fd8889 View commit details
    Browse the repository at this point in the history
  2. soc: renode: Add cortex_r8_virtual

    Add virtual Cortex R8 SoC. This target does not represent a real SoC,
    but can be easily run in Renode.
    
    This will allow to easily test basic architecture support.
    
    Signed-off-by: Krzysztof Sychla <ksychla@antmicro.com>
    Signed-off-by: Marek Slowinski <mslowinski@antmicro.com>
    Signed-off-by: Piotr Zierhoffer <pzierhoffer@antmicro.com>
    Signed-off-by: Mateusz Hołenko <mholenko@antmicro.com>
    ksychla authored and mateusz-holenko committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    1915ed7 View commit details
    Browse the repository at this point in the history
  3. boards: renode: Add virtual Cortex-R8 board

    This commit adds a virtual target using the `cortex_r8_virtual` SoC.
    It can be used for testing purposes and a starting point to add new R8
    platforms.
    
    Signed-off-by: Krzysztof Sychla <ksychla@antmicro.com>
    Signed-off-by: Marek Slowinski <mslowinski@antmicro.com>
    Signed-off-by: Piotr Zierhoffer <pzierhoffer@antmicro.com>
    Signed-off-by: Mateusz Hołenko <mholenko@antmicro.com>
    ksychla authored and mateusz-holenko committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    59b7189 View commit details
    Browse the repository at this point in the history
  4. samples: userspace: cortex_r8_virtual: Set CONFIG_DYNAMIC_OBJECTS=y

    Enable kernel dynamic object allocation.
    Otherwise the following error is printed:
    
        E: 0xa138 is not a valid sample driver
        E: address is not a known kernel object
        E: syscall z_vrfy_sample_driver_state_set failed check: access denied
        E: couldn't start driver interrupts
    
    Signed-off-by: Marek Slowinski <mslowinski@antmicro.com>
    Signed-off-by: Mateusz Hołenko <mholenko@antmicro.com>
    mars-low authored and mateusz-holenko committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    fad54db View commit details
    Browse the repository at this point in the history
  5. ztest: error_hook: Exclude cortex_r8_virtual from divide-by-zero tests

    Cortex-R8 emulated in Renode doesn't trigger exceptions on divide by zero.
    We only skip the virtual SoC, so the test will still apply on a physical
    target.
    
    Signed-off-by: Marek Slowinski <mslowinski@antmicro.com>
    Signed-off-by: Mateusz Hołenko <mholenko@antmicro.com>
    mars-low authored and mateusz-holenko committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    22c645f View commit details
    Browse the repository at this point in the history
  6. MAINTAINERS: Add Renode-related SoCs and boards to Testing with Renod…

    …e area
    
    Extend Testing with Renode area by:
    - soc/renode/
    - boards/renode/
    
    Signed-off-by: Marek Slowinski <mslowinski@antmicro.com>
    Signed-off-by: Mateusz Hołenko <mholenko@antmicro.com>
    mars-low authored and mateusz-holenko committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    c3d4505 View commit details
    Browse the repository at this point in the history
  7. tests: thread_runtime_stats: Skip the test on virtual Cortex-R8 platform

    Current clocks configuration for the platform makes it impossible
    to pass the IDLE_EVENT_STATS_PRECISION check. This is to be addressed
    in the future.
    
    Signed-off-by: Mateusz Hołenko <mholenko@antmicro.com>
    mateusz-holenko committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    5ae7f98 View commit details
    Browse the repository at this point in the history