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

libresoc: centralize existing packages, fix bitrot, and enable all test suites #168

Merged
merged 50 commits into from
Jun 10, 2024

Commits on Jun 10, 2024

  1. wip

    L-as authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    7f8b64f View commit details
    Browse the repository at this point in the history
  2. Python dependencies

    L-as authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    1f4572f View commit details
    Browse the repository at this point in the history
  3. Package dependencies successfully

    L-as authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    e0a94f7 View commit details
    Browse the repository at this point in the history
  4. Get build starting

    L-as authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    5edfa93 View commit details
    Browse the repository at this point in the history
  5. Fix openpower-isa

    L-as authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    6ad2fff View commit details
    Browse the repository at this point in the history
  6. Package c4m-jtag

    L-as authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    43ec1f1 View commit details
    Browse the repository at this point in the history
  7. Fix c4m-jtag

    L-as authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    d931d72 View commit details
    Browse the repository at this point in the history
  8. Get pinmux working

    L-as authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    a0541c7 View commit details
    Browse the repository at this point in the history
  9. Fix nmigen dependencies

    L-as authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    2eb6beb View commit details
    Browse the repository at this point in the history
  10. WIP

    L-as authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    1450caf View commit details
    Browse the repository at this point in the history
  11. Include Litex dependency

    L-as authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    256ce82 View commit details
    Browse the repository at this point in the history
  12. wip

    L-as authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    5f2c46b View commit details
    Browse the repository at this point in the history
  13. Split up into several derivations

    L-as authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    0960d56 View commit details
    Browse the repository at this point in the history
  14. Litex work

    L-as authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    9aa4f0f View commit details
    Browse the repository at this point in the history
  15. Litex work

    L-as authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    06958b3 View commit details
    Browse the repository at this point in the history
  16. Add ppc64le cross compiler

    L-as authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    620162c View commit details
    Browse the repository at this point in the history
  17. Use LiteX from 2020-08-22

    L-as authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    5f40418 View commit details
    Browse the repository at this point in the history
  18. Attempt to build for versa ecp5

    L-as authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    2f47270 View commit details
    Browse the repository at this point in the history
  19. Fix building for a Versa ECP5

    L-as authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    1dd312e View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    29a43dd View commit details
    Browse the repository at this point in the history
  21. ecp5-program: Delete garbage

    L-as authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    0ebaf6f View commit details
    Browse the repository at this point in the history
  22. flake.nix: Clean up

    L-as authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    6eada29 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    015581a View commit details
    Browse the repository at this point in the history
  24. libresoc: nmigen fixup

    Signed-off-by: Jack Leightcap <jack@leightcap.com>
    jleightcap authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    a82f708 View commit details
    Browse the repository at this point in the history
  25. libresoc: nmigen-soc init

    Signed-off-by: Jack Leightcap <jack@leightcap.com>
    jleightcap authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    88107e1 View commit details
    Browse the repository at this point in the history
  26. libresoc: c4m-jtag init

    Signed-off-by: Jack Leightcap <jack@leightcap.com>
    jleightcap authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    666f837 View commit details
    Browse the repository at this point in the history
  27. libresoc: pinmux init

    Signed-off-by: Jack Leightcap <jack@leightcap.com>
    
    pinmux fixup
    
    Signed-off-by: Jack Leightcap <jack@leightcap.com>
    jleightcap authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    8e2e15f View commit details
    Browse the repository at this point in the history
  28. libresoc: power-instruction-analyzer init

    Signed-off-by: Jack Leightcap <jack@leightcap.com>
    jleightcap authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    a56a180 View commit details
    Browse the repository at this point in the history
  29. libresoc: pytest-output-to-files init

    Signed-off-by: Jack Leightcap <jack@leightcap.com>
    jleightcap authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    734b2c6 View commit details
    Browse the repository at this point in the history
  30. libresoc: nmutil init

    Signed-off-by: Jack Leightcap <jack@leightcap.com>
    jleightcap authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    f1eb49e View commit details
    Browse the repository at this point in the history
  31. libresoc: ieee754fpu init

    Signed-off-by: Jack Leightcap <jack@leightcap.com>
    
    fixup ieee754fpu
    
    Signed-off-by: Jack Leightcap <jack@leightcap.com>
    jleightcap authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    ab50a02 View commit details
    Browse the repository at this point in the history
  32. libresoc: sfyp init

    Signed-off-by: Jack Leightcap <jack@leightcap.com>
    jleightcap authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    a010382 View commit details
    Browse the repository at this point in the history
  33. libresoc: bigfloat init

    Signed-off-by: Jack Leightcap <jack@leightcap.com>
    jleightcap authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    77bbb1d View commit details
    Browse the repository at this point in the history
  34. libresoc: ieee754fpu enable test suite

    Signed-off-by: Jack Leightcap <jack@leightcap.com>
    jleightcap authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    80b92dc View commit details
    Browse the repository at this point in the history
  35. libresoc: openpower-isa inclue missing __init__.py

    upstream does not include a handful of `__init__.py`, manually `touch`
    them in the `prePatch` phase.
    
    Signed-off-by: Jack Leightcap <jack@leightcap.com>
    jleightcap authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    13d22ea View commit details
    Browse the repository at this point in the history
  36. libresoc: openpower-isa powerpc64le toolchain

    set $CC/$AS/etc environment variables, and any hard-coded references,
    to refer to pkgsCross.powernv.buildPackages.gcc.
    jleightcap authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    672e227 View commit details
    Browse the repository at this point in the history
  37. libresoc: openpower-isa fix @git dependencies

    setup.py uses @git versioning, patch to refer these to the nix inputs.
    
    Signed-off-by: Jack Leightcap <jack@leightcap.com>
    jleightcap authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    696df4c View commit details
    Browse the repository at this point in the history
  38. libresoc: openpower-isa fix empty directory hack

    upstream uses a .gitignore in an empty directory as a means to include
    that empty directory in the resulting wheel. patch to do this
    explicitly.
    
    Signed-off-by: Jack Leightcap <jack@leightcap.com>
    jleightcap authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    fd64645 View commit details
    Browse the repository at this point in the history
  39. libresoc: openpower-isa include linker scripts

    copy the `memmap` linker script into the expected location for test
    suite.
    
    Signed-off-by: Jack Leightcap <jack@leightcap.com>
    jleightcap authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    1e6d8dd View commit details
    Browse the repository at this point in the history
  40. libresoc: openpower-isa building

    see included postInstall comment for the solved chicken-and-egg problem
     with building.
    
    Signed-off-by: Jack Leightcap <jack@leightcap.com>
    jleightcap authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    d5ef764 View commit details
    Browse the repository at this point in the history
  41. libresoc: openpower-isa enable test suite

    Signed-off-by: Jack Leightcap <jack@leightcap.com>
    jleightcap authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    3219a64 View commit details
    Browse the repository at this point in the history
  42. libresoc: openpower-isa abstract python definitions

    Signed-off-by: Jack Leightcap <jack@leightcap.com>
    jleightcap authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    b815760 View commit details
    Browse the repository at this point in the history
  43. libresoc: soc init

    Signed-off-by: Jack Leightcap <jack@leightcap.com>
    jleightcap authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    34492bf View commit details
    Browse the repository at this point in the history
  44. libresoc: soc enable test suite

    Signed-off-by: Jack Leightcap <jack@leightcap.com>
    jleightcap authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    64ec453 View commit details
    Browse the repository at this point in the history
  45. libresoc: verilog init

    Signed-off-by: Jack Leightcap <jack@leightcap.com>
    jleightcap authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    19c4d5c View commit details
    Browse the repository at this point in the history
  46. libresoc: expose package.nix

    jleightcap authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    65604e5 View commit details
    Browse the repository at this point in the history
  47. libresoc: use GitHub mirrors instead for reliability

    Upstream Libre-SOC repos are sporadically returning 502/504
    
    Also add some missing `rev`s which correspond to the FOD hash, i.e. HEAD
    at date in `version`.
    
    This worked for every mirror except ieee754fpu.
    Currently the `rev` for this does not seem to match its FOD hash
    
    libresoc: use fetchgit for ieee754fpu instead of fetchFromGitHub
    
    This allows us to use the same hash across the original upstream repo
    and the mirror.
    
    libresoc: use `fetchgit` for mirrors of upstream
    
    repos mirrored into github.com/Libre-SOC-mirrors from upstream cgit instance.
    use `fetchgit` consistently for all these packages: although unidiomatic in
    nixpkgs, `fetchgit` is generic compatible fetcher with the upstream Libre-SOC
    repos.
    
    see:
    https://github.com/jleightcap/ngipkgs/pull/1#discussion_r1583119470
    
    Signed-off-by: Jack Leightcap <jack@leightcap.com>
    
    libresoc: document github mirrors and fetcher
    
    Signed-off-by: Jack Leightcap <jack@leightcap.com>
    albertchae authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    2de0a32 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    d9f7c4d View commit details
    Browse the repository at this point in the history
  49. libresoc: add aligned with nlnet

    Signed-off-by: Jack Leightcap <jack@leightcap.com>
    jleightcap authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    be94acf View commit details
    Browse the repository at this point in the history
  50. libresoc: structure to match nlnet funding schema

    Signed-off-by: Jack Leightcap <jack@leightcap.com>
    jleightcap authored and fricklerhandwerk committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    81bd319 View commit details
    Browse the repository at this point in the history