unfortunately I cannot use the csscan tool on my device, as it seems to use a compiler for getting the syscalls, which I do not have on my platform. Is there any other way to get the configuration?
It's using the C preprocessor to extract some syscall numbers from system headers. You probably need to patch iommap.py and find the line "[SYS_mmap, SYS_munmap] = ..." and put in the numbers directly. On my system this would be "[SYS_mmap, SYS_munmap] = [222,215]", but numbers on your system may vary. You might find them in /usr/include/asm/unistd.h or /usr/include/asm-generic/unistd.h under something like __NR_mmap or __NR3264_mmap. Or, if you've got 'strace' you could trace some commands and find them that way.
I'll look to see if there's any way to make iommap.py get these without relying on the C preprocessor.
Al
CoreSight mailing list -- coresight@lists.linaro.org To unsubscribe send an email to coresight-leave@lists.linaro.org