[Top] [All Lists]

ramdisk on mips question

To: <>
Subject: ramdisk on mips question
From: "HG" <>
Date: Thu, 12 Jun 2003 15:10:08 -0400
Organization: BND
Original-recipient: rfc822;
Reply-to: "HG" <>
Hi all,

while compiling a kernel for our board based on the idt 79rc332 , i am
getting the error below.
The target board is big endian. The files that where gziped where created
with a crossassembler that produces big endian files
the kernel is the 2.4.21-pre3. the ramdisk.gz file was created on a pc based
linux with some test files(big endian)
and copied in the location .../linux/arch/mips/ramdisk

1-    am i reading it right that the linker wont accept the ramdisk.gz
because it was created on a little endian system (the pc linux)
command to create the file : cat file1 file2 ... | gzip -c > ramdisk.gz

2-    anyone know a workaround for this problem(other than changing the
target ,and its monitor to little endian ) .

many thanks for all help


from make .....
 make[1]: Entering directory
echo "O_FORMAT:  " elf32-bigmips
O_FORMAT:   elf32-bigmips
mips-linux-ld -T ld.script -b binary --oformat elf32-bigmips -o ramdisk.o
mips-linux-ld: ramdisk.gz: compiled for a little endian system and target is
big endian
File in wrong format: failed to merge target specific data of file
make[1]: *** [ramdisk.o] Error 1
make[1]: Leaving directory
make: *** [_dir_arch/mips/ramdisk] Error 2

<Prev in Thread] Current Thread [Next in Thread>
  • ramdisk on mips question, HG <=