I have an new AMD (Au1500) Bosporous Board and I intend to install
MIPS Kernel 2.4.22 (linux-14oct2003.tar.gz) provided on the AMD CD
provided along with the kit. I have been through the
I have installed the Linux/386 cross for big-endian target i.e. MIPS
SDE 6.02.03 from ftp.mips.com on a Red Hat host.
After that when I try to build the kernel using the following command:
$make ARCH=mips CROSS_COMPILE=mips-linux- zImage
I get the following error.
mips-linux-gcc -D__KERNEL__ -I/root/MipsLinux/oct2003/linux/include
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -fomit-frame-pointer -I
/root/MipsLinux/oct2003/linux/include/asm/gcc -G 0 -mno-abicalls
-fno-pic -pipe -mabi=32 -mcpu=r4600 -mips2 -Wa,--trap
-DKBUILD_BASENAME=main -c -o init/main.o init/main.c
cc1: error: invalid option `-mcpu=r4600'
make: *** [init/main.o] Error 1
I have selected MIPS32 for the CPU Architecture and the toolchain
doesn't seem to recognize the r4600 option.
Could someone throw any light on this? I'm not able to move ahead
since I'm not able to build the kernel itself. Could someone help me
in recommending the right toolchain for this build?