> On Sun, 3 Jan 1999, Russell King - ARM Linux Admin wrote:
> > The latest ARM kernel patch for 2.1.132 is now on the FTP site.
In my case there seems to be a problem with the Makefile referencing
variable ZLINKFLAGS in /usr/src/linux/arch/arc/boot/compressed/Makefile
As a result at the final stage of the compile the compile dies with the
following:
make[1]: Entering directory `/usr/src/linux/arch/arm/boot'
make[2]: Entering directory `/usr/src/linux/arch/arm/boot/compressed'
tmppiggy=_tmp_$$piggy; \
rm -f $tmppiggy $tmppiggy.gz $tmppiggy.lnk; \
objcopy -O binary -R .note -R .comment -S /usr/src/linux/vmlinux
$tmppiggy; \
gzip -f -9 < $tmppiggy > $tmppiggy.gz; \
echo "SECTIONS { .data : { input_len = .; LONG(input_data_end -
input_data) input_data = .; *(.data) input_data_end = .; }}" >
$tmppiggy.lnk; \
ld -m elf32arm -r -o piggy.o -b binary $tmppiggy.gz -b elf32-arm
-T $tmppiggy.lnk; \
rm -f $tmppiggy $tmppiggy.gz $tmppiggy.lnk;
ld -m elf32arm -Ttext -o vmlinux head.o misc.o piggy.o
ld: invalid hex number `-o'
make[2]: *** [vmlinux] Error 1
make[2]: Leaving directory `/usr/src/linux/arch/arm/boot/compressed'
make[1]: *** [compressed/vmlinux] Error 2
make[1]: Leaving directory `/usr/src/linux/arch/arm/boot'
make: *** [zImage] Error 2
root@gargoyle:/usr/src/linux[107]#
I did some greps and it seems to me that the last line might work if
0xC000C000 is added, but I do not have enough guts to find out if the
generated kernel will actually boot the system. Soon, though ;-)
ld -m elf32arm -Ttext 0xC000C000 -o vmlinux head.o misc.o piggy.o
Comments?
Oh, and hardware ;-)
NetWinder, board revision 42ff, 32 megs, 3 gigs, NetWinder DM version 2.1
[Build 12], Kernel 2.0.35 on an armv4l
BTW, if anyone out there has a working .config file for any recent kernel
that boots under NetWinder and detects most of the hardware, I would
gladly appreciate a copy.
//Stany, rather amused by being flamed on bugtraq by a clueless vendor
--
+-----------------------------------------------------------------------------+
| Stanislav N. Vardomskiy - Procurator Odiosus Ex Infernis[TM] |
| This message is brought to you by letters jey, ow, el and tee. |
| Jolt! For all the sugar and twice the caffeine. |
+-----------------------------------------------------------------------------+
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]