Nick Horsley <firstname.lastname@example.org> wrote:
I try to run the flash file system driver supplied with the BSP on the
Samsung SMDK2410 development board with :
devf-generic -s 0x10000,64k
(which is a valid block in the AM29LV800 flash) but I get a SIGSEGV.
Am I doing something wrong or is the flash file system not ported properly
in this beta ?
Trying to force the flash driver to recognize less flash than is actually
present likely will not work. As the flash driver probes the flash, it
will report back what it finds, not just what’s specified on the command
Depending on what you’re trying to achieve, I’d recommend that you
start the flash driver as normal, and then use the flashctl utility
to create a single 64k partition, and work with that partition. For
example, assuming your board as 32M of flash, starting at address 0:
flashctl -p/dev/fs0p0 -o64k -l64k -evf
then, slay and restart the driver, and you’ll have a /fs0p0 which
should be 64k in size. Note that since the flash driver requires
at least one spare block to use as an erase block, this partition
will likely be read-only.
How much flash do you have on board in total, and what is your
intended layout of data on the flash?
David Green (email@example.com)
QNX Software Systems Ltd.