Uboot:mount无法在/ etc / fstab中找到root分区

时间:2016-08-10 09:18:26

标签: debian mount beagleboneblack fstab

我使用Debian Jessie 8.5的BeagleBone Black,所以BBB从eMMc启动。

我的目标是使用SPI,但是根据RobertCNelson,cape管理器不可用,我已经设置了linux图像3.8.13。

一切都很好,但是当我按照步骤使用elinux上描述的启用spidev的SPI0时,它不再启动了:

mount : can't find /root in /etc/fstab
Target filesystem doesn't have requested /sbin/init
mount : mounting /dev on /root/dev failed : No such file or directory
No init found. Try passing init= bootarg

使用Busybox和(initramfs)提示符,我已在/ mnt上手动挂载/dev/mmcblk0p1分区。 Fstab没问题,但/mnt/boot/uboot目录为空。

有谁能告诉我如何解决它?

编辑:这是我的/boot/uEnv.txt文件:

    #Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0

    uname_r=3.8.13-bone68
    ##uuid=
    #dtb=

    ##BeagleBone Black/Green dtb's for v4.1.x (BeagleBone White just works..)

    ##BeagleBone Black: HDMI (Audio/Video) disabled:
    #dtb=am335x-boneblack-emmc-overlay.dtb

    ##BeagleBone Black: eMMC disabled:
    #dtb=am335x-boneblack-hdmi-overlay.dtb

    ##BeagleBone Black: HDMI Audio/eMMC disabled:
    #dtb=am335x-boneblack-nhdmi-overlay.dtb

    ##BeagleBone Black: HDMI (Audio/Video)/eMMC disabled:
    #dtb=am335x-boneblack-overlay.dtb

    ##BeagleBone Black: wl1835
    #dtb=am335x-boneblack-wl1835mod.dtb

    ##BeagleBone Green: eMMC disabled
    #dtb=am335x-bonegreen-overlay.dtb

    cmdline=coherent_pool=1M quiet cape_universal=enable

    #In the event of edid real failures, uncomment this next line:
    #cmdline=coherent_pool=1M quiet cape_universal=enable video=HDMI-A-1:1024x768@60e

   ##Example v3.8.x
   #cape_disable=capemgr.disable_partno=
   #cape_enable=capemgr.enable_partno=

   ##Example v4.1.x
   #cape_disable=bone_capemgr.disable_partno=
   #cape_enable=bone_capemgr.enable_partno=

   ##enable Generic eMMC Flasher:
   #cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh

   #Load SPI
   optargs=quiet drm.debug=7 capemgr.enable_partno=BB-SPI0-01

   uuid=29dc1724-e732-4f02-91d1-7b206a4cb317

0 个答案:

没有答案