[FS#465] kmodloader (ubox) Illegal intruction
LEDE Bugs
lede-bugs at lists.infradead.org
Wed Feb 8 19:01:50 PST 2017
The following task has a new comment added:
FS#465 - kmodloader (ubox) Illegal intruction
User who did this - yousong (yousong)
----------
Thanks Diffie, the diffconfig was received.
The MIPS DSP ASE was enabled by the compiler because of flag "-march=74kc". You can try adding another flag "-mno-dsp" and see if it helps
CONFIG_TARGET_OPTIMIZATION="-Os -pipe -mno-branch-likely -march=74kc -mtune=74kc"
But 74Kc should have DSP2 support and the SIGILL error should not happen. Content of /proc/cpuinfo can help.
Below is what I got with "qemu-system-mips -M malta -cpu 74Kf" and notice the dsp and dsp2 bit in "ASEs implemented".
root at LEDE:/tmp# cat /proc/cpuinfo
system type : MIPS Malta
machine : mti,malta
processor : 0
cpu model : MIPS 74Kc V0.0 FPU V0.0
BogoMIPS : 695.09
wait instruction : yes
microsecond timers : yes
tlb_entries : 16
extra interrupt vector : yes
hardware watchpoint : yes, count: 1, address/irw mask: [0x0ff8]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : mips16 dsp dsp2
shadow register sets : 1
kscratch registers : 0
package : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
----------
More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=465#comment1663
More information about the lede-bugs
mailing list