I took the init from pocket linux (ie busybox).   This works serial
for me (and is actually understandable).

Dave

anand kumar wrote:

> line in the 'rs_open'  method. I then compiled the above and made it the
> '/sbin/init' program and recompiled the kernel. I also made the permissions
> 666 on '/dev/ttyS1' and made a new ramdisk. So, what I expected to see was a
> kernel message on the console after the '/sbin/init' program executed. Well,
> after the kernel booted up and gave me the messaged that it did indeed mount
> the ramdisk, I did not see the kernel message above. Any thoughts? Also, I
>
> -Steve
>
> Hi,
>  Why don't you implement the program you wrote as a linuxrc script and try
> it.i.e by linking the code to linuxrc.I also had some problem when i tried
> to write something to /dev/ttys0 i.e console linked to ttys0
> but when i link the program thorugh linuxrc it seems to work.
> For the time being try that out and let me know how you fare.
> If it works then you can try it out from sbin/init or through any program
> from the shell.Are you sure that everything is well with exec() from the
> shell.
>
> cheers
> anand
> --
>
> unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
> ++        Please use [EMAIL PROTECTED] for           ++
> ++                        kernel-related discussions.                      ++
>
> ____________________________________________________________________
> Get free email and a permanent address at http://www.netaddress.com/?N=1
>
> unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
> ++        Please use [EMAIL PROTECTED] for           ++
> ++                        kernel-related discussions.                      ++

--
----------------------------------------------------------------------
David A Rusling   Consulting Engineer
    ARM Limited
    Liberty House,
    Moorbridge Road,
    Maidenhead, SL6 8LT

    Tel: UK-(0)1628-427754
    Fax: UK-(0)1628-780551
    e-mail: [EMAIL PROTECTED]
----------------------------------------------------------------------



unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++        Please use [EMAIL PROTECTED] for           ++
++                        kernel-related discussions.                      ++

Reply via email to