diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2016-02-23 14:40:40 +0000 |
---|---|---|
committer | Rafał Miłecki <zajec5@gmail.com> | 2016-02-23 14:40:40 +0000 |
commit | 1a57ce0c03b8c33a69c3a87d537d1a61a666f046 (patch) | |
tree | b6181721cf31812949defb76fca05e192b233cca /Config.in | |
parent | 29bbc6e6bef56242eda49a031bab8362ac5190ef (diff) | |
download | upstream-1a57ce0c03b8c33a69c3a87d537d1a61a666f046.tar.gz upstream-1a57ce0c03b8c33a69c3a87d537d1a61a666f046.tar.bz2 upstream-1a57ce0c03b8c33a69c3a87d537d1a61a666f046.zip |
kernel: mtdsplit: add missing digest field to Seama header
Seama format has 2 similar headers: container (seal) header and entity
header. The first one has size always set to 0 and doesn't contain MD5
digest.
When dealing with Seama on a flash we deal directly with an entity. You
can see mtdsplit_parse_seama reads from offset 0 and expects entity to
be there. Seama container is used by bootloader / interface only which
extract entity out of it and flash it.
That said we should fix our header struct. This is important as we
calculate possible rootfs offset assuming it may be placed right after
Seama entity. So far calculate offset was always 16B too low.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48754
Diffstat (limited to 'Config.in')
0 files changed, 0 insertions, 0 deletions