Linux for MIPS Atlas 4Kc board -problems :(
Hi Ralph,
More info.
For the most part it looks like its building. But source files of some of the drivers are failing. Like for instance NVRAM ( nvram.c ), some file system files & some video driver files.
A friend of mine said this. �Do menuconfig & select the appropriate board option (for me it is MIPS Atlas 4Kc). And you don�t have to worry about all the other options (like the file systems, & device drivers) � At least to get it to build initially�. Is that statement right? What he meant was, when you select a board the remaining things get customized automatically according to the board option. So, if I selected Atlas 4Kc board then only the drivers, file systems & other modules relevant to Atlas 4Kc would get enabled for the build to follow. Is that right?
If that�s true, then I shouldn�t face these many number of errors when building FS & device driver modules.
To work around this, each time I see an error, I do �$ make ARCH=mips menuconfig�, go find the option corresponding to the module & disable it. So that those files never get built & then the build progresses a bit before it break again. I am yet to complete this activity (probably today after work & this weekend I will do this). Do you think it�s best way to go about this?
Thanks & Cheers,
-Mike.
Quoted 8 lines
From: Ralf Baechle <[email protected]>
To: Keith Owens <[email protected]>
CC: Michael Anburaj <[email protected]>,[email protected]
Subject: Re: Linux for MIPS Atlas 4Kc board -problems :(
Date: Sat, 3 May 2003 03:09:34 +0200On Fri, May 02, 2003 at 02:18:13PM +1000, Keith Owens wrote:
Quoted 9 lines
Quoted 2 lines
You have to specify ARCH=mips on _all_ make commands, not just make *config. Do 'make ARCH=mips' for the second one.
In the MIPS kernel source I've hardwired ARCH=mips. He'd either have to pass something like CROSS_COMPILE=mips-linux- or set the config option
CONFIG_CROSSCOMPILE.Ralf
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail