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

action 修改 dts #4

Closed
lbbboy opened this issue Jun 3, 2022 · 3 comments
Closed

action 修改 dts #4

lbbboy opened this issue Jun 3, 2022 · 3 comments

Comments

@lbbboy
Copy link

lbbboy commented Jun 3, 2022

对于V1.0的板子,您可以直接把dts中usb0的dr_mode改成host来启动该USB。

怎么用脚本实现呢?

@soulant
Copy link

soulant commented Jun 3, 2022

cd ./armbian-onecloud/patch/kernel/archive/meson-5.10
cp support-xunlei-onecloud.patch{,bak}
sed -i "/dr_mode/ s/otg/host/" support-xunlei-onecloud.patch

To build at the same time, you must write another configuration and modify the Makefile.

@hzyitc
Copy link
Owner

hzyitc commented Jun 3, 2022

Thank @soulant.

Note: The path of edge is meson-5.18 instand of meson-5.10.


感谢 @soulant

注意:edge的路径是meson-5.18而不是meson-5.10

@hzyitc
Copy link
Owner

hzyitc commented Jun 9, 2022

Close due to fix in 6f25cd6

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

3 participants