diff options
Diffstat (limited to 'nuttx/arch')
-rw-r--r-- | nuttx/arch/sim/src/up_deviceimage.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nuttx/arch/sim/src/up_deviceimage.c b/nuttx/arch/sim/src/up_deviceimage.c index 9a28f4edd..70dfc9cab 100644 --- a/nuttx/arch/sim/src/up_deviceimage.c +++ b/nuttx/arch/sim/src/up_deviceimage.c @@ -82,7 +82,11 @@ * xxd -g 1 nuttx-test.vfat.gz >some-file * * Then manually massaged from the gzip xxd output to zlib format. See - * http://www.faqs.org/rfcs/rfc1952.html + * http://www.faqs.org/rfcs/rfc1952.html. This amounts to: + * + * Remove all of the leading bytes through the null terminator of the file name + * Remove the last 8 bytes + * Add 0x08, 0x1d to the beginning. */ static const unsigned char g_vfatdata[] = |