Jump to content

flippy

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by flippy

  1. On 10/4/2020 at 11:13 PM, Gausus said:

    Tested

     

    Ethernet speed 1000Mb reported , but speedtest.net only gets about 100Mb down and 200Mb up.

    No sound , and Android don't start.

     

    Restore X96 max + bootloader , Android works  and sound (100 Mb /s)

    After replacing the bootloader, the iperf3 benchmark can reach gigabit. of course, the dtb provided in the attachment should also be replaced at the same time, please do not use meson-sm1-sei610.dtb or meson-sm1-sei610-ethfix.dtb. I mainly use it for openwrt firmware. As you said, Android does not support booting after replacing the bootloader.

  2. On 10/2/2020 at 12:40 PM, gcsuri said:

    Hi,

     

     x96 max status:

    - ethernet: there is a problem with the dwmac driver in the kernel. There was a discussion about it. I hope someone fix the rx-delay in the 5.10 release

    - wifi: there is rtl8822cs driver in the kernel, but it's not completed - when realtek finish the driver (sdio part) it would work.

    - bluetooth: there is a driver in the kernel, but it depends on the wifi part

     

    best regards,

    Hi,

     

    I hope you can realize these points as soon as possible. These few questions have been bothering me.

  3. 17 hours ago, hanguofu said:

    Thanks for sharing your experience ! Did you make the wifi works at X96 Max Plus too ? As much as I know , X96 Max plus comes with rtl8822cs which is different from the one at HK1Box . Does the wifi works at HK1Box  with Armbian ?

    No, rtl8822cs currently does not work in armbian.   hk1 box has a  bcm-43xx module and it works.

    In dts, the compatible attribute of the wifi module is "brcm,bcm4329-fmac", which supports most Broadcom sdio modules, but rtl8822cs does not provide corresponding drivers in the mainline linux kernel.

  4. I found the correct method to fix the bug that the x96-max-plus(s905x3) gigabit ethernet  does not work:

    Up to now, only HK1Box/vontar x3 is the only s905x3 TV box that can be used perfectly in armbian.  So I extracted the bootloader of hk1box and wrote it into x96-max-plus, and it worked.

    This method is very simple, so it is recommended to everyone in need.

     

    Step 1:  upload three dtbs into /boot/dtb/amlogic :

        meson-sm1-x96-max-plus-100m.dtb

        meson-sm1-x96-max-plus.dtb

        meson-sm1-hk1box-vontar-x3.dtb  (Similar to meson-sm1-x96-max-plus.dtb, only the modal name is changed)

     

    Step 2:  modify /boot/uEnv.txt, replace dtb with meson-sm1-x96-max-plus-100m.dtb,  restart the Armbian system

     

    Step 3:  upload hk1box-bootloader.img to /tmp

     

    Step 4:  Run these commands under the shell:
    dd if=/tmp/hk1box-bootloader.img of=/dev/mmcblk2 bs=1 count=442
    dd if=/tmp/hk1box-bootloader.img of=/dev/mmcblk2 bs=512 skip=1 seek=1
    sync
    reboot

     

    Step 5:  modify /boot/uEnv.txt, replace dtb with meson-sm1-x96-max-plus.dtb, and restart again.

     

     

    meson-sm1-x96-max-plus.dtb meson-sm1-x96-max-plus.dts meson-sm1-hk1box-vontar-x3.dtb meson-sm1-hk1box-vontar-x3.dts hk1box-bootloader.img.xz meson-sm1-x96-max-plus-100m.dtb meson-sm1-x96-max-plus-100m.dts

    x96maxplus-orig-bootloader.img.xz

  5. I improved the dts of Phicomm N1 again.
    The reasons are:
    1. The Ethernet card of N1 is not very compatible with some switches. When the ethernet phy is activated, the flow control sometimes cannot be turned on, so  will get bad results during the speedtest.net . For this reason, I added a dts separately force_thresh_dma_mode, which is equivalent to flow control in software mode. But there are also side effects: tx performance is reduced. In addition, as auxiliary optimization items, set snps, aal; snps, txpbl = <0x8>; snps, rxpbl = <0x4>; their role is to improve the performance of the network card.
    2. The phy reset-delay-us value of N1 is sometimes not enough. When running openwrt, sometimes the ethernet phy cannot be enabled, so the reset-delay-us value is increased.

    Provide two dts files:
    meson-gxl-s905d-phicomm-n1.dts: This is the default dts, used in most occasions, when the flow control can be turned on normally, this is the best choice
    meson-gxl-s905d-phicomm-n1-thresh.dts: This is a dts with the force_thresh_dma_mode option enabled. It is applicable when flow control cannot be turned on. You can use force_thresh_dma_mode to control flow at the cost of a small amount of performance loss.

    meson-gxl-s905d-phicomm-n1.dts meson-gxl-s905d-phicomm-n1-thresh.dts

  6. On 3/6/2020 at 8:55 PM, lewis said:

    Hi flippy,

    thank you very much for your sharing about N1 and Beikeyun.

    i found that armbian for RK3328 can support video decode by  a script ,  may i use the script on Baikeyun with your image?  thank you.

     

    hi lewis:

    Yes, i am happy to share it。 

    The main body of those mirrors is from the ambien community. I just recompiled the kernel  on the results of others, using the kernel source code from 150balbes, and added the dtb file for beikeyun, you can use it at will.

     

    rk3328-beikeyun-1200mhz.dts rk3328-beikeyun-1296mhz.dts rk3328-beikeyun-1392mhz.dts rk3328-l1pro-1296mhz.dts rk3328-l1pro-1392mhz.dts rk3328-l1pro-1512mhz.dts

  7. In the mainline kernel, meson-gxl-s905d-phicomm-n1.dts has been around for a long time, but there has been a problem of high CPU load. I fixed it and it has been stable for several months, so it is shared for reference .
    I think the cause of the problem is that the IRQ is wrong. The original value is 29 and needs to be changed to 25.

    // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
    /*
     * Copyright (c) 2018 He Yangxuan
     */
    
    /dts-v1/;
    
    #include "meson-gxl-s905d-p230.dts"
    
    / {
            compatible = "phicomm,n1", "amlogic,s905d", "amlogic,meson-gxl";
            model = "Phicomm N1";
    
            cvbs-connector {
                    status = "disabled";
            };
    
            leds {
                    compatible = "gpio-leds";
    
                    status {
                            label = "n1:white:status";
                            gpios = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_HIGH>;
                            default-state = "on";
                    };
            };
    
    };
    
    &cvbs_vdac_port {
            status = "disabled";
    };
    
    &external_phy {
            /delete-property/ reset-gpios;
            interrupts = <25 IRQ_TYPE_LEVEL_LOW>;
    };

     

  8. Hello everyone, this is my first post.
    I extracted 6 x96-max and x96-max + dts from the Android box, but I do n’t seem to have permission to upload attachments. I do n’t know how to upload?
    I have one x96-max and one x96-max +, both of which have 4G memory and 64G EMMC.
    Both WIFI modules are 6222B-SRB, based on RTL8822BS, so they can not work in armbian.
    In addition, the x96-max + Ethernet uses meson-sm1-sei610.dts for minor modifications. The Ethernet card cannot work at Gigabit, but it can work at 100M.

    total 1056
    -rw-r--r-- 1 root root  77824 Feb 28 22:44 01_dtbdump_Amlogic.dtb
    -rw-r--r-- 1 root root  88556 Feb  1 21:20 01.dts
    -rw-r--r-- 1 root root  77824 Feb 28 22:44 02_dtbdump_Amlogic.dtb
    -rw-r--r-- 1 root root  88838 Feb  1 21:20 02.dts
    -rw-r--r-- 1 root root  77824 Feb 28 22:44 03_dtbdump_Amlogic.dtb
    -rw-r--r-- 1 root root  88819 Feb  1 21:20 03.dts
    -rw-r--r-- 1 root root  88064 Feb 28 22:44 04_dtbdump_Amlogic.dtb
    -rw-r--r-- 1 root root 100983 Feb  1 21:20 04.dts
    -rw-r--r-- 1 root root  88064 Feb 28 22:44 05_dtbdump_Amlogic.dtb
    -rw-r--r-- 1 root root 100983 Feb  1 21:20 05.dts
    -rw-r--r-- 1 root root  88064 Feb 28 22:44 06_dtbdump_Amlogic.dtb
    -rw-r--r-- 1 root root 101194 Feb  1 21:20 06.dts
    lrwxrwxrwx 1 root root      6 Feb  1 21:22 g12a_u212_1g.dts -> 01.dts
    lrwxrwxrwx 1 root root      6 Feb  1 21:22 g12a_u212_2g.dts -> 02.dts
    lrwxrwxrwx 1 root root      6 Feb  1 21:22 g12a_u212_4g.dts -> 03.dts
    lrwxrwxrwx 1 root root      6 Feb  1 21:22 sm1_ac213_1g.dts -> 04.dts
    lrwxrwxrwx 1 root root      6 Feb  1 21:21 sm1_ac213_2g.dts -> 05.dts
    lrwxrwxrwx 1 root root      6 Feb  1 21:21 sm1_ac213_4g.dts -> 06.dts

     

    aml-s905x3-x96max_and_x96maxplus-dts.tar.gz

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines