Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

ATV9-MOD-(P212)AMPERE-V3

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

    #91
    Originally posted by bumerc View Post
    Code:
    su
    Code:
    dd if=/dev/block/mmcblk0 of=/sdcard/ddr_clk.bin bs=1 count=2 skip=41482
    Code:
    hexdump -e '"%d"' /sdcard/ddr_clk.bin
    note: this command may not work if the bootloader was compiled with the option of automatic recognition of RAM
    Only this happened.Probably empty.

    ddr_clk.zip

    Comment


      #92
      sagert
      just take a photo, I'm not at home to check your dump

      Comment


        #93
        Originally posted by bumerc View Post
        your total RAM is 512MB, your device is not supported
        Interesting, I thought this device was 1g. Maybe I'll get lucky if I keep trying.
        You may only view thumbnails in this gallery. This gallery has 1 photos.

        Comment


          #94
          well, but without the log of the original bootloader I can’t do anything. Look in the forum how to make TTL-Log

          Comment


            #95
            Originally posted by bumerc View Post
            well, but without the log of the original bootloader I can’t do anything. Look in the forum how to make TTL-Log
            I am able to output the serial data. Stops at loading the kernel. Maybe there is a glimmer of hope. I also have the original backup made with twrp which includes the boxes original boot.emmc.win file. Just not sure how to write data in serial mode.
            Attached Files
            Last edited by firmtech; 04-25-2020, 17:37.

            Comment


              #96
              Back up and running. Used serial connection to fix. Created an sd card with known working ROM using Burn Card Maker. Connect serial adapter using GND RX TX terminals on s905x. TX from serial adapter goes to RX on s905x, RX from serial adapter goes to TX on s905x board. Open Putty, hit enter before kernel locks up box. This gives a working prompt in terminal. Type sdc_burn aml_sdc_burn.ini it flashes known good rom. Reboot and back up and running. Hopefully this will help others. Sagert, running your ROM again!

              Comment


                #97
                For AP6330 devices owners, please test and leave a feedback.

                - Kernel
                - dtb
                - dhd module
                - vendor partition
                were recompiled from the source code and completely exchanged.
                (WiFi FW 40143 added as default)

                ATV9-IMG-DEBUG-AMPERE-AP6330-V3

                firmtech
                You could also test the new kernel..
                To update from the SD card, a simple "run update" in the u-boot terminal is sufficient

                Comment


                  #98
                  Originally posted by firmtech View Post

                  I am able to output the serial data. Stops at loading the kernel. Maybe there is a glimmer of hope. I also have the original backup made with twrp which includes the boxes original boot.emmc.win file. Just not sure how to write data in serial mode.
                  this is not the log from the stock u-boot.

                  Comment


                    #99
                    Originally posted by bumerc View Post
                    For AP6330 devices owners, please test and leave a feedback.

                    - Kernel
                    - dtb
                    - dhd module
                    - vendor partition
                    were recompiled from the source code and completely exchanged.
                    (WiFi FW 40143 added as default)
                    I will test this shortly and shall provide an update here.
                    Thank you

                    Comment


                      Originally posted by bumerc View Post
                      For AP6330 devices owners, please test and leave a feedback.
                      Hello, I now have tested this ROM and can confirm that Wifi is NOT working.

                      Work Done:
                      - My TV Box: Nexbox A95X 2GB/16GB S905X WIFI AP6330
                      - Downloaded this rom:

                      - Burn with USB Burning Tool and it was a success
                      - Fix remote with this instruction
                      https://forum.freaktab.com/forum/tv-...329#post803329

                      Issue: Wifi Does NOT work

                      Diagnostic output via adb:

                      Code:
                      C:\opt\adb>adb shell
                      ampere:/ # dmesg | grep chip
                      [    0.227064] Meson chip version = RevB (21:B - 82:0)
                      [    1.149050] hdmitx: system: hdmitx_device.chip_type : 3
                      [    1.345948] chip type:0x21
                      [    7.194370] The chip is not support hevc encoder
                      [    9.977097] F1 signature OK, socitype:0x1 chip:0x4330 rev:0x4 pkg:0x0
                      [    9.992194] dhd_conf_set_chiprev: chip=0x4330, chiprev=4
                      
                      ampere:/ # dmesg | grep wifi
                      [    0.000000] Kernel command line: init=/init console=ttyS0,115200 no_console_suspend earlycon=aml_uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 otg_device=1 reboot_mode_android=normal androidboot.selinux=permissive logo=osd1,loaded,0x3d800000,1080p60hz maxcpus=4 vout=1080p60hz,enable hdmimode=1080p60hz frac_rate_policy=1 cvbsmode=576cvbs hdmitx=,444,8bit cvbsdrv=0 irq_check_en=0 androidboot.firstboot=0 jtag=apao androidboot.veritymode=enforcing androidboot.hardware=amlogic page_trace=on androidboot.rpmb_state=0 androidboot.serialno=1234567890 androidboot.wificountrycode=US ro rootwait skip_initramfs androidboot.dtbo_idx=0 --cmdline root=/dev/mmcblk0p18 buildvariant=userdebug
                      [    1.594791] wifi: power_on_pin_OD = 0;
                      [    1.597192] aml_wifi wifi: [wifi_dev_probe] no power_on_pin2
                      [    1.603098] aml_wifi wifi: [pwm_double_channel_conf_dt] wifi pwm dt ok
                      [    1.609819] aml_wifi wifi: [pwm_double_channel_conf] wifi pwm conf ok
                      [    1.616415] aml_wifi wifi: [wifi_dev_probe] dhd_static_buf setup
                      [    1.636623] aml_wifi wifi: [wifi_dev_probe] interrupt_pin=487
                      [    1.642609] aml_wifi wifi: [wifi_dev_probe] irq_num=0, irq_trigger_type=1
                      [    1.649570] aml_wifi wifi: [wifi_dev_probe] power_on_pin=486
                      [    1.655459] aml_wifi wifi: [wifi_dev_probe] clock_32k_pin=0
                      [    1.661472] aml_wifi wifi: [wifi_setup_dt] wifi_setup_dt
                      [    1.666846] aml_wifi wifi: [wifi_setup_dt] irq num is:(64)
                      [    1.672454] aml_wifi wifi: [wifi_setup_dt] interrupt_pin(487)
                      [    1.678386] aml_wifi wifi: [wifi_setup_dt] power_on_pin(486)
                      [    8.968282] dhd_wifi_platform_load: Enter
                      [    8.977354] wifi_platform_set_power = 1
                      [    8.986756] aml_wifi wifi: [extern_wifi_set_enable] WIFI  Disable! 486
                      [    9.194503] aml_wifi wifi: [extern_wifi_set_enable] WIFI  Enable! 486
                      [    9.703353] wifi_platform_bus_enumerate device present 1
                      [   10.232545] wifi_platform_set_power = 0
                      
                      ampere:/vendor/etc/wifi # ls -l
                      total 12
                      drwxr-xr-x 2 root shell 4096 2020-04-26 06:36 40183
                      -rw-r--r-- 1 root root   106 2020-04-26 06:36 p2p_supplicant_overlay.conf
                      -rw-r--r-- 1 root root    81 2020-04-26 06:36 wpa_supplicant.conf
                      ampere:/vendor/etc/wifi #
                      Thank you for your effort.

                      Regards
                      Hannah

                      Comment


                        hannah
                        what does lsmod say?
                        Code:
                        lsmod

                        Comment


                          Originally posted by bumerc View Post
                          hannah
                          what does lsmod say?
                          Code:
                          lsmod
                          Here is the required output via adb:

                          Code:
                          ampere:/vendor/etc/wifi # lsmod
                          Module                  Size  Used by
                          dhd                  1327104  0
                          encoder                45056  0
                          amvdec_avs2           176128  0
                          amvdec_vp9            139264  0
                          amvdec_vc1             49152  0
                          amvdec_real            32768  0
                          amvdec_mmpeg4          32768  0
                          amvdec_mpeg4           49152  0
                          amvdec_mmpeg12         36864  0
                          amvdec_mpeg12          81920  0
                          amvdec_mmjpeg          24576  0
                          amvdec_mjpeg           32768  0
                          amvdec_h265           126976  0
                          amvdec_h264mvc         49152  0
                          amvdec_mh264          147456  0
                          amvdec_h264           114688  0
                          amvdec_avs             57344  0
                          stream_input          155648  10 amvdec_avs2,amvdec_vp9,amvdec_real,amvdec_mmpeg12,amvdec_mpeg12,amvdec_h265,amvdec_h264mvc,amvdec_mh264,amvdec_h264,amvdec_avs
                          decoder_common        151552  17 encoder,amvdec_avs2,amvdec_vp9,amvdec_vc1,amvdec_real,amvdec_mmpeg4,amvdec_mpeg4,amvdec_mmpeg12,amvdec_mpeg12,amvdec_mmjpeg,amvdec_mjpeg,amvdec_h265,amvdec_h264mvc,amvdec_mh264,amvdec_h264,amvdec_avs,stream_input
                          firmware               24576  18 encoder,amvdec_avs2,amvdec_vp9,amvdec_vc1,amvdec_real,amvdec_mmpeg4,amvdec_mpeg4,amvdec_mmpeg12,amvdec_mpeg12,amvdec_mmjpeg,amvdec_mjpeg,amvdec_h265,amvdec_h264mvc,amvdec_mh264,amvdec_h264,amvdec_avs,stream_input,decoder_common
                          media_clock            36864  11 encoder,amvdec_avs2,amvdec_vp9,amvdec_mpeg12,amvdec_h265,amvdec_mh264,amvdec_h264,amvdec_avs,stream_input,decoder_common,firmware
                          tb_detect              20480  0
                          mali                  290816  31
                          ampere:/vendor/etc/wifi #

                          Comment


                            ok, please attach the full dmesg log in a text file

                            Comment


                              Originally posted by bumerc View Post
                              ok, please attach the full dmesg log in a text file
                              Command run:

                              Code:
                              C:\opt\adb>adb shell dmesg > dmesg
                              Attached Files

                              Comment


                                replace the vendor partition
                                repack the aml_package _ *. img and try again

                                edit: or update via vecovery: vendor.zip
                                Last edited by bumerc; 04-25-2020, 23:11.

                                Comment

                                Working...
                                X