以下的問題及其解決辦法是基於優龍FS2410開發板,不定期更新
=============================================================
開發學習環境說明:
系統: Fedora22(64位)
開發板:優龍FS2410
參考書籍:《嵌入式Linux C語言應用程序設計(修訂版)》 華清遠見嵌入式培訓中心 孫瓊 編著
=============================================================
1、筆記本沒有RS232接口,因此在測試開發板時,發現不管連接RJ45網口還是USB或並口都沒反應(理論上來說,上電後接USB,至少在PC端都應該有驅動安裝的提示),就以爲開發板是壞的
解決辦法:在與優龍技術員諮詢的過程中知道,只能通過串口RS232與PC連接,在串口中設置開發板的BIOS,才能正常使用。
2、筆記本等電腦沒有RS232接口
解決辦法:開發板上提供RS232公口,又提供了母-母連接線,因此只需要再買個10來塊的USB轉RS232即可
(USB-RS232公)-(母-母)-(開發板公口),在winPC端打開超級終端等串口工具,連接上後,重啓開發板,在串口工具就能顯示BIOS的選項,接下來的設置請參考開發手冊
參考手冊鏈接:以上傳CSDN,還在審覈,稍後更新
3、在64系統裏執行32位程序出現/lib/ld-linux.so.2:
開發指南的指導安裝流程如下:
home/GMPY/NFS *(rw,sync,no_root_squash,no_all_squash,no_subtree_check)
Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; disabled)
Active: active (exited) since Sun 2015-11-29 11:29:18 CST; 1h 3min ago
Process: 5635 ExecStopPost=/usr/sbin/exportfs -f (code=exited, status=0/SUCCESS)
Process: 5632 ExecStopPost=/usr/sbin/exportfs -au (code=exited, status=0/SUCCESS)
Process: 5629 ExecStop=/usr/sbin/rpc.nfsd 0 (code=exited, status=0/SUCCESS)
Process: 5644 ExecStart=/usr/sbin/rpc.nfsd $RPCNFSDARGS (code=exited, status=0/SUCCESS)
Process: 5642 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=0/SUCCESS)
Main PID: 5644 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/nfs-server.service
rpcblind服務狀態如下:#service rpcblind statusRedirecting to /bin/systemctl status rpcbind.service
● rpcbind.service - RPC bind service
Loaded: loaded (/usr/lib/systemd/system/rpcbind.service; static)
Active: active (running) since Sun 2015-11-29 11:30:19 CST; 1h 3min ago
Process: 5697 ExecStart=/sbin/rpcbind -w ${RPCBIND_ARGS} (code=exited, status=0/SUCCESS)
Main PID: 5698 (rpcbind)
CGroup: /system.slice/rpcbind.service
└─5698 /sbin/rpcbind -w
防火牆已經關閉mount: RPC: Unable to receive; ernfs warning: mount version older than kernel
NFS: mount program didn't pass remote address!
rno = Connection refused
mount: nfsmount failed: Bad file descriptor
mount: Mounting 192.168.1.1:/home/GMPY/NFS on /dev/shm/nfs failed: Invalid argument
解決辦法:這個問題我突然就解決了...找不到原因,也不明確怎麼解決的只是改了下ip,改爲192.168.0.10(PC),192.168.0.100(開發板)
但是在掛載時還是有提示錯誤(實際是已經掛在成功),且要等待一段時間:
portmap: server localhost not responding, timed out
RPC: failed to contact portmap (errno -5).
lockd_up: makesock failed, error=-5
例如:mount -t nfs -o nolock 192.168.1.1:/home/GMPY/NFS ~/nfs/