Re: Where can I get the .config file for a particular zImage?

From: Wong Yee Peng <wyeepeng.a.t.dso.org.sg>
Date: Sun Aug 26 2001 - 22:10:36 EDT

Hi, I have successfully compiled the 2.4.7...-devfs kernel after following
what u have suggested. Thanks for all who responded.

Yee Peng

----- Original Message -----
From: <wyeepeng@dso.org.sg>
To: "Michael Nidd" <mni@zurich.ibm.com>
Cc: <familiar@handhelds.org>
Sent: Saturday, August 25, 2001 11:51 AM
Subject: Re: [Familiar] Where can I get the .config file for a particular
zImage?

> Thanks. I understand now. I will try it out and inform u of the outcome.
>
> Quoting Michael Nidd <mni@zurich.ibm.com>:
>
> >
> > If you touch kernel/arch/arm/tools/getconstants.c, then restart the
> > build, it will get recompiled. The new getconstants.o should contain
> > the necessary definitions. Something in the make must have altered
> > the contents of getconstants.c.
> >
> > I'm about to leave for the weekend, but if it still doesn't work
> > on Monday, please let me know.
> >
> > Good luck,
> > -- Mike.
> >
> > On Aug 24, 22:45, wyeepeng@dso.org.sg wrote:
> > > Actually I still don't quite understand what u meant here. Can u
> > explain how
> > > am I supposed to use the getconstants.c to solve the problem? I am
> > still not
> > > very sure.
> > >
> > > Rgds
> > > Yee Peng
> > >
> > > Quoting Michael Nidd <mni@zurich.ibm.com>:
> > >
> > > >
> > > > Checking through the archives, I found the following from Kevin
> > > > Morgan.
> > > > I had been having the same problem, and this fixed me up.
> > > > ------------------------------
> > > > For anyone who's interested, here's a followup on this problem.
> > > >
> > > > Various defines that should have been in
> > include/asm-arm/constants.h
> > > > were
> > > > missing. After touching kernel/arch/arm/tools/getconstants.c, now
> > the
> > > > kernel
> > > > builds for me. I still don't know why this was necessary, or why
> > > > constants.h
> > > > was missing the necessary defines.
> > > >
> > > > Kevin
> > > > ------------------------------
> > > > On Aug 23, 14:10, wyeepeng@dso.org.sg wrote:
> > > > > Subject: RE: [Familiar] Where can I get the .config file for a
> > > > particular
> > > > > Hi,
> > > > > I tried some simple customisation of the h3600-devfs config
> > file
> > > > > (adding "nfs root at boot", "bootp", "rarp", etc). Then, I "make
> > dep
> > > > && make
> > > > > clean && make zImage". Everything was fine til I got the
> > following
> > > > errors. Does
> > > > > anyone know what's wrong? I used the cross-toolchain from the
> > > > handhelds.org.
> > > > >
> > > > > ////////////////////// output listing of make process below
> > > > /////////
> > > > > make[1]: Entering directory `/usr/src/linux-2.4.7-rmk3-np1-
> > > > > devfs/arch/arm/kernel'
> > > > > arm-linux-gcc -D__ASSEMBLY__ -D__KERNEL__
> > > > -I/usr/src/linux-2.4.7-rmk3-np1-
> > > > > devfs/include -mapcs-32 -march=armv4 -mno-fpu -c -o
> > entry-armv.o
> > > > entry-armv.S
> > > > > entry-armv.S: Assembler messages:
> > > > > entry-armv.S:783: Error: Internal_relocation (type 185) not fixed
> > up
> > > > (IMMEDIATE)
> > > > > entry-armv.S:830: Error: Internal_relocation (type 187) not fixed
> > up
> > > >
> > > > > (OFFSET_IMM)
> > > > > entry-armv.S:831: Error: Internal_relocation (type 187) not fixed
> > up
> > > >
> > > > > (OFFSET_IMM)
> > > > > entry-armv.S:832: Error: Internal_relocation (type 187) not fixed
> > up
> > > >
> > > > > (OFFSET_IMM)
> > > > > make[1]: *** [entry-armv.o] Error 1
> > > > > make[1]: Leaving directory
> > > > `/usr/src/linux-2.4.7-rmk3-np1-devfs/arch/arm/kernel'
> > > > > make: *** [_dir_arch/arm/kernel] Error 2
> > > >
> > > > --
> > > >
> > -----------------------------------------------------------------------
> > > > Michael Nidd
> > > > IBM Zurich Research Laboratory
> > > > Saumerstrasse 4
> > > > CH-8803 Rueschlikon/Switzerland
> > > > mni@zurich.ibm.com Tel: +41-1-724-89-30 Fax: +41-1-724-89-53
> > > >
> > > _______________________________________________
> > > Familiar mailing list
> > > Familiar@handhelds.org
> > > http://handhelds.org/mailman/listinfo/familiar
> > > irc://irc.openprojects.net #familiar
> > >
> > >-- End of excerpt from wyeepeng@dso.org.sg
> >
> >
> >
> > --
> > -----------------------------------------------------------------------
> > Michael Nidd
> > IBM Zurich Research Laboratory
> > Saumerstrasse 4
> > CH-8803 Rueschlikon/Switzerland
> > mni@zurich.ibm.com Tel: +41-1-724-89-30 Fax: +41-1-724-89-53
> >
>
Received on Sun Aug 26 18:13:59 2001

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:38:29 EDT