Closed sajattack closed 2 years ago
Here is some python software I wrote for my acorn builds (non-litex). Some sample code to read the XADC temp and to use the ICAP WBStar command to boot from a different address in flash. https://github.com/byuccl/fiate/tree/main/host_sw
Thanks @sajattack, @AEW2015,
when building the acorn design with:
./make.py --board=acorn_pcie --build
The UART can now be directly used with the LitePCIe driver:
cd kernel
sudo ./init.sh
insmod liteuart.ko
litex_term /dev/ttyLXU0
The upload speed can be up to 600KB/s when enabling 256-bytes payload transfer in litex_term (Not yet integrated but tested in https://github.com/enjoy-digital/litex/issues/1105).
As requested:
flashing the bitstream works with litepcie_util flash_write and litepcie_util flash_reload
make.py:
loading linux over crossover uart works with litex_server and lxterm
There's probably a few other mods I had to make that I'll update this with later, just wanted to get something down for you.