Name

fs write — Write to filesystem

Synopsis

fs write [-b mem_address] [-l length] {name}

Arguments

NameTypeDescriptionDefault
mem_address NumberAddress of data to be written to flash. Address of last loaded file. If not set by a load operation it must be specified.
length NumberLength of data to be written.Length of last loaded file.
name StringName of file to create. 

Description

This command is used to write data from memory to a file. If the file does not exist it will be created. If it does exist, then it will be overwritten with the new contents.

Examples

Write an area of data to a file

RedBoot> fs write -b 0x0606f000 -l 0x1000 image
RedBoot> fs ls
d---------       128 .
d---------       128 ..
----------      4096 image
d---------        96 tests
RedBoot>