Skip to contentSkip to conversation

link to busybox

Buildroot Tiju Jacob 2 participants 2 messages May 7, 2008

lore
Share & tools
lore

Tiju Jacob

author
#0 lore raw

Hi Christian,

Quoted 4 lines

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.

What kind of tty? My serial device ttySAC0 is present in /dev.

Quoted 2 lines

In my case, I had to add several special devices by hand, not added by buildroot

What type of devices? I may also be missing these devices.

Quoted 3 lines

(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.

I am very new to this. Could you please tell me how to modify these files to my requirement or atleast the links from where I will get more information regarding this?

Thanks in advance.
Tiju

From Chandigarh to Chennai - find friends all over India. Go to http://in.promos.yahoo.com/groups/citygroups/

#1 lore raw

Hi Tiju,

I believe root filesystems are not an exact science, thus I can only provide you with some generic stuff, which mostly works. For me, a simple device layout like the following (using busybox or buildroot) works on several different embedded platforms:

mknod initrd b 1 250
mknod console c 5 1
mknod mem c 1 1
mknod null c 1 3
mknod ram1 b 1 1
mknod ttyAM0 c 204 16
mknod ram0 b 1 0
ln -s ram1 ram
ln -s ram0 ramdisk

In your case you'd probably replace ttyAM0 with ttySAC0..

Quoted 1 line

I am very new to this. Could you please tell me how to modify these files to my requirement or atleast the links from where I will get more information regarding this?

Even though this is the buildroot mailing list, I would recommend to first try a rootfs with only busybox, thus without buildroot. You can easily use the buildroot-generated cross-compiling toolchain with busybox..
make CROSS_COMPILE=<xtoolchain-prefix> all install

The rc.S file is not required by busybox, it makes some smart assumptions.

hope this helps,
Christian