-
Notifications
You must be signed in to change notification settings - Fork 43
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
"Unable to mount root fs" #23
Comments
Use this patch: #21 Alternatively: cd linux-5.10.4-808
cp c906.config .config |
Thanks for the reply, however I'm getting the same result as before:
|
Make sure the kernel is actually getting recompiled. The simplest way is probably to start from a fresh repository. It could be something else, but your error message is the exact same one I got when I didn't copy over the default config. |
Seems this was the issue, and in addition to that I didn't use the "switch-to-m1sdock" script this time. It apparently boots now, tho I'm not getting any UART output on one of the COM ports, the other one just shows that the bootloader ran successfully. |
You do need to run the |
Okay, this seems to be related to THIS patch file for the M1s Dock. |
In a fresh repository, after: cp c906.config .config you can run make oldconfig to make sure it's picking up the new configuration correctly. After that: diff c906.config .config will tell you if it had to change any parameters. |
The only other thing I can think of: double-check to make sure you ticked the "single download" option in BLDevCube when flashing |
Running this and pressing Enter for all options it's asking me results in a 70+KB big .config afterwards, where the original c906.config is just about 56KB big. |
Even after doing the "make oldconfig" and then compiling all of it again (in a new repo copy) it still shows the same error that root is missing. |
OK I have reproduced your issue. The problem is introduced by commits made after PR #21 was opened. I will take a look at it tomorrow. For now you can do: git clone https://github.com/cjacker/bl808_linux
cd bl808-linux
git checkout build_fix and then follow the usual procedures. No messing around with |
Yep, this seemed to work :) Linux is now up and running. Thanks a lot! |
Is this the current fix to this bug? |
Or just revert 3ab7f93 . |
Heya,
I'm by no means an expert in compiling or with the BL808 in general and I'm stuck on the following error message after booting up my M1s Dock for the first time:
I've followed the steps in the guide and everything went fine when it comes to flashing. I've also used the
switch_to_m1sdock.sh
script before compiling the firmware.What could I have done wrong? I also enabled the "Erase Flash" option in Dev Cube to erase the old Linux that was on there.
Thanks already for your help!
The text was updated successfully, but these errors were encountered: