Skip to content

bootconfig: Make size and checksum fields le32

Masami Hiramatsu linux-doc lkml 1 version In review

Get series with b4
b4 am 160583933538.547349.272918354455492444.stgit@devnote2

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3bootconfig: Load size and checksum in the footer as le32init/main.c+2 -20 replies
2/3tools/bootconfig: Store size and checksum in footer as le32tools/bootconfig/main.c+5 -20 replies
3/3docs: bootconfig: Add the endianness of fieldsDocumentation/admin-guide/bootconfig.rst+3 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] bootconfig: Make size and checksum fields le32

Hello,

This is a series of patches to make the size and the checksum fields in the footer le32 instead of u32.

In the thread for alignment series[1], Steve pointed that the current footer format didn't specify the endianness thus it is hard to apply the bootconfig for cross-build initrd if the target endianness is different from the host machine.

I've proposed that the hexadecimal ASCII string in the previous series
[2] but Linus pointed that making it le32 was enough.

So this just make those fields le32.

Thank you,

[1] https://lore.kernel.org/lkml/[email protected]/
[2] https://lore.kernel.org/linux-doc/CAHk-=wi9RedSQoGF06dVs2mp7tBp4QoiW8+XZzNcDFJr3Zo5gg@mail.gmail.com/

---

Masami Hiramatsu (3):
bootconfig: Load size and checksum in the footer as le32 tools/bootconfig: Store size and checksum in footer as le32
docs: bootconfig: Add the endianness of fields

 Documentation/admin-guide/bootconfig.rst |    4 +++-
 init/main.c                              |    4 ++--
 tools/bootconfig/main.c                  |    7 +++++--
 3 files changed, 10 insertions(+), 5 deletions(-)

--
Masami Hiramatsu (Linaro) <[email protected]>