History log of /system/core/mkbootimg/bootimg.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
05d2a9002ef3509efd1a1ab2ebf0a86561e61607 14-Mar-2016 Sami Tolvanen <samitolvanen@google.com> mkbootimg: add os_version

Adds operating system version and security patch level to the boot
image header. This change take into use one of the existing unused
fields to preserve compatibility.

Note: All information is packed into a single field, because there
are a lot of existing devices that break if the first unused field
is set to a non-zero value.

Bug: 27498078
Bug: 22914603
Change-Id: I24953129e06019b95014a050e916fe4f5c199286
(cherry picked from commit d162828814b08ada310846a33205befb69ef5799)
/system/core/mkbootimg/bootimg.h
3b873950323da30f25ad0a70275bf71d110b480c 14-Mar-2016 Sami Tolvanen <samitolvanen@google.com> Revert "mkbootimg: add version and patch level"

This reverts commit dcdf300a1f5b0ad3fb517e53cfe09cc8eab05311.

Bug: 27580174
Change-Id: I49780dc522b5d1c4939749fe0d38124821f67c12
/system/core/mkbootimg/bootimg.h
dcdf300a1f5b0ad3fb517e53cfe09cc8eab05311 05-Mar-2016 Sami Tolvanen <samitolvanen@google.com> mkbootimg: add version and patch level

Adds operating system version and security patch level to the boot
image header. This change takes over two existing unused fields to
preserve compatibility with existing devices.

Bug: 27498078
Bug: 22914603
Change-Id: I57682611e0c27fec5ed284da7d9a788383ff98b1
(cherry pick from commit 3edc43234a0c0d592bc67b61f39c45eed238cef2)
/system/core/mkbootimg/bootimg.h
dfff829062ff9f5dabc2a6afd2a241a7bb12266e 07-May-2015 Rom Lemarchand <romlem@android.com> mkbootimg: use fixed-size types for image format

Change-Id: I471ef420c3944b3ffefdba9ca7122c6a7f09e5ac
/system/core/mkbootimg/bootimg.h
d35ce3563b4d86702cec4c8f7031fb8a1c55cac2 22-Aug-2013 Andrew Boie <andrew.p.boie@intel.com> mkbootimg: support longer kernel command lines

We can't simply increase the value of BOOT_ARGS_SIZE since that
would break past binary compatibility; the offset of 'id' would
change. This can cause serious problems with incremental OTA updates.

Instead, define a supplemental field which stores command line
information beyond the first 512 bytes. A value of 1024 was chosen
to keep the total size of struct boot_img_hdr under the smallest
page size of 2048 bytes.

Even if the extra_cmdline field is used, the original cmdline
field is still always NULL-terminated to avoid issues with older
bootloaders that haven't been updated.

Change-Id: I887e6f1db351a5b71a61e3a03363cf8856123d74
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
/system/core/mkbootimg/bootimg.h
dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/system/core/mkbootimg/bootimg.h
e54eebbf1a908d65ee8cf80bab62821c05666d70 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/system/core/mkbootimg/bootimg.h
4f6e8d7a00cbeda1e70cc15be9c4af1018bdad53 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/system/core/mkbootimg/bootimg.h