Skip to contentSkip to conversation

link to busybox

Buildroot Tiju Jacob 3 participants 3 messages May 6, 2008

lore
Share & tools
lore

Tiju Jacob

author
#0 lore raw

Hi all,

I am using buildroot for an arm board.

Is it common to have all my executables as links to busybox?

eg.

-rwsr-xr-x 216 tiju users 589352 May  6 10:30 freeramdisk -> ../bin/busybox
-rwsr-xr-x 216 tiju users 589352 May  6 10:30 fsck -> ../bin/busybox
-rwsr-xr-x 216 tiju users 589352 May  6 10:30 getty -> ../bin/busybox
-rwsr-xr-x 216 tiju users 589352 May  6 10:30 halt -> ../bin/busybox
-rwsr-xr-x 216 tiju users 589352 May  6 10:30 hdparm -> ../bin/busybox
-rwsr-xr-x 216 tiju users 589352 May  6 10:30 hwclock -> ../bin/busybox

The issue I am facing is that I am not able to get the shell prompt. It keeps on respawning the getty when I try to login.

Thanks in advance.
Tiju

Meet people who discuss and share your passions. Go to http://in.promos.yahoo.com/groups/bestofyahoo/

#1 lore raw
Quoted 4 lines

I am using buildroot for an arm board.

Is it common to have all my executables as links to busybox?

Yes, that's how busybox works, it's a single binary file for all the tools, so it shares code and reduces total size.

Quoted 2 lines

The issue I am facing is that I am not able to get the shell prompt. It keeps on respawning the getty when I try to login.

I don't use arms, but AVR32 instead. I had a similar issue a while back and it was something to do with bash, once I removed bash from the build, everything worked ok. You might want to try that.

Kind Regards,
Thiago A. Correa

#2 lore raw

The respawn problem typically is not related to a specific shell, but either to a misconfiguration of the /etc files (especially rc.S) or, more probable, missing /dev/tty??
You might want to check those messages.
In my case, I had to add several special devices by hand, not added by buildroot (and I also replaced all the files in /etc with a single rc.S one, which resolved several other problems). The platform is an ARMv6 board.

cheers,
Christian

Quoted 21 lines · Thiago A. Corr?a
Quoted 3 lines

I am using buildroot for an arm board.

Is it common to have all my executables as links to busybox?

Yes, that's how busybox works, it's a single binary file for all the tools, so it shares code and reduces total size.

Quoted 2 lines

The issue I am facing is that I am not able to get the shell prompt. It keeps on respawning the getty when I try to login.

I don't use arms, but AVR32 instead. I had a similar issue a while back and it was something to do with bash, once I removed bash from the build, everything worked ok. You might want to try that.

Kind Regards,
Thiago A. Correa
_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot