litex-hub / zephyr-on-litex-vexriscv

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

lxterm or flterm #8

Open lachlansmith opened 2 years ago

lachlansmith commented 2 years ago

Hi @mateusz-holenko,

The README does not reference how to program the CPU. Do I only need to use

lxterm --serial-boot --kernel build/zephyr/zephyr.bin /dev/ttyUSBX

Could documentation please be added on this step. Perhaps how to load samples/subsys/shell/shell_module.

josuah commented 1 year ago

The README might still need some update, but the loading happens the same way as for the demo firmware, that you can look here: https://github.com/enjoy-digital/litex/blob/master/litex/soc/software/demo/README.md

So lxterm (or now, litex_term) or loading to flash, or including it as a ROM, or any other method you can load software also applies here.