Unoffical empeg BBS

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

Topic Options
#4839 - 05/04/2000 10:49 Toolchain for Beta10a?
kim
member

Registered: 21/07/1999
Posts: 140
Loc: Helsinki, Finland
Does anyone have a working toolchain for Beta10a?

As the Linux kernel has changed, the previous toolchain does not work anymore. It requires a newer version of binutils and probably a new gcc as well.

And I'd like to compile a new kernel with IrDA support...

Kim


Top
#4840 - 14/04/2000 08:39 Re: Toolchain for Beta10a? [Re: kim]
Jazzwire
addict

Registered: 09/06/1999
Posts: 483
Loc: Guernsey
I was looking at the LART pages (as mentioned on slashdot, and the General forum) and noticed that they have a cross-compiler for download...

(It's built with
  • binutils-2.9.5.0.22.tar.bz2
  • linux-2.2.13.tar.gz
  • patch-2.2.13-rmk2.gz
  • diff-2.2.13-rmk2-np14.gz
  • gcc-2.95.2.tar.gz
  • gcc-2.95.2-diff-991022.gz
  • chris-rutter-patch-for-gcc-2.95.2
  • glibc-2.1.2.tar.gz
  • glibc-crypt-2.1.tar.gz
  • glibc-linuxthreads-2.1.2.tar.gz )

I haven't tried it, so if it works, let us know... =)
It's available at http://www.lart.tudelft.nl/lartware/compile-tools/

Jazz
(List 112, S/N 00030, 4 gig blue)
_________________________
Jazz (List 112, Mk2 42 gig #40. Mk1 4 gig #30. Mk3 1.6 16v)

Top
#4841 - 14/04/2000 12:56 Re: Toolchain for Beta10a? [Re: Jazzwire]
kim
member

Registered: 21/07/1999
Posts: 140
Loc: Helsinki, Finland
I was looking at the LART pages (as mentioned on slashdot, and the General forum) and noticed that they have a cross-compiler for download...

Actually, I built my own toolchain sometime ago already. As for the kernel compilation, only the binutils-2.9.5.0.29 and gcc-2.95.2 are needed. It was quite straight forward to build own toolchain based on Chris Rutter's memo.

Though, I had some difficulties building a kernel that would boot-up properly. For some reason, copying the /arch/arm/def-configs/empeg to .config, always forced the kernel init string to be something that empeg didn't like. If someone is having problems getting the new kernel to boot-up correctly, I might be able to help.

- Kim


Top
#4842 - 10/05/2000 09:44 Re: Toolchain for Beta10a? [Re: kim]
Ben
new poster

Registered: 10/05/2000
Posts: 1
I am trying to build the beta10a kernal. I have download the corss compiler on the LART site and am using this. everything seems to compile ok, but after uploading the new image the kernal crashes. is this the sort of trouble you had.
Also when doing a make menuconfig, are the pre-selected options correct, or do I need to enable extra functions?


Top
#4843 - 10/05/2000 12:12 Re: Toolchain for Beta10a? [Re: Ben]
kim
member

Registered: 21/07/1999
Posts: 140
Loc: Helsinki, Finland
I am trying to build the beta10a kernal. I have download the corss compiler on the LART site and am using this. everything seems to compile ok, but after uploading the new image the kernal crashes. is this the sort of trouble you had.
Also when doing a make menuconfig, are the pre-selected options correct, or do I need to enable extra functions?


The defaults should be OK, but check "General Setup" -> "Initial kernel command string". Check that it says "mak", I had initially something else in there and it made the kernel to crash when it was creating swap disk.

If you still have problems, e-mail me, and I can send you my .config file.

Kim


Top
#4844 - 13/05/2000 04:50 Re: Toolchain for Beta10a? [Re: kim]
mac
addict

Registered: 20/05/1999
Posts: 411
Loc: Cambridge, UK
Actually having a command line of 'mak' isn't necessary. There just seems to be a problem with make menuconfig inserting a load of rubbish about parallel ports in the command line if it is blank. Luckily 'mak' doesn't seem to cause any problems and isn't empty.

I think sometime I must have started typing 'make zImage' after typing 'make oldconfig' and it creeped into the standard .config file. Whoops.

There's no harm in it though.

In summary, try this:

cp arch/arm/def-configs/empeg .config
make oldconfig
(Press enter if it asks you for a command line)
make zImage


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

Top