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

Riscv64 paging mraerino #25

Draft
wants to merge 27 commits into
base: main
Choose a base branch
from

Commits on Sep 9, 2023

  1. initial boot page table

    adapted from rCore see https://github.com/rcore-os/rCore
    
    Signed-off-by: Stefan Hertenberger <[email protected]>
    Stefan Hertenberger authored and mraerino committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    9a1951c View commit details
    Browse the repository at this point in the history
  2. riscv: remove unnecessary cast in virt devcons

    Signed-off-by: Daniel Maslowski <[email protected]>
    orangecms authored and mraerino committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    1c6fe9f View commit details
    Browse the repository at this point in the history
  3. riscv: reduce change in uart16550

    Signed-off-by: Daniel Maslowski <[email protected]>
    orangecms authored and mraerino committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    aaebad2 View commit details
    Browse the repository at this point in the history
  4. riscv: print in platform init

    Signed-off-by: Daniel Maslowski <[email protected]>
    orangecms authored and mraerino committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    200106e View commit details
    Browse the repository at this point in the history
  5. riscv: linker script cleanup

    Signed-off-by: Daniel Maslowski <[email protected]>
    orangecms authored and mraerino committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    4e2c972 View commit details
    Browse the repository at this point in the history
  6. riscv: DT/regblock/MMIO tests

    NOTE: This is getting all `0000....` at this point.
    
    Signed-off-by: Daniel Maslowski <[email protected]>
    orangecms authored and mraerino committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    f8a3548 View commit details
    Browse the repository at this point in the history
  7. riscv: rework, add address mapping debug helper

    Signed-off-by: Daniel Maslowski <[email protected]>
    orangecms authored and mraerino committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    cd76e73 View commit details
    Browse the repository at this point in the history
  8. riscv64: elaborate on SATP

    Signed-off-by: Daniel Maslowski <[email protected]>
    orangecms authored and mraerino committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    becc92b View commit details
    Browse the repository at this point in the history
  9. WIP: riscv: try initializing UART natively

    Signed-off-by: Daniel Maslowski <[email protected]>
    orangecms authored and mraerino committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    ddc1c2a View commit details
    Browse the repository at this point in the history
  10. riscv: reduce UART MMIO debug prints

    Signed-off-by: Daniel Maslowski <[email protected]>
    orangecms authored and mraerino committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    6ab6651 View commit details
    Browse the repository at this point in the history
  11. riscv: document PTE

    Signed-off-by: Daniel Maslowski <[email protected]>
    orangecms authored and mraerino committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    1ca9843 View commit details
    Browse the repository at this point in the history
  12. riscv: factor out walk_dt, print binary sections

    This aligns the riscv64 platform/virt kernel linker script with the aarch64 one.
    
    Signed-off-by: Daniel Maslowski <[email protected]>
    orangecms authored and mraerino committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    a658d52 View commit details
    Browse the repository at this point in the history
  13. riscv: dump start of text region

    This WORKS, i.e., prints what's in the binary, not just 0!
    
    Signed-off-by: Daniel Maslowski <[email protected]>
    orangecms authored and mraerino committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    d3fe2d7 View commit details
    Browse the repository at this point in the history
  14. riscv/memory: debug print address translation

    Signed-off-by: Daniel Maslowski <[email protected]>
    orangecms authored and mraerino committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    a12713e View commit details
    Browse the repository at this point in the history
  15. riscv/platform/virt: fix up memory address offset

    This causes hanging, but would be correct.
    See also rCore `kernel/src/arch/riscv/consts.rs`.
    
    Signed-off-by: Daniel Maslowski <[email protected]>
    orangecms authored and mraerino committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    1684254 View commit details
    Browse the repository at this point in the history
  16. port/fdt: debug DT parsing

    Signed-off-by: Daniel Maslowski <[email protected]>
    orangecms authored and mraerino committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    1435e83 View commit details
    Browse the repository at this point in the history
  17. riscv: rework again, debug more...

    Signed-off-by: Daniel Maslowski <[email protected]>
    orangecms authored and mraerino committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    c2abf9c View commit details
    Browse the repository at this point in the history
  18. I KNOW KUNG FU (kinda)

    Signed-off-by: Daniel Maslowski <[email protected]>
    orangecms authored and mraerino committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    cbc0bfa View commit details
    Browse the repository at this point in the history
  19. BACK TO NATIVE UART

    Signed-off-by: Daniel Maslowski <[email protected]>
    orangecms authored and mraerino committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    a86c953 View commit details
    Browse the repository at this point in the history
  20. awesome ASCII art

    Signed-off-by: Daniel Maslowski <[email protected]>
    orangecms authored and mraerino committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    94025c7 View commit details
    Browse the repository at this point in the history
  21. rework logo

    Signed-off-by: Daniel Maslowski <[email protected]>
    orangecms authored and mraerino committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    6e0312b View commit details
    Browse the repository at this point in the history
  22. riscv/platform/virt/devcons: remove unnecessary mut

    Signed-off-by: Daniel Maslowski <[email protected]>
    orangecms authored and mraerino committed Sep 9, 2023
    Configuration menu
    Copy the full SHA
    8ec24ac View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    1da42ba View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2023

  1. Ensure cargo checks works for the workspace without flags

    Signed-off-by: Marcus Weiner <[email protected]>
    mraerino committed Sep 10, 2023
    Configuration menu
    Copy the full SHA
    ca70a11 View commit details
    Browse the repository at this point in the history
  2. Move mem handling into module

    Signed-off-by: Marcus Weiner <[email protected]>
    mraerino committed Sep 10, 2023
    Configuration menu
    Copy the full SHA
    9c52cb5 View commit details
    Browse the repository at this point in the history
  3. Check page table bounds

    Signed-off-by: Marcus Weiner <[email protected]>
    mraerino committed Sep 10, 2023
    Configuration menu
    Copy the full SHA
    f072d8f View commit details
    Browse the repository at this point in the history
  4. Refactor to integer with access methods

    Signed-off-by: Marcus Weiner <[email protected]>
    mraerino committed Sep 10, 2023
    Configuration menu
    Copy the full SHA
    9b59755 View commit details
    Browse the repository at this point in the history