请教一下,我用的TQ3358开发板,将linux编译之后烧写到开发板。
打印信息:
。。。。。
/etc/rc.d/init.d/leds: line 16: led-player: not found
Start Qt4 PDA
/bin/pda: source: line 5: can't open '/tmp/env'
Please press Enter to activate this console. PHY: 0:00 - Link is Up - 100/Full
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
-/bin/sh: source: line 7: can't open '/tmp/env'
~ # ls
这里面的用户名成了~
看了一下文件系统etc/sysconfig/HOSTNAME里面是EmbedSky
/etc # cd sysconfig
/etc/sysconfig # ls
HOSTNAME
/etc/sysconfig # vi HOSTNAME
export set HOME=/root
export set QTDIR=/opt/PDA
export set QPEDIR=/opt/PDA
export set QWS_DISPLAY="LinuxFB:/dev/fb0"
export set QWS_DISPLAY="LinuxFB:mmWidth130:mmHeight100:0"
export set QWS_KEYBOARD="TTY:/dev/tty1"
if [ -f /sys/devices/virtual/input/input1/uevent ] ; then
export set TSLIB_TSDEVICE=/dev/event1
export set TSLIB_CALIBFILE=/etc/pointercal
export set TSLIB_CONFFILE=/etc/ts.conf
export set TSLIB_PLUGINDIR=/lib/ts
export set QWS_MOUSE_PROTO="TSLIB:/dev/event1 MouseMan:/dev/mice"
else
export set QWS_MOUSE_PROTO="MouseMan:/dev/mice"
if [ -f /etc/pointercal ] ; then
echo only use mouse > /dev/console
else
echo "1 0 1 0 1 1 65536" >/etc/pointercal
fi
fi
export set QT_PLUGIN_PATH=$QTDIR/plugins/
export set QT_QWS_FONTDIR=$QTDIR/lib/fonts/
export set PATH=$QPEDIR/bin:$PATH
export set LD_LIBRARY_PATH=$QTDIR/lib:$QPEDIR/plugins/imageformats:$QPEDIR/plugins/accessible:$LD_LIBRARY_PATH
if [ -f /etc/pointercal ] ; then
if [ -f /etc/autorun.conf ] ; then
source /etc/autorun.conf
$AUTORUN > /dev/null 2>/dev/null
fi
$QPEDIR/bin/tqpda -qws > /dev/null 2>/dev/null
else
ts_calibrate
# $QPEDIR/bin/mousecalibration
$QPEDIR/bin/tqpda -qws > /dev/null 2>/dev/null
fi