[uClinux-dev] bash

Michael.Needle at alcatel.com.au Michael.Needle at alcatel.com.au
Thu Mar 27 17:16:23 EST 2003


David,

Thanks for the reply.

I am trying to get a more functional shell than sash operating on
a uclinux host. 

What shell(s) have been successfully ported to uclinux?

What is/are the shell(s) of choice on uclinux?

I assumed bash had been ported due to the fact that it
is in the uclinux-dist. If this is not the case, why is it there?

Minix looks as if it will satisy my needs.
Can you confirm that the minix shell has been successfully
ported to uclinux? 

I attempted to get minux operating but experienced the 
same symptoms as with bash. I can get sash to operate
however. 

I would like to know if other people have managed to get 
minux operating successfully on uclinux, thereby I can focus my
attention on the build/target environment.

thanks

Any assistance appreciated.

regards
Michael Needle









David McCullough <davidm at snapgear.com>
Sent by: uclinux-dev-admin at uclinux.org
27/03/03 11:34
Please respond to uclinux-dev

 
        To:     uclinux-dev at uclinux.org
        cc: 
        Subject:        Re: [uClinux-dev] bash



Hi Michael,

You could try the latest tools from:

                 http://www.uclinux.org/pub/uClinux/uclinux-elf-tools/

There are quite a few fixes in the 20030314 release that may help.
Some of them fixed stray relocations and alignment of relocations.

Of course using bash on uClinux you will need all the help you
can get,  if it can indeed be done.

You will be better off IMO using the minix shell from user/sh.

Cheers,
Davidm

Jivin Michael.Needle at alcatel.com.au lays it down ...
> I am trying to get bash working on emnux V2.4 (which is based
> on uClinux V2.4.17) on the ARM7TDMI processor.
> 
> I have taken the bash port from the uClinux-dist/user/bash.
> 
> To cross compile I had to modify
> 
> LOCAL_LDFLAGS =-rdynamic
> to 
> 
> LOCAL_LDFLAGS = -Wl,--export-dynamic
> 
> to get a clean link. Apart from that the cross-compile
> is clean.
> 
> The additional compile flags used are,
> -mapcs-32 -mcpu=arm7tdmi -D__linux__
> 
> When I try to run bash on the target host I get the
> following,
> 
> /mnt/nfs> ./bash
> pid 39: killed (signal 11)
> 
> Appearing on the console,
> 
> BINFMT_FLAT: reloc outside program 0x6c309fe5 (0 - 0xbb230), killing!
> BINFMT_FLAT: reloc outside program 0x900000a (0 - 0xbb230), killing!
> BINFMT_FLAT: reloc outside program 0x30000ea (0 - 0xbb230), killing!
> BINFMT_FLAT: reloc outside program 0xdc0a0e1 (0 - 0xbb230), killing!
> BINFMT_FLAT: reloc outside program 0xf002de9 (0 - 0xbb230), killing!
> BINFMT_FLAT: reloc outside program 0x10d82de9 (0 - 0xbb230), killing!
> BINFMT_FLAT: reloc outside program 0x14301be5 (0 - 0xbb230), killing!
> BINFMT_FLAT: reloc outside program 0x5c209fe5 (0 - 0xbb230), killing!
> BINFMT_FLAT: reloc outside program 0x1092e5 (0 - 0xbb230), killing!
> BINFMT_FLAT: reloc outside program 0x101083e5 (0 - 0xbb230), killing!
> BINFMT_FLAT: reloc outside program 0x14301be5 (0 - 0xbb230), killing!
> BINFMT_FLAT: reloc outside program 0x50209fe5 (0 - 0xbb230), killing!
> ....
> 
> The tool chain uses the following versions,
> gcc - gcc version 2.95.3 20010315 (release)
> ar - GNU ar 2.11
> as - GNU assembler version 2.11 (arm-elf) using BFD version 2.11
> ld - GNU ld version 2.11 (with BFD 2.11)
> ranlib - GNU ranlib 2.11
> 
> The hello world program works fine.
> 
> Any assistance would be greatly appreciated.
> 
> regards
> Michael Needle

-- 
David McCullough:    Ph: +61 7 3435 2815  http://www.SnapGear.com
davidm at snapgear.com  Fx: +61 7 3891 3630  Custom Embedded Solutions + 
Security
_______________________________________________
uClinux-dev mailing list
uClinux-dev at uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev at uclinux.org


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20030328/0a229d91/attachment.html>


More information about the uClinux-dev mailing list