Commit Graph

16 Commits

Author SHA1 Message Date
Christopher N. Hesse 4ada34bc6d dtbhtool: Print better warnings for PLATFORM/SUBTYPE mismatch
Change-Id: I486239d47255d5a5347e7b8ac7348afb8bc5bddb
(cherry picked from commit 8f74f0a7e9839d4f6f499aecdcc6c042ca4671a0)
2018-02-05 14:04:17 +00:00
Simon Shields 2440fd85c9 dtbhtool: implement unpackdtbhimg
Parses a DTBH image and outputs the information needed
for samsung_dtb.h and dumps all DTBs contained in the file.

Change-Id: Ia724f25c3b33423baeefec85c9b0d42967fce6f2
(cherry picked from commit 25b3f58c5bb9e9cfd2f0282047a2ea13141496cc)
2018-02-05 14:04:02 +00:00
Kevin F. Haggerty c94f6eed4a dtbhtool: Use right local module class to avoid relocation packaging
* UTILITY_EXECUTABLES is not a thing anymore, but EXECUTABLES are
  not packed

Change-Id: I1b27c4e23c08579f478af0756e86263e9ab4d740
2018-01-05 17:57:29 +00:00
Kevin F. Haggerty 5f70b61eec dtbhtool: Define both host and target libdtbimg
* The utilities need it and not defining the target library results
  in a missing dependency

Change-Id: I745d8586a4a2cc5e3b8bdbe4a7e9dc19e1161db6
2018-01-05 09:59:33 -07:00
Kevin F. Haggerty a04741b693 dtbhtool: Use BoringSSL instead of mincrypt
* mincrypt is gone as of LineageOS/android_system_core@6b11c13ae

Change-Id: Ia3b1dee747510daff45a345ae603181be5ab6023
2018-01-05 09:58:48 -07:00
Christopher N. Hesse e6e0e77d1c dtbhtool: Use libfdt from external/dtc
Change-Id: Ia3e38120965125de684e39213f94ad53238d55ce
2017-09-16 23:20:30 +00:00
Christopher N. Hesse 766aa1e464 dtbhtool: Do not force utilities to be built
Change-Id: I8b7a8cffae296328bb557852b2d44ba406923a7e
2017-01-17 00:20:35 +01:00
Christopher N. Hesse cdbd3b6c89 Revert "dtbhtool: Add LOCAL_MODULE_TAGS := optional"
Superflous commit, see:
http://source.android.com/source/add-device.html.

This reverts commit 7598a16084.

Change-Id: I75af8b68b8dc07a27d1bc2bf23550f3c1c8ddb77
2017-01-17 00:20:30 +01:00
Paul Keith 7598a16084 dtbhtool: Add LOCAL_MODULE_TAGS := optional
* This breaks building on devices that
  don't require the need of dtbhtool
* Also remove LOCAL_MODULE_TAGS := eng, to
  avoid requiring this on an eng build

Change-Id: Iad9296f46dd78c778ce1ce48d6722ed98bc27cd3
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
2017-01-16 11:00:09 -06:00
Christopher N. Hesse 9e0baabeab dtbhtool: Rename unpackbootimg to avoid conflicts
Change-Id: Iee1146dc6eca01dc50ac3e41e0b12a41a33064c1
2017-01-04 02:15:53 +01:00
Christopher N. Hesse 7e73d2e9ae dtbhtool: Split out dtimg components
Factor out DT image creation code into a small host
library.

Create a new host binary which allows us to create
device tree blob (DTB) images.

Change-Id: I5424684ad467b952df8b2ccf3afbacdec03e88c9
2017-01-04 02:15:21 +01:00
Christopher N. Hesse 357950e0e2 dtbhtool: Move target defs to header
Change-Id: Id1dcebe1abee087bb74d263c7537bc32d98f2380
2017-01-04 02:13:11 +01:00
Christopher N. Hesse d17a69b6f4 dtbhtool: Fix missing PATH_MAX macro from limits.h
Change-Id: Ie9cc147d6f4511d1fd696de7f8c58e01afdd079e
2017-01-04 02:13:11 +01:00
Ketut Putu Kumajaya 72b1c49ee4 Samsung Exynos DTBH device tree support
Change-Id: If5bee99b10c2b0fe55cc6eaf9143126be0cf70dd
2017-01-04 02:13:11 +01:00
Ketut Putu Kumajaya 0c2cc5a940 Add signature support
Change-Id: Idf5b6144b78e156e6c77e656cfe14097750259e5
2017-01-04 02:13:07 +01:00
Ketut Putu Kumajaya 6384637a7c Initial commit, from CM's system/core
Change-Id: I9bcf09859a7171e4fbb869b1d2818b31b2677207
2017-01-04 02:11:33 +01:00