Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Firefly-RK3288 Slackware Arm

403

Credits

10

Prestige

12

Contribution

intermediate

Rank: 3Rank: 3

Credits
403
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.

  
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list