Skip to contentSkip to conversation

Linux for MIPS Atlas 4Kc board -problems :(

DISCUSSION Michael Anburaj 1 participant 1 message May 3, 2003 MIPS

lore
Share & tools
lore
#0 lore raw

Hi all,

Finaly, I could compile vmlinux. I thought of booting this RAM image using the on board Redboot.

For which I needed a serial com utility ( like the windows Hyperterminal). I tried minicom & configured for /dev/ttyS1 & 115200 bauds & no hardware handshaking (PC has a COM1 port). Nothing seems to work. Can any one suggest a method to debug this issue? Or any other utility.

Thanks,
-Mike.

Quoted 42 lines

From: "Michael Anburaj" <[email protected]>
To: [email protected], [email protected]
CC: [email protected]
Subject: Re: Linux for MIPS Atlas 4Kc board -problems :(
Date: Fri, 02 May 2003 19:54:07 -0700

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 15 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 +0200

Quoted 2 lines · Keith Owens

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.

Quoted 8 lines
Quoted 2 lines

Ralf

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963