Hi All,

   I am still seeing the kernel being compiled with -march=mips32. There
must be some other place I should change so the kernel and modules are
compiled for R3000?

   Is there a way by examining the compiled code to tell which CPU it was
in fact compiled for?

   wiz


On Sun, 23 Mar 2008, Florian Fainelli wrote:

> Hi Wiz
> 
> Le dimanche 23 mars 2008, RHS Linux User a écrit :
> >    From what I can tell, however, the kernel and modules are not (from
> > what I can tell) being compiled for MIPS1 but rather for MIPS32? This MAY
> > be the reason I have yet to see any boot up serial output? I have yet to
> > find the right place to modify in the build tree to get MIPS1 kernel and
> > module compilation?  Suggestions please....
> 
> If your kernel is correctly compiled for MIPS-1, you should be able to see it 
> running on your FPGA. Are you sure the IP cores (UART, DDRAM ...) are working 
> fine ? Most of the time problems come from here, but I am sure you did 
> validate all the cores.
> 

I tried this (changing toolchain/Config.in) and packages are now OK.


> From the OpenWrt perspective, if you did change the CFLAGS to match the 
> MIPS-1 
> instruction set in toolchain/Config.in when selecting your architecture, 
> those CFLAGS will be passed to the kernel and so will the modules be compiled 
> with.

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

Reply via email to