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

关于支持OP固件从R4SE EMMC启动的问题 #61

Open
gylearner opened this issue Jun 28, 2024 · 1 comment
Open

关于支持OP固件从R4SE EMMC启动的问题 #61

gylearner opened this issue Jun 28, 2024 · 1 comment

Comments

@gylearner
Copy link

gylearner commented Jun 28, 2024

阅读issue:发现OpenWrt 使用的是主线内核与uboot,
FriendlyWrt 使用的是基于cpu厂商rockchip定制的内核和uboot,

我的设备是r4se,我想在官方openwrt的repo上结合 rockchip 定制的内核和uboot,编译生成自己的固件,这样就能够直接刷在emmc上,能不能请官方教教我?
之前已经在友善、恩山搜过多次,甚至掏50块钱问所谓大佬,大佬告诉我:把官方/package/boot文件夹和target/linux/rockchip文件夹替换为lede或friendly对应的文件夹,重新编译即可,可我还是没能成功,编译选项里根本没有r4se固件选项,请教大神,具体该怎么做,万分感谢!!!

@gylearner gylearner changed the title 跪求大神,能否教我一下! 关于支持OP固件从R4SE EMMC启动的问题 Jun 30, 2024
@friendlyarm
Copy link
Owner

R4S的6.1内核是基于主线的6.1分支,不算是rockchip定制的内核

以官方openwrt为基础来定制话,对于23.05分支,可以尝试选择R4S,其中内核需要针对R4SE启用emmc,然后编译并调试。
以下是启用emmc相关的dts:

&emmc_phy {
	status = "okay";
};

&sdhci {
	mmc-hs400-1_8v;
	mmc-hs400-enhanced-strobe;
	status = "okay";
};

对于主线的uboot,理论上应该支持从emmc启动,如果不能则需要根据实际情况来适配。

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

2 participants