在开发板上运行boa时出现错误:“[boa.c:194 - unable to bind: Address already in use ”
原因:boa的端口号被占用,需要把相应的pidkill掉:
# pgrep boa
365
# pkill boa
[01/Jan/1970:00:10:36 +0000] caught SIGTERM, starting shutdown
[01/Jan/1970:00:10:36 +0000] exiting Boa normally (uptime 626 seconds)
# pgrep boa
# boa
[01/Jan/1970:00:10:52 +0000] boa: server version Boa/0.94.13
[01/Jan/1970:00:10:52 +0000] boa: server built Sep 26 2010 at 10:03:56.
[01/Jan/1970:00:10:52 +0000] boa: starting server pid=392, port 80
出现上面的三行表示boa成功打开
//==================================================================
执行cmera_test时出现错误: /dev/fb/0: No such file or directory
解决方法:
在/etc/init.d.rcS中添加:
mkdir /dev/fb /dev/v4l
ln -s /dev/fb0 /dev/fb/0
ln -s /dev/video0 /dev/v4l/video0
//==================================================================