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

[openwrt-23.05] mediatek: enable rootwait for cmcc rax3000m emmc version #15077

Open
wants to merge 2 commits into
base: openwrt-23.05
Choose a base branch
from

Conversation

1715173329
Copy link
Member

Sometimes the mmc deivce may come up later than kernel attempts to mount rootfs, resulting kernel panic.
Enable rootwait to fix it.

@github-actions github-actions bot added core packages pull request/issue for core (in-tree) packages target/mediatek pull request/issue for mediatek target release/23.05 pull request/issue targeted (also) for OpenWrt 23.05 release labels Apr 5, 2024
@dangowrt
Copy link
Member

dangowrt commented Apr 8, 2024

Won't it be easier to add this to cmdline using /chosen/ section in DTS rather than having to replace the bootloader (again) just for that?

@1715173329
Copy link
Member Author

Won't it be easier to add this to cmdline using /chosen/ section in DTS rather than having to replace the bootloader (again) just for that?

Yes I added bootargs-append = " rootwait"; to chosen as well.

@hauke
Copy link
Member

hauke commented Apr 30, 2024

Please add this to the main branch first. After it was merged into main we can backport it to openwrt 3.05

@1715173329
Copy link
Member Author

Please add this to the main branch first. After it was merged into main we can backport it to openwrt 3.05

In main branch it will be fixed in different approach, FYI #15054.

@cyyself
Copy link
Contributor

cyyself commented Jun 5, 2024

There is no action for one month. I think this branch is ready now. @dangowrt

Sometimes the mmc deivce may come up later than kernel attempts to
mount rootfs, resulting kernel panic. Enable rootwait to fix it.

Reported-by: Yangyu Chen <cyy@cyyself.name>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
The MAC address assigned to lan/wan was reversed on eMMC boards.

Fixes: d3c1935 ("mediatek: add CMCC RAX3000M support")
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core packages pull request/issue for core (in-tree) packages release/23.05 pull request/issue targeted (also) for OpenWrt 23.05 release target/mediatek pull request/issue for mediatek target
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants