Edited by tony_zhang at Jan 30, 2016 03:39 |
Somedays ago, I found my Banana Pro stuck on the booting stage when I use Linux distribution, and I look over the boot log file:
Copy the Code
- Waiting for root device /dev/mmcblk0p2...
This means, the Banana Pro can load the uboot, kernel (UImage), uEvt.txt correctly, but can not load the root file system.
The reason is that, after it load kernel, it will use the dirver for SD card to detect the SD card status, if there is some problem between SD card and SD card slot connections, it will think the SD card is not here.
So in order to avoid the SD card detection, because the Banana Pro must have SD card to boot the system, we can do a little modification in the script.bin (script.fex) file:
3. Then change the FEX file back to the script.bin file and replace the old script.bin.
- Find the script.bin file in your system, and transform it to a .FEX format file such as script.fex (http://wiki.lemaker.org/BananaPro/Pi:Building_u-boot,_script.bin_and_linux-kernel#Building_script.bin);
- Then use a text editor to open the FEX file, and find the [mmc0_para] block, and change the parameter:
Now you can insert again your SD card, it will no longer happen "Waiting for root device /dev/mmcblk0p2... "