20240605解决飞凌的OK3588-C的核心板刷机原厂buildroot不能连接ADB的问题
2024/6/5 13:53


rootroot@rootroot-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ ./build.sh --help
rootroot@rootroot-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ ./build.sh lunch
3. rockchip_rk3588_evb7_v11_defconfig
Which would you like? [1]: 3
rootroot@rootroot-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ 
rootroot@rootroot-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ ./build.sh
rootroot@rootroot-ThinkBook-16-G5-IRH:~/repo_RK3588_Buildroot20240508$ 


Z:\repo_RK3588_Buildroot20240508\kernel\arch\arm64\boot\dts\rockchip\rk3588-evb.dtsi
&usbdrd_dwc3_0 {
    dr_mode = "otg";
    status = "okay";
};

修改为:

&usbdp_phy1_u3 {
    status = "okay";
};

&usbdrd3_0 {
    status = "okay";
};

&usbdrd_dwc3_0 {
    dr_mode = "peripheral";
    status = "okay";
};

&usbhost3_0 {
    status = "okay";
};

&usbhost_dwc3_0 {
    status = "okay";
};

&usbdrd3_1 {
    status = "okay";
};

&usbdrd_dwc3_1 {
    status = "okay";
};

&vdpu {
    status = "okay";
};


Z:\repo_RK3588_Buildroot20240508\kernel\arch\arm64\boot\dts\rockchip\rk3588-evb7-v11.dtsi
&usbdrd_dwc3_0 {
    dr_mode = "otg";
    usb-role-switch;
    port {
        #address-cells = <1>;
        #size-cells = <0>;
        dwc3_0_role_switch: endpoint@0 {
            reg = <0>;
            remote-endpoint = <&usbc0_role_sw>;
        };
    };
};

修改为:

&usbdp_phy1 {
    rockchip,dp-lane-mux = <0 1 2 3>;
};

&usbdrd_dwc3_0 {
    dr_mode = "peripheral";
    usb-role-switch;
    port {
        #address-cells = <1>;
        #size-cells = <0>;
        dwc3_0_role_switch: endpoint@0 {
            reg = <0>;
            remote-endpoint = <&usbc0_role_sw>;
        };
    };
};

&usbhost3_0 {
    status = "disabled";
};

&usbhost_dwc3_0 {
    status = "disabled";
};

&work_led {
    gpios = <&gpio1 RK_PC6 GPIO_ACTIVE_HIGH>;
    pinctrl-names = "default";
    pinctrl-0 = <&work_leds_gpio>;
};

点赞(0) 打赏

评论列表 共有 0 条评论

暂无评论

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部