summaryrefslogtreecommitdiffstats
path: root/mkbootimg
Commit message (Collapse)AuthorAgeFilesLines
* Allow building with Python 3.xBernhard Rosenkränzer2016-02-231-2/+5
| | | | | | | Allow the scripts to run with both python 2.x and 3.x Change-Id: I911118bcf370d09bdb2fb46afa21af64257f1ffb Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
* mkbootimg: misc typo fixesRom Lemarchand2015-06-041-2/+2
| | | | | | | - Fix whitespace in parse_int - Use two dashes for kernel_offset instead of four Change-Id: I59667da457d0f0d78a946e543d1aa0aec5e682d5
* mkbootimg: parse hexadecimal intsRom Lemarchand2015-06-021-6/+10
| | | | | | Allow passing int arguments as hexadecimal values Change-Id: If5a199007e9868f994dd740ccd15c455eb536327
* mkbootimg: delete obsolete C sourceRom Lemarchand2015-06-021-297/+0
| | | | Change-Id: Ic36cbf370b7d54c3dd425a25d938c661e8d3405a
* mkbootimg: turn into a python scriptRom Lemarchand2015-06-022-6/+140
| | | | | | Turn mkbootimg into a python script instead of a C utility Change-Id: I36d35dfacfbbef2cc16bd6695ab15ee716bb0cdb
* pass in correct buffer to print_idAndres Morales2015-05-081-1/+1
| | | | | | hdr.id is actually larger than sha Change-Id: Iac33dbaaf4bea9acde5ba49d8601f7ac767677d5
* mkbootimg: make mkbootimg print image cksum to stdoutAndres Morales2015-05-081-34/+54
| | | | | | used by the build system as a fingerprint for the image Change-Id: Ifaf230b881e68d921a8158ed2e8a3ee41f27a4b3
* mkbootimg: use fixed-size types for image formatRom Lemarchand2015-05-072-28/+30
| | | | Change-Id: I471ef420c3944b3ffefdba9ca7122c6a7f09e5ac
* mkbootimg: turn on -WerrorMark Salyzyn2014-05-052-6/+7
| | | | | | - Deal with signedness issues Change-Id: I61211165eb4ce0fa9a2edeebb3f97fb0ffc62d34
* mkbootimg: fix padding calculation for 2ndstage loaderAndrew Boie2014-04-241-1/+1
| | | | | Change-Id: I8db844cbc52896e51886b725fb86fd1b0fa57899 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
* mkbootimg: support longer kernel command linesAndrew Boie2013-09-092-3/+17
| | | | | | | | | | | | | | | | | | 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>
* mkbootimg: support 8192/16384 pagesizesIthamar R. Adema2013-03-101-2/+3
| | | | | | | By now these sizes are very common, so make sure we support them. Change-Id: Ib1963fbabc4ec0b4623f2045a3cbeedffbad7ee8 Signed-off-by: Ithamar R. Adema <ithamar@upgrade-android.com>
* add command-line arguments to mkbootimg to move kernel, ramdisk, etc.Doug Zongker2012-08-021-11/+18
| | | | | Bug: 6918260 Change-Id: I5d4af6314fded027952941110a520dc9aa234a14
* HACK: push ramdisk up by 2MIliyan Malchev2012-06-111-1/+1
| | | | | Change-Id: Idb71ebd25c0b8c765ce8767961f362f6deb45547 Signed-off-by: Iliyan Malchev <malchev@google.com>
* dist for dist_filesYing Wang2010-12-091-1/+1
| | | | Change-Id: I665572a2212f1239b02b7816e37ada210afbdb48
* Fix the pagesize argument parsingMaarten Hooft2010-08-241-2/+2
| | | | Change-Id: I8a3d1a2a70c5ad972d3e150b320ee2184c9d5b4a
* Fix usage string.Ying Wang2010-08-231-0/+1
| | | | Change-Id: Iaa99a1bb8bb6998082f3553689b5b812a6471514
* handle 4096 byte pages if requested via --pagesizeBrian Swetland2010-08-111-1/+7
| | | | | Change-Id: I9299ebeced85dcf5e6e4686b99b28b9786be4f25 Signed-off-by: Brian Swetland <swetland@google.com>
* fastboot, mkbootimg: support alternate base addressesBrian Swetland2009-04-281-13/+15
| | | | | | | Add the --base flag to mkbootimg and -b flag to fastboot, to allow the default kernel base address (0x10000000) to be changed. Signed-off-by: Brian Swetland <swetland@google.com>
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-033-0/+360
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-033-360/+0
|
* auto import from //branches/cupcake/...@127101The Android Open Source Project2009-01-202-40/+35
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-1/+1
|
* Initial ContributionThe Android Open Source Project2008-10-213-0/+365