fix, when flushing (upon store_slut() to be precise) consider header's endianness

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, provide --little-endian and --big-endian to convert ute files in ute-fsck

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, actually swap the scom header (timestamp et al)

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, make fsck convert absolutely from big/little to little/big

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, treat m62_t tick types specially

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, provide setters for endianness

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, finally set the endianness in the header upon --{little,big}-endian in ute-fsck

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'cmd/fsck' into next

* cmd/fsck:
  minor, finally set the endianness in the header upon --{little,big}-endian in ute-fsck
  minor, provide setters for endianness
  minor, treat m62_t tick types specially
  minor, make fsck convert absolutely from big/little to little/big
  fix, actually swap the scom header (timestamp et al)
  minor, provide --little-endian and --big-endian to convert ute files in ute-fsck
  fix, when flushing (upon store_slut() to be precise) consider header's endianness
minor, provide make_page() and clone_page() for internal/private API

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, express byte-order conversion as swap

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, do not attempt byte-order conversion in ex situ mode

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, perform ex situ fsck with byte-order conversion serially, i.e. an in-situ conversion at the end

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'cmd/fsck' into next

* cmd/fsck:
  minor, perform ex situ fsck with byte-order conversion serially, i.e. an in-situ conversion at the end
  minor, do not attempt byte-order conversion in ex situ mode
  minor, express byte-order conversion as swap
  minor, provide make_page() and clone_page() for internal/private API
fix, defer in-situ conversion in ex-situ mode until the very end, store native fmt tentatively

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
test, add fsck endian converter tests

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, do not try to set endianness or convert in dry mode

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
fix, count unknown endianness as little

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
test, add fsck endian ex-situ converter tests

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'cmd/fsck' into next

* cmd/fsck:
  test, add fsck endian ex-situ converter tests
  fix, count unknown endianness as little
  fix, do not try to set endianness or convert in dry mode
  test, add fsck endian converter tests
  fix, defer in-situ conversion in ex-situ mode until the very end, store native fmt tentatively
Merge branch 'next'

* next:
  test, add fsck endian ex-situ converter tests
  fix, count unknown endianness as little
  fix, do not try to set endianness or convert in dry mode
  test, add fsck endian converter tests
  fix, defer in-situ conversion in ex-situ mode until the very end, store native fmt tentatively
  minor, perform ex situ fsck with byte-order conversion serially, i.e. an in-situ conversion at the end
  minor, do not attempt byte-order conversion in ex situ mode
  minor, express byte-order conversion as swap
  minor, provide make_page() and clone_page() for internal/private API
  minor, finally set the endianness in the header upon --{little,big}-endian in ute-fsck
  minor, provide setters for endianness
  minor, treat m62_t tick types specially
  minor, make fsck convert absolutely from big/little to little/big
  fix, actually swap the scom header (timestamp et al)
  minor, provide --little-endian and --big-endian to convert ute files in ute-fsck
  fix, when flushing (upon store_slut() to be precise) consider header's endianness