天嵌 ARM开发社区

 找回密码
 注册
查看: 1450|回复: 1

uboot挂在nfs根文件系统后,在板子上不能运行程序

[复制链接]
373622116 发表于 2011-5-2 17:20:18 | 显示全部楼层 |阅读模式
uboot挂在nfs根文件系统后,在板子上不能运行程序
挂在后的情况:
Looking up port of RPC 100005/1 on 192.168.1.105
VFS: Mounted root (nfs filesystem) on device 0:12.
Freeing init memory: 132K
Processing etc/init.d/rcS
#mount all.......
Start mdev...
Processing /etc/profile
Set search library path
Set user path
Set PS1
All done!

[root@sz /]# ls
bin      etc      linuxrc  proc     sys      usr
dev      lib      mnt      sbin     tmp      var
[root@sz /]#



运行简单的程序时出现:
[root@sz /]# ls
bin       etc       lib       mnt       sbin      tmp       var
dev       helloarm  linuxrc   proc      sys       usr
[root@sz /]# ./helloarm
-/bin/sh: ./helloarm: not found

-rwxr-xr-x    1 0        0            5053 May  1  2011 helloarm
drwxr-xr-x    3 0        0            4096 Apr 30  2011 lib

这是什么原因?
这是什么原因?
天嵌_support1 发表于 2011-5-3 10:21:39 | 显示全部楼层
把helloarm 弄到 bin 目录
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-10-5 10:25 , Processed in 1.033243 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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