Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#3797 - 04/03/2000 16:59 Compiling kernel *inside* empeg
kim
member

Registered: 21/07/1999
Posts: 140
Loc: Helsinki, Finland
Has anyone successfully compiled kernel *inside* empeg?

When the compiler starts compiling audio-sa1100-ssp, it will always crash with a memory violation error. Everything else goes well before that, like kernel config and init.c and version.c compiling.

Here's what happens:

arm-linux-gcc -D__KERNEL__ -I/drive0/kim/empeg/kernel/include -mapcs-32 -mcpu=strongarm110 -Wall -Wstrict-prototypes -O2 -fomit-fra
me-pointer -fno-strict-aliasing -pipe -c -o audio-sa1100-ssp.o audio-sa1100-ssp.c
cc1: memory violation at pc=0x02014890, lr=0x020065dc (bad address=0x02014890, code 3)
pc : [<02014890>] lr : [<020065dc>]
sp : bfffe8d8 ip : 022b57b0 fp : bfffedf8
r10: 400ff128 r9 : 02039858 r8 : 00000189
r7 : 00000189 r6 : bffff1f1 r5 : 024a4e4c r4 : 00000000
r3 : 02282abc r2 : 00000000 r1 : 00000000 r0 : 00000000
Flags: nZCv IRQs on FIQs on Mode USER_32 Segment user
Control: C026917D Table: C026917D DAC: 00000015
Function entered at [<02001140>] from [<020363e4>]
r8 = bfffee84
r7 = 02000c9c
r6 = bffff1f1
r5 = bffff205
r4 = 02288bec
Function entered at [<020359ec>] from [<0203b12c>]
r5 = bffff205
r4 = 0000000d
Function entered at [<02039858>] from [<40037040>]
r8 = 022462e4
r7 = 02000c9c
r6 = 4000c2a8
r5 = 0000000d
r4 = bfffeee4
Function entered at [<40036ee4>] from [<02001088>]
cpp: output pipe has been closedarm-linux-gcc:
Internal compiler error: program cc1 got fatal signal 7


Am I trying something impossible or is there just some problems with my settings? Could it be running out of memory? Should I increase my swap file? How?

Kim


Top
#3798 - 05/03/2000 05:02 Re: Compiling kernel *inside* empeg [Re: kim]
altman
carpal tunnel

Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
One point: (I've never tried compiling a kernel on an empeg, I have a perfectly good pc with far more ram... I was going to say diskspace, but in fact my empeg has more than my pc :) ) - audio-sa1100-ssp isn't used on the empeg, so you don't need to compile it.

Hugo



Top
#3799 - 06/03/2000 10:46 Re: Compiling kernel *inside* empeg [Re: altman]
mac
addict

Registered: 20/05/1999
Posts: 411
Loc: Cambridge, UK
In fact there's a default configuration in arch/arm/def-configs which should help. I've just noticed that it is missing CONFIG_EMPEG_DISPLAY though so you'll need to specify that manually.

--
Mike Crowe
I may not be speaking on behalf of empeg above :-)
_________________________
--
Mike Crowe

Top
#3800 - 07/03/2000 03:04 Re: Compiling kernel *inside* empeg [Re: mac]
kim
member

Registered: 21/07/1999
Posts: 140
Loc: Helsinki, Finland
In fact there's a default configuration in arch/arm/def-configs which should help. I've just noticed that it is missing CONFIG_EMPEG_DISPLAY though so you'll need to specify that manually.

Yes. I realized that compiling the kernel inside empeg is probably not the best idea. Well, I think the memory just comes as a limit and that makes the compiler to crash. From now on, I'm compiling my kernel thru a telnet to other machine that has the cross-compilers setted up.

Kim


Top