Commit Graph

6 Commits

Author SHA1 Message Date
Roger Liao
67d61e2124 Pack device tree overlay per device in the same defconfig for barbet
1. Use 1 kernel defconfig
2. Use 1 build script and build config to generate 3 dtbo.img
     (dtbo_barbet.img / dtbo_bramble.img / dtbo_redfin.img)

Bug: 158714637
Signed-off-by: Roger Liao <rogerliao@google.com>
Change-Id: I182d4f9b81630f0dca3c143f771726e99504c222
2020-06-11 23:05:53 +08:00
Robin Peng
c72ef4692e Pack device tree overlay per device in the same defconfig
1. Use 1 kernel defconfig
2. Use 1 build script and build config to generate 2 dtbo.img (dtbo_bramble.img / dtbo_redfin.img)

Bug: 143743384
Bug: 143855408
Change-Id: I200466d81dfc59eca7e626f676ea5ab63f2b9ac9
Signed-off-by: Robin Peng <robinpeng@google.com>
2020-05-30 02:15:27 +08:00
Alex Hong
71717da622 build-dtbo: Support base dtbs which located in foreign folder
The temp output file path of command `DTC_OVERLAY_TEST' is
$(dot-target).<related-path-to-base_dtb>.tmp. That is, when
<related-path-to-base_dtb> has ```/''' included (e.g.:
../vendor/chipset-ver.xyz.dtb), the `DTC_OVERLAY_TEST' might return fail
because destination dir is yet created for writing the output file.

This change substitutes all the ```/''' in <related-path-to-base_dtb>
into ```-''' to fix this problem.

Bug: 137521202
Change-Id: I01ec2826e6a055cf697f0f9b1f79db5de6deffc5
Signed-off-by: Alex Hong <rurumihong@google.com>
2019-07-15 17:24:45 +08:00
Maria Yu
2478b6126b scripts: Makefile: Add multi overlay dtbo-base apply verify
Current board device tree overlay verify only support
single soc device tree dtb. Add support overlay apply verify
for multi soc device tree dtb in dtbo-base.

Change-Id: Idca1c57969303f701be37550da23c117cbd90470
Signed-off-by: Maria Yu <aiquny@codeaurora.org>
2019-02-09 16:01:59 -08:00
Kyle Yan
5e24bb0e9d scripts: Makefile: Change output overlay from .dtb to .tmp
If the output overlayed file has the .dtb extension, then the build system
may interpret the overlayed file as a SOC DTB file which will result
in the final kernel image including properties from the board files.

Change-Id: I857d5dc731b1bbcd880a7543a437e10f4f9bf912
Signed-off-by: Kyle Yan <kyan@codeaurora.org>
2019-02-09 16:01:52 -08:00
Puja Gupta
93d1d6218a scripts: Makefile: add support to compile DT overlay blobs
Add support to compile device tree overlay blob.
'dtbo-y' target can be used to specify DT overlay blob.
'<target>-obj'  must be specified to list base and overlay blobs.

Change-Id: Ib5036c70ba46374619cc43f9f7b697e1a444aebf
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
Signed-off-by: Rishabh Bhatnagar <rishabhb@codeaurora.org>
2018-11-07 14:11:43 -08:00