Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

ATV9-MOD-(P212)AMPERE-V3

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

  • bumerc
    replied
    hannah
    Your WiFi chip will now be recognized properly, but there is still a problem with the FW, I will check the new changes more closely

    firmtech
    use remote.tab files, if you've created a working remote.tab, post it here, I'll add it to the next build

    Leave a comment:


  • bumerc
    replied
    sagert
    how does your device behave with working Frinware, does it slow down over time? What is the CPU temperature? The maximum clock frequency of your RAM memory is 800Mhz, I have set u-boot to 792Mhz for DDR3.
    Did you test the FE with a new kernel?

    Leave a comment:


  • sagert
    replied
    Click image for larger version

Name:	Photo0005.jpg
Views:	228
Size:	76.5 KB
ID:	803640Click image for larger version

Name:	Photo0009.jpg
Views:	211
Size:	77.3 KB
ID:	803641Click image for larger version

Name:	Photo0011.jpg
Views:	218
Size:	80.2 KB
ID:	803642Click image for larger version

Name:	Photo0010.jpg
Views:	211
Size:	61.5 KB
ID:	803643Click image for larger version

Name:	Photo0006_1.jpg
Views:	215
Size:	67.9 KB
ID:	803644Click image for larger version

Name:	Photo0006.jpg
Views:	208
Size:	67.9 KB
ID:	803645Click image for larger version

Name:	Photo0007.jpg
Views:	207
Size:	67.2 KB
ID:	803646Click image for larger version

Name:	Photo0008.jpg
Views:	207
Size:	67.4 KB
ID:	803647Click image for larger version

Name:	Photo0013.jpg
Views:	216
Size:	81.2 KB
ID:	803648Click image for larger version

Name:	Photo0012.jpg
Views:	214
Size:	69.0 KB
ID:	803650

    I have ddr3 2gb 16gb.I have not bought a uart adapter yet.
    Attached Files

    Leave a comment:


  • hannah
    replied
    Originally posted by bumerc View Post
    ok guys, thanks for the tests, tomorrow will continue..
    Your effort is highly appreciated.

    Leave a comment:


  • bumerc
    replied
    ok guys, thanks for the tests, tomorrow will continue..

    Leave a comment:


  • hannah
    replied
    Originally posted by bumerc View Post
    replace the vendor partition
    repack the aml_package _ *. img and try again

    edit: or update via vecovery: vendor.zip
    Hello, I now have updated the vendor.PARTITION and can confirm that Wifi is NOT working.

    Work Done:
    - My TV Box: Nexbox A95X 2GB/16GB S905X WIFI AP6330
    - Unpack Level 1
    - copied updated vendor.PARTITION
    - repack
    - Burn with USB Burning Tool and it was a success

    Attached is the combined diagnostic output of following commands

    Code:
    C:\opt\adb>adb connect 192.168.0.101:5555
    C:\opt\adb>adb root
    C:\opt\adb>adb shell dmesg > dmesg1
    C:\opt\adb>adb shell lsmod >> dmesg1
    C:\opt\adb>
    Attached Files

    Leave a comment:


  • firmtech
    replied
    Ok successful flash of this Rom. Got SSH working, still not joy with remote. Took my original remote.conf and copied to /vendor/etc/remote.cfg still only up and down buttons working. Then I copied remote.conf to /vendor/etc/remote1.tab still only up and down working. I'm probably doing something wrong. Here is my original remote.conf. Any help would be great. Thanks! Nice ROM!


    #************************************************* ************************************************** ******
    #this file is configuration for each factory remote device
    # work_mode 0 :software mode 1 :hardware mode
    # repeat_enable 0 :disable repeat 1 :enable repeat
    #
    # factory_code each device has it's unique factory code.
    # pattern:custom_code(16bit)+index_code(16bit)
    # examble: 0xff000001 = 0xff00(custom cod) 0001 (index)
    #
    # release_delay unit:ms.release will report from kernel to user layer after this period of time
    # from press or repeat triggered.
    #
    # debug_enable 0 :debug disable 1 :debug disable
    #
    # SW MODE:
    # bit_count how many bits in each frame
    # tw_leader_act time window for leader active
    # tw_bit0 time window for bit0 time.
    # tw_bit1 time window for bit1 time
    # tw_repeat_leader time window for repeat leader
    # REG
    # reg_base_gen set value for PREG_IR_DEC_BASE_GEN
    # reg_control set value for PREG_IR_DEC_CONTROL
    # reg_leader_act set value for PREG_IR_DEC_LEADER_ACTIVE
    # reg_leader_idle set value for PREG_IR_DEC_LEADER_IDLE
    # reg_repeat_leader set value for PREG_IR_DEC_REPEAT_IDLE
    # reg_bit0_time set value for PREG_IR_DEC_BIT0_TIME
    #************************************************* ************************************************** **********
    #amlogic NEC remote
    factory_code = 0xfe010001
    work_mode = 0
    repeat_enable = 1
    repeat_delay = 40
    repeat_peroid = 39
    release_delay = 121
    debug_enable = 1

    fn_key_scancode = 0x00
    left_key_scancode = 0x51
    right_key_scancode = 0x50
    up_key_scancode = 0x16
    down_key_scancode = 0x1a
    ok_key_scancode = 0x13
    pageup_key_scancode = 0x55
    pagedown_key_scancode = 0x54

    mouse_begin
    0 0x51
    1 0x50
    2 0x16
    3 0x1a
    mouse_end

    key_begin
    0x01 11
    0x4e 2
    0x0d 3
    0x0c 4
    0x4a 5
    0x09 6
    0x08 7
    0x46 8
    0x05 9
    0x04 10
    0x13 97
    0x19 15
    0x42 14
    0x16 103
    0x1a 108
    0x51 105
    0x50 106
    0x18 102
    0x11 104
    0x4c 109
    0x10 125
    0x5a 119
    0x59 122
    0x52 128
    0x58 123
    0x54 120
    0x55 121
    0x40 116
    0x41 113
    0x45 130
    0x49 134
    0x0a 133
    0x48 138
    0x4d 70
    0x0e 136
    0x0f 186
    0x43 183
    0x03 127
    0x06 139
    0x44 140
    0x00 63
    0x02 395
    key_end
    repeat_key_begin
    0x01 11
    0x4e 2
    0x0d 3
    0x0c 4
    0x4a 5
    0x09 6
    0x08 7
    0x46 8
    0x05 9
    0x04 10
    0x13 97
    0x19 15
    0x42 14
    0x16 103
    0x1a 108
    0x51 105
    0x50 106
    0x18 102
    0x11 104
    0x4c 109
    0x10 125
    0x5a 119
    0x59 122
    0x52 128
    0x58 123
    0x54 120
    0x55 121
    0x40 116
    0x41 113
    0x45 130
    0x49 134
    0x0a 133
    0x48 138
    0x4d 70
    0x0e 136
    0x0f 186
    0x43 183
    0x03 127
    0x06 139
    0x44 140
    0x00 63
    0x02 395
    repeat_key_end

    Leave a comment:


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

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

    Leave a comment:


  • hannah
    replied
    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

    Leave a comment:


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

    Leave a comment:


  • hannah
    replied
    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 #

    Leave a comment:


  • bumerc
    replied
    hannah
    what does lsmod say?
    Code:
    lsmod

    Leave a comment:


  • hannah
    replied
    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

    Leave a comment:


  • hannah
    replied
    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

    Leave a comment:


  • bumerc
    replied
    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.

    Leave a comment:

Working...
X