Andres Morales
d34c722c59
Merge changes Iac33dbaa,I18fcd37d into mnc-dev
...
* changes:
pass in correct buffer to print_id
stop including rootdir build.prop
2015-05-08 15:00:14 +00:00
Andres Morales
e892a3f328
pass in correct buffer to print_id
...
hdr.id is actually larger than sha
Change-Id: Iac33dbaaf4bea9acde5ba49d8601f7ac767677d5
2015-05-08 07:55:08 -07:00
Andres Morales
507bfdfcd9
Merge "mkbootimg: make mkbootimg print image cksum to stdout" into mnc-dev
2015-05-08 13:57:47 +00:00
Rom Lemarchand
e98bfaeb08
mkbootimg: use fixed-size types for image format
...
Change-Id: I471ef420c3944b3ffefdba9ca7122c6a7f09e5ac
2015-05-07 15:36:28 -07:00
Andres Morales
7f9259f652
mkbootimg: make mkbootimg print image cksum to stdout
...
used by the build system as a fingerprint for the image
Change-Id: Ifaf230b881e68d921a8158ed2e8a3ee41f27a4b3
2015-05-07 15:02:23 -07:00
Rom Lemarchand
13e93f7112
mkbootimg: make ramdisk optional
...
Change-Id: Iaa0d220a1fdc5e8652ab8eaf3314bbdcb0746732
2015-04-08 15:13:11 -07:00
Mark Salyzyn
cc209517e4
mkbootimg: turn on -Werror
...
- Deal with signedness issues
Change-Id: I61211165eb4ce0fa9a2edeebb3f97fb0ffc62d34
2014-05-05 10:30:04 -07:00
Andrew Boie
f66bd0a079
mkbootimg: fix padding calculation for 2ndstage loader
...
Change-Id: I8db844cbc52896e51886b725fb86fd1b0fa57899
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2014-04-24 17:12:45 -07:00
Andrew Boie
d35ce3563b
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>
2013-09-09 13:13:33 -07:00
Ithamar R. Adema
81ce3a79ff
mkbootimg: support 8192/16384 pagesizes
...
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>
2013-03-10 14:11:10 +01:00
Doug Zongker
dd7fafb34b
add command-line arguments to mkbootimg to move kernel, ramdisk, etc.
...
Bug: 6918260
Change-Id: I5d4af6314fded027952941110a520dc9aa234a14
2012-08-02 14:52:39 -07:00
Iliyan Malchev
497de83856
HACK: push ramdisk up by 2M
...
Change-Id: Idb71ebd25c0b8c765ce8767961f362f6deb45547
Signed-off-by: Iliyan Malchev <malchev@google.com>
2012-06-11 14:18:45 -07:00
Ying Wang
1c061b9ea9
dist for dist_files
...
Change-Id: I665572a2212f1239b02b7816e37ada210afbdb48
2010-12-09 10:33:27 -08:00
Maarten Hooft
65e461c478
Fix the pagesize argument parsing
...
Change-Id: I8a3d1a2a70c5ad972d3e150b320ee2184c9d5b4a
2010-08-24 15:24:50 -07:00
Ying Wang
fc2f7cb69e
Fix usage string.
...
Change-Id: Iaa99a1bb8bb6998082f3553689b5b812a6471514
2010-08-23 12:59:23 -07:00
Brian Swetland
8417d698cf
handle 4096 byte pages if requested via --pagesize
...
Change-Id: I9299ebeced85dcf5e6e4686b99b28b9786be4f25
Signed-off-by: Brian Swetland <swetland@google.com>
2010-08-11 16:56:49 -07:00
Brian Swetland
2a63bb7abf
fastboot, mkbootimg: support alternate base addresses
...
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>
2009-04-28 16:05:07 -07:00
The Android Open Source Project
dd7bc3319d
auto import from //depot/cupcake/@135843
2009-03-03 19:32:55 -08:00
The Android Open Source Project
e54eebbf1a
auto import from //depot/cupcake/@135843
2009-03-03 18:29:04 -08:00
The Android Open Source Project
8ac3a13816
auto import from //branches/cupcake/...@127101
2009-01-20 14:04:01 -08:00
The Android Open Source Project
35237d1358
Code drop from //branches/cupcake/...@124589
2008-12-17 18:08:08 -08:00
The Android Open Source Project
4f6e8d7a00
Initial Contribution
2008-10-21 07:00:00 -07:00