litex-hub / zephyr-on-litex-vexriscv

BSD 2-Clause "Simplified" License
12 stars 10 forks source link

add support for Lattice Crosslink-NX EVN #12

Closed josuah closed 1 year ago

josuah commented 1 year ago

This is only working if also adding a "main_ram" section to the Crosslink-NX EVN board as it is done for the Antmicro SDI/MIPI board insofar.

I am working on getting flash support, as currently, the shell_module demo from LiteX fails to fit in the main_ram if sized as large as the SDI/MIPI board.

/usr/lib/gcc/riscv-none-elf/13.1.0/../../../../riscv-none-elf/bin/ld.bfd: zephyr/zephyr_pre0.elf section `text' will not fit in region `RAM'
/usr/lib/gcc/riscv-none-elf/13.1.0/../../../../riscv-none-elf/bin/ld.bfd: region `RAM' overflowed by 40700 bytes

Yet this works after small manual tuning from the generated overlay.config and overlay.dts. :)

josuah commented 1 year ago

Superseded by https://github.com/litex-hub/zephyr-on-litex-vexriscv/pull/19