|
Posted at 3/23/2015 18:08:46
1#
Last edited by busybee In 3/23/2015 18:17 Editor
This the error line running your boot.img:
mount: mounting /dev/block/mtd/by-name/linuxroot on /mnt failed: No such file or directory
ERROR: No /sbin/init found on rootdev (or not mounted). Trouble ahead.
You can try to fix it. Type 'exit' when things are done.
You need to fix the root= in the parameter, or use a script like
https://github.com/TeeFirefly/in ... ount/mtd-by-name.sh
in your initramfs to create the block device symlink.
Follow these commands to fix the parameter in your board:
sudo rkflashkit backup @parameter parm.txt # fetch parameter from board
sudo vi parm.t.txt # modify "root= /dev/block/mtd/by-name/linuxroot" to "root=/dev/mmcblk0p5"
sudo rkflashkit flash @parameter parm.txt # flash back parameter to board
sudo rkflashkit reboot # reboot the device
You might replace /dev/mmcblk0p5 above to fit your actual root dev.
|
|