Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Android 13 ATV AMLOGIC S912 (Lineage OS 20) LPDDR3

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

    #91
    Originally posted by ppromo47 View Post
    I am going to give this a try,I have extracted the ROM using the Multi Image Kitchen, offcourse thank to the dev CryptoNick.
    I also have a patch from brahner NonameV5_clock_uboot_Z6_PLUS.zip which basically does what bumerc mentioned, we need to copy the driver(openvfd.ko) to system/bin folder and then copy deamon service (OpenVFDService) to system/bin folder.

    Now what I am missing is modification to dtb, below are the files i have from the kicthen, please can someone help the next step to unpack, modify and repack the dtb ?

    Update 1 : I have figured how to extract DTB, found a DTB converter tool on github, renamed the file boot.PARTITION to boot.img which was extracted earlier using Multi Image Kitchen tool above, I copied the changed to DTB by comparing with tx92 rom provided by bumerc and boot.img is now ready.

    Next step is to find out, how to create a flashable zip, to flash the driver, service and boot.img via recovery.....

    Update 2 : I decided to port the changes from tx92 rom to h96pro, did following changes, extracted dts from boot.PARTITION and meason1,dtb
    openvfd {
    compatible = "open,vfd";
    dev_name = "openvfd";
    status = "okay";
    openvfd_gpio_clk = <0x3c 0x4c 0x0>;
    openvfd_gpio_dat = <0x3c 0x4b 0x0>;
    openvfd_gpio_stb = <0x3c 0x35 0x0>;
    openvfd_chars = [04 03 02 01 00];
    openvfd_dot_bits = [00 01 03 02 04 05 06];
    openvfd_display_type = <0x1 0x0 0x0 0x0>;
    };

    in the above code openvfd_display_type = was <0x1​> earlier, I thought that was incorrect changed it to <0x1 0x0 0x0 0x0>;
    Repacked the ROM and I was able to boot the ROM all fine, however still the front led doesnt wotk nor the IR remote.
    /dev/openvfd was not found. Which ROM does the openvfd driver come from? openvfd_display_type = <0x1>; was correct. It is a 32 bits value 0x00000001, after compiling 0x1

    Comment


      #92
      ppromo47 could you share Multi Image Kitchen​ please

      Comment


        #93

        This is the link to ROM I am working on, I took the files from tx92 LP rom you shared earlier.
        https://mega.nz/file/X…XeWBon9IDvU-Zs8RYfuX0k

        Coudl you also confirm the value for :

        below
        Code:
        openvfd_gpio_clk = <0x3c 0x4c 0x0>;
        openvfd_gpio_dat = <0x3c 0x4b 0x0>;
        openvfd_gpio_stb = <0x3c 0x35 0x0>;

        I think it should be below based on tx92 based config :
        HTML Code:
        ttps://github.com/arthur-liberman/vfd-configurations/blob/master/tx92-vfd.conf
        vfd_gpio_clk='0,76,0'
        vfd_gpio_dat='0,75,0'
        vfd_gpio_stb='0,53,0'


        Code:
        openvfd_gpio_clk = <0x00 0x4c 0x00>;
        openvfd_gpio_dat = <0x00 0x4b 0x00>;
        openvfd_gpio_stb = <0x00 0x35 0x00>;


        openvfd {
        compatible = "open,vfd";
        dev_name = "openvfd";
        status = "okay";
        openvfd_gpio_clk = <0x00 0x4c 0x00>;
        openvfd_gpio_dat = <0x00 0x4b 0x00>;
        openvfd_gpio_stb = <0x00 0x35 0x00>;
        openvfd_chars = [04 03 02 01 00];
        openvfd_dot_bits = [00 01 03 02 04 05 06];
        openvfd_display_type = <0x1>;
        };​

        Comment


          #94
          Originally posted by soldiaz View Post
          ppromo47 could you share Multi Image Kitchen​ please

          Kindly note all the credit goes to : CryptoNick

          Comment


            #95
            Originally posted by ppromo47 View Post
            This is the link to ROM I am working on, I took the files from tx92 LP rom you shared earlier.
            https://mega.nz/file/X…XeWBon9IDvU-Zs8RYfuX0k

            Coudl you also confirm the value for :

            below
            Code:
            openvfd_gpio_clk = <0x3c 0x4c 0x0>;
            openvfd_gpio_dat = <0x3c 0x4b 0x0>;
            openvfd_gpio_stb = <0x3c 0x35 0x0>;

            I think it should be below based on tx92 based config :
            HTML Code:
            ttps://github.com/arthur-liberman/vfd-configurations/blob/master/tx92-vfd.conf
            vfd_gpio_clk='0,76,0'
            vfd_gpio_dat='0,75,0'
            vfd_gpio_stb='0,53,0'


            Code:
            openvfd_gpio_clk = <0x00 0x4c 0x00>;
            openvfd_gpio_dat = <0x00 0x4b 0x00>;
            openvfd_gpio_stb = <0x00 0x35 0x00>;


            openvfd {
            compatible = "open,vfd";
            dev_name = "openvfd";
            status = "okay";
            openvfd_gpio_clk = <0x00 0x4c 0x00>;
            openvfd_gpio_dat = <0x00 0x4b 0x00>;
            openvfd_gpio_stb = <0x00 0x35 0x00>;
            openvfd_chars = [04 03 02 01 00];
            openvfd_dot_bits = [00 01 03 02 04 05 06];
            openvfd_display_type = <0x1>;
            };​
            Code:
            openvfd_gpio_clk = <0x3c 0x4c 0x0>;
            openvfd_gpio_dat = <0x3c 0x4b 0x0>;
            openvfd_gpio_stb = <0x3c 0x35 0x0>;
            ​​right!

            Code:
            openvfd_gpio_clk = <0x00 0x4c 0x00>;
            openvfd_gpio_dat = <0x00 0x4b 0x00>;
            openvfd_gpio_stb = <0x00 0x35 0x00>;
            wrong!

            openvfd {
            compatible = "open,vfd";
            dev_name = "openvfd";
            status = "okay";
            openvfd_gpio_clk = <0x00 0x4c 0x00>;
            openvfd_gpio_dat = <0x00 0x4b 0x00>;
            openvfd_gpio_stb = <0x00 0x35 0x00>;
            openvfd_chars = [04 03 02 01 00];
            openvfd_dot_bits = [00 01 03 02 04 05 06];
            openvfd_display_type = <0x1>;

            wrong!


            0x3c = phandle value of &gpio bank, the dtc compiler does this automatically.
            You must not change anything here, otherwise it will not work. The only thing you have to do in dtb is to deactivate the serial@c11084dc node, as it grabs pin 76 (0x4c)

            Comment


              #96
              Originally posted by bumerc View Post

              Code:
              openvfd_gpio_clk = <0x3c 0x4c 0x0>;
              openvfd_gpio_dat = <0x3c 0x4b 0x0>;
              openvfd_gpio_stb = <0x3c 0x35 0x0>;
              ​​right!

              Code:
              openvfd_gpio_clk = <0x00 0x4c 0x00>;
              openvfd_gpio_dat = <0x00 0x4b 0x00>;
              openvfd_gpio_stb = <0x00 0x35 0x00>;
              wrong!

              openvfd {
              compatible = "open,vfd";
              dev_name = "openvfd";
              status = "okay";
              openvfd_gpio_clk = <0x00 0x4c 0x00>;
              openvfd_gpio_dat = <0x00 0x4b 0x00>;
              openvfd_gpio_stb = <0x00 0x35 0x00>;
              openvfd_chars = [04 03 02 01 00];
              openvfd_dot_bits = [00 01 03 02 04 05 06];
              openvfd_display_type = <0x1>;

              wrong!


              0x3c = phandle value of &gpio bank, the dtc compiler does this automatically.
              You must not change anything here, otherwise it will not work. The only thing you have to do in dtb is to deactivate the serial@c11084dc node, as it grabs pin 76 (0x4c)
              Thanks to you the frontled and ir remote now works you are a star.

              Comment


                #97
                Can you please share last compiled firmware, I've also a TX92 that i would like put back to work

                Comment


                  #98
                  Originally posted by enina View Post
                  Can you please share last compiled firmware, I've also a TX92 that i would like put back to work
                  bumerc is the creator of this ROM, please ask him to share. just avoiding plagurising

                  Comment


                    #99
                    bumerc can you share the latest compiled ROM with last changes? Or do you mind that ppromo47 share here their compilation?

                    Comment


                      Originally posted by enina View Post
                      bumerc can you share the latest compiled ROM with last changes? Or do you mind that ppromo47 share here their compilation?
                      The IMG will be posted here as soon as it is fully tested

                      Comment


                        If you want that I test something, I can also try to help. I'm not an expert but flash firmware and provide some logs from serial I can do.

                        Comment


                          Hi everyone, ronz98 - a very active builder - is looking for sources/blobs to build \e\ OS (aka deGoogled LOS) for "generic" Amlogic GXL/GXM devices: can someone help ?

                          Thanks in advance !​

                          Comment


                            Originally posted by forart.eu View Post
                            Hi everyone, ronz98 - a very active builder - is looking for sources/blobs to build \e\ OS (aka deGoogled LOS) for "generic" Amlogic GXL/GXM devices: can someone help ?

                            Thanks in advance !​
                            Source repo is available on github, make sure you search for correct keywords

                            Comment

                            Working...
                            X