Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

H96 Pro plus DTB

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    H96 Pro plus DTB

    Hi all,

    I can see a lot of custom ROMs around but can't see any DTB (device tree) files.

    Can I ask if you have it or where I can find one?

    Of course I tried to extract it directly from device. Unfortunatelly it looks like boot doesn't contain second part of kernel which means therr is nothing to use for extraction of DTB. I have also tried to lookup DTB header in whole boot as well as in extracted kernel but no luck.

    Any hints where to get correct DTB?

    Thanks

    #2
    There is no manufacturers device tree. They just don't give a f about that.

    You could ask superceleron if he has any files.
    ALFAWISE H96 Pro+ 3/32 (S32-V6) | 7.1.2 | SCV7A | OC kernel | TWRP 3.1.1-0 | 64GB

    Comment


      #3
      Hi Ch3mn3y,

      thanks for quick response.

      I know there are no official files from manufacturer. Its hard to tell who that would be. I have already contacted hcygood. In case I will be able to find some contacts to Alfawise I will write to them and of course Amlogic although I don't think it will lead to positive response.

      I just thought that someone with better knowlege of boot image layout found a way to read DTB from device. It has to be there somewhere.

      From some reason I think there may be other users who tested this device with DTBs fro other devices like Beelink GT1 for example.

      @superceleron: any luck with H96 Pro plus DTBs?

      Thanks

      Comment


        #4
        Hi,

        a little self-response or at least an attempt of it:

        Since DTBs are somehow missing I was looking for way how to get it from running box. Unfortunately DTB is not in second part of kernel so one can't get it from there. Then I find this thread: https://unix.stackexchange.com/quest...s-of-a-running which describes a way how to get DTB/DTS. Folder /sys/firmware was empty on (my) H96 Pro+ All the files were under /proc/device-tree Since dtc was not available localy I decided to copy them to my local and try to do something there. I did this by copiyng all the content to tmp, changed permissions to make it available to adb pull and copied it all to my local OS. From there I was able to run dtc and get some dts file. You can see result in attached H96ProPlus.txt file.

        I would like to get some opinion of more experienced users of this forum: is this right way to go? Can dtb compiled from this file used for flashing?

        In attached file there is node "chosen" which holds some information about bootargs and others (I have replaced my mac with XX). Such node doesn't seem to be present in other DTS/DTBs I checked. Is it ok to just remove this node and compile DTB?

        Thanks
        Attached Files

        Comment

        Working...
        X