Commit Graph

6 Commits

Author SHA1 Message Date
Jake Weinstein c8bfc7211c common: import CyanogenMod dtbtool
* This allows for maximum compatibility with all SoCs and devices.

Change-Id: I4a2d25c214d337e99217f7ec3767de8027570f97
2016-01-30 22:10:54 -05:00
Jake Weinstein 7401873d75 dtbtool: allow devices to use a custom dtbtool
* Many devices require custom dtbtools to generate working
  kernels.

Change-Id: Ib0879d9cfb6040ed21fa6a5f5e1501d5ad92f870
2016-01-30 22:10:13 -05:00
Pradeep Sakhamoori 30576c9006 dtbtool: Add qcom,board-id support (version 2)
Add support to parse the new split qcom,msm-id/qcom,board-id
in DTB files.  The original qcom,msm-id with soc_id/platform/
soc_rev is split into qcom,msm-id with only soc_id/soc_rev
and a new qcom,board-id with platform/subtype.

The tool always generate the new table of device tree
format (v2), but is backward compatible with parsing original
DTB files with only qcom,msm-id (in which case subtype is
assumed zero).

This change requires a corresponding bootloader change to
properly parse the updated table of device tree image
format (v2).

Change-Id: Iee4a0bf7de026ffc7f610ad485254c4b192ed3eb
2013-07-15 13:28:29 -07:00
Duy Truong 0c0744e022 Update copyright to The Linux Foundation
Change-Id: Id084b09bf3a083ea5c0389900bbeb5ef149b3108
2013-02-10 06:35:11 -08:00
David Ng 82e6aa61f4 dtbtool: Add support for array of ID's in qcom,msm-id tag
Allow multiple chipset/platform/soc_rev triplets in
qcom,msm-id tag.  This allows one DTS/DTB file to be used
for multiple chipset/platform/soc_rev variants.

Preliminary version - needs error handling in triplet
parsing and general code cleanup.

Change-Id: Ic3d018c0667d1ec7189d6e14b3378effda00d781
2012-08-09 21:04:36 -07:00
David Ng b053341c3d dtbtool: Initial revision of table of device tree tool
A tool to generate an image of table of device tree.  The image
contains a header, table of device tree indices followed by the
list of device tree blobs.

Refer to dtbtool.txt for more information.

Change-Id: Ib0d5f974cdb8a8fc341f01b5d086a5285b1d7dc5
2012-08-07 14:40:21 -07:00