Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

求支持rp-box-3566 #2758

Open
hiproz opened this issue Jan 19, 2025 · 1 comment
Open

求支持rp-box-3566 #2758

hiproz opened this issue Jan 19, 2025 · 1 comment

Comments

@hiproz
Copy link

hiproz commented Jan 19, 2025

硬件参见:https://doc.rpdzkj.cn/#/zh_cn/%E7%91%9E%E8%8A%AF%E5%BE%AE%E7%B3%BB%E5%88%97/rk3566-rk3568/1.%E7%A1%AC%E4%BB%B6%E4%BB%8B%E7%BB%8D

目前用 jp-tvbox的固件验证,系统和hdmi正常,但是网卡无法驱动,说明uboot是跟jp-tvbox一样的。

dts如下:

rp-box-3566.zip

补充:我按原厂的基线代码按指导手册编译出来的固件(ubuntu kernek和debian都试了),现象都一样,hdmi是绿屏,还没搞明白。但是原厂的预编译的固件hdmi是正常的

O大支持好了,我可以验证测试,谢谢

@hiproz
Copy link
Author

hiproz commented Feb 6, 2025

参考原厂的 gmac 相关的 dts 配置,替换jp-tvbox 相关配置后,网卡可以了,但是 hdmi 又不行了:

&gmac1 {
        phy-mode = "rgmii";
        clock_in_out = "input";

        snps,reset-gpio = <&gpio3 RK_PB4 GPIO_ACTIVE_LOW>;
        snps,reset-active-low;
        /* Reset time is 20ms, 100ms for rtl8211f */
        snps,reset-delays-us = <0 20000 100000>;

        assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1>, <&cru CLK_MAC1_OUT>;
        assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>,<&gmac1_clkin>;
        assigned-clock-rates = <0>, <125000000>, <25000000>;

        pinctrl-names = "default";
        pinctrl-0 = <&gmac1m0_miim
                     &gmac1m0_tx_bus2
                     &gmac1m0_rx_bus2
                     &gmac1m0_rgmii_clk
                     &gmac1m0_rgmii_bus
                        &gmac1m0_clkinout
            &eth1m0_pins>;

        tx_delay = <0x3a>;
        rx_delay = <0x29>;
        phy-handle = <&rgmii_phy1>;
        status = "okay";
};

&mdio1 {
        rgmii_phy1: phy@0 {
                compatible = "ethernet-phy-ieee802.3-c22";
                reg = <0x0>;
        clocks = <&cru CLK_MAC1_OUT>;
        };
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant