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

Introduce RISC-V architecture support #190

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Commits on Oct 16, 2024

  1. loader: riscv: Initial support

    Initial porting to support loading Linux PE Image on RISC-V platform.
    
    Signed-off-by: Tan En De <ende.tan@starfivetech.com>
    endeneer authored and TimePrinciple committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    4dad6a6 View commit details
    Browse the repository at this point in the history
  2. riscv64: Refactor loader

    Refactor RISC-V loader to work with PE image.
    
    Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
    TimePrinciple committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    8c4bb23 View commit details
    Browse the repository at this point in the history
  3. riscv64: Implement Configurator

    Introduce configurator module of riscv64. Implement `Configurator` for
    riscv64 platform, add according unit-tests.
    
    Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
    TimePrinciple committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    ac10ed7 View commit details
    Browse the repository at this point in the history
  4. README: Add doc for configuring boot parameters

    Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
    TimePrinciple committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    ac02bc5 View commit details
    Browse the repository at this point in the history
  5. chore: Rename config to config.toml

    As `rustfmt` suggested, `config` is deprecated, moving to `config.toml`.
    
    Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
    TimePrinciple committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    017f368 View commit details
    Browse the repository at this point in the history
  6. ci: Enable CI on riscv64

    Add `.platform` file to enable x86_64, aarch64, riscv64 CI.
    
    Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
    TimePrinciple committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    1e09639 View commit details
    Browse the repository at this point in the history
  7. benchmark: Add riscv64 benchmark tests

    As clippy command in our CI mandates: `cargo clippy --workspace --bins
    --examples --benches --all-features --all-targets -- -D warnings -D
    clippy::undocumented_unsafe_blocks`, add benchmarck test to appease
    clippy.
    
    Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
    TimePrinciple committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    e8a636f View commit details
    Browse the repository at this point in the history