-
-
Save pdp7/00e8b4f1ae4c49a52e10ff8fcb64b641 to your computer and use it in GitHub Desktop.
using sysbus | |
mach create | |
machine LoadPlatformDescription @tests/platforms/LiteX/litex_netv2_vexriscv_linux.repl | |
$kernel?=@https://antmicro.com/projects/renode/litex_netv2_vexriscv--linux_kernel.bin-s_4553716-63780a978bf5768b81854e3febd58cabb47be4f0 | |
$rootfs?=@https://antmicro.com/projects/renode/litex_netv2_vexriscv--buildroot_rootfs.cpio-s_4061696-befa7810480d9d85fd7d6a7e6c5f2514eb5de4ab | |
$dtb?=@https://antmicro.com/projects/renode/litex_netv2_vexriscv--linux.dtb-s_2068-2b68e9266b67dac4bafae70027a19fa487278bbe | |
$emulator?=@https://antmicro.com/projects/renode/litex_netv2_vexriscv--emulator.bin-s_10248-8039372fef62d8e4e4cb57e20561e37674fcc4ea | |
sysbus LoadBinary $kernel 0xc0000000 | |
sysbus LoadBinary $rootfs 0xc0800000 | |
sysbus LoadFdt $dtb 0xc1000000 | |
sysbus LoadBinary $emulator 0x20000000 | |
cpu PC 0x20000000 | |
showAnalyzer sysbus.uart | |
showAnalyzer sysbus.litex_video |
tests/platforms/LiteX/litex_netv2_vexriscv_linux.repl is missing
tests/platforms/LiteX/litex_netv2_vexriscv_linux.repl is missing
do you mean that you get an error?
sorry, my comment was more that the file tests/platforms/LiteX/litex_netv2_vexriscv_linux.repl is not part of the official renode distro. Did you release those files somewhere?
@neophob it is located here:
https://github.com/renode/renode/blob/master/tests/platforms/LiteX/litex_netv2_vexriscv_linux.repl
Did you install renode from a package or build it from source?
This is the most recent release:
https://github.com/renode/renode/releases/tag/v1.8.2
thanks! i use the latest binary, but did not copy the test files on OSX, doh! thanks
@tommythorn What happens if you paste the commands from this gist?
If it that doesn't work, then please open an issue in Renode repo. There were really helpful.
Copy-paste doesn't work, at least on MacOS (Cmd-v and Ctrl-v does nothing at all). In a fit of patience, I typed in the commands by hand but it balked about not finding tests/platforms/LiteX/litex_netv2_vexriscv_linux.repl (I ran from with the renode directory, but apparently that wasn't enough).
I don't really see why renode is better than widely supported, tested, and documented QEMU. It certainly seems harder to use.
@tommythorn sorry to see that. I like Renode has the ability to emulate peripherals like a framebuffer. I'm actually not very familiar with Qemu so it could just be a matter of me not knowing how to configure Qemu.
@thommythorn copy&past works, you need to use the mouse for that - a context menu pops up if you press the right mouse button.
An i think all you miss is a "start" command
I don't really see why renode is better than widely supported, tested, and documented QEMU. It certainly seems harder to use.
i think the point where renode is better than qemu is emulating the peripherals
https://github.com/renode/renode