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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@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 think the point where renode is better than qemu is emulating the peripherals