Created
February 12, 2020 20:53
-
-
Save pdp7/00e8b4f1ae4c49a52e10ff8fcb64b641 to your computer and use it in GitHub Desktop.
renode demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
@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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.