[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem in making image.romfs with genromfs_elinux



Hi!

I am having a problem in making image.romfs
with genromfs_elinux during mkprod. The problem
is that image.romfs is also including /mnt/flash/*
directories which ideally it should not.

I am filling up /mnt/flash with some of my application
programs before doing mkprod. My files/directories
under /mnt/flash/ are copied in image.jffs(which is
desired), but also in image.romfs. I checked up with
romfs_meta.txt files.

$EROOT % ls -l
drwxr-xr-x  12 l2f      l2f          1024 Mar 13 18:17 ./
drwxr-xr-x   5 l2f      l2f          1024 Mar 13 18:20 ../
-rw-r--r--   1 l2f      l2f          2856 Mar 13 18:17 .1_5M128i.img
-rw-r--r--   1 l2f      l2f          2477 Mar 13 18:17 .4_0M128i.img
-rw-r--r--   1 l2f      l2f          3020 Mar 13 18:17 .500k128i.img
drwxr-xr-x   3 l2f      l2f          2048 Mar 13 18:18 bin/
drwxr-xr-x   2 l2f      l2f          1024 Mar 13 18:18 dev/
lrwxrwxrwx   1 l2f      l2f            13 Mar 13 18:17 etc -> mnt/flash/etc/
drwxr-xr-x   4 l2f      l2f          1024 Mar 13 18:17 include/
drwxr-xr-x   2 l2f      l2f          1024 Mar 13 18:18 lib/
drwxr-xr-x   4 l2f      l2f          1024 Mar 13 17:04 man/
drwxr-xr-x   3 l2f      l2f          1024 Mar 13 17:42 mnt/
drwxr-xr-x   2 l2f      l2f          1024 Mar 13 17:04 proc/
-rw-r--r--   1 l2f      l2f            46 Mar 13 18:18 romfs_meta.txt
drwxr-xr-x   2 l2f      l2f          1024 Mar 13 18:17 sbin/
drwxr-xr-x   2 l2f      l2f          1024 Mar 13 17:04 tmp/
drwxr-xr-x   6 l2f      l2f          1024 Mar 13 17:42 usr/
lrwxrwxrwx   1 l2f      l2f             7 Mar 13 18:17 var -> tmp/var

$EROOT % cat romfs_meta.txt
Ignore: lib.noopt
Ignore: include
Ignore: man

$EROOT % cat mnt/romfs_meta.txt
Ignorecontents: flash

I think that image.romfs is managing to ignore $EROOT/include,
but not $EROOT/mnt/flash/* Is there anything that I am missing
in order to do so?

How can I solve this problem? If I start putting things
in /mnt/flash/, my image.romfs grows along with image.jffs
making it difficult to fit things in a 2 MB image.

I hope I am able to communicate the problem well.

Best wishes,
-- prabhat

--
Prabhat Avasare    IMEC (DESICS)          email: avasare@xxxxxxx.be
                   Kapeldreef 75            Tel: +32-16-288123
                   B3001 Leuven             Fax: +32-16-281515
                   Belgium.