This commit is contained in:
Kip Macsai-Goren 2022-02-21 00:34:54 +00:00
commit 5bdb612567
2 changed files with 21 additions and 4 deletions

View File

@ -0,0 +1,21 @@
all:
make disassemble
make generate
generate:
# generating device tree binary
dtc -I dts -O dtb ../devicetree/wally-virt.dts > ${RISCV}/buildroot/output/images/wally-virt.dtb
disassemble:
mkdir ${RISCV}/buildroot/output/images/disassembly
# fw_jump
riscv64-unknown-elf-objdump -D ${RISCV}/buildroot/output/images/fw_jump.elf >> ${RISCV}/buildroot/output/images/disassembly/fw_jump.objdump
# vmlinux
riscv64-unknown-elf-objdump -D ${RISCV}/buildroot/output/images/vmlinux >> ${RISCV}/buildroot/output/images/disassembly/vmlinux.objdump
# filesystem
mkdir ${RISCV}/buildroot/output/images/disassembly/rootfs
-cd ${RISCV}/buildroot/output/images/disassembly/rootfs; cpio -idv < ../../rootfs.cpio
clean:
rm ${RISCV}/buildroot/output/images/wally-virt.dtb
rm -rf ${RISCV}/buildroot/output/images/disassembly

View File

@ -262,10 +262,6 @@ module hptw
UPDATE_PTE: if(`HPTW_WRITES_SUPPORTED & DCacheStallM) NextWalkerState = UPDATE_PTE;
else NextWalkerState = LEAF;
default: begin
// synthesis translate_off
if (WalkerState !== 'x)
$error("Default state in HPTW should be unreachable; was %d", WalkerState);
// synthesis translate_on
NextWalkerState = IDLE; // should never be reached
end
endcase