targets/acorn_cle_215: add minimal instructions to reproduce the results.

This commit is contained in:
Florent Kermarrec 2020-05-13 17:54:42 +02:00
parent 6757c4e298
commit 2bb7fce5e3
1 changed files with 22 additions and 0 deletions

View File

@ -3,6 +3,28 @@
# This file is Copyright (c) 2020 Florent Kermarrec <florent@enjoy-digital.fr>
# License: BSD
# Build/Use ----------------------------------------------------------------------------------------
# Build/Load bitstream:
# ./acorn_cle_215.py --build
# ./acorn_cle_215.py --load (or --flash)
#
# Get Linux driver/utilities from:
# https://github.com/enjoy-digital/litex_playground/tree/master/004_litepcie_aller_test/software
# Copy generated csr.h/soc.h/mem.h to software/kernel.
#
#.Build the kernel and load it:
# cd software/kernel
# make
# sudo ./init.sh
#
# Test userspace utilities:
# cd software/user
# make
# ./litepcie_util info
# ./litepcie_util scratch_test
# ./litepcie_util dma_test
# ./litepcie_util uart_test
import os
import argparse
import sys