Closed amr-25 closed 9 months ago
Thanks @amr-25 for reporting the issue, we'll look into it.
For the record, we’re working on the update for this script. This is still in progress but a sample repl for multicore VexRiscv can be found here: https://github.com/renode/renode/issues/374#issuecomment-1254859841
We now have a PR that adds the multicore support ready here: https://github.com/enjoy-digital/litex/pull/1496
We can probably close now that https://github.com/enjoy-digital/litex/pull/1496 is merged.
Hello,
The renode script generated by litex_json2renode is unable to take flash binary. It gives, Warning! There is no flash memory to load binaries to. I input the csr.json file that is generated inside the directory /build/arty_a7/ as follow:
$ litex_json2renode csr.json --bios-binary=opensbi.bin --firmware-binary=Image --flash-binary=rootfs.cpio:0x41000000 --repl=thisplat --resc=thiscript Skipping
opensbi
since it is included inmain_ram
Skipping io region: ethmac Skipping io region: csr Skipping io region: clint Skipping io region: plic Skipping unsupported peripheralethphy
at 0xf0002800 Skipping unsupported peripheralicap_bit
at 0xf0003800 Skipping unsupported peripheralidentifier_mem
at 0xf0004000 Skipping unsupported peripheralleds
at 0xf0004800 Skipping unsupported peripheralmmcm
at 0xf0005000 Skipping unsupported peripheralrgb_led_b0
at 0xf0005800 Skipping unsupported peripheralrgb_led_g0
at 0xf0006000 Skipping unsupported peripheralrgb_led_r0
at 0xf0006800 Skipping unsupported peripheralsdblock2mem
at 0xf0007000 Skipping unsupported peripheralsdcore
at 0xf0007800 Skipping unsupported peripheralsdirq
at 0xf0008000 Skipping unsupported peripheralsdmem2block
at 0xf0008800 Skipping unsupported peripheralspiflash_core
at 0xf000a800 Skipping unsupported peripheralswitches
at 0xf000b000 Skipping unsupported peripheralxadc
at 0xf000b800 Warning! There is no flash memory to load binaries toI just want to run my own elf file, so I tried to change the change the rootfs.cpio with my own rootfs.cpio in default existing renode.resc script but it doesn't work that way. So I am trying to generate the scripts, platform files through litex_json2renode.
P.S: I used $ ./make.py --board=arty_a7 --cpu-count=2 --dcache-size=4096 -icache-size=4096 --build to build arty_a7.bit and csr.json files. I think renode doesn't support 8192 as -dcache-size, so had to choose 4096. Also, it works perfectly on the board, I want it on renode to analyse the opcodes, profiling. Workaround suggestion to analyse through running in the board is better.
Thank you