Hi All,

   I am pretty sure that the OpenWRT is still NOT compiling the Linux
kernel and modules for mips1 when the main menuconfig "Advanced
configuration options (for developers)"  "-mips1 -march=r3000
-mtune=r3000" flag is given. 

   The packages seem to compiled correctly for mips1, but when I reverse
assemble the Linux binary I still see non-mips1 instructions such as MOVN,
etc. 

   So far I haven't discovered where this problem is actually coming from.
I have tried changing various Config.in, etc. but still have yet to really
change things. 

   ANY further suggestions would be greatly appreciated! 


   Thanks to your advice, I have created a Spartan 3E version of OpenWRT
and I now have a seperate Spartan 3E SK directory. 

   Also, as far as I can tell, gcc correctly compiles various test
programs using only mips1 instructions when gcc gets the -mips1 flag. 
That is good!

   I tweaked the opencores-mlite reverse assembly tool to disassemble JUST
mips1 instructions and to print "???????" when a non mips1 instruction is
encountered. Using this and hexdump to verify what I think I find, I can
see non-mips1 instructions in the Linux kernel. 

   So, I am still looking for the real problem, kernel flags or whatever.

   Any further thoughts and ideas GREATLY appreciated!

   Thanks in advance for your time and help.

   wiz

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to