jz2440开发板设置备份

 

___________________uboot______________________________________

OpenJTAG> pri
bootdelay=2
baudrate=115200
ethaddr=08:00:3e:26:0a:5b
netmask=255.255.255.0
mtdids=nand0=nandflash0
mtdparts=mtdparts=nandflash0:256k@0(bootloader),128k(params),2m(kernel),-(root)
serverip=192.168.2.109
bootcmd=tftp 0x30007fc0 uImage ;bootm 0x30007fc0
ipaddr=192.168.2.111
bootargs=noinitrd root=/dev/nfs nfsroot=192.168.2.109:/work/jz2440/nfs_root/fs_qtopia,proto=tcp,nolock ip=192.168.2.111:192.168.2.109:192.168.2.1:255.255.255.0::eth0:off init=/linuxrc console=ttySAC0
stdin=serial
stdout=serial
stderr=serial
partition=nand0,0
mtddevnum=0
mtddevname=bootloader

 

 

__________________nfs__________________

root@ubuntu:/work/jz2440/nfs_root/fs_qtopia/etc# cat fstab
# device mount-point type options dump fsck order
proc /proc proc defaults 0 0
tmpfs /tmp tmpfs defaults 0 0
sysfs /sys sysfs defaults 0 0
tmpfs /dev tmpfs defaults 0 0

--------------

root@ubuntu:/work/jz2440/nfs_root/fs_qtopia/etc# cat inittab 

# /etc/inittab
::sysinit:/etc/init.d/rcS
s3c2410_serial0::askfirst:-/bin/sh
::ctrlaltdel:/sbin/reboot
::shutdown:/bin/umount -a -r

---------------

root@ubuntu:/work/jz2440/nfs_root/fs_qtopia/etc/init.d# cat rcS
#!/bin/sh

#ori_weidongshan
#ifconfig eth0 192.168.1.17
ifconfig eth0 192.168.2.111
mount -a
mkdir /dev/pts
mount -t devpts devpts /dev/pts
echo /sbin/mdev > /proc/sys/kernel/hotplug
mdev -s
if [ ! -e /etc/pointercal ]
then
/bin/ts_cal.sh
fi
/bin/qpe.sh &

_____________________________________

 

posted @ 2014-10-17 15:17  oucaijun  阅读(487)  评论(0编辑  收藏  举报
下载TeamViewer完整版 下载TeamViewer