mkefs at win32

Hi All.
Did anyone meet problem with mkefs at Windows Platform?
I use mkefs at host platform Windows 2000 (QNX Standart 6.2.1). I have some
problem:

  1. when total size of all files in filesystem is greather than about 4Mb
    mkefs termintaed with exception.
  2. I burn OS image and filesystem image (created by mkefs) into flash. I
    join OS image & filesystem image with mkimage -b 8k -o cpu686.img
    cpu686.flash fs
    Where cpu686.flash = ipl+OS image, fs = filesystem image.
    I clear the flash use flashctl -p /dev/fs0 -e
    I put result file (cpu686.img) into flash use this command: cat
    /tmp/cpu686.img > /dev/fs0
    When total size of all files in filesystem image is about 260Kb all work
    good. (I slay flash driver and start it again. I see /dev/fs0 /dev/fs0p0
    /dev/fs0p0 /dev/fs0p1 /dev/fs0p2)
    When total size of all files in filesystem image is about 1 Mb it does not
    work. After stuff was burned into flash and flash driver was restarted I see
    only /dev/fs0 /dev/fs0p0. No filesystem present :frowning:.
    Some times ago I did this operations and has that problem, but “critical
    size” was greather than now.
    I use processors board cpu686e (Fastwell). There are 8Mb flash memory at
    board. I use driver devf-cpu686e (created by SWD).
    I think problem source is mkefs.
    There output of mkimage for fs included small files(total size of all files
    in filesystem is less than 1Mb):
    C:\qnx\stuff\images\c686os>mkimage -b 8k -o cpu686.img cpu686.flash fs
    NTO image – cpu686.flash @ 0
    EFS image – fs @ 14e000
    ------ mkimage see that file “fs” is efs file

There output of mkimage for fs included files total size of all files in
filesystem is greather than 1Mb:
C:\qnx\stuff\images\c686os>mkimage -b 8k -o cpu686.img cpu686.flash fs
NTO image – cpu686.flash @ 0
NTO image – fs @ 14d2f0
----- mkimage doesnt see that file “fs” is efs file!!!


There are command file used by me for this work (it run at windows):
mkifs cpu686e-os.src cpu686os
mkefs fs.src fs
cat ipl-c686.rom cpu686os > cpu686.flash
mkimage -b 8k -o cpu686.img cpu686.flash fs

There are script file for building filesystem (fs.src):
[block_size=8k spare_blocks=10 min_size=2000k ]

#etc directory
[perms=755]/etc=./etc
[perms=755]/inetd=./inetd
[perms=755]/bin=./bin
When sting [perms=755]/bin=./bin is commented resulting filesystem image
work When this string uncommented resulting image doesnt work.

There are content of directories, referenced in fs.src:
Directory inetd:
08.09.2003 16:38 88 660 ftpd
08.09.2003 16:38 36 392 inetd
08.09.2003 16:37 108 096 telnetd
08.09.2003 16:38 12 468 tftpd
total size = 245616 bytes

Directory etc:
16.09.2003 17:40 74 ftpusers
08.09.2003 16:36 531 gettytab
08.09.2003 16:36 190 group
08.09.2003 16:36 98 hosts
18.09.2003 15:22 29 idestart.sh
23.09.2003 16:35 2 260 inetd.conf
23.09.2003 16:34 85 netstart.sh
08.09.2003 16:36 37 networks
23.09.2003 16:40 300 passwd
08.09.2003 16:36 1 581 protocols
16.09.2003 17:42 0 resolv.conf
08.09.2003 16:36 4 142 services
08.09.2003 16:36 89 shells
16.09.2003 17:42 93 syslog.conf
08.09.2003 16:36 8 436 termcap
total size = 17 945 bytes


Directory bin:
08.09.2003 16:38 11 648 chgrp
08.09.2003 16:37 8 844 chmod
08.09.2003 16:37 11 648 chown
08.09.2003 16:37 31 280 cp
08.09.2003 16:37 13 048 date
08.09.2003 16:37 52 412 devb-eide
08.09.2003 16:37 30 440 devc-pty
08.09.2003 16:38 17 856 dinit
08.09.2003 16:37 4 244 echo
08.09.2003 16:38 13 324 esh
08.09.2003 16:38 92 268 fdisk
08.09.2003 16:37 17 072 fesh
08.09.2003 16:38 49 496 gunzip
08.09.2003 16:37 49 496 gzip
08.09.2003 16:37 3 584 hostname
08.09.2003 16:38 5 808 kill
08.09.2003 16:38 149 716 ksh
08.09.2003 16:38 8 496 link
08.09.2003 16:38 17 408 login
08.09.2003 16:37 2 620 logout
08.09.2003 16:37 6 708 mkdir
08.09.2003 16:38 108 520 more
08.09.2003 16:37 7 756 mv
08.09.2003 16:37 5 144 nice
08.09.2003 16:37 25 032 passwd
08.09.2003 16:37 51 940 pax
08.09.2003 16:37 3 568 rmdir
08.09.2003 16:37 17 212 stty
08.09.2003 16:38 14 036 su
08.09.2003 16:37 4 528 time
08.09.2003 16:37 5 100 umask
08.09.2003 16:37 3 436 umount
08.09.2003 16:37 4 460 uname
08.09.2003 16:37 3 084 unlink
08.09.2003 16:38 12 816 use
total size = 864 048 bytes.

\

ó Õ×ÁÖÅÎÉÅÍ, (Best Regards),
ëÏÐÙÌÏ× ðÁ×ÅÌ, (Pavel Kopylov)
ÐÒÏÇÒÁÍÍÉÓÔ, ðÒÏÓÏÆÔ-å
e-mail: kopylov@prosoft.ural.ru , Ô.(3432) 49-32-72