-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
board: riscv: litex_vexriscv: add flash XIP support #61640
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @josuah, and thank you very much for your first pull request to the Zephyr project!
A project maintainer just triggered our CI pipeline to run it against your PR and ensure it's compliant and doesn't cause any issues. You might want to take this opportunity to review the project's Contributor Expectations and make any updates to your pull request if necessary. 😊
Before:
After:
|
5c87124
to
7532b77
Compare
Add support for XIP in the LiteX VexRiscv. This goes along with adding the `--with-spi-flash` to the `make.py` script from https://github.com/litex-hub/zephyr-on-litex-vexriscv $ cd ~/zephyr-on-litex-vexriscv $ ./make.py --board=lattice_crosslink_nx_evn --build --toolchain=oxide --csr-json=csr.json --with-spi-flash $ litex_json2dts_zephyr --dts=overlay.dts --config=overlay.config csr.json $ cd ~/zephyr-workspace/zephyr $ xargs <overlay.config west build -p -b litex_vexriscv zephyr/samples/subsys/shell/shell_module -- -DDTC_OVERLAY_FILE="$PWD/overlay.dts" This requires several LiteX pull requests to be merged first. Signed-off-by: Josuah Demangeon <[email protected]>
7532b77
to
c292fb0
Compare
This is possible to be done without upstream support Zephyr-side, and possibly even more convenient this way: |
Add support for XIP in the LiteX VexRiscv.
This goes along with adding the
--with-spi-flash
to themake.py
script from https://github.com/litex-hub/zephyr-on-litex-vexriscvThis requires several LiteX pull requests to be merged first:
litex-hub/zephyr-on-litex-vexriscv#13
enjoy-digital/litex#1748