mirror of
https://github.com/saymrwulf/litex-boards.git
synced 2026-11-21 09:54:20 +00:00
targets/limesdr_mini_v2.py: allows using jtag_uart and added a note to load a demo firmware with litex_term + jtag_uart
This commit is contained in:
parent
1eaca08413
commit
fad45b45c1
1 changed files with 8 additions and 2 deletions
|
|
@ -11,6 +11,11 @@
|
||||||
# litex_server --jtag --jtag-config=openocd_limesdr_mini_v2.cfg
|
# litex_server --jtag --jtag-config=openocd_limesdr_mini_v2.cfg
|
||||||
# litex_term crossover
|
# litex_term crossover
|
||||||
|
|
||||||
|
# loading a demo
|
||||||
|
# ./limesdr_mini_v2.py --integrated-main-ram-size 0x8000 --load --build --uart-name=jtag_uart
|
||||||
|
# litex_bare_metal_demo --build-path build/limesdr_mini_v2
|
||||||
|
# litex_term jtag --jtag-config=openocd_limesdr_mini_v2.cfg --kernel demo.bin
|
||||||
|
|
||||||
from migen import *
|
from migen import *
|
||||||
|
|
||||||
from litex.gen import *
|
from litex.gen import *
|
||||||
|
|
@ -75,6 +80,7 @@ class BaseSoC(SoCCore):
|
||||||
platform = limesdr_mini_v2.Platform(toolchain=toolchain)
|
platform = limesdr_mini_v2.Platform(toolchain=toolchain)
|
||||||
|
|
||||||
# SoCCore ----------------------------------------------------------------------------------
|
# SoCCore ----------------------------------------------------------------------------------
|
||||||
|
if kwargs["uart_name"] != "jtag_uart":
|
||||||
kwargs["uart_name"] = "crossover"
|
kwargs["uart_name"] = "crossover"
|
||||||
kwargs["with_jtagbone"] = True
|
kwargs["with_jtagbone"] = True
|
||||||
SoCCore.__init__(self, platform, sys_clk_freq, ident="LiteX SoC on LimeSDR-Mini-V2", **kwargs)
|
SoCCore.__init__(self, platform, sys_clk_freq, ident="LiteX SoC on LimeSDR-Mini-V2", **kwargs)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue