tools/litex_term: add json support to load images to memory, allow passing speed...
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 6 May 2019 21:51:59 +0000 (23:51 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 6 May 2019 21:56:33 +0000 (23:56 +0200)
commit190ff89aaa120cc983ccaeb1077ba1d23f00e37c
tree689b20dbb712e873a1a3be6e5c7456af2483d927
parenta50aff2c747b6f8d28934fcdde9d9f3346dd24ff
tools/litex_term: add json support to load images to memory, allow passing speed as float

example json file (serialboot.json):
{
"binaries/Image":         "0xc0000000",
"binaries/rootfs.cpio":   "0xc2000000",
"binaries/rv32.dtb":      "0xc3000000",
"emulator/emulator.bin":  "0x20000000"
}

example command:
lxterm --images=serialboot.json /dev/ttyUSBX
litex/tools/litex_term.py