# This viminfo file was generated by Vim 6.1.
# You may edit it if you're careful!

# Value of 'encoding' when this file was written
*encoding=latin1


# hlsearch on (H) or off (h):
~H
# Last Substitute Search Pattern:
~MSle0~&^  

# Last Substitute String:
$

# Command Line History (newest to oldest):
:wq
:,$ s,^  ,,g
:q
:w /bin/check-usb-update

# Search String History (newest to oldest):
?^  

# Expression History (newest to oldest):

# Input Line History (newest to oldest):

# Input Line History (newest to oldest):

# Registers:
""1	LINE	0
	
"2	LINE	0
	# The following code detects if something is connected to USB port 0,
	# and if so checks for a flash drive with /tsinit to execute.
	(
	  . ./source
	  usb_init
	  TMP=`usb_port_devexists 0`
	  if test "$TMP" = "1"; then
	    led1 1
	    insmod ./ts7xxx_nand.o
	    mount -o ro /dev/mtdblock/1 /mnt/root
	    insmod usbcore
	    insmod pcipool
	    insmod usb-ohci
	    insmod usb-ohci-ep93xx
	    insmod scsi_mod
	    insmod sd_mod
	    insmod usb-storage
	    insmod fat
	    insmod vfat
	    TMP=0
	    while test $TMP -lt 15 -a ! -b /dev/scsi/host0/bus0/target0/lun0/part1; do 
	      let TMP=$TMP+1; 
	      sleep 1; 
	    done
	    if test -b /dev/scsi/host0/bus0/target0/lun0/part1; then
	      mount -o ro /dev/scsi/host0/bus0/target0/lun0/part1 /mnt2
	      if test -x /mnt2/tsinit; then
	        /mnt2/tsinit < /dev/console > /dev/console 2>&1
	      fi
	    fi
	    led1 0
	  else
	    usb_off
	  fi
	) >/dev/null 2>&1 &
"3	LINE	0
	
	export CONSOLE=/dev/ttyAM0
	export PATH=/bin:/mnt/root/bin:/mnt/root/sbin:/mnt/root/usr/bin:/mnt/root/usr/sbin:/mnt/root/usr/local/bin
	export BOOTTIME=`eptime`
	ifconfig eth0 192.168.0.50
	telnetd
	
	(
	  export ENV=/shinit
	  setcons
	  exec /bin/sh -i
	) <$CONSOLE >$CONSOLE 2>&1
	
	killall busybox
	
	insmod -q -f /sdcard.o -o sdcard0 >/dev/null 2>&1
	if [ -e /dev/sdcard0/disc0/part3 -a ! -e /mnt/root/bin/mount ]; then
	  mount -o ro /dev/sdcard0/disc0/part3 /mnt/root >/dev/null 2>&1
	fi
	
	if [ -e /mnt/root/bin/mount -a ! -e /mnt/root/notrootfs ]; then
	  USING="SD card"
	else 
	  insmod -q -f /ts7xxx_nand.o >/dev/null 2>&1
	  umount /mnt/root >/dev/null 2>&1
	  mount -t yaffs /dev/mtdblock/3 /mnt/root >/dev/null 2>&1
	  USING="onboard flash"
	fi 
	
	cd /mnt/root
	
	echo ">> Booting Linux (using $USING)..." >$CONSOLE 
	
	pivot_root . initrd
	./bin/mount -n --move initrd/dev dev
	./bin/mount -n --move initrd/proc proc
	exec ./usr/sbin/chroot . ./sbin/init <.$CONSOLE >.$CONSOLE 2>&1 
"4	LINE	0
	#!/bin/sh
	# Copyright (c) 2006, Technologic Systems.
	# All rights reserved.
	#
	# Uses initrd as root filesystem and drops to shell-- on exit of serial shell, 
	# real Linux is booted.  Ethernet is configured as 192.168.0.50 and telnet 
	# server is run.
	
	mount -t proc proc /proc
	

# File marks:
'0  1  0  /bin/check-usb-update
'1  35  0  /bin/check-usb-update
'2  13  43  /linuxrc
'3  35  0  /linuxrc

# Jumplist (newest first):
-'  1  0  /bin/check-usb-update
-'  35  0  /bin/check-usb-update
-'  5  0  /bin/check-usb-update
-'  13  43  /linuxrc
-'  1  0  /linuxrc
-'  11  0  /linuxrc
-'  3  0  /linuxrc
-'  35  0  /linuxrc
-'  36  0  /linuxrc
-'  13  43  /linuxrc
-'  1  0  /linuxrc
-'  11  0  /linuxrc
-'  3  0  /linuxrc
-'  35  0  /linuxrc
-'  36  0  /linuxrc
-'  13  43  /linuxrc
-'  1  0  /linuxrc
-'  11  0  /linuxrc
-'  3  0  /linuxrc
-'  35  0  /linuxrc
-'  36  0  /linuxrc
-'  13  43  /linuxrc
-'  1  0  /linuxrc
-'  11  0  /linuxrc
-'  3  0  /linuxrc
-'  35  0  /linuxrc
-'  36  0  /linuxrc

# History of marks within files (newest to oldest):

> /bin/check-usb-update
	"	1	0
	.	5	0

> /linuxrc
	"	13	43
	^	13	44
	.	13	43
