Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Interesting stuff! sys config file

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

    Interesting stuff! sys config file

    So as I am learning more about modding A80 I have been looking at sys config.

    FYI, I can also now change partition sizes. /system is huge and it doesn't need to be!

    Anyway for those that want to see all kinds of goodies we can mess with.... have a look at this file.

    sys_config.txt

    Bob
    "Pzebacz im, bo nie wiedzą, co czynią"
    "Прости им, они не ведают, что творят"
    "Perdona loro perché non sanno quello che fanno"
    "Vergib ihnen, denn sie wissen nicht, was sie tun"
    "Vergeef hen want ze weten niet wat ze doen"
    "Pardonne-leur car ils ne savent pas ce qu'ils font"
    "Perdónalos porque no saben que lo que hacen"
    "Oprosti im, jer ne znaju što čine"
    "Forgive them as they know not what they do"






    #2
    Frame buffer!

    So... maybe this is why 720 does not skip but 1080 does?

    Config shows the frame buffers are set for 720 not 1080!

    ;----------------------------------------------------------------------------------
    ;disp init configuration
    ;
    ;disp_mode (0:screen0<screen0,fb0>;1:<screen1,fb0>)
    ;screenx_output_type (0:none; 1:lcd; 3:hdmi
    ;screenx_output_mode (used for hdmi output, 0:480i 1:576i 2:480p 3:576p 4:720p50)
    ; (5:720p60 6:1080i50 7:1080i60 8:1080p24 9:1080p50 10:1080p60)
    ;fbx format (0:ARGB 1:ABGR 2:RGBA 3:BGRA)
    ;fbx_width,fbx_height (framebuffer horizontal/vertical pixels, fix to output resolution while equal 0)
    ;lcdx_backlight (lcd init backlight,the range:[0,256],default:197
    ;lcdx_yy (lcd init screen bright/contrast/saturation/hue, value:0~100, default:50/50/57/50)
    ;----------------------------------------------------------------------------------
    [disp_init]
    disp_composer_mode = 1

    disp_init_enable = 1
    disp_mode = 1

    screen0_output_type = 1
    screen0_output_mode = 0

    screen1_output_type = 3
    screen1_output_mode = 10

    fb0_format = 0
    fb0_scaler_mode_enable = 1
    fb0_width = 1280
    fb0_height = 720


    fb1_format = 0
    fb1_scaler_mode_enable = 0
    fb1_width = 0
    fb1_height = 0

    fb2_format = 0
    fb2_scaler_mode_enable = 0
    fb2_width = 0
    fb2_height = 0

    lcd0_backlight = 197
    lcd1_backlight = 197

    lcd0_bright = 50
    lcd0_contrast = 50
    lcd0_saturation = 57
    lcd0_hue = 50

    lcd1_bright = 50
    lcd1_contrast = 50
    lcd1_saturation = 57
    lcd1_hue = 50
    "Pzebacz im, bo nie wiedzą, co czynią"
    "Прости им, они не ведают, что творят"
    "Perdona loro perché non sanno quello che fanno"
    "Vergib ihnen, denn sie wissen nicht, was sie tun"
    "Vergeef hen want ze weten niet wat ze doen"
    "Pardonne-leur car ils ne savent pas ce qu'ils font"
    "Perdónalos porque no saben que lo que hacen"
    "Oprosti im, jer ne znaju što čine"
    "Forgive them as they know not what they do"





    Comment


      #3
      Never mind.... I see the config supports 2 displays. a LCD and HDMI. FB0 is LCD and FB1 is the HDMI.

      per the comments it says if it is 0 it is fixed to output resolution.
      Hmmm.... I wonder if I can force a larger frame buffer.

      Bob
      "Pzebacz im, bo nie wiedzą, co czynią"
      "Прости им, они не ведают, что творят"
      "Perdona loro perché non sanno quello che fanno"
      "Vergib ihnen, denn sie wissen nicht, was sie tun"
      "Vergeef hen want ze weten niet wat ze doen"
      "Pardonne-leur car ils ne savent pas ce qu'ils font"
      "Perdónalos porque no saben que lo que hacen"
      "Oprosti im, jer ne znaju što čine"
      "Forgive them as they know not what they do"





      Comment


        #4
        Isn't that for first boot only ?

        Changing partitions should be the same procedure that works for older SoC's, right ?

        Tapatalked
        if [ $up.post.type = $type.two.lazy.to_use_google ] || [ $up.post.type = $type.silly_question ];
        then mv $user.contact.up.post /.trash; set response($response.type = ignore);
        $user.up.post.ignore_in_future = true; fi;

        Comment


          #5
          Originally posted by Finless View Post
          Never mind.... I see the config supports 2 displays. a LCD and HDMI. FB0 is LCD and FB1 is the HDMI.

          per the comments it says if it is 0 it is fixed to output resolution.
          Hmmm.... I wonder if I can force a larger frame buffer.

          Bob
          A larger frame buffer sounds promising. There is something natively wrong about how Draco handles 1080p.

          Comment


            #6
            ADB host OTG

            So one thing I hated with this box is no ADB. While we do have a OTG for flashing ROM's I could not get it to turn on ADB debugging.

            Well I am going to play with this!

            As you see none of the ports are configured as OTG.

            Bob


            ;--------------------------------
            ;[usbc0]:控制器0的配置。
            ;usb_used:USB使能标志。置1,表示系统中USB模块可用,置0,则表示系统USB禁用。
            ;usb_port_type:USB端口的使用情况。 0:device only;1:host only;2:OTG
            ;usb_detect_type:USB端口的检查方式。0:不做检测;1:vbus/id检查;2:id/dpdm检查
            ;usb_id_gpio:USB ID pin脚配置。具体请参考gpio配置说明。
            ;usb_det_vbus_gpio:USB DET_VBUS pin脚配置。具体请参考gpio配置说明。
            ;usb_drv_vbus_gpio:USB DRY_VBUS pin脚配置。具体请参考gpio配置说明。
            ;usb_det_vbus_gpio: "axp_ctrl",表示axp 提供
            ;usb_restrict_gpio usb限流控制pin
            ;usb_restric_flag: usb限流标置
            ;--------------------------------
            ;--------------------------------
            ;--- USB0控制标志
            ;--------------------------------
            [usbc0]
            usb_used = 1
            usb_port_type = 1
            usb_detect_type = 0
            usb_id_gpio =
            usb_det_vbus_gpio =
            usb_drv_vbus_gpio = port:PH15<1><0><default><0>
            usb_restrict_gpio =
            usb_host_init_state = 0
            usb_restric_flag = 0
            usb_restric_voltage = 3550000
            usb_restric_capacity= 5

            ;--------------------------------
            ;--- USB1控制标志
            ;--------------------------------
            [usbc1]
            usb_used = 1
            usb_port_type = 1
            usb_detect_type = 0
            usb_drv_vbus_gpio = port:PL7<1><0><default><0>
            usb_restrict_gpio =
            usb_host_init_state = 1
            usb_restric_flag = 0
            usb_not_suspend = 0

            ;--------------------------------
            ;--- USB2控制标志
            ;--------------------------------
            [usbc2]
            usb_used = 0
            usb_port_type = 1
            usb_detect_type = 0
            usb_drv_vbus_gpio =
            usb_restrict_gpio =
            usb_host_init_state = 1
            usb_restric_flag = 0
            usb_not_suspend = 0

            ;--------------------------------
            ;--- USB3控制标志
            ;--------------------------------
            [usbc3]
            usb_used = 1
            usb_port_type = 1
            usb_detect_type = 0
            usb_drv_vbus_gpio = port:PL8<1><0><default><0>
            usb_restrict_gpio =
            usb_host_init_state = 1
            usb_restric_flag = 0
            usb_not_suspend = 0

            ;--------------------------------
            ;--- USB Device
            ;--------------------------------
            [usb_feature]
            vendor_id = 0x18D1
            mass_storage_id = 0x0001
            adb_id = 0x0002

            manufacturer_name = "USB Developer"
            product_name = "Android"
            serial_number = "20080411"

            [msc_feature]
            vendor_name = "USB 2.0"
            product_name = "USB Flash Driver"
            release = 100
            luns = 3

            [serial_feature]
            serial_unique = 0
            "Pzebacz im, bo nie wiedzą, co czynią"
            "Прости им, они не ведают, что творят"
            "Perdona loro perché non sanno quello che fanno"
            "Vergib ihnen, denn sie wissen nicht, was sie tun"
            "Vergeef hen want ze weten niet wat ze doen"
            "Pardonne-leur car ils ne savent pas ce qu'ils font"
            "Perdónalos porque no saben que lo que hacen"
            "Oprosti im, jer ne znaju što čine"
            "Forgive them as they know not what they do"





            Comment


              #7
              Originally posted by abdul_pt View Post
              Isn't that for first boot only ?

              Changing partitions should be the same procedure that works for older SoC's, right ?

              Tapatalked
              In a way yes. we have no script0.bin. It is now called sys_partition.fex and then the binary is sunxi_mbr.fex.
              So yes I tested and you can use the Linux binaries script and update_mbr on this and it works.

              Bob
              "Pzebacz im, bo nie wiedzą, co czynią"
              "Прости им, они не ведают, что творят"
              "Perdona loro perché non sanno quello che fanno"
              "Vergib ihnen, denn sie wissen nicht, was sie tun"
              "Vergeef hen want ze weten niet wat ze doen"
              "Pardonne-leur car ils ne savent pas ce qu'ils font"
              "Perdónalos porque no saben que lo que hacen"
              "Oprosti im, jer ne znaju što čine"
              "Forgive them as they know not what they do"





              Comment


                #8
                Overclocking anyone?

                Seems we may be able to overclock at some point!


                ;----------------------------------------------------------------------------------
                ; dvfs voltage-frequency table configuration
                ;
                ; there are two clusters, cluster0 and cluster1, they have diffrent configuration
                ; on frequency and voltage.
                ;
                ; max_freq: cpu maximum frequency, based on Hz
                ; min_freq: cpu minimum frequency, based on Hz
                ;
                ; LV_count: count of LV_freq/LV_volt, must be < 16
                ;
                ; L_LV1: core vdd is 1.02v if cpu frequency is (1128Mhz, 1200Mhz]
                ; L_LV2: core vdd is 0.96v if cpu frequency is (1008Mhz, 1128Mhz]
                ; L_LV3: core vdd is 0.90v if cpu frequency is ( 864Mhz, 1008Mhz]
                ; L_LV4: core vdd is 0.84v if cpu frequency is ( 0Mhz, 864Mhz]
                ; L_LV5: core vdd is 0.84v if cpu frequency is ( 0Mhz, 864Mhz]
                ; L_LV6: core vdd is 0.84v if cpu frequency is ( 0Mhz, 864Mhz]
                ; L_LV7: core vdd is 0.84v if cpu frequency is ( 0Mhz, 864Mhz]
                ; L_LV8: core vdd is 0.84v if cpu frequency is ( 0Mhz, 864Mhz]
                ;
                ; B_LV1: core vdd is 1.08v if cpu frequency is (1608Mhz, 1800Mhz]
                ; B_LV2: core vdd is 1.00v if cpu frequency is (1536Mhz, 1608Mhz]
                ; B_LV3: core vdd is 0.96v if cpu frequency is (1440Mhz, 1536Mhz]
                ; B_LV4: core vdd is 0.90v if cpu frequency is (1296Mhz, 1440Mhz]
                ; B_LV5: core vdd is 0.84v if cpu frequency is ( 0Mhz, 1296Mhz]
                ; B_LV6: core vdd is 0.84v if cpu frequency is ( 0Mhz, 1296Mhz]
                ; B_LV7: core vdd is 0.84v if cpu frequency is ( 0Mhz, 1296Mhz]
                ; B_LV8: core vdd is 0.84v if cpu frequency is ( 0Mhz, 1296Mhz]
                ;
                ;----------------------------------------------------------------------------------
                [dvfs_table]
                vf_table_count = 3

                [vf_table0]
                ;little
                L_max_freq = 1200000000
                L_min_freq = 480000000

                L_LV_count = 8

                L_LV1_freq = 1200000000
                L_LV1_volt = 1020

                L_LV2_freq = 1104000000
                L_LV2_volt = 960

                L_LV3_freq = 1008000000
                L_LV3_volt = 900

                L_LV4_freq = 816000000
                L_LV4_volt = 840

                L_LV5_freq = 0
                L_LV5_volt = 840

                L_LV6_freq = 0
                L_LV6_volt = 840

                L_LV7_freq = 0
                L_LV7_volt = 840

                L_LV8_freq = 0
                L_LV8_volt = 840

                ;big
                B_max_freq = 1800000000
                B_min_freq = 600000000

                B_LV_count = 8

                B_LV1_freq = 2016000000
                B_LV1_volt = 1200

                B_LV2_freq = 1800000000
                B_LV2_volt = 1100

                B_LV3_freq = 1608000000
                B_LV3_volt = 1000

                B_LV4_freq = 1200000000
                B_LV4_volt = 900

                B_LV5_freq = 0
                B_LV5_volt = 900

                B_LV6_freq = 0
                B_LV6_volt = 900

                B_LV7_freq = 0
                B_LV7_volt = 900

                B_LV8_freq = 0
                B_LV8_volt = 900

                [vf_table1]
                ;little
                L_max_freq = 1200000000
                L_min_freq = 480000000

                L_LV_count = 8

                L_LV1_freq = 1200000000
                L_LV1_volt = 1060

                L_LV2_freq = 1008000000
                L_LV2_volt = 960

                L_LV3_freq = 912000000
                L_LV3_volt = 900

                L_LV4_freq = 720000000
                L_LV4_volt = 840

                L_LV5_freq = 0
                L_LV5_volt = 840

                L_LV6_freq = 0
                L_LV6_volt = 840

                L_LV7_freq = 0
                L_LV7_volt = 840

                L_LV8_freq = 0
                L_LV8_volt = 840

                ;big
                B_max_freq = 1608000000
                B_min_freq = 600000000

                B_LV_count = 8

                B_LV1_freq = 1608000000
                B_LV1_volt = 1100

                B_LV2_freq = 1416000000
                B_LV2_volt = 1000

                B_LV3_freq = 1200000000
                B_LV3_volt = 900

                B_LV4_freq = 1008000000
                B_LV4_volt = 840

                B_LV5_freq = 0
                B_LV5_volt = 900

                B_LV6_freq = 0
                B_LV6_volt = 900

                B_LV7_freq = 0
                B_LV7_volt = 900

                B_LV8_freq = 0
                B_LV8_volt = 900

                [vf_table2]
                ;little
                L_max_freq = 1200000000
                L_min_freq = 480000000

                L_LV_count = 8

                L_LV1_freq = 1200000000
                L_LV1_volt = 1020

                L_LV2_freq = 1104000000
                L_LV2_volt = 960

                L_LV3_freq = 1008000000
                L_LV3_volt = 900

                L_LV4_freq = 816000000
                L_LV4_volt = 840

                L_LV5_freq = 0
                L_LV5_volt = 840

                L_LV6_freq = 0
                L_LV6_volt = 840

                L_LV7_freq = 0
                L_LV7_volt = 840

                L_LV8_freq = 0
                L_LV8_volt = 840

                ;big
                B_max_freq = 1800000000
                B_min_freq = 600000000

                B_LV_count = 8

                B_LV1_freq = 2016000000
                B_LV1_volt = 1200

                B_LV2_freq = 1800000000
                B_LV2_volt = 1100

                B_LV3_freq = 1608000000
                B_LV3_volt = 1000

                B_LV4_freq = 1200000000
                B_LV4_volt = 900

                B_LV5_freq = 0
                B_LV5_volt = 900

                B_LV6_freq = 0
                B_LV6_volt = 900

                B_LV7_freq = 0
                B_LV7_volt = 900

                B_LV8_freq = 0
                B_LV8_volt = 900
                "Pzebacz im, bo nie wiedzą, co czynią"
                "Прости им, они не ведают, что творят"
                "Perdona loro perché non sanno quello che fanno"
                "Vergib ihnen, denn sie wissen nicht, was sie tun"
                "Vergeef hen want ze weten niet wat ze doen"
                "Pardonne-leur car ils ne savent pas ce qu'ils font"
                "Perdónalos porque no saben que lo que hacen"
                "Oprosti im, jer ne znaju što čine"
                "Forgive them as they know not what they do"





                Comment


                  #9
                  Memory OC too!

                  ;----------------------------------------------------------------------------------
                  ; dram dvfs voltage-frequency table configuration
                  ;
                  ; LV_count: count of LV_freq/LV_volt
                  ;
                  ; LV1: core vdd is 0.90v if dram frequency is (360Mhz, 672Mhz]
                  ; LV2: core vdd is 0.84v if dram frequency is ( 0Mhz, 168Mhz]
                  ; LV3: core vdd is 0.84v if dram frequency is ( 0Mhz, 168Mhz]
                  ;
                  ;----------------------------------------------------------------------------------
                  [dram_dvfs_table]
                  LV_count = 3

                  LV1_freq = 672000000
                  LV1_volt = 900

                  LV2_freq = 168000000
                  LV2_volt = 840

                  LV3_freq = 0
                  LV3_volt = 840
                  "Pzebacz im, bo nie wiedzą, co czynią"
                  "Прости им, они не ведают, что творят"
                  "Perdona loro perché non sanno quello che fanno"
                  "Vergib ihnen, denn sie wissen nicht, was sie tun"
                  "Vergeef hen want ze weten niet wat ze doen"
                  "Pardonne-leur car ils ne savent pas ce qu'ils font"
                  "Perdónalos porque no saben que lo que hacen"
                  "Oprosti im, jer ne znaju što čine"
                  "Forgive them as they know not what they do"





                  Comment


                    #10
                    Interesting part about memory!

                    If I read this correct during video play Dram is slower?

                    ;----------------------------------------------------------------------------------
                    ; dram scene frequency table configuration
                    ;
                    ; LV_count: count of LV_scene/LV_freq
                    ;
                    ; LV1: dram frequency default is 480MHz in home, supported for 480MHz/672MHz
                    ; LV2: dram frequency default is 240MHz in video play, supported for 240MHz/336MHz/480MHz/672MHz
                    ; LV3: dram frequency default is 168MHz in bgmusic play
                    ; LV4: dram frequency default is 480MHz in 4K video play, supported for 480MHz/672MHz
                    ;
                    ;----------------------------------------------------------------------------------
                    [dram_scene_table]
                    LV_count = 4

                    LV1_scene = 1
                    LV1_freq = 480000000

                    LV2_scene = 2
                    LV2_freq = 240000000

                    LV3_scene = 3
                    LV3_freq = 168000000

                    LV4_scene = 4
                    LV4_freq = 480000000
                    "Pzebacz im, bo nie wiedzą, co czynią"
                    "Прости им, они не ведают, что творят"
                    "Perdona loro perché non sanno quello che fanno"
                    "Vergib ihnen, denn sie wissen nicht, was sie tun"
                    "Vergeef hen want ze weten niet wat ze doen"
                    "Pardonne-leur car ils ne savent pas ce qu'ils font"
                    "Perdónalos porque no saben que lo que hacen"
                    "Oprosti im, jer ne znaju što čine"
                    "Forgive them as they know not what they do"





                    Comment


                      #11
                      ADB works fine with mine over WiFi perhaps its just the USB that is not working?

                      Comment


                        #12
                        Originally posted by alwaysbless View Post
                        ADB works fine with mine over WiFi perhaps its just the USB that is not working?
                        Yes ADB over wifi works fine but if you making ROMs you don't want to keep setting that up just to push files!

                        Bob
                        "Pzebacz im, bo nie wiedzą, co czynią"
                        "Прости им, они не ведают, что творят"
                        "Perdona loro perché non sanno quello che fanno"
                        "Vergib ihnen, denn sie wissen nicht, was sie tun"
                        "Vergeef hen want ze weten niet wat ze doen"
                        "Pardonne-leur car ils ne savent pas ce qu'ils font"
                        "Perdónalos porque no saben que lo que hacen"
                        "Oprosti im, jer ne znaju što čine"
                        "Forgive them as they know not what they do"





                        Comment


                          #13
                          WOW !

                          Originally posted by Finless View Post
                          So... maybe this is why 720 does not skip but 1080 does?

                          Config shows the frame buffers are set for 720 not 1080!
                          :
                          Maybe because of
                          Originally posted by abdul_pt View Post
                          Isn't that for first boot only ?
                          :

                          THAT would be nice if we can fix it this way:
                          Originally posted by Finless View Post
                          So one thing I hated with this box is no ADB. While we do have a OTG for flashing ROM's I could not get it to turn on ADB debugging.

                          Well I am going to play with this!

                          As you see none of the ports are configured as OTG.
                          :

                          Seems so, I think so too, but why do they do so, because we are not at battery!
                          Originally posted by Finless View Post
                          Interesting part about memory!

                          If I read this correct during video play Dram is slower?
                          :
                          RK3288 Devices
                          - Overview BOX (LINK !)
                          - Overview STICK (Dongle) (LINK !)

                          MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
                          UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
                          Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
                          Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

                          RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
                          Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

                          Comment


                            #14
                            Originally posted by Finless View Post
                            Yes ADB over wifi works fine but if you making ROMs you don't want to keep setting that up just to push files!

                            Bob
                            BTW
                            Because I hope the Draco will arrives tomorrow:
                            Do I only have to go to 'Settings\System\Developer Options' and turn on 'ADB debugging' to be able to execute 'adb connect <dev-IP>:5555' or do I have to do something more (e.g. build.prop or install an apk)?
                            RK3288 Devices
                            - Overview BOX (LINK !)
                            - Overview STICK (Dongle) (LINK !)

                            MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
                            UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
                            Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
                            Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

                            RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
                            Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

                            Comment


                              #15
                              Originally posted by no_spam_for_me View Post
                              BTW
                              Because I hope the Draco will arrives tomorrow:
                              Do I only have to go to 'Settings\System\Developer Options' and turn on 'ADB debugging' to be able to execute 'adb connect <dev-IP>:5555' or do I have to do something more (e.g. build.prop or install an apk)?
                              You turn on developer mode, install ADB over wifi APP from google play, then it will work.

                              Bob
                              "Pzebacz im, bo nie wiedzą, co czynią"
                              "Прости им, они не ведают, что творят"
                              "Perdona loro perché non sanno quello che fanno"
                              "Vergib ihnen, denn sie wissen nicht, was sie tun"
                              "Vergeef hen want ze weten niet wat ze doen"
                              "Pardonne-leur car ils ne savent pas ce qu'ils font"
                              "Perdónalos porque no saben que lo que hacen"
                              "Oprosti im, jer ne znaju što čine"
                              "Forgive them as they know not what they do"





                              Comment

                              Working...
                              X