linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* linux automatic logging and automatic script execution
@ 2008-10-28  8:06 florent manni
  2008-10-28 11:36 ` Chris Skepper
  0 siblings, 1 reply; 3+ messages in thread
From: florent manni @ 2008-10-28  8:06 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 568 bytes --]

Hi everyone,
I'm working on linux (last xilinx git version 2.6.27) on Virtex4 FX12 board
from memec.
I'm using buildroot with uclibc  and busybox to create the cross compiler
and the rootfs (everything set up within one elf file with initrd).

I try to make my embedded linux auto-logging and auto-executing a program
after kernel loads thus I haven't got to use the terminal to logging and
start my embedded program.

does anyone has got a clue where I should look to set this option (I think
it might be around /etc/initrd but I'm not sure).

thanks a lot.

florent

[-- Attachment #2: Type: text/html, Size: 629 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linux automatic logging and automatic script execution
  2008-10-28  8:06 linux automatic logging and automatic script execution florent manni
@ 2008-10-28 11:36 ` Chris Skepper
       [not found]   ` <f451b120810280553g1889098ei1c5e8139b175535c@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Skepper @ 2008-10-28 11:36 UTC (permalink / raw)
  To: florent manni; +Cc: linuxppc-embedded

On Tue, 28 Oct 2008, florent manni wrote:

> I try to make my embedded linux auto-logging and auto-executing a program
> after kernel loads thus I haven't got to use the terminal to logging and
> start my embedded program.
>
> does anyone has got a clue where I should look to set this option (I think
> it might be around /etc/initrd but I'm not sure).

Hi Florent,

You might be thinking of the file /etc/inittab or /etc/init.d/.  These 
file(s) control what process are started by /sbin/init in different 
run-levels.  Look at "man init" on a Linux system for more info, or read 
the documentation for the version of init on the system.  That should 
enable you to start whatever you want on bootup.

If init is too heavyweight you can start any other application with the 
the init= kernel parameter, but that's probably not recommended unless you 
know what you are doing.

Chris.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linux automatic logging and automatic script execution
       [not found]   ` <f451b120810280553g1889098ei1c5e8139b175535c@mail.gmail.com>
@ 2008-10-28 12:54     ` florent manni
  0 siblings, 0 replies; 3+ messages in thread
From: florent manni @ 2008-10-28 12:54 UTC (permalink / raw)
  Cc: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 1320 bytes --]

2008/10/28 florent manni <mannivelle@gmail.com>

> thanks a lots for the answer indeed that was inittab (my mistake for initrd
> twice).
>
> Now (thaks to you) I know exactly where to set up things (as busybox
> doesn't support runlevel by default I'll try to write something in inittab).
>
> thanks a lot
>
> florent
>
>
>
> 2008/10/28 Chris Skepper <skepper@ukf.net>
>
> On Tue, 28 Oct 2008, florent manni wrote:
>>
>>  I try to make my embedded linux auto-logging and auto-executing a program
>>> after kernel loads thus I haven't got to use the terminal to logging and
>>> start my embedded program.
>>>
>>> does anyone has got a clue where I should look to set this option (I
>>> think
>>> it might be around /etc/initrd but I'm not sure).
>>>
>>
>> Hi Florent,
>>
>> You might be thinking of the file /etc/inittab or /etc/init.d/.  These
>> file(s) control what process are started by /sbin/init in different
>> run-levels.  Look at "man init" on a Linux system for more info, or read the
>> documentation for the version of init on the system.  That should enable you
>> to start whatever you want on bootup.
>>
>> If init is too heavyweight you can start any other application with the
>> the init= kernel parameter, but that's probably not recommended unless you
>> know what you are doing.
>>
>> Chris.
>>
>
>

[-- Attachment #2: Type: text/html, Size: 2118 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-10-28 12:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-28  8:06 linux automatic logging and automatic script execution florent manni
2008-10-28 11:36 ` Chris Skepper
     [not found]   ` <f451b120810280553g1889098ei1c5e8139b175535c@mail.gmail.com>
2008-10-28 12:54     ` florent manni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).