Comments (5)
Sometimes the boot will work, however then it crashes with the following error:
[ 7.195748] VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2): error -6
[ 7.203832] Please append a correct "root=" boot option; here are the available partitions:
[ 7.212340] 0100 4096 ram0 (driver?)
[ 7.217049] 0101 4096 ram1 (driver?)
[ 7.221771] 0102 4096 ram2 (driver?)
[ 7.226475] 0103 4096 ram3 (driver?)
[ 7.231195] 0104 4096 ram4 (driver?)
[ 7.241095] 0105 4096 ram5 (driver?)
[ 7.250895] 0106 4096 ram6 (driver?)
[ 7.260569] 0107 4096 ram7 (driver?)
[ 7.270123] 0108 4096 ram8 (driver?)
[ 7.279522] 0109 4096 ram9 (driver?)
[ 7.288835] 010a 4096 ram10 (driver?)
[ 7.298175] 010b 4096 ram11 (driver?)
[ 7.307491] 010c 4096 ram12 (driver?)
[ 7.316733] 010d 4096 ram13 (driver?)
[ 7.325908] 010e 4096 ram14 (driver?)
[ 7.334956] 010f 4096 ram15 (driver?)
[ 7.343895] b300 7634944 mmcblk0 driver: mmcblk
[ 7.353375] b318 512 mmcblk0rpmb (driver?)
[ 7.362750] b310 4096 mmcblk0boot1 (driver?)
[ 7.372226] b308 4096 mmcblk0boot0 (driver?)
[ 7.381596] b320 15711232 mmcblk1 driver: mmcblk
[ 7.390928] b321 262144 mmcblk1p1 017d4b90-01
[ 7.400193] b322 15346688 mmcblk1p2 017d4b90-02
[ 7.409331] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
[ 7.421638] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 4.4.70-BPI-R2-Kernel #1
Looks like mmcblk* numbers are inverted, AFAIK we should have mmcblk0p1/2 and mmcblk1boot0/1
from bpi-r2-bsp.
@dfiloni for the issue you encountered, because the MMC0(EMMC) was named as mmcblk0, but there is no avaialable file system on it, and the command line is "..... root=/dev/mmcblk0p2 ...", so it crashed.
There are two workarounds:
- Change the command line in <SD/part1>/bananapi/bpoi-r2/linux/uEnv.txt to “..... root=/dev/mmcblk1p2 ......", or
- Disable the MMC0(EMMC) in dts(mt7623n-bpi-r2.dts), rebuild the kernal, and then update the kernel image of SD .
Let me know if you have any problem.
from bpi-r2-bsp.
@garywangcn: I already applied the first workaround, it works fine after the uEnv.txt fix ;) Then it boots fine each time (looks like only the first boot triggers the issue described by you in this bug)
from bpi-r2-bsp.
@dfiloni Thanks for your information.
I think the issue you reported is not the same with the one I encountered.
from bpi-r2-bsp.
Hello,
I have exactly the same issue. Sometime after power outage I can not boot in OS. It stays on the same step as on the screenshot from the first post (Key type dns_resolver registered). I can only boot after several restarts (after 5-6 restarts OS will boot succesfully).
Thank you,
from bpi-r2-bsp.
Related Issues (20)
- MT7623 preloader source code HOT 3
- powerdown not working HOT 9
- GPIO not working HOT 24
- build.sh complete with logging HOT 3
- uart0/1 TX not working HOT 1
- Bug in init of ethernet driver? HOT 3
- is it i2s or i2c? HOT 3
- unable to disable tx-checksum-ipv4 for both eth0 and eth1 HOT 3
- Using 4G module with R2 will occur DNS error in some usage scenarios HOT 2
- dkpg error on Linux Kernel version syntax
- mt6625l using major-device-number from spi
- Environment of u-boot won't save in sd cart when boot from external sd card. HOT 3
- [uboot] uenv.txt is not loaded before display bootmenu
- kernel compilation failed HOT 5
- Kernel compilation failed (configuration multimedia support on module instead of builded in)
- USB3.0 (XHCI) Limited Problem
- GE Port Could not support 10Mb and 100Mb, just only support 1Gb HOT 2
- What's the maximum size for the SD card HOT 2
- Preloader's uboot load size HOT 2
- otg not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bpi-r2-bsp.