mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-04-23 05:17:20 -04:00
rename devicetree to wally-virt
This commit is contained in:
parent
21f6feb510
commit
62d1ed65d4
3 changed files with 2 additions and 8 deletions
|
@ -1,6 +0,0 @@
|
|||
#!/bin/bash
|
||||
machine=virt
|
||||
|
||||
qemu-system-riscv64 -M $machine,dumpdtb=$machine.dtb -bios $RISCV/buildroot/output/images/fw_jump.elf
|
||||
|
||||
dtc -I dtb -O dts $machine.dtb > $machine.dts
|
|
@ -25,11 +25,11 @@ then
|
|||
sudo chmod a+rw $interruptsFile
|
||||
|
||||
# Compile Devicetree from Source
|
||||
dtc -I dts -O dtb ../devicetree/virt-trimmed.dts > ../devicetree/virt-trimmed.dtb
|
||||
dtc -I dts -O dtb ../devicetree/wally-virt.dts > ../devicetree/wally-virt.dtb
|
||||
|
||||
# QEMU Simulation
|
||||
(qemu-system-riscv64 \
|
||||
-M virt -dtb ../devicetree/virt-trimmed.dtb \
|
||||
-M virt -dtb ../devicetree/wally-virt.dtb \
|
||||
-nographic -serial /dev/null \
|
||||
-bios $imageDir/fw_jump.elf -kernel $imageDir/Image -append "root=/dev/vda ro" -initrd $imageDir/rootfs.cpio \
|
||||
-singlestep -rtc clock=vm -icount shift=0,align=off,sleep=on,rr=record,rrfile=$recordFile \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue