UndefinedInstruction error on Zynq #28
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/nac3#28
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
I don't quite understand what is going on here... Is
rtio_init
defined elsewhere? Do we need special calling conventions for it?It's the regular syscall:
7c336f7770/src/runtime/src/kernel/api.rs (L89)
Cannot reproduce. I've compiled a firmware that would log when
rtio_init
is called.Can you provide the objdump output of your compiled binary? I'm using the latest master to compile this, and the md5sum output is
ce46e9e7cf73d5cb5fa759c9104e3528
. I've got the exact checksum on my own machine and on zeus with freshly cloned nac3 master.Sorry, I must have mixed things up when trying to minimize the repro. This definitely crashes:
7ab762a174/nac3embedded/demo.py
syscalls broken on Zynqto UndefinedInstruction error ZynqUndefinedInstruction error Zynqto UndefinedInstruction error on ZynqI have no idea about this. Minimal example that could crash:
LLVM optimized IR (with only
passes.add_promote_memory_to_register_pass()
)Assembly:
Is this a problem regarding calling convention?
This is a bug in the artiq-zynq loader:
M-Labs/artiq-zynq#134
demo.py
runs fine after this fix.@pca006132 Good find!