LCD-show icon indicating copy to clipboard operation
LCD-show copied to clipboard

Cannot find source code for tft35a-overlay.dtb

Open hsnprojects opened this issue 2 years ago • 4 comments

I was looking for source code for 3.5" LCD Driver, which seems to be tft35a-overlay.dtb, but I could not locate the source code. Is this fully open source project?

hsnprojects avatar Oct 09 '21 02:10 hsnprojects

Me too - what's with the hidden source code?

ChazTuna avatar Mar 20 '22 01:03 ChazTuna

A .dtb file is equivalent to it's source. https://community.arm.com/oss-platforms/w/docs/525/device-tree Generate any .dts you want from the .dtb

Though I agree that the repo should have .dts files, and .dtb files should be in releases, just so that the repo managed files are human readable and sensibly diffable.

bkw777 avatar Mar 22 '22 07:03 bkw777

at least there is info on this now

I agree with .dts but then would be a need to have a convertion tool too. Maybe just some more docs README-dtb-dts.md ..

I believe that last time I read the RaspberryPi Docs (at RPi4 release) on Device Tree it mentioned that dtc (Device Tree Compiler) was built into RPiOS, a tool which can also decompile a .dtb file to human readable .dts format (but dont quote me on that)

paulwratt avatar Mar 22 '22 07:03 paulwratt

I linked to the docs about dtc's . There is no need to guess. Yes the tool is preinstalled and yes it decompiles dtb to dts and back to dts without loss. It's almost the first thing at the top of the page.

bkw777 avatar Mar 22 '22 07:03 bkw777