![]() |
New Device Trees for A64 - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4) +--- Forum: Android on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=5) +--- Thread: New Device Trees for A64 (/showthread.php?tid=3016) |
New Device Trees for A64 - jonsmirl - 12-28-2016 Check out the drop of the H5SDK Orange Pi posted. https://github.com/orangepi-xunlong/OrangePi_H5SDK/tree/master/kernel/arch/arm64/boot/dts Aren't these w1p1 files the A64 and the w2p1 stuff the H5? sun50iw1p1-clk.dtsi sun50iw1p1-fpga.dts sun50iw1p1-perf1_v1_0.dts sun50iw1p1-perf2_v1_0.dts sun50iw1p1-perf3_v1_0.dts sun50iw1p1-pinctrl.dtsi sun50iw1p1-soc.dts sun50iw1p1-t1.dts sun50iw1p1.dtsi It is truly idiotic that everyone outside of China has to rely on Allwinner to release the code to their Chinese OEMs and then those OEMs turn around and post it for everyone to see. Why can't they just put this stuff on a public server like everyone else does? RE: New Device Trees for A64 - longsleep - 12-29-2016 Why and how is this relevant? Every board needs its device tree and every board might be different and thus needs its own device tree. RE: New Device Trees for A64 - jonsmirl - 12-29-2016 Right, so we need a Pine version of sun50iw1p1-t1.dts. But we can use all of the dtsi (include) files which describe the core A64 CPU. The normal way to write these device trees is to make include files that describe the core CPU and then include those files from a small dts file which adds the board specific info. Core A64 CPU description include files sun50iw1p1.dtsi sun50iw1p1-clk.dtsi sun50iw1p1-pinctrl.dtsi We need to write board specific files.. sun50iw1p1-pine64.dts sun50iw1p1-m64.dts sun50iw1p1-friendly64.dts etc - small files that include the core dtsi files. Also compare the contents of sun50iw1p1-clk, sun50iw1p1-pinctrl, sun50iw1p1.dtsi to what is in the current Pine device tree. Those new files are in much better shape. For example they have all of the symbolic pHandles. I have always thought the Pine64.dts file was created by decompiling a binary device tree and it wasn't the original source, this looks to be the original source. RE: New Device Trees for A64 - longsleep - 12-30-2016 This has always been possible as similar sources are in the BSP kernel tree. I am just not willing to spend any time on this. Feel free to create a working git repository for pine64 dtsi with a makefile supporting all the different variants and I might feel to use it eventually in my building gear. RE: New Device Trees for A64 - j23 - 02-18-2020 Hi Guys, May i ask You a (maybe obvious for You but not for me) a question: Where i should look for technical data about pinephone such like camera, display (digitizer) correct names, values and so for and so on? -i mean You suggested best link to looking for. I am going to write on new DTS file for PinePhone based on (already working, but not 100% correct) - Pine64_plus wrote by Linus Torvalds (i guess). I mean... i am going to prepare a sid version. It could be compile by DTC tool, or not, but i have to try. There is a github where is all linux dir with sources made by Linus Torvald: https://github.com/torvalds/linux/tree/master/arch/arm64/boot/dts/allwinner Is this below website is the one, and the best one? https://wiki.pine64.org/index.php/PinePhone#Specifications I am going to use as much possible with DRY rule, so basically i need some information (if it even possible) WHAT type, name and value of data i should insert to a sun50i-a64-pinephone.dts based on sun50i-a64-pine64-plus.dts, and then compile DTS to DTB by DTC Debian tool. Finally i am going to prepare some image by dd or cdebootstrap (from included files one dir) and try to use on sdcard just like in following tutorial (this is work, but could be much better): https://wiki.debian.org/InstallingDebianOn/PINE64/PINEA64 Thanks for help in advance! ![]() Edit: I downloaded all pdfs i had been able to find on above website, but if You found a better source, please feel free and write something about it. Thanks! P.S. I have no idea why, but pmbootstrap did not work correctly last time, and Pine64 installer either.. So please, help me if You can. ![]() |