From what @yuvadm told us in the channel, the flame comes with its own version of fastboot/mkbootimg, which appends the dtb file at the end of the boot.img (and not at the end of the kernel, as it is with all other Android devices). The kernel is part of the boot.img file though.
I'm not sure what the best way would be to handle this right now (suggestions welcome!) - @yuvadm, could you point us to the source code of these mozilla specific forks?
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
@ollieparanoid Thanks for opening an issue on this topic. Also CC'ing @z3ntu here as well since he provided some initial patches.
Essentially we need to pick a mkbootimg that supports the --dt flag which is able to append the device tree files to the boot.img. This is needed not only for the Flame but also for another device I believe @z3ntu is working on porting.
There are several different patched mkbootimg floating around, I'll paste a few that I ran into here, and then we can decide on the merits of each one:
Also the method used is called qcdt and I would use the lineage source of the tools if available. @m1cha pushed the important changes from efidroid to Lineage
@z3ntu good to know! Would love to get the updated version whenever you have a chance to post it. Also curious if this worked for you. I'm still running into problems with the flame dt.img.
Support for this feature has been merged in #356, which also shows how to use it.
I have extended the deviceinfo reference and added a new sub-article for deviceinfo_bootimg_qcdt (which has not much content yet, but it's a start).
The only thing I would like to see improved in hindsight (you know, after I reviewed the PR and merged it :p) is saving the dt.img file as dt.img-$FLAVOR, so we could have multiple kernels installed in parallel. But we can leave that for another PR if this becomes an issue.
Thanks for working on this feature, this is a great enhancement!