Posts by bumerc

    Please try this build with an updated AP6212A firmware:

    LibreELEC-S905.arm-8.2-devel-20171218210303-r26477-gd8bc7f1.tar

    Please note that I have no way to test it (no AP6212A box here) and WiFi might not work at all - if this is the case, simply downgrade to any 8.1.x or 8.2.x you want by placing tar file in .update folder.

    Hi kszaq,

    Thank you for the update. I have the same problem with the same chip AP6212a. (Device Maxelsa max-e, S905X, 8G / 2G)

    After about 40 / 45min it comes back to the same error.

    dmesg

    kszaq

    I have the X96 Mini (AML-S905W, p281), DDR3: 2GB, Flash: eMMC 16MB, SW on eMMC: Android 7.1.2

    -Boot from sd with gxl_p212_2g.dtb works fine

    -SW: LE-8.2.0.1 works fine

    -Remote: works fine

    -Video Stream: PVR-Simple, Plex.. works fine

    -WIFI: (chip ssv6051) does not work, but I know that it is not supported in your build

    it's time to officially support this Device:)

    Hi kszaq

    I have a small problem with WIFI, every 5-10min WIFI is disabled and completely disappears from the Menu-Networkmanager. Distance TV-Box <-> Router = 0.5m

    Device:

    Maxelsa Max-E AML S905X, 8GB-emmc, RAM : 2GB DDR3, WIFI: 802.11 b/g/n 2.4Hz (Chip AP6212a), bought in

    amazon(DE)

    The current Version of LE-8.1.5 with gxl_p212_2g.dtb on the SD card.

    I compared the files gxl_p212_2G.dtb and the file * .dtb, which was extracted from the internal memory of the TV box .. into the contents of the "wifi", here they are:

    gxl_p212_2g.dtb:

    Display Spoiler

    bumerc@bumerc-PC:~/DTB_MAXELSA_MAX-E$ fdtdump gxl_p212_2g.dtb | grep -A8 "wifi"

    wifi_32k_pins {

    amlogic,setmask = <0x00000005 0x000004ce>;

    amlogic,pins = "GPIOX_16";

    linux,phandle = <0x00000024>;

    phandle = <0x00000024>;

    };

    sd_clk_cmd_pins {

    amlogic,setmask = <0x00000006 0x00000003 0x5f320043 0x00000004>;

    amlogic,pins = "CARD_2", "CARD_3";

    --

    keyname = "mac_wifi";

    offset = <0x0000000c>;

    size = <0x00000006>;

    linux,phandle = <0x00000016>;

    phandle = <0x00000016>;

    };

    key_3 {

    keyname = "usid";

    offset = <0x00000012>;

    --

    wifi {

    compatible = "amlogic, aml_wifi";

    dev_name = "aml_wifi";

    status = "okay";

    interrupt_pin = <0x0000001a 0x0000000c 0x00000004>;

    interrupts = <0x00000000 0x0000000d 0x5f4c4f57>;

    irq_trigger_type = "GPIO_IRQ_LOW";

    power_on_pin = <0x0000001a 0x00000000 0x00000421>;

    dhd_static_buf;

    pinctrl-names = "wifi_32k_pins";

    pinctrl-0 = <0x00000024>;

    pwm_config = <0x00000025>;

    };

    wifi_pwm_conf {

    pwm_channel1 = <0x00000004>;

    pwm_channel2 = <0x0000000c>;

    pwm_channel1_conf = <0x0000774d 0x0000000c 0x00000009>;

    pwm_channel2_conf = <0x00007736 0x00000004 0x00000004>;

    linux,phandle = <0x00000025>;

    phandle = <0x00000025>;

    };

    emmc {

    --

    key-name = "mac_wifi";

    key-device = "normal";

    key-permit = "read", "write", "del";

    key-type = "mac";

    linux,phandle = <0x0000004a>;

    phandle = <0x0000004a>;

    };

    key_6 {

    key-name = "hdcp2_tx";

    bumerc@bumerc-PC:~/DTB_MAXELSA_MAX-E$

    gxl_p212_2g_maxelsa_max_e.dtb:

    Display Spoiler

    bumerc@bumerc-PC:~/DTB_MAXELSA_MAX-E$ fdtdump gxl_p212_2g_maxelsa_max_e.dtb | grep -c "wifi"

    7

    bumerc@bumerc-PC:~/DTB_MAXELSA_MAX-E$ fdtdump gxl_p212_2g_maxelsa_max_e.dtb | grep -A7 "wifi"

    wifi_32k_pins {

    amlogic,setmask = <0x00000005 0x00000421>;

    amlogic,pins = "GPIOX_16";

    linux,phandle = <0x00000021>;

    phandle = <0x00000021>;

    };

    sd_clk_cmd_pins {

    amlogic,setmask = <0x00000006 0x00000003 0x5f320043 0x00000004>;

    --

    keyname = "mac_wifi";

    offset = <0x0000000c>;

    size = <0x00000006>;

    linux,phandle = <0x00000014>;

    phandle = <0x00000014>;

    };

    key3 {

    keyname = "usid";

    --

    wifi {

    compatible = "amlogic, aml_wifi";

    dev_name = "aml_wifi";

    status = "okay";

    interrupt_pin = <0x00000018 0x0000000c 0x00000004>;

    interrupts = <0x00000000 0x0000000d 0x5f4c4f57>;

    irq_trigger_type = "GPIO_IRQ_LOW";

    power_on_pin = <0x00000018 0x00000000 0x00000374>;

    dhd_static_buf;

    pinctrl-names = "wifi_32k_pins";

    pinctrl-0 = <0x00000021>;

    };

    emmc {

    compatible = "amlogic, aml_sd_emmc";

    dev_name = "aml_newsd.0";

    status = "okay";

    reg = <0x00000000 0x00000003 0x000000da 0x00000374>;

    --

    key-name = "mac_wifi";

    key-device = "normal";

    key-permit = "read", "write", "del";

    key-type = "mac";

    linux,phandle = <0x00000046>;

    phandle = <0x00000046>;

    };

    key_6 {

    bumerc@bumerc-PC:~/DTB_MAXELSA_MAX-E$

    Do I understand correctly that wifi_pwm = wifi power management? I tried to remove this block from gxl_p212_2g.dtb, converting it to * .dts, then back to * .dtb, but the TV box with this dtb hangs on maxelsa bootlogo. Help me please understand this problem.

    Thank you so much for your hard work!

    gxl_p212_2g_maxelsa_max_e.dtb.zip