251

(751 odpowiedzi, napisanych Sprzęt / Hardware)

Cezary napisał/a:

Niech ktoś sprawdzi czy na oryginalnym sofcie działa mu usb zewnętrzne. Nawet zwykły pendirve - czy jest widoczny na magistrali usb

Na dostarczonym/wgranym sofcie usb nie działa, nie widzi pen-a na magistrali, zasilania nawet nie dostaje bo dioda w pamięci martwa. Softu z motywem Tano nie wgrywałem, nie sprawdzałem.

Możesz Cezary podesłać mi swój obraz, sprawdziłbym u siebie, czy na Twoim obrazie modem u mnie by wstal.

252

(751 odpowiedzi, napisanych Sprzęt / Hardware)

whale0710 napisał/a:

To jest oryginalny plik oprogramowania sprzętowego, który można zapisać bezpośrednio poprzez U-boot.
https://drive.google.com/drive/folders/ … drive_link
Oryginalne oprogramowanie układowe uruchamia się stosunkowo wolno (około 4 minut). Hasło znajduje się pod etykietą na spodzie (należy usunąć górną warstwę).

Podziwiam soft za sam fakt kompilacji motywu Tano, mi się nie udaje go zbudować z ich scss.

Cezary kompilując swój dts widzisz modem na pcie?

root@Exigo_Hub:~# lspci
0000:00:00.0 PCI bridge: Qualcomm Device 1004
0000:01:00.0 Unassigned class [ff00]: Qualcomm Device 0306
0001:00:00.0 PCI bridge: Qualcomm Device 1004
0001:01:00.0 Network controller: Qualcomm QCN6024/9024/9074 Wireless Network Adapter (rev 01)

Ja widzę tylko, modemu ani widu, ani słychu

root@Exigo_Hub:~# lspci
0000:00:00.0 PCI bridge: Qualcomm Device 1004
0001:01:00.0 Network controller: Qualcomm QCN6024/9024/9074 Wireless Network Adapter (rev 01)
0001:00:00.0 PCI bridge: Qualcomm Device 1004

Na usb oczywiście pokazuje.

Jako ciekawostka.
Wyciągnięty dts ma sekcję:

compatible = "qcom,ipq5018-ap-mp03.1", "qcom,ipq5018-mp03.1"

Gdzie ipq5018-mp03.1.dts:

/dts-v1/;
/* Copyright (c) 2018-2021, The Linux Foundation. All rights reserved.
 *
 * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
 *
 * Permission to use, copy, modify, and/or distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
 *
 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 */
#include "ipq5018.dtsi"
/ {
    #address-cells = <0x2>;
    #size-cells = <0x2>;
    model = "Qualcomm Technologies, Inc. IPQ5018/AP-MP03.1";
    compatible = "qcom,ipq5018-ap-mp03.1", "qcom,ipq5018-mp03.1", "qcom,ipq5018";
    interrupt-parent = <&intc>;
    aliases {
        sdhc1 = &sdhc_1; /* SDC1 eMMC slot */
        serial0 = &blsp1_uart1;
        serial1 = &blsp1_uart2;
        ethernet0 = "/soc/dp1";
        ethernet1 = "/soc/dp2";
    };
    chosen {
        bootargs = "console=ttyMSM0,115200,n8 rw init=/init";
    #ifdef __IPQ_MEM_PROFILE_256_MB__
        bootargs-append = " swiotlb=1 clk_ignore_unused";
    #else
        bootargs-append = " swiotlb=1 coherent_pool=2M clk_ignore_unused";
    #endif
        stdout-path = "serial0";
    };
    reserved-memory {
    #ifdef __IPQ_MEM_PROFILE_256_MB__
    /*            256 MB Profile
     * +=========+==============+========================+
     * |        |              |                         |
     * | Region | Start Offset |          Size           |
     * |        |              |                         |
     * +--------+--------------+-------------------------+
     * |        |              |                         |
     * |        |              |                         |
     * |  NSS   |  0x40000000  |          8MB            |
     * |        |              |                         |
     * |        |              |                         |
     * +--------+--------------+-------------------------+
     * |        |              |                         |
     * |        |              |                         |
     * |        |              |                         |
     * |        |              |                         |
     * | Linux  |  0x40800000  | Depends on total memory |
     * |        |              |                         |
     * |        |              |                         |
     * |        |              |                         |
     * +        |              |                         |
     * +--------+--------------+-------------------------+
     * |        |              |                         |
     * | uboot  |  0x4A600000  |           4MB           |
     * |        |              |                         |
     * +--------+--------------+-------------------------+
     * |  SBL   |  0x4AA00000  |           1MB           |
     * +--------+--------------+-------------------------+
     * |  smem  |  0x4AB00000  |           1MB           |
     * +--------+--------------+-------------------------+
     * |        |              |                         |
     * |   TZ   |  0x4AC00000  |           4MB           |
     * |        |              |                         |
     * +--------+--------------+-------------------------+
     * |        |              |                         |
     * |        |              |                         |
     * |        |              |                         |
     * |   Q6   |  0x4B000000  |          23MB           |
     * |        |              |                         |
     * |        |              |                         |
     * |        |              |                         |
     * +--------+--------------+-------------------------+
     * | M3 Dump| 0x4C700000   |          1MB            |
     * +--------+--------------+-------------------------+
     * | QDSS   | 0x4C800000   |          1MB            |
     * +--------+--------------+-------------------------+
     * |        |              |                         |
     * |QCN9000 |  0x4C900000  |          17MB           |
     * |        |              |                         |
     * +--------+--------------+-------------------------+
     * |        |              |                         |
     * |  MHI1  |  0x4DA00000  |          16MB           |
     * |        |              |                         |
     * +--------+--------------+-------------------------+
     * |                                                 |
     * |      Rest of the memory for Linux               |
     * |                                                 |
     * +=================================================+
     */
        q6_region: memory@4b000000 {
            no-map;
            reg = <0x0 0x4b000000 0x0 0x01700000>;
        };
        m3_dump@4c700000 {
            no-map;
            reg = <0x0 0x4C700000 0x0 0x100000>;
        };
        q6_etr_region:q6_etr_dump@4c800000 {
            no-map;
            reg = <0x0 0x4c800000 0x0 0x100000>;
        };
        qcn9000_pcie0@4c900000 {
            no-map;
            reg = <0x0 0x4C900000 0x0 0x01100000>;
        };
        mhi_region1: dma_pool1@4da00000 {
            compatible = "shared-dma-pool";
            no-map;
            reg = <0x0 0x4da00000 0x0 0x01000000>;
        };
    #elif __IPQ_MEM_PROFILE_512_MB__
    /*                      512 MB Profile
     * +=========+==============+========================+
     * |        |              |                         |
     * | Region | Start Offset |          Size           |
     * |        |              |                         |
     * +--------+--------------+-------------------------+
     * |        |              |                         |
     * |        |              |                         |
     * |  NSS   |  0x40000000  |          16MB           |
     * |        |              |                         |
     * |        |              |                         |
     * +--------+--------------+-------------------------+
     * |        |              |                         |
     * |        |              |                         |
     * |        |              |                         |
     * |        |              |                         |
     * | Linux  |  0x41000000  | Depends on total memory |
     * |        |              |                         |
     * |        |              |                         |
     * |        |              |                         |
     * |        |              |                         |
     * +--------+--------------+-------------------------+
     * |        |              |                         |
     * | uboot  |  0x4A600000  |           4MB           |
     * |        |              |                         |
     * +--------+--------------+-------------------------+
     * |  SBL   |  0x4AA00000  |           1MB           |
     * +--------+--------------+-------------------------+
     * |  smem  |  0x4AB00000  |           1MB           |
     * +--------+--------------+-------------------------+
     * |        |              |                         |
     * |   TZ   |  0x4AC00000  |           4MB           |
     * |        |              |                         |
     * +--------+--------------+-------------------------+
     * |        |              |                         |
     * |        |              |                         |
     * |        |              |                         |
     * |   Q6   |  0x4B000000  |          24MB           |
     * |        |              |                         |
     * |        |              |                         |
     * +--------+--------------+-------------------------+
     * | M3 Dump|  0x4C800000  |           1MB           |
     * +--------+--------------+-------------------------+
     * |  QDSS  |  0x4C900000  |           1MB           |
     * +--------+--------------+-------------------------+
     * | caldb  |  0x4CA00000  |           2MB           |
     * +--------+--------------+-------------------------+
     * |        |              |                         |
     * |QCN9000 |  0x4CC00000  |          30MB           |
     * |        |              |                         |
     * +--------+--------------+-------------------------+
     * |        |              |                         |
     * |  MHI1  |  0x4EA00000  |          16MB           |
     * |        |              |                         |
     * +--------+--------------+-------------------------+
     * |                                                 |
     * |      Rest of the memory for Linux               |
     * |                                                 |
     * +=================================================+
     */
        q6_region: memory@4b000000 {
            no-map;
            reg = <0x0 0x4b000000 0x0 0x01800000>;
        };
        m3_dump@4c800000 {
            no-map;
            reg = <0x0 0x4c800000 0x0 0x100000>;
        };
        q6_etr_region:q6_etr_dump@4c900000 {
            no-map;
            reg = <0x0 0x4c900000 0x0 0x100000>;
        };
        q6_caldb_region:q6_caldb_region@4ca00000 {
            no-map;
            reg = <0x0 0x4ca00000 0x0 0x200000>;
        };
        qcn9000_pcie0@4cc00000 {
            no-map;
            reg = <0x0 0x4CC00000 0x0 0x01E00000>;
        };
        mhi_region1: dma_pool1@4ea00000 {
            compatible = "shared-dma-pool";
            no-map;
            reg = <0x0 0x4ea00000 0x0 0x01000000>;
        };
    #else
    /*                      1G Profile
     * +=========+==============+========================+
     * |        |              |                         |
     * | Region | Start Offset |          Size           |
     * |        |              |                         |
     * +--------+--------------+-------------------------+
     * |        |              |                         |
     * |        |              |                         |
     * |  NSS   |  0x40000000  |          16MB           |
     * |        |              |                         |
     * |        |              |                         |
     * +--------+--------------+-------------------------+
     * |        |              |                         |
     * |        |              |                         |
     * |        |              |                         |
     * |        |              |                         |
     * | Linux  |  0x41000000  | Depends on total memory |
     * |        |              |                         |
     * |        |              |                         |
     * |        |              |                         |
     * |        |              |                         |
     * +--------+--------------+-------------------------+
     * |        |              |                         |
     * | uboot  |  0x4A600000  |           4MB           |
     * |        |              |                         |
     * +--------+--------------+-------------------------+
     * |  SBL   |  0x4AA00000  |           1MB           |
     * +--------+--------------+-------------------------+
     * |  smem  |  0x4AB00000  |           1MB           |
     * +--------+--------------+-------------------------+
     * |        |              |                         |
     * |   TZ   |  0x4AC00000  |           4MB           |
     * |        |              |                         |
     * +--------+--------------+-------------------------+
     * |        |              |                         |
     * |        |              |                         |
     * |        |              |                         |
     * |   Q6   |  0x4B000000  |          24MB           |
     * |        |              |                         |
     * |        |              |                         |
     * +--------+--------------+-------------------------+
     * | M3 Dump|  0x4C800000  |           1MB           |
     * +--------+--------------+-------------------------+
     * |  QDSS  |  0x4C900000  |           1MB           |
     * +--------+--------------+-------------------------+
     * | caldb  |  0x4CA00000  |           2MB           |
     * +--------+--------------+-------------------------+
     * |        |              |                         |
     * |QCN9000 |  0x4CC00000  |          45MB           |
     * |        |              |                         |
     * +--------+--------------+-------------------------+
     * |        |              |                         |
     * |  MHI1  |  0x4F900000  |          24MB           |
     * |        |              |                         |
     * +--------+--------------+-------------------------+
     * |                                                 |
     * |      Rest of the memory for Linux               |
     * |                                                 |
     * +=================================================+
     */
        q6_region: memory@4b000000 {
            no-map;
            reg = <0x0 0x4b000000 0x0 0x01800000>;
        };
        m3_dump@4c800000 {
            no-map;
            reg = <0x0 0x4c800000 0x0 0x100000>;
        };
        q6_etr_region:q6_etr_dump@4c900000 {
            no-map;
            reg = <0x0 0x4c900000 0x0 0x100000>;
        };
        q6_caldb_region:q6_caldb_region@4ca00000 {
            no-map;
            reg = <0x0 0x4ca00000 0x0 0x200000>;
        };
        qcn9000_pcie0@4cc00000 {
            no-map;
            reg = <0x0 0x4CC00000 0x0 0x02D00000>;
        };
        mhi_region1: dma_pool1@4F900000 {
            compatible = "shared-dma-pool";
            no-map;
            reg = <0x0 0x4F900000 0x0 0x01800000>;
        };
    #endif
    };
    soc {
        serial@78af000 {
            status = "ok";
        };
        blsp1_uart2: serial@78b0000 {
            pinctrl-0 = <&blsp1_uart_pins>;
            pinctrl-names = "default";
        };
        qpic_bam: dma@7984000{
            status = "ok";
        };
        nand: qpic-nand@79b0000 {
            pinctrl-0 = <&qspi_nand_pins>;
            pinctrl-names = "default";
            status = "ok";
        };
        spi_0: spi@78b5000 { /* BLSP1 QUP0 */
            pinctrl-0 = <&blsp0_spi_pins>;
            pinctrl-names = "default";
            cs-select = <0>;
            status = "ok";
            m25p80@0 {
                #address-cells = <1>;
                #size-cells = <1>;
                reg = <0>;
                compatible = "n25q128a11";
                linux,modalias = "m25p80", "n25q128a11";
                spi-max-frequency = <50000000>;
                use-default-sizes;
            };
        };
        mdio0: mdio@88000 {
            status = "ok";
            ethernet-phy@0 {
                reg = <7>;
            };
        };
        mdio1: mdio@90000 {
            status = "ok";
            pinctrl-0 = <&mdio1_pins>;
            pinctrl-names = "default";
            phy-reset-gpio = <&tlmm 39 0>;
            ethernet-phy@0 {
                reg = <0>;
            };
            ethernet-phy@1 {
                reg = <1>;
            };
            ethernet-phy@2 {
                reg = <2>;
            };
            ethernet-phy@3 {
                reg = <3>;
            };
        };
        ess-instance {
            num_devices = <0x2>;
            ess-switch@0x39c00000 {
                compatible = "qcom,ess-switch-ipq50xx";
                device_id = <0>;
                switch_mac_mode = <0xf>; /* mac mode for uniphy instance*/
                cmnblk_clk = "internal_96MHz"; /* cmnblk clk*/
                qcom,port_phyinfo {
                    port@0 {
                        port_id = <1>;
                        phy_address = <7>;
                    };
                    port@1 {
                        port_id = <2>;
                        forced-speed = <1000>;
                        forced-duplex = <1>;
                    };
                };
                led_source@0 {
                    source = <0>;
                    mode = "normal";
                    speed = "all";
                    blink_en = "enable";
                    active = "high";
                };
            };
            ess-switch1@1 {
                compatible = "qcom,ess-switch-qca83xx";
                device_id = <1>;
                switch_access_mode = "mdio";
                mdio-bus = <&mdio1>;
                reset_gpio = <0x27>;
                switch_cpu_bmp = <0x40>;  /* cpu port bitmap */
                switch_lan_bmp = <0x1e>; /* lan port bitmap */
                switch_wan_bmp = <0x0>;  /* wan port bitmap */
                qca,ar8327-initvals = <
                        0x00004 0x7600000   /* PAD0_MODE */
                        0x00008 0x1000000   /* PAD5_MODE */
                        0x0000c 0x80        /* PAD6_MODE */
                        0x00010 0x2613a0    /* PORT6 FORCE MODE*/
                        0x000e4 0xaa545     /* MAC_POWER_SEL */
                        0x000e0 0xc74164de  /* SGMII_CTRL */
                        0x0007c 0x4e        /* PORT0_STATUS */
                        0x00094 0x4e        /* PORT6_STATUS */
                >;
                qcom,port_phyinfo {
                    port@0 {
                        port_id = <1>;
                        phy_address = <0>;
                    };
                    port@1 {
                        port_id = <2>;
                        phy_address = <1>;
                    };
                    port@2 {
                        port_id = <3>;
                        phy_address = <2>;
                    };
                    port@3 {
                        port_id = <4>;
                        phy_address = <3>;
                    };
                };
            };
        };
        ess-uniphy@98000 {
            status = "disabled";
        };
        qcom,sps {
            status = "ok";
        };
        qcom,diag@0 {
            status = "ok";
        };
        dp1 {
            device_type = "network";
            compatible = "qcom,nss-dp";
            clocks = <&gcc GCC_SNOC_GMAC0_AXI_CLK>;
            clock-names = "nss-snoc-gmac-axi-clk";
            qcom,id = <1>;
            reg = <0x39C00000 0x10000>;
            interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
            qcom,mactype = <2>;
            qcom,link-poll = <1>;
            qcom,phy-mdio-addr = <7>;
            mdio-bus = <&mdio0>;
            local-mac-address = [000000000000];
            phy-mode = "sgmii";
            qcom,rx-page-mode = <0>;
        };
        dp2 {
            device_type = "network";
            compatible = "qcom,nss-dp";
            clocks = <&gcc GCC_SNOC_GMAC1_AXI_CLK>;
            clock-names = "nss-snoc-gmac-axi-clk";
            qcom,id = <2>;
            reg = <0x39D00000 0x10000>;
            interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
            qcom,mactype = <2>;
            local-mac-address = [000000000000];
            phy-mode = "sgmii";
            qcom,rx-page-mode = <0>;
        };
        rpm_etm0 {
            status = "disabled";
        };
    };
    thermal-zones {
        status = "ok";
    };
};
&tlmm {
    pinctrl-0 = <&blsp0_uart_pins &phy_led_pins>;
    pinctrl-names = "default";
    blsp0_uart_pins: blsp0_uart_pins {
        blsp0_uart_rx_tx {
            pins = "gpio20", "gpio21";
            function = "blsp0_uart0";
            bias-disable;
        };
    };
    blsp1_uart_pins: blsp1_uart_pins {
        blsp1_uart_rx_tx {
            pins = "gpio23", "gpio25", "gpio24", "gpio26";
            function = "blsp1_uart2";
            bias-disable;
        };
    };
    blsp0_spi_pins: blsp0_spi_pins {
        mux {
            pins = "gpio10", "gpio11", "gpio12", "gpio13";
            function = "blsp0_spi";
            drive-strength = <2>;
            bias-disable;
        };
    };
    qspi_nand_pins: qspi_nand_pins {
        qspi_clock {
                pins = "gpio9";
                function = "qspi_clk";
                drive-strength = <8>;
                bias-disable;
            };
        qspi_cs {
                pins = "gpio8";
                function = "qspi_cs";
                drive-strength = <8>;
                bias-disable;
            };
        qspi_data {
                pins = "gpio4", "gpio5", "gpio6", "gpio7";
                function = "qspi_data";
                drive-strength = <8>;
                bias-disable;
            };
    };
    mdio1_pins: mdio_pinmux {
        mux_0 {
            pins = "gpio36";
            function = "mdc";
            drive-strength = <8>;
            bias-pull-up;
        };
        mux_1 {
            pins = "gpio37";
            function = "mdio";
            drive-strength = <8>;
            bias-pull-up;
        };
    };
    phy_led_pins: phy_led_pins {
        gephy_led_pin {
            pins = "gpio46";
            function = "led0";
            drive-strength = <8>;
            bias-pull-down;
        };
    };
};
&usb3 {
    qcom,multiplexed-phy;
    qcom,phy-mux-regs = <&tcsr_q6_block 0x2540>;
    device-power-gpio = <&tlmm 24 1>;
    status = "ok";
};
&pcie_x2 {
    status = "ok";
    perst-gpio = <&tlmm 15 1>;
};
&wcss {
    status = "ok";
};
&tcsr_mutex {
    status = "ok";
};
&apcs_glb {
    status = "ok";
};
&tcsr_q6_block {
    status = "ok";
};
&q6v5_wcss {
    #ifdef __IPQ_MEM_PROFILE_256_MB__
        memory-region = <&q6_region>, <&q6_etr_region>;
    #else
        memory-region = <&q6_region>, <&q6_etr_region>,
                <&q6_caldb_region>;
    #endif
};
&blsp1_uart1 {
    status = "ok";
};
&ssuniphy_0 {
    status = "ok";
};
&hs_m31phy_0 {
    status = "ok";
};
&pcie_x2phy {
    status = "ok";
};
&pcie_x2_rp {
    status = "ok";
    mhi_1: qcom,mhi@1 {
        reg = <0 0 0 0 0 >;
        qrtr_instance_id = <0x20>;
        #address-cells = <0x2>;
        #size-cells = <0x2>;
        memory-region = <&mhi_region1>;
#if !defined(__CNSS2__)
        base-addr = <0x4CC00000>;
        m3-dump-addr = <0x4E000000>;
        etr-addr = <0x4E100000>;
        qcom,caldb-addr = <0x4E200000>;
        qcom,tgt-mem-mode = <0x1>;
#endif
    };
};
&wifi0 {
    /* IPQ5018 */
    qcom,board_id = <0x24>;
    qcom,bdf-addr = <0x4BA00000 0x4BA00000 0x4BA00000
        0x0 0x0>;
    qcom,caldb-addr = <0x4CA00000 0x4CA00000 0x0 0x0 0x0>;
    qcom,caldb-size = <0x200000>;
    status = "ok";
};
&wifi3 {
        /* QCN9000 5G */
        board_id = <0xa0>;
#ifdef __IPQ_MEM_PROFILE_256_MB__
    /* QCN9000 tgt-mem-mode=2 layout - 17MB
     * +=========+==============+=========+
     * |  Region | Start Offset |   Size  |
     * +---------+--------------+---------+
     * | HREMOTE |  0x4C900000  |   15MB  |
     * +---------+--------------+---------+
     * | M3 Dump |  0x4D800000  |   1MB   |
     * +---------+--------------+---------+
     * |   ETR   |  0x4D900000  |   1MB   |
     * +==================================+
     */
    base-addr = <0x4C900000>;
    m3-dump-addr = <0x4D800000>;
    etr-addr = <0x4D900000>;
    caldb-addr = <0>;
    caldb-size = <0>;
    hremote-size = <0xF00000>;
    tgt-mem-mode = <0x2>;
#elif __IPQ_MEM_PROFILE_512_MB__
    /* QCN9000 tgt-mem-mode=1 layout - 30MB
     * +=========+==============+=========+
     * |  Region | Start Offset |   Size  |
     * +---------+--------------+---------+
     * | HREMOTE |  0x4CC00000  |   20MB  |
     * +---------+--------------+---------+
     * | M3 Dump |  0x4E000000  |   1MB   |
     * +---------+--------------+---------+
     * |   ETR   |  0x4E100000  |   1MB   |
     * +---------+--------------+---------+
     * |  Caldb  |  0x4E200000  |   8MB   |
     * +==================================+
     */
    base-addr = <0x4CC00000>;
    m3-dump-addr = <0x4E000000>;
    etr-addr = <0x4E100000>;
    caldb-addr = <0x4E200000>;
    caldb-size = <0x800000>;
    hremote-size = <0x1400000>;
    tgt-mem-mode = <0x1>;
#else
    /* QCN9000 tgt-mem-mode=0 layout - 45MB
     * +=========+==============+=========+
     * |  Region | Start Offset |   Size  |
     * +---------+--------------+---------+
     * | HREMOTE |  0x4CC00000  |   35MB  |
     * +---------+--------------+---------+
     * | M3 Dump |  0x4EF00000  |   1MB   |
     * +---------+--------------+---------+
     * |   ETR   |  0x4F000000  |   1MB   |
     * +---------+--------------+---------+
     * |  Caldb  |  0x4F100000  |   8MB   |
     * +==================================+
     */
    base-addr = <0x4CC00000>;
    m3-dump-addr = <0x4EF00000>;
    etr-addr = <0x4F000000>;
    caldb-addr = <0x4F100000>;
    hremote-size = <0x2300000>;
    caldb-size = <0x800000>;
    tgt-mem-mode = <0x0>;
#endif
        status = "ok";
};

253

(205 odpowiedzi, napisanych Oprogramowanie / Software)

Napisze bo znow mi sie zapomni..

Cezary mozesz dopisac aby modemband tez uznawal konfiguracje portu z Lucyny:

    _DEVICE1=$(uci -q get modemband.@modemband[0].set_port)

Kwestia kolejna to dodanie wsparcia dla tego wynalazku

ZLT S12 Pro

ChamodyaChiran napisał/a:

/dev/ttyUSB0

get band-AT+SPLBAND=0
set band-AT+SPLBAND=,<band_tdd_49_64>,
<band_tdd_33_48>,<band_fdd_17_32>,,< band_fdd_65_80>

after changing bands you have to turn on and off flight mode AT+CFUN=0 , AT+CFUN=1

I have attached pdf

band.set.pdf

Tyle dostalem.

254

(277 odpowiedzi, napisanych Oprogramowanie / Software)

Cezary napisał/a:

Masz to w luci-app-3ginfo-lite. Ten sam skrypt, inny tylko identyfikator.

Nie ma co sie zastanawiac, wniosek jeden leca obydwa.

255

(751 odpowiedzi, napisanych Sprzęt / Hardware)

Ja na ten moment wypadam z walki z tym routerem, nie chce mi zbudowac obrazu z dts Cezarego, wiec czekam na lepsze dni.

256

(277 odpowiedzi, napisanych Oprogramowanie / Software)

Cezary napisał/a:

Zakładam że 2c7c:0133 też?

Mi nic o takim ID nie wiadomo, ale nie mam modemu, wiec musi ktos potwierdzic.

257

(277 odpowiedzi, napisanych Oprogramowanie / Software)

omsf21 napisał/a:

perfect......

https://ibb.co/0pDy3DPN

thank you IceG

Great, it works.
Modem will be added with the next package update.

258

(277 odpowiedzi, napisanych Oprogramowanie / Software)

Hi @omsf21
Execute command in the console & refresh page:

ln -s /usr/share/modemdata/addon/usb/2c7c0800 /usr/share/modemdata/addon/usb/2c7c0122

Show modem settings in package (no SIM icon, no temperature).

259

(163 odpowiedzi, napisanych Inne)

Niewiele bo niewiele, ale też się dorzuciłem. Cezary robisz niesamowitą robotę, dziękuję.

Od siebie dodam, że postaram się podoklejać do pakietów dla Lucyny zakładkę dot. wsparcia, tak aby była informacja o autorach i ewentualnych formach wsparcia. Coś takiego dodałem do luci-app-modemdata, nie wiem czy coś to dało, czy ktoś to widział, ale opcja jest. Byłoby miło jakby tą sekcję zostawiali, nie usuwali, nie kradli (tu piszę w kontekście całych pakietów, bo to też widziałem).

260

(15 odpowiedzi, napisanych Oprogramowanie / Software)

Może się mylę, ale ja to widzę tak że OpenWrt jest w odwrocie, producenci tak już rozwinęli original soft, że sporo ludzi siedzi na tym co dostali ze sprzętem, więc spadło zainteresowanie alternatywnym oprogramowaniem i dłubaniem aby coś uruchomić.

261

(751 odpowiedzi, napisanych Sprzęt / Hardware)

Cezary napisał/a:

Czyli gpio46 do masy domyślnie. Warte do sprawdzenia dlaczego.

Logika nasuwa sle sama, dts ma przejac konfiguracje led i wymusic dzialanie.

c.d.n. smile

262

(751 odpowiedzi, napisanych Sprzęt / Hardware)

Cezary jest gdzieś wykaz, opis tych możliwych konfiguracji dla led? bo teraz testuję wszystko bardzo po omacku. Dioda dla WAN nie ma przecież swojego gpio i "steruje nią" o ile dobrze rozumiem któraś sekcja w switchu.

Radio też walczy dzielnie, nie chce się poddać..

[   15.737679] ath11k c000000.wifi: Multipd architecture - userpd: 1
[   15.738569] ath11k c000000.wifi: ipq5018 hw1.0
[   15.742897] ath11k c000000.wifi: FW memory mode: 1
[   15.803830] remoteproc remoteproc0: powering up q6wcss
[   15.804130] remoteproc remoteproc0: Booting fw image ath11k/IPQ5018/hw1.0/q6_fw.mdt, size 1052
[   15.867332] remoteproc remoteproc0: remote processor q6wcss is now up
[   15.871252] ath11k c000000.wifi: qmi fail to get qcom,m3-dump-addr, ignore m3 dump mem req
[   15.876186] ath11k c000000.wifi: chip_id 0x0 chip_family 0x4 board_id 0xff soc_id 0xffffffff
[   15.881047] ath11k c000000.wifi: fw_version 0x2604050b fw_build_timestamp 2024-05-08 03:35 fw_build_id WLAN.HK.2.6.0.1-01291-QCAHKSWPL_SILICONZ-1
[   15.882469] ath11k_pci 0000:01:00.0: BAR 0 [mem 0xa0400000-0xa05fffff 64bit]: assigned
[   15.902689] ath11k_pci 0000:01:00.0: enabling device (0000 -> 0002)
[   15.911639] ath11k_pci 0000:01:00.0: MSI vectors: 16
[   15.916501] ath11k_pci 0000:01:00.0: qcn9074 hw1.0
[   15.921748] ath11k_pci 0000:01:00.0: FW memory mode: 2
[   16.108342] ath11k c000000.wifi: failed to fetch board data for bus=ahb,qmi-chip-id=0,qmi-board-id=255 from ath11k/IPQ5018/hw1.0/board-2.bin
[   16.108405] ath11k c000000.wifi: failed to fetch board data for bus=ahb,qmi-chip-id=0,qmi-board-id=255 from ath11k/IPQ5018/hw1.0/board-2.bin
[   16.120090] ath11k c000000.wifi: failed to fetch board.bin from IPQ5018/hw1.0
[   16.132649] ath11k c000000.wifi: qmi failed to fetch board file: -12
[   16.139698] ath11k c000000.wifi: failed to load board data file: -12

263

(751 odpowiedzi, napisanych Sprzęt / Hardware)

Cezary napisał/a:

Zauważone problemy (poza tym że coś nie działa)
- odwrócona dioda led od wanu
- w logach pojawia się adpt_mp_port_netdev_change_notify[1186]:ERROR:netdev change notify with incorrect port 0

Teraz dopiero doczytałem, że mam te same anomalie. Czyli kierunek obrałem dobry, co by nie było za łatwo he.. he.. takie smaczki, zobaczymy może coś się ruszy dalej.

264

(751 odpowiedzi, napisanych Sprzęt / Hardware)

Cezary napisał/a:

Poszło mejlem. Działaj, bo i tak jak będzie wsparcie to ktoś to musi zgłosić do openwrt a ja sprzęt oddam prędzej zapewne niż dołożą wsparcie i nie będę w stanie odpowiadać na jakieś dziwne pytania "a jak tam w oryginalnym sofie jest coś zrobione" przy zgłoszeniach.

Cezary nie oddawaj jeeeszcze sprzętu. Nie rób Nam tego smile.

Chcę tylko dodać iż na oczy nie widziałem oryginalnego softu na ten router, a to co obecnie działa to jest twór/ulep, mix rozwiązań nie do powtórzenia w podstawowym OpenWrt.

265

(751 odpowiedzi, napisanych Sprzęt / Hardware)

Ok, dostałem, dziękować! Porównam ze swoim dts, może gdzieś coś nie tak opisałem i dlatego te błędy/anomalie.

Rozumiem zostało najlepsze na koniec: Wi-Fi, tworzenie wgrywalnego obrazu.

266

(751 odpowiedzi, napisanych Sprzęt / Hardware)

Cezary możesz podesłać, tylko nie gwarantuję że podołam, robię to pierwszy raz wink.

267

(751 odpowiedzi, napisanych Sprzęt / Hardware)

Nie wiem czy jest sens abym wrzucał tu swoje zmagania z tym sprzętem skoro Cezary już prawie go "rozbroił".

Trochę powalczyłem i coś tam mi się uruchamia:

Starting kernel ...

Jumping to AARCH64 kernel via monitor
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x51af8014]
[    0.000000] Linux version 6.12.59 (rafal@rafal-VMware) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 14.3.0 r31926-15fb19cdb3) 14.3.0, GNU ld (GNU Binutils) 2.44) #0 SMP Mon Dec  1 18:20:14 2025
[    0.000000] Machine model: XUNISON D50 5G
[    0.000000] OF: reserved mem: 0x000000004a400000..0x000000004a7fffff (4096 KiB) nomap non-reusable tz_apps@4a400000
[    0.000000] OF: reserved mem: 0x000000004a800000..0x000000004a9fffff (2048 KiB) nomap non-reusable bootloader@4a800000
[    0.000000] OF: reserved mem: 0x000000004aa00000..0x000000004aafffff (1024 KiB) nomap non-reusable sbl@4aa00000
[    0.000000] OF: reserved mem: 0x000000004ab00000..0x000000004abfffff (1024 KiB) nomap non-reusable smem@4ab00000
[    0.000000] OF: reserved mem: 0x000000004ac00000..0x000000004adfffff (2048 KiB) nomap non-reusable tz@4ac00000
[    0.000000] OF: reserved mem: 0x000000004b000000..0x000000004cafffff (27648 KiB) nomap non-reusable wcss@4b000000
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x000000005fffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x000000004a3fffff]
[    0.000000]   node   0: [mem 0x000000004a400000-0x000000004adfffff]
[    0.000000]   node   0: [mem 0x000000004ae00000-0x000000004affffff]
[    0.000000]   node   0: [mem 0x000000004b000000-0x000000004cafffff]
[    0.000000]   node   0: [mem 0x000000004cb00000-0x000000005fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000005fffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] psci: OSI mode supported.
[    0.000000] psci: [Firmware Bug]: failed to set PC mode: -1
[    0.000000] percpu: Embedded 20 pages/cpu s43224 r8192 d30504 u81920
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: Spectre-v4
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: xu_whitelabel=XU xu_hwlbl=R5Q-D50-1G-DB4-EM console=ttyMSM0,115200n8 root=/dev/ubiblock0_1 swiotlb=1 coherent_pool=2M
[    0.000000] Unknown kernel command line parameters "xu_whitelabel=XU xu_hwlbl=R5Q-D50-1G-DB4-EM", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 131072
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 2.
[    0.000000] software IO TLB: SWIOTLB bounce buffer size roundup to 0MB
[    0.000000] software IO TLB: mapped [mem 0x000000005f540000-0x000000005f5c0000] (0MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=2.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv2m: range[mem 0x0b00a000-0x0b00aff7], SPI[448:479]
[    0.000000] GICv2m: range[mem 0x0b00b000-0x0b00bff7], SPI[480:511]
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 and mmio timer(s) running at 24.00MHz (virt/virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000125] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000144] pid_max: default: 32768 minimum: 301
[    0.005123] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.005148] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.011430] rcu: Hierarchical SRCU implementation.
[    0.011444] rcu:     Max phase no-delay instances is 1000.
[    0.011958] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[    0.012559] smp: Bringing up secondary CPUs ...
[    0.013617] Detected VIPT I-cache on CPU1
[    0.013763] CPU1: Booted secondary processor 0x0000000001 [0x51af8014]
[    0.013986] smp: Brought up 1 node, 2 CPUs
[    0.014005] SMP: Total of 2 processors activated.
[    0.014010] CPU: All CPU(s) started at EL1
[    0.014016] CPU features: detected: 32-bit EL0 Support
[    0.014022] CPU features: detected: CRC32 instructions
[    0.014099] alternatives: applying system-wide alternatives
[    0.014332] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.014579] Memory: 439820K/524288K available (8704K kernel code, 894K rwdata, 2768K rodata, 21056K init, 285K bss, 82624K reserved, 0K cma-reserved)
[    0.021197] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.021232] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.021364] 24288 pages in range for non-PLT usage
[    0.021371] 515808 pages in range for PLT usage
[    0.023551] pinctrl core: initialized pinctrl subsystem
[    0.026277] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.027303] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[    0.027655] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.027965] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.028509] thermal_sys: Registered thermal governor 'step_wise'
[    0.028705] cpuidle: using governor menu
[    0.029016] ASID allocator initialised with 65536 entries
[    0.033752] /soc@0/phy@7e000: Fixed dependency cycle(s) with /soc@0/clock-controller@1800000
[    0.033792] /soc@0/phy@86000: Fixed dependency cycle(s) with /soc@0/clock-controller@1800000
[    0.033915] /soc@0/clock-controller@1800000: Fixed dependency cycle(s) with /soc@0/phy@7e000
[    0.033932] /soc@0/clock-controller@1800000: Fixed dependency cycle(s) with /soc@0/phy@86000
[    0.034010] /soc@0/interrupt-controller@b000000: Fixed dependency cycle(s) with /soc@0/interrupt-controller@b000000
[    0.034584] /soc@0/phy@7e000: Fixed dependency cycle(s) with /soc@0/clock-controller@1800000
[    0.034760] /soc@0/phy@86000: Fixed dependency cycle(s) with /soc@0/clock-controller@1800000
[    0.037976] /soc@0/phy@86000: Fixed dependency cycle(s) with /soc@0/clock-controller@1800000
[    0.038066] /soc@0/phy@7e000: Fixed dependency cycle(s) with /soc@0/clock-controller@1800000
[    0.038234] /soc@0/clock-controller@1800000: Fixed dependency cycle(s) with /soc@0/phy@7e000
[    0.038327] /soc@0/clock-controller@1800000: Fixed dependency cycle(s) with /soc@0/phy@86000
[    0.076445] SCSI subsystem initialized
[    0.076925] usbcore: registered new interface driver usbfs
[    0.077001] usbcore: registered new interface driver hub
[    0.077110] usbcore: registered new device driver usb
[    0.077558] qcom_scm: convention: smc arm 64
[    0.080345] clocksource: Switched to clocksource arch_sys_counter
[    0.084586] NET: Registered PF_INET protocol family
[    0.084849] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.087007] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.087043] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.087065] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.087120] TCP bind hash table entries: 4096 (order: 5, 131072 bytes, linear)
[    0.087300] TCP: Hash tables configured (established 4096 bind 4096)
[    0.087934] MPTCP token hash table entries: 512 (order: 2, 12288 bytes, linear)
[    0.088188] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.088224] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.088777] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.088841] PCI: CLS 0 bytes, default 64
[    0.091965] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[    0.092723] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.092739] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.105159] qcom-m31usb-phy 5b000.phy: Registered M31 USB phy
[    0.117008] qcom-pcie 80000000.pcie: host bridge /soc@0/pcie@80000000 ranges:
[    0.117105] qcom-pcie 80000000.pcie:       IO 0x0080200000..0x00802fffff -> 0x0000000000
[    0.117143] qcom-pcie 80000000.pcie:      MEM 0x0080300000..0x00902fffff -> 0x0080300000
[    0.118148] qcom-pcie a0000000.pcie: host bridge /soc@0/pcie@a0000000 ranges:
[    0.118231] qcom-pcie a0000000.pcie:       IO 0x00a0200000..0x00a02fffff -> 0x0000000000
[    0.118267] qcom-pcie a0000000.pcie:      MEM 0x00a0300000..0x00b02fffff -> 0x00a0300000
[    0.121868] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.123691] msm_serial 78af000.serial: msm_serial: detected port #0
[    0.123840] msm_serial 78af000.serial: uartclk = 1843199
[    0.124549] 78af000.serial: ttyMSM0 at MMIO 0x78af000 (irq = 21, base_baud = 115199) is a MSM
[    0.124679] msm_serial: console setup on port #0
[    0.124747] printk: legacy console [ttyMSM0] enabled
[    0.244782] qcom-pcie 80000000.pcie: iATU: unroll T, 8 ob, 8 ib, align 4K, limit 1024G
[    0.247895] msm_serial: driver initialized
[    0.253771] qcom-pcie a0000000.pcie: iATU: unroll T, 8 ob, 8 ib, align 4K, limit 1024G
[    1.028755] loop: module loaded
[    1.037854] spi-nand spi0.0: ESMT SPI NAND was found.
[    1.037918] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    1.043936] qcom_snand 79b0000.spi: ECC strength requirement of 1-bit(s) is unsupported, trying 4-bits
[    1.120499] qcom-pcie a0000000.pcie: PCIe Gen.2 x2 link up
[    1.121194] qcom-pcie a0000000.pcie: PCI host bridge to bus 0000:00
[    1.124940] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.131210] pci_bus 0000:00: root bus resource [io  0x100000-0x1fffff] (bus address [0x0000-0xfffff])
[    1.136638] pci_bus 0000:00: root bus resource [mem 0xa0300000-0xb02fffff]
[    1.146102] pci 0000:00:00.0: [17cb:1004] type 01 class 0x060400 PCIe Root Port
[    1.152804] pci 0000:00:00.0: BAR 0 [mem 0x00000000-0x00000fff]
[    1.159910] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.165858] pci 0000:00:00.0:   bridge window [io  0x100000-0x100fff]
[    1.171037] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
[    1.177614] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff 64bit pref]
[    1.184575] pci 0000:00:00.0: PME# supported from D0 D3hot D3cold
[    1.195465] pci 0000:01:00.0: [17cb:1104] type 00 class 0x028000 PCIe Endpoint
[    1.198287] pci 0000:01:00.0: BAR 0 [mem 0x00000000-0x001fffff 64bit]
[    1.206037] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    1.212037] pci 0000:01:00.0: 8.000 Gb/s available PCIe bandwidth, limited by 5.0 GT/s PCIe x2 link at 0000:00:00.0 (capable of 15.752 Gb/s with 8.0 GT/s PCIe x2 link)
[    1.218701] pci 0000:00:00.0: bridge window [mem 0xa0400000-0xa05fffff]: assigned
[    1.232768] pci 0000:00:00.0: BAR 0 [mem 0xa0300000-0xa0300fff]: assigned
[    1.240417] pci 0000:01:00.0: BAR 0 [mem 0xa0400000-0xa05fffff 64bit]: assigned
[    1.247105] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.254217] pci 0000:00:00.0:   bridge window [mem 0xa0400000-0xa05fffff]
[    1.259382] pci_bus 0000:00: resource 4 [io  0x100000-0x1fffff]
[    1.266373] pci_bus 0000:00: resource 5 [mem 0xa0300000-0xb02fffff]
[    1.272082] pci_bus 0000:01: resource 1 [mem 0xa0400000-0xa05fffff]
[    1.282855] pcieport 0000:00:00.0: PME: Signaling with IRQ 23
[    1.285577] pcieport 0000:00:00.0: AER: enabled with IRQ 23
[    1.430491] qcom-pcie 80000000.pcie: Phy link never came up
[    1.430885] qcom-pcie 80000000.pcie: PCI host bridge to bus 0001:00
[    1.434926] pci_bus 0001:00: root bus resource [bus 00-ff]
[    1.441303] pci_bus 0001:00: root bus resource [io  0x0000-0xfffff]
[    1.446713] pci_bus 0001:00: root bus resource [mem 0x80300000-0x902fffff]
[    1.453065] pci 0001:00:00.0: [17cb:1004] type 01 class 0x060400 PCIe Root Port
[    1.459839] pci 0001:00:00.0: BAR 0 [mem 0x00000000-0x00000fff]
[    1.467111] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    1.472984] pci 0001:00:00.0:   bridge window [io  0x0000-0x0fff]
[    1.478137] pci 0001:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
[    1.484438] pci 0001:00:00.0:   bridge window [mem 0x00000000-0x000fffff 64bit pref]
[    1.491284] pci 0001:00:00.0: PME# supported from D0 D3hot D3cold
[    1.503053] pci 0001:00:00.0: BAR 0 [mem 0x80300000-0x80300fff]: assigned
[    1.504973] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    1.511818] pci_bus 0001:00: resource 4 [io  0x0000-0xfffff]
[    1.516762] pci_bus 0001:00: resource 5 [mem 0x80300000-0x902fffff]
[    1.526447] pcieport 0001:00:00.0: PME: Signaling with IRQ 26
[    1.530440] pcieport 0001:00:00.0: AER: enabled with IRQ 26
[    2.429111] i2c_dev: i2c /dev entries driver
[    2.434516] sdhci: Secure Digital Host Controller Interface driver
[    2.434574] sdhci: Copyright(c) Pierre Ossman
[    2.439608] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.448641] remoteproc remoteproc0: releasing q6wcss
[    2.452897] NET: Registered PF_INET6 protocol family
[    2.456758] Segment Routing with IPv6
[    2.459724] In-situ OAM (IOAM) with IPv6
[    2.463429] NET: Registered PF_PACKET protocol family
[    2.467570] 8021q: 802.1Q VLAN Support v1.8
[    2.518191] spi-nand spi0.0: ESMT SPI NAND was found.
[    2.518240] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    2.522758] qcom_snand 79b0000.spi: ECC strength requirement of 1-bit(s) is unsupported, trying 4-bits
[    2.553572] 18 qcomsmem partitions found on MTD device spi0.0
[    2.553630] Creating 18 MTD partitions on "spi0.0":
[    2.558318] 0x000000000000-0x000000080000 : "0:sbl1"
[    2.565111] 0x000000080000-0x000000100000 : "0:mibib"
[    2.570089] 0x000000100000-0x000000140000 : "0:bootconfig"
[    2.574863] 0x000000140000-0x000000180000 : "0:bootconfig1"
[    2.579996] 0x000000180000-0x000000280000 : "0:qsee"
[    2.587325] 0x000000280000-0x000000380000 : "0:qsee_1"
[    2.592141] 0x000000380000-0x0000003c0000 : "0:devcfg"
[    2.595704] 0x0000003c0000-0x000000400000 : "0:devcfg_1"
[    2.600897] 0x000000400000-0x000000440000 : "0:cdt"
[    2.606405] 0x000000440000-0x000000480000 : "0:cdt_1"
[    2.611088] 0x000000480000-0x000000500000 : "0:appsblenv"
[    2.616599] 0x000000500000-0x000000640000 : "0:appsbl"
[    2.623311] 0x000000640000-0x000000780000 : "0:appsbl_1"
[    2.628203] 0x000000780000-0x000000880000 : "0:art"
[    2.633914] 0x000000880000-0x000000980000 : "0:xucert"
[    2.637903] 0x000000980000-0x000000a00000 : "0:training"
[    2.642451] 0x000000a00000-0x000004400000 : "rootfs"
[    2.738409] mtd: setting mtd16 (rootfs) as root device
[    2.739176] mtdsplit: no squashfs found in "rootfs"
[    2.742610] 0x000004400000-0x000007e00000 : "rootfs_1"
[    2.858788] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 799999 KHz, changing to: 800000 KHz
[    2.861907] remoteproc remoteproc0: q6wcss is available
[    2.87▒[    2.888626] Freeing unused kernel memory: 21056K
[    2.888766] Run /init as init process
[    4.064743] init: Console is alive
[    4.065150] init: - watchdog -
[    4.094697] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.108088] button_hotplug: loading out-of-tree module taints kernel.
[    4.108740] Button Hotplug driver version 0.4.1
[    4.186155] ssdk_dt_parse_mac_mode[300]:INFO:mac mode1 doesn't exit!
[    4.186234] ssdk_dt_parse_mac_mode[308]:INFO:mac mode2 doesn't exit!
[    4.191954] ssdk_dt_parse_port_bmp[1064]:INFO:port_bmp doesn't exist!
[    4.197967] ssdk_dt_parse_interrupt[942]:INFO:intr-gpio does not exist
[    5.710376] ssdk_mp_reset_init[1311]:INFO:MP reset successfully!
[    6.041380] _adpt_mp_uniphy_clk_output_ctrl_set[264]:INFO:uniphy will output clock as 25000000Hz
[    6.041480] regi_init[2548]:INFO:Initializing SCOMPHY Done!!
[    6.049455] regi_init[2574]:INFO:qca-ssdk module init succeeded!
[    6.135609] nss-dp 39d00000.dp2 (unnamed net_device) (uninitialized): nss_dp_gmac: Registering netdev eth%d(qcom-id:2) with GMAC, mac_base: 0xffffffc082990000
[    6.136919] Generic PHY fixed-0:00: attached PHY driver (mii_bus:phy_addr=fixed-0:00, irq=POLL)
[    6.150848] **********************************************************
[    6.157302] * NSS Data Plane driver
[    6.164027] **********************************************************
[    6.227743] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    6.227847] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[    6.232612] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe65 hci version 0x110 quirks 0x0000808000000010
[    6.239825] xhci-hcd xhci-hcd.1.auto: irq 37, io mem 0x08a00000
[    6.249434] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    6.255167] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[    6.260649] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    6.270694] hub 1-0:1.0: USB hub found
[    6.275073] hub 1-0:1.0: 1 port detected
[    6.280224] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.284316] hub 2-0:1.0: USB hub found
[    6.291039] hub 2-0:1.0: 1 port detected
[    6.314453] usbcore: registered new interface driver usb-storage
[    6.321210] usbcore: registered new interface driver uas
[    6.322189] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.336330] init: - preinit -
[    6.540601] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    6.772313] qca8k 90000.mdio-1:10: configuring for fixed/sgmii link mode
[    6.779400] qca8k 90000.mdio-1:10: Link is Up - 1Gbps/Full - flow control off
[    6.841077] qca8k 90000.mdio-1:10 lan1 (uninitialized): PHY [90000.mdio-1:00] driver [Qualcomm Atheros 8337 internal PHY] (irq=POLL)
[    6.911128] qca8k 90000.mdio-1:10 lan2 (uninitialized): PHY [90000.mdio-1:01] driver [Qualcomm Atheros 8337 internal PHY] (irq=POLL)
[    6.981050] qca8k 90000.mdio-1:10 lan3 (uninitialized): PHY [90000.mdio-1:02] driver [Qualcomm Atheros 8337 internal PHY] (irq=POLL)
[    7.051021] qca8k 90000.mdio-1:10 wan (uninitialized): PHY [90000.mdio-1:03] driver [Qualcomm Atheros 8337 internal PHY] (irq=POLL)
[    7.059381] nss-dp 39d00000.dp2 eth0: entered promiscuous mode
[    7.061881] DSA: tree 0 setup
[    8.610345] random: crng init done
cat: can't open '/tmp/sysinfo/device_name': No such file or directory
cfg01aa45
Cannot parse config file '/etc/fw_env.config': No such file or directory
Failed to find NVMEM device
[    8.961254] nss-dp 39d00000.dp2 eth0: PHY Link up speed: 1000
[    8.961882] adpt_mp_port_netdev_change_notify[1186]:ERROR:netdev change notify with incorrect port 0
[    8.966017] ssdk_dev_event[2313]:ERROR:netdev change notify failed
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   13.225408] nss-dp 39d00000.dp2 eth0: PHY Link is down
[   13.233347] procd: - early -
[   13.233592] procd: - watchdog -
Failed to connect to ubus
[   13.857955] procd: - watchdog -
[   13.858542] procd: - ubus -
[   13.923127] procd: - init -
Please press Enter to activate this console.
[   14.619744] kmodloader: loading kernel modules from /etc/modules.d/*
[   15.029244] urngd: v1.0.2 started.
[   15.150554] ntfs3: Enabled Linux POSIX ACLs support
[   15.158120] fuse: init (API version 7.41)
[   15.186612] usbcore: registered new interface driver cdc_acm
[   15.186675] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   15.202455] usbcore: registered new interface driver cdc_wdm
[   15.204189] Loading modules backported from Linux version v6.16-0-g038d61fd6422
[   15.207203] Backport generated by backports.git v6.1.145-1-47-g6194bf852a3e
[   15.287860] NET: Registered PF_QIPCRTR protocol family
[   15.305079] usbcore: registered new interface driver ums-alauda
[   15.306462] usbcore: registered new interface driver ums-cypress
[   15.313913] usbcore: registered new interface driver ums-datafab
[   15.332300] usbcore: registered new interface driver ums-freecom
[   15.335125] usbcore: registered new interface driver ums-isd200
[   15.342254] usbcore: registered new interface driver ums-jumpshot
[   15.351488] usbcore: registered new interface driver ums-karma
[   15.362601] usbcore: registered new interface driver ums-sddr09
[   15.364662] usbcore: registered new interface driver ums-sddr55
[   15.369512] usbcore: registered new interface driver ums-usbat
[   15.382473] usbcore: registered new interface driver usblp
[   15.406174] usbcore: registered new interface driver usbserial_generic
[   15.406318] usbserial: USB Serial support registered for generic
[   15.427216] usbcore: registered new interface driver cdc_ether
[   15.433270] usbcore: registered new interface driver cdc_ncm
[   15.488280] usbcore: registered new interface driver huawei_cdc_ncm
[   15.671139] PPP generic driver version 2.4.2
[   15.673976] NET: Registered PF_PPPOX protocol family
[   15.677074] usbcore: registered new interface driver qmi_wwan
[   15.682117] usbcore: registered new interface driver rndis_host
[   15.686943] usbcore: registered new interface driver sierra
[   15.691080] usbserial: USB Serial support registered for Sierra USB modem
[   15.726570] ath11k_pci 0000:01:00.0: BAR 0 [mem 0xa0400000-0xa05fffff 64bit]: assigned
[   15.726727] ath11k_pci 0000:01:00.0: enabling device (0000 -> 0002)
[   15.734663] ath11k_pci 0000:01:00.0: MSI vectors: 16
[   15.739620] ath11k_pci 0000:01:00.0: qcn9074 hw1.0
[   15.744858] ath11k_pci 0000:01:00.0: FW memory mode: 2
[   15.966396] mhi mhi0: Requested to power ON
[   15.966486] mhi mhi0: Power on setup success
[   16.080391] mhi mhi0: Wait for device to enter SBL or Mission mode
[   16.153722] usbcore: registered new interface driver cdc_mbim
[   16.159352] usbcore: registered new interface driver option
[   16.159616] usbserial: USB Serial support registered for GSM modem (1-port)
[   16.164372] option 1-1:1.0: GSM modem (1-port) converter detected
[   16.171644] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[   16.177550] option 1-1:1.1: GSM modem (1-port) converter detected
[   16.182293] ath11k_pci 0000:01:00.0: chip_id 0x0 chip_family 0x0 board_id 0xff soc_id 0xffffffff
[   16.184350] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
[   16.189914] ath11k_pci 0000:01:00.0: fw_version 0x290b8862 fw_build_timestamp 2024-09-23 10:51 fw_build_id
[   16.199157] option 1-1:1.2: GSM modem (1-port) converter detected
[   16.215747] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
[   16.221916] option 1-1:1.3: GSM modem (1-port) converter detected
[   16.228629] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3
[   16.242026] usbcore: registered new interface driver qcserial
[   16.242282] usbserial: USB Serial support registered for Qualcomm USB modem
[   16.247800] kmodloader: done loading kernel modules from /etc/modules.d/*
[   18.110015] ath11k_pci 0000:01:00.0: qmi failed to load CAL data file:cal-pci-0000:01:00.0.bin
[   18.110930] ath11k_pci 0000:01:00.0: failed to load board data file: -12
[   18.946856] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[   25.809813] nss-dp 39d00000.dp2 eth0: PHY Link up speed: 1000
[   25.811904] br-lan: port 1(eth0) entered blocking state
[   25.814572] br-lan: port 1(eth0) entered disabled state
[   25.819859] nss-dp 39d00000.dp2 eth0: entered allmulticast mode
[   26.810894] adpt_mp_port_netdev_change_notify[1186]:ERROR:netdev change notify with incorrect port 0
[   26.810980] ssdk_dev_event[2313]:ERROR:netdev change notify failed
[   26.819218] br-lan: port 1(eth0) entered blocking state
[   26.825243] br-lan: port 1(eth0) entered forwarding state



BusyBox v1.37.0 (2025-12-01 18:20:14 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r32188-2bc7978323
 -----------------------------------------------------

 === WARNING! =====================================
 There is no root password defined on this device!
 Use the "passwd" command to set up a new password
 in order to prevent unauthorized SSH logins.
 --------------------------------------------------


 OpenWrt recently switched to the "apk" package manager!

 OPKG Command           APK Equivalent      Description
 ------------------------------------------------------------------
 opkg install <pkg>     apk add <pkg>       Install a package
 opkg remove <pkg>      apk del <pkg>       Remove a package
 opkg upgrade           apk upgrade         Upgrade all packages
 opkg files <pkg>       apk info -L <pkg>   List package contents
 opkg list-installed    apk info            List installed packages
 opkg update            apk update          Update package lists
 opkg search <pkg>      apk search <pkg>    Search for packages
 ------------------------------------------------------------------

For more information visit:
https://openwrt.org/docs/guide-user/additional-software/opkg-to-apk-cheatsheet

Mam trochę błędów więc może coś, ktoś podpowie, jak poprawić.
Na ten moment poza błędami wyżej:
- brak WiFi
- dioda WAN ciągle świeci?
- nie mam dodanej łatki od modemu dla pcie (nie przechodzi mi/wywala że brak pliku?)

268

(751 odpowiedzi, napisanych Sprzęt / Hardware)

Jak na tak niewielki czas posiadania sprzetu to Cezary idziesz jak burza. Jeszcze kilka kaw smile i bedzie komplet.

P.S.
Jezeli byloby cisnienie na sprzet/zwrot to moge tez udostepnic moj egzemplarz.

269

(751 odpowiedzi, napisanych Sprzęt / Hardware)

frutis napisał/a:

Czyli WiFi 5GHz jest na qcn9024 po pci tutaj?

Tak Wi-Fi 5GHz jest na pci.

270

(751 odpowiedzi, napisanych Sprzęt / Hardware)

Cezary napisał/a:

Ale linksys też działa, przynajmniej się uruchamia.

Aha.. to musialem przekombinowac za bardzo smile.
Najwazniejsze by nie popsuc, dalej sie zobaczy, moze cos sie zdziala, cos nauczy.

271

(751 odpowiedzi, napisanych Sprzęt / Hardware)

Cezary napisał/a:

Na glinecie. Kilka zmian i prowizorka działa.

Jak ja patrzylem po plikach, ze mi ten gl-b3000 umknal. W ramach "nauki" tez nad tym jeszcze powalcze w wolnej chwili.

272

(751 odpowiedzi, napisanych Sprzęt / Hardware)

Cezary napisał/a:

Mam dziwne przeczucie że to co teraz poszło to była ta łatwiejsza część,  teraz pewnie trzeba przysiąść i dowiedzieć się jak reszta powinna działać.

Co konkretnie Cezary masz na mysli? sugerujesz ze bedze wiecej zabawy z WAN, modemem (tu chyba gpio 31 do wlaczenia), flash?

Bazowales na ktoryms juz istniejacym dts?

273

(751 odpowiedzi, napisanych Sprzęt / Hardware)

Cezary napisał/a:

Odebrałem go 2 godzinki temu. I co?

Ja bym odpisal.. I już tyle do przodu.
Nie ma to jak doswiadczenie smile. Cezary szacun.

P.S.
Ja sie nie pokaleczylem, przycisk tez caly, ale tak.. trzeba delikatnie rozbierac lub miec narzedzia.

274

(751 odpowiedzi, napisanych Sprzęt / Hardware)

Cezary napisał/a:

@mvincm wypożyczył mi sprzęt, więc on i tak już idzie do mnie. Będę miał chwilę czasu to zobaczymy co się da zrobić, jeżeli ktoś się za niego zabrał lub zabiera to niech da znać, żeby nie duplikować prac.

Ja na ten moment zrobilem kopie partycji/ustawien, rozpiske gpio/led, cos walczylem z wlasnym mini dts ale bez powodzenia. Ciezko mi ruszyc bo nie ma drugiego takiego routera w dts, chyba ze mi umknelo.

Kierowalem sie:

root@Exigo_Hub:~# swconfig list
Found: switch0 - QCA MP
Found: switch1 - QCA AR8337

Aby moze latwiej bylo przeniesc na dsa. Z QCA AR8337 mamy taki Linksys MR5500, Xiaomi AX6000.

275

(751 odpowiedzi, napisanych Sprzęt / Hardware)

c#Hunter napisał/a:

Szkoda czasu Cezarego na ten wynalazek, jak wiemy sama platforma ipq5xx jest słaba i typowo operatorska. Bez binarek Qualcomma nie ma szans to dobrze działać a te binarki mają swoje ograniczenia.
(...)
Jak ktos kompilował kiedyś OpenWRT z blobami to widzi co jest grane. Ten soft źle nie działa. Jakby Chińczyk dał swoje pliki i configi kompilacji można by zerknąć. Bez tego, moim zdaniem, to strata czasu.

Po takim pozytywnym opisie mam ochote od razu spakowac router i wystawic go na sprzedaz.

Wszyscy doskonale wiemy ze to router budzetowy i za te $$$ nie powinien sie nawet uruchamiac, a co dopiero zeby dawal dostep do internetu.

c#Hunter napisał/a:

Tak samo czytam (na pepper), że ludzie probują robić opkg update opkg upgrade...

Dlatego warto sprobowac dorobic wsparcie, aby ta "puszka z modemem" miala normalna funkcjonalnosc.