6.2.1B release/Icecube - Flash Compression

Jay/Dave -
Thanks for the help. Network works great with the versionitis fixed, and
proper devc makes control-c and whatnot work.

As for Flash compression, Jay had said it isn’t supported in the new flash
filesystem. Does this mean with FFS3? Or is it something more subtle?


I tried what you said (below), and it built successfully, but it did not
work. Do I need to build my EFS stuff as FFS2?

If you have the source for the flash driver, you should be able to do
the following to get the old flash filesystem (if you really want it):

cd [bsp_root]/src/hardware/flash/boards/[driver]
make clean
make F3S_VER=2 MTD_VER=1 install

Can you please post your efs build file and the method you use to create
the efs image. You will have to build your efs for FFS2 if you choose
to go this route. There is a problem in the FFS3 which does not work
with efs files. It has been raised as PR#17651.

Thanks,
-Jay.

Chris Fischer wrote:

Jay/Dave -
Thanks for the help. Network works great with the versionitis fixed, and
proper devc makes control-c and whatnot work.

As for Flash compression, Jay had said it isn’t supported in the new flash
filesystem. Does this mean with FFS3? Or is it something more subtle?


I tried what you said (below), and it built successfully, but it did not
work. Do I need to build my EFS stuff as FFS2?


If you have the source for the flash driver, you should be able to do
the following to get the old flash filesystem (if you really want it):

cd [bsp_root]/src/hardware/flash/boards/[driver]
make clean
make F3S_VER=2 MTD_VER=1 install

Here’s the lines from the makefile:

drivers-evb: drivers-evb.srec

drivers-evb.bin: drivers-evb.build

mkefs -t ffs2 -v drivers-evb.build $@


drivers-evb.srec: drivers-evb.bin

mkrec -fsrec -r -o0x20000 drivers-evb.bin > $@

Here’s the lines from drivers-evb.build (I threw in the rc file so I could
see if it

was compress/uncompressed):

Create a file system with the following attributes:

- Mount as /sbin

- Allocate at 4Mb of flash

- Compress the file system.

- Use read, write, execute permissions by default.

#[block_size=64k spare_blocks=0 mount=/sbin min_size=512K max_size=512K
filter=“flashcmp -t ucl” perms=+r,+w,+x]

[block_size=64k spare_blocks=0 mount=/sbin min_size=256K max_size=256K
filter=“flashcmp -t ucl” perms=+r,+w,+x]

#[block_size=64k spare_blocks=0 mount=/sbin min_size=256K max_size=256K
perms=+r,+w,+x]

Drivers:

[search="${QNX_TARGET}/ppcbe/sbin"]

#bestcomm-task-load-lite5200evb

#bestcomm5200

devc-psc-uart-lite5200evb

rc = {

/etc/bootup.ksh is gone.

if [[ ! -e /etc/bootup.ksh ]]; then

ln -s /etc/bootup.config.ksh /etc/bootup.ksh

fi

This gives you a shell in case

/etc/rc is gone.

if [[ -e /etc/rc ]]; then

exec /proc/boot/ksh /etc/rc

else

/etc/bootup.ksh

while /bin/true; do

/proc/boot/ksh

done

/bin/shutdown -v -S system

fi

}

“Jay Greig” <greig@qnx.com> wrote in message
news:brvb6g$gpg$1@nntp.qnx.com

Can you please post your efs build file and the method you use to create
the efs image. You will have to build your efs for FFS2 if you choose
to go this route. There is a problem in the FFS3 which does not work
with efs files. It has been raised as PR#17651.

Thanks,
-Jay.

Chris Fischer wrote:
Jay/Dave -
Thanks for the help. Network works great with the versionitis fixed,
and
proper devc makes control-c and whatnot work.

As for Flash compression, Jay had said it isn’t supported in the new
flash
filesystem. Does this mean with FFS3? Or is it something more subtle?


I tried what you said (below), and it built successfully, but it did not
work. Do I need to build my EFS stuff as FFS2?


If you have the source for the flash driver, you should be able to do
the following to get the old flash filesystem (if you really want it):

cd [bsp_root]/src/hardware/flash/boards/[driver]
make clean
make F3S_VER=2 MTD_VER=1 install
\