Ejtagd
| Problem | Likely Fix | |---------|-------------| | ejtagd: cannot open /dev/mem | Run as root ( sudo ejtagd ) or set capability CAP_SYS_RAWIO | | target remote times out | Firewall on target: allow TCP 1234 | | GDB sees garbled registers | Wrong GDB architecture: use set architecture mips:isa32r2 | | monitor halt fails | EJTAG not enabled in CPU fuse/mask – check syscfg or bootloader settings | | No response after continue | Kernel disabled EJTAG (e.g., ejtag_disable in MIPS Linux). Recompile kernel with CONFIG_MIPS_EJTAG=y |
Kael spun around, checking the shadows. "Who's there?" he hissed. ejtagd
Cross-compile (adjust CC to your MIPS toolchain): | Problem | Likely Fix | |---------|-------------| |