Unoffical empeg BBS

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

Topic Options
#31800 - 30/05/2001 18:56 Seg Faults...
dmallory
new poster

Registered: 01/10/2000
Posts: 13
Working on the codes for the Pioneer remote, I need to install a compiler on my empeg. Using hyperterm and zmodem, I successfully loaded binutils, then tried to upload gcc. I'm repeatedly getting the error below. Any help on why?
Thanks,
Douglas

rz: memory violation at pc=0x40082b14, lr=0x40082b18 (bad address=0x0000
0029, code 2)
pc : [<40082b14>] lr : [<40082b18>]
sp : bffff968 ip : bffff968 fp : bffff998
r10: 4011c128 r9 : 0200d500 r8 : 00000000
r7 : 000000f0 r6 : ffffffff r5 : 00000000 r4 : 020200c0
r3 : 00000021 r2 : 00000000 r1 : 00000000 r0 : 020200c0
Flags: nzCv IRQs on FIQs on Mode USER_32 Segment user
Control: C038517D Table: C038517D DAC: 00000015
Function entered at [<40082a58>] from [<02004434>]
r10 = 00000000 r7 = 02017888 r6 = 02017A18 r5 = 4011AD90
r4 = 0200E2E0
Function entered at [<02003d4c>] from [<020038ec>]
r10 = BFFFFE18 r9 = 0200D500 r8 = 00000000 r7 = 02017888
r6 = 02017880 r5 = 00000000 r4 = 00000000
Function entered at [<02001ac4>] from [<40054040>]
r10 = 4011C128 r9 = 02001AC4 r8 = 0200CFB4 r7 = 02001334
r6 = 4000C2A8 r5 = 00000001 r4 = BFFFFE14
Function entered at [<40053ee4>] from [<02001920>]
r10 = 4001D858 r9 = 00000000 r8 = 00000000 r7 = 00000000
r6 = 020018FC r5 = 00000000 r4 = 4001E5EC
Segmentation fault
empeg:/dlm#


Top
#31801 - 30/05/2001 23:46 Re: Seg Faults... [Re: dmallory]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5682
Loc: London, UK
Your copy of rz (the zmodem transfer program) appears to be going bang. Have you run out of disk space -- there's only about 16Mb available in the root. Which is not enough space to install gcc.

Personally, I'd just invest a couple of hundred in a new desktop box, and install Linux on that. Oh, wait, I did.



Roger - not necessarily speaking for empeg
_________________________
-- roger

Top
#31802 - 02/06/2001 04:16 Re: Seg Faults... [Re: dmallory]
ChrisTall
new poster

Registered: 24/10/2000
Posts: 21
Loc: South Wales, UK
I installed Frank's debian environment by basically unzipping it into a new directory I made under /drive0. I then copied rz and sz from the empeg install into the same place on Frank's install. Then I changed to the usr/sbin directory in Frank's install and ran chroot. In my case like this:-
./chroot /drive0/debian/root /bin/bash

Then I downloaded the ARM GCC binaries from here, rz'd them to my empeg and used dpkg to install them. You will also need CPP from the interpreters directory to get GCC to install.
You may need Libc6 as well to get your programs to compile. Again I downloaded it, rz'd it and installed it using dpkg. There are couple of sample programs on the developer site I compiled as a test after this and it all worked!

To edit my files on the empeg I managed to install an editor called FTE which does some nice colour codeing when editing C files. So far I have only written very small stuff but I have managed to write to the display and read from the IR device.

I hope this helps you in some small way.

ChrisTall
That really is my name!

Edited by ChrisTall on 02/06/01 01:18 PM.

_________________________
ChrisTall That really is my name!

Top
#31803 - 11/06/2001 04:27 Re: Seg Faults... [Re: dmallory]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
You shouldn't use rz/sz in a chrooted environment. I can't get it to work anyway...

Frank van Gestel
_________________________
Frank van Gestel

Top