Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tiju Jacob <jacob_tiju@yahoo.com>
To: buildroot@busybox.net
Subject: [Buildroot] Mount_filesystem_s3c2440
Date: Tue, 15 Apr 2008 17:38:37 +0530 (IST)	[thread overview]
Message-ID: <854271.68256.qm@web94114.mail.in2.yahoo.com> (raw)

Hi Joe,

> 1. is it really a valid shellscript as set by buildroot?
Yes, It is a valid shell script. It is as follows.

for i in /etc/init.d/S??* ;do

     # Ignore dangling symlinks (if any).
     [ ! -f "$i" ] && continue

     case "$i" in
    *.sh)
        # Source shell script for speed.
        (
        trap - INT QUIT TSTP
        set start
        . $i
        )
        ;;
    *)
        # No sh extension, so fork subprocess.
        $i start
        ;;
    esac
done


> 2. does your inittab really put a getty/shell onto your (pretty unusual) 
> console, e.g. something like:
> ttySAC0::respawn:/sbin/getty -L ttysac0 115200 vt100 (probably)
> near line 30 in the standard buildroot inittab?

No it does not have. And I uncommented the line saying:
ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100
and the output:
.....
registered taskstats version 1
Freeing init memory: 1032K
Can't open /dev/ttyS0: No such device or address
Can't open /dev/ttyS0: No such device or address
Can't open /dev/ttyS0: No such device or address                                                              

Then I added the line:
ttySAC0::respawn:/sbin/getty -L ttySAC0 115200 vt100
and the output:
....
registered taskstats version 1
Freeing init memory: 1032K
Can't open /dev/ttySAC0: No such file or directory
Can't open /dev/ttySAC0: No such file or directory
Can't open /dev/ttySAC0: No such file or directory 

> 3. what happens if you give init=/bin/sh as a kernel parameter?
Same output.

What do I do to redirect the console to ttySAC0? I think that is the problem, right?

Thanks in advance.
Tiju




      Check out the all-new face of Yahoo! India. Go to http://in.yahoo.com/

             reply	other threads:[~2008-04-15 12:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-15 12:08 Tiju Jacob [this message]
2008-04-15 12:08 ` [Buildroot] Mount_filesystem_s3c2440 Joe
  -- strict thread matches above, loose matches on Subject: below --
2008-04-23  4:08 Tiju Jacob
2008-04-17  7:05 Tiju Jacob
2008-04-17  6:10 Tiju Jacob
2008-04-16  7:33 Tiju Jacob
2008-04-15 14:30 Tiju Jacob
2008-04-15 13:33 Tiju Jacob
2008-04-15 12:44 Tiju Jacob
2008-04-15  3:53 Tiju Jacob
2008-04-15  6:28 ` Joe
2008-04-14 13:30 Tiju Jacob
2008-04-14 13:26 ` Joe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=854271.68256.qm@web94114.mail.in2.yahoo.com \
    --to=jacob_tiju@yahoo.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox