Re: DM6446 file system(ramdisk) in NAND

2009-07-31 Thread omkar savagaonkar
there's nothing with libs.
Shell is bysybox stuff.
Also u should have proper inittab and rcS.

Regards,
Omkar

--- On Thu, 30/7/09, kirthika varadarajan kirthikai...@gmail.com wrote:

From: kirthika varadarajan kirthikai...@gmail.com
Subject: DM6446 file system(ramdisk) in NAND
To: Davinci-linux-open-source@linux.davincidsp.com 
davinci-linux-open-source@linux.davincidsp.com
Date: Thursday, 30 July, 2009, 11:00 AM

Hi,
I am working in DM6446(Monta vista linux)
I created a small ramdisk.Sample ramdisk.gz is given with DM6446.
I took that and i added the necessary libraries and the size comes to around 8MB
I wroted ramdisk in area of flash memory and boot from flash.

I am running my application automatically(i wrote the application to be 
executed in script file rcS)
I wish to have a shell prompt.
I am not able to login and check what are the process running.
Any libraries am i  missing for getting shell prompt and other applications 
such as streaming.
 
When i boot the system i am getting these debug messages.
   bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).

Freeing init memory: 112K
INIT: version 2.85 booting
0
mknod: invalid option -- -
BusyBox v1.00-rc3 (2005.07.23-08:39+) multi-call binary
Usage: mknod [OPTIONS] NAME TYPE MAJOR MINOR
Create a special file (block, character, or pipe).
Options:
    -m  create the special file using the specified mode (default a=rw)
TYPEs include:
    b:  Make a block (buffered) device.
    c or u: Make a character (un-buffered) device.
    p:  Make a named pipe. MAJOR and MINOR are ignored for named pipes.
Mounting a tmpfs over /dev...done.
Creating initial device nodes...done.
mknod: invalid option -- -
BusyBox v1.00-rc3 (2005.07.23-08:39+) multi-call binary
Usage: mknod [OPTIONS] NAME TYPE MAJOR MINOR
Create a special file (block, character, or pipe).
Options:
    -m  create the special file using the specified mode (default a=rw)
TYPEs include:
    b:  Make a block (buffered) device.
    c or u: Make a character (un-buffered) device.
    p:  Make a named pipe. MAJOR and MINOR are ignored for named pipes.
0
Starting mounting local filesystems: mount nothing was mounted
Cleaning: /etc/network/ifstate.
Setting up IP spoofing protection: rp_filter.
Disable TCP/IP Explicit Congestion Notification: done.
Starting network interfaces: done.

Starting hotplug subsystem:
   pci
   pci  [success]
   usb
   usb  [success]
   isapnp
   isapnp   [success]
   ide
   ide  [success]
   input
   input    [success]
   scsi

   scsi [success]
done.
Starting portmap daemon: portmap.
Cleaning: /tmp BusyBox v1.00-rc3 (2005.07.23-08:39+) multi-call binary
Usage: find [PATH...] [EXPRESSION]
Search for files in a directory hierarchy.  The default PATH is
the current directory; default EXPRESSION is '-print'
EXPRESSION may consist of:
    -follow Dereference symbolic links.
    -name PATTERN   File name (leading directories removed) matches PATTERN.
    -print  Print (default and assumed).

    -type X Filetype matches X (where X is one of: f,d,l,b,c,...)
    -perm PERMS Permissions match any of (+NNN); all of (-NNN);
    or exactly (NNN)
    -mtime TIME Modified time is greater than (+N); less than (-N);

    or exactly (N) days
/var/lock cd: 77: can't cd to /var/lock
/var/run BusyBox v1.00-rc3 (2005.07.23-08:39+) multi-call binary
Usage: find [PATH...] [EXPRESSION]
Search for files in a directory hierarchy.  The default PATH is
the current directory; default EXPRESSION is '-print'
EXPRESSION may consist of:
    -follow Dereference symbolic links.
    -name PATTERN   File name (leading directories removed) matches PATTERN.
    -print  Print (default and assumed).

    -type X Filetype matches X (where X is one of: f,d,l,b,c,...)
    -perm PERMS Permissions match any of (+NNN); all of (-NNN);
    or exactly (NNN)
    -mtime TIME Modified time is greater than (+N); less than (-N);

    or exactly (N) days
done.
Setting pseudo-terminal access permissions...done.
Starting system log daemon: syslogd/sbin/syslogd: invalid option -- r
BusyBox v1.00-rc3 (2005.07.23-08:39+) multi-call binary
Usage: syslogd [OPTION]...
Linux system and kernel logging utility.
Note that this version of syslogd ignores /etc/syslog.conf.
Options:
    -m MIN  Minutes between MARK lines (default=20, 0=off)
    -n  Run as a foreground process
    -O FILE Use an alternate log file (default=/var/log/messages)

    -s SIZE Max size (KB) before rotate (default=200KB, 0=off)
    -b NUM  Number of rotated logs to keep (default=1, max=99, 0=pur
klogd/sbin/klogd: invalid option -- x

DM6446 file system(ramdisk) in NAND

2009-07-29 Thread kirthika varadarajan
Hi,
I am working in DM6446(Monta vista linux)
I created a small ramdisk.Sample ramdisk.gz is given with DM6446.
I took that and i added the necessary libraries and the size comes to around
8MB
I wroted ramdisk in area of flash memory and boot from flash.
I am running my application automatically(i wrote the application to be
executed in script file rcS)

I wish to have a shell prompt.
I am not able to login and check what are the process running.
Any libraries am i  missing for getting shell prompt and other applications
such as streaming.


When i boot the system i am getting these debug messages.
   bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 112K
INIT: version 2.85 booting
0
mknod: invalid option -- -
BusyBox v1.00-rc3 (2005.07.23-08:39+) multi-call binary

Usage: mknod [OPTIONS] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe).

Options:
-m  create the special file using the specified mode (default
a=rw)

TYPEs include:
b:  Make a block (buffered) device.
c or u: Make a character (un-buffered) device.
p:  Make a named pipe. MAJOR and MINOR are ignored for named
pipes.

Mounting a tmpfs over /dev...done.
Creating initial device nodes...done.
mknod: invalid option -- -
BusyBox v1.00-rc3 (2005.07.23-08:39+) multi-call binary

Usage: mknod [OPTIONS] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe).

Options:
-m  create the special file using the specified mode (default
a=rw)

TYPEs include:
b:  Make a block (buffered) device.
c or u: Make a character (un-buffered) device.
p:  Make a named pipe. MAJOR and MINOR are ignored for named
pipes.

0
Starting mounting local filesystems: mount nothing was mounted
Cleaning: /etc/network/ifstate.
Setting up IP spoofing protection: rp_filter.
Disable TCP/IP Explicit Congestion Notification: done.
Starting network interfaces: done.
Starting hotplug subsystem:
   pci
   pci  [success]
   usb
   usb  [success]
   isapnp
   isapnp   [success]
   ide
   ide  [success]
   input
   input[success]
   scsi
   scsi [success]
done.
Starting portmap daemon: portmap.
Cleaning: /tmp BusyBox v1.00-rc3 (2005.07.23-08:39+) multi-call binary

Usage: find [PATH...] [EXPRESSION]

Search for files in a directory hierarchy.  The default PATH is
the current directory; default EXPRESSION is '-print'

EXPRESSION may consist of:
-follow Dereference symbolic links.
-name PATTERN   File name (leading directories removed) matches
PATTERN.
-print  Print (default and assumed).

-type X Filetype matches X (where X is one of:
f,d,l,b,c,...)
-perm PERMS Permissions match any of (+NNN); all of (-NNN);
or exactly (NNN)
-mtime TIME Modified time is greater than (+N); less than (-N);
or exactly (N) days

/var/lock cd: 77: can't cd to /var/lock
/var/run BusyBox v1.00-rc3 (2005.07.23-08:39+) multi-call binary

Usage: find [PATH...] [EXPRESSION]

Search for files in a directory hierarchy.  The default PATH is
the current directory; default EXPRESSION is '-print'

EXPRESSION may consist of:
-follow Dereference symbolic links.
-name PATTERN   File name (leading directories removed) matches
PATTERN.
-print  Print (default and assumed).

-type X Filetype matches X (where X is one of:
f,d,l,b,c,...)
-perm PERMS Permissions match any of (+NNN); all of (-NNN);
or exactly (NNN)
-mtime TIME Modified time is greater than (+N); less than (-N);
or exactly (N) days

done.
Setting pseudo-terminal access permissions...done.
Starting system log daemon: syslogd/sbin/syslogd: invalid option -- r
BusyBox v1.00-rc3 (2005.07.23-08:39+) multi-call binary

Usage: syslogd [OPTION]...

Linux system and kernel logging utility.
Note that this version of syslogd ignores /etc/syslog.conf.

Options:
-m MIN  Minutes between MARK lines (default=20, 0=off)
-n  Run as a foreground process
-O FILE Use an alternate log file
(default=/var/log/messages)
-s SIZE Max size (KB) before rotate (default=200KB, 0=off)
-b NUM  Number of rotated logs to keep (default=1, max=99,
0=pur
klogd/sbin/klogd: invalid option -- x
BusyBox v1.00-rc3 (2005.07.23-08:39+) multi-call binary

Usage: klogd [-c n] [-n]

Kernel logger.
Options:
-c nSets the default log level of console messages to n.
-n  Run as a foreground process.
.
Starting internet superserver: inetd.

 MontaVista(R) Linux(R) Professional Edition 4.0 (0501140)
129.168.0.182 login:
MontaVista(R) Linux(R) P