OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 1108|回复: 0

yocto编译后用nfs挂载需要更改权限才能进入桌面,如果烧到emmc中则不需要改权限

[复制链接]

2

主题

8

帖子

0

精华

新手上路

积分
32
金钱
32
注册时间
2020-1-2
在线时间
7 小时
发表于 2020-4-8 01:36:57 | 显示全部楼层 |阅读模式

Freeing unused kernel memory: 404K (80967000 - 809cc000)
INIT: version 2.88 booting
mount: only root can mount proc on /proc
/etc/rcS.d/S00psplash.sh: line 10: /proc/cmdline: No such file or directory
mount: only root can use "--options" option (effective UID is 1000)
mount: only root can use "--types" option (effective UID is 1000)
grep: /proc/filesystems: No such file or directory
mount: only root can use "--no-mtab" option (effective UID is 1000)
bootlogd: cannot allocate pseudo tty: No such file or directory
/etc/rcS.d/S37populate-volatile.sh: line 205: /proc/cmdline: No such file or directory
grep: /proc/filesystems: No such file or directory
/etc/rcS.d/S38dmesg.sh: line 17: /var/log/dmesg: No such file or directory
random: dd urandom read with 85 bits of entropy available
ALSA: Restoring mixer settings...
/usr/sbin/alsactl: state_lock:125: file /var/lib/alsa/asound.state lock error: No such file or directory
/usr/sbin/alsactl: load_state:1683: Cannot open /var/lib/alsa/asound.state for reading: No such file or directory
sysctl: cannot stat /proc/sys/net/ipv4/conf/default/rp_filter: No such file or directory
sysctl: cannot stat /proc/sys/net/ipv4/conf/all/rp_filter: No such file or directory
INIT: Entering runlevel: 5
Configuring network interfaces... ifup: interface lo already configured
/etc/network/if-pre-up.d/nfsroot: line 12: /proc/mounts: No such file or directory
run-parts: /etc/network/if-pre-up.d/nfsroot: exit status 1
cat: /proc/cmdline: No such file or directory
cat: /proc/cmdline: No such file or directory
Starting Xserver
Starting system message bus: random: nonblocking pool is initialized
Failed to start message bus: Failed to bind socket "/var/run/dbus/system_bus_socket": No such file or directory
dbus.
/etc/X11/functions: line 10: /proc/cpuinfo: No such file or directory
/etc/rc5.d/S05connman: line 15: /proc/mounts: No such file or directory
/etc/rc5.d/S01xserver-nodm: line 40: /var/log/Xsession.log: No such file or directory
/etc/rc5.d/S10dropbear: line 32: /proc/mounts: No such file or directory
Starting Dropbear SSH server: dropbear.
Starting rpcbind daemon...done.
starting statd: done
Starting advanced power management daemon: No APM support in kernel
(failed.)
Starting atd: OK
exportfs: can't open /etc/exports for reading
grep: /proc/filesystems: No such file or directory
NFS daemon support not enabled in kernel
Starting system log daemon...  syslogd: /var/log/auth.log: No such file or directory
  syslogd: /var/log/syslog: No such file or directory
  syslogd: /var/log/daemon.log: No such file or directory
  syslogd: /var/log/kern.log: No such file or directory
  syslogd: /var/log/lpr.log: No such file or directory
  syslogd: /var/log/mail.log: No such file or directory
  syslogd: /var/log/user.log: No such file or directory
  syslogd: /var/log/mail.info: No such file or directory
  syslogd: /var/log/mail.warn: No such file or directory
  syslogd: /var/log/mail.err: No such file or directory
  syslogd: /var/log/news.crit: No such file or directory
  syslogd: /var/log/news.err: No such file or directory
  syslogd: /var/log/news.notice: No such file or directory
  syslogd: /var/log/debug: No such file or directory
  syslogd: /var/log/messages: No such file or directory
0
Starting kernel log daemon...1
* Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon                       [fail]
Starting Telephony daemon
Starting Linux NFC daemon
Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
Starting crond: OK
Running local boot scripts (/etc/rc.local)/etc/rc.local: line 15: /proc/sys/vm/min_free_kbytes: No such file or directory
error
Freescale i.MX Release Distro 4.1.15-2.1.0 imx6ull14x14evk /dev/ttymxc0
imx6ull14x14evk login:


未能启动桌面

sudo chmod 777 -R  rootfs 后



Freeing unused kernel memory: 404K (80967000 - 809cc000)
INIT: version 2.88 booting
Starting udev
udevd[97]: starting version 3.1.5
random: udevd urandom read with 111 bits of entropy available
random: nonblocking pool is initialized
bootlogd: cannot allocate pseudo tty: No such file or directory
kjournald starting.  Commit interval 5 seconds
EXT3-fs (mmcblk1p2): using internal journal
EXT3-fs (mmcblk1p2): recovery complete
EXT3-fs (mmcblk1p2): mounted filesystem with ordered data mode
FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
ALSA: Restoring mixer settings...
/usr/sbin/alsactl: load_state:1735: No soundcards found...
INIT: Entering runlevel: 5
Configuring network interfaces... ifup skipped for nfsroot interface eth0
run-parts: /etc/network/if-pre-up.d/nfsroot: exit status 1
Starting Xserver
Starting system message bus: dbus.
Starting Connection Manager
Starting Dropbear SSH server: dropbear.
Starting rpcbind daemon...fec 2188000.ethernet eth1: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=20b4000.ethernet:00, irq=-1)
IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
cdc_ether 1-1.2:1.3 usb0: kevent 12 may have been dropped
done.
starting statd: cdc_ether 1-1.2:1.3 usb0: kevent 12 may have been dropped
cdc_ether 1-1.2:1.3 usb0: kevent 12 may have been dropped
IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
done
Starting advanced power management daemon: No APM support in kernel
(failed.)
Starting atd: OK
exportfs: can't open /etc/exports for reading
NFS daemon support not enabled in kernel
Starting system log daemon...0
Starting kernel log daemon...0
* Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon                       [ ok ]
Starting Telephony daemon
Starting Linux NFC daemon
Starting crond: OK
Running local boot scripts (/etc/rc.local).
Freescale i.MX Release Distro 4.1.15-2.1.0 imx6ull14x14evk /dev/ttymxc0
imx6ull14x14evk login: root
root@imx6ull14x14evk:~#


能够进入桌面。


正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2024-11-25 10:32

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表