I suggest the following sollution, which i tried with good results on a
TS-7250:
* Download: http://www.fs.isy.liu.se/~oberg/initrdfile.gz
* Put the initrdfile.gz on a web-server that you can access from your
ts-board, or if you have internet access use this server directly
(130.236.48.54), it has a quite stable IP adress.
* Start your ts-board and interrupt it during boot
* You should see something like:
== Executing boot script in 0.100 seconds - enter ^C to abort
* Now to the loading of the initrdfile.gz (I used different server so
make sure this step works out, the IP should probably work but it really
depends on you setting up your internet connection correctly) You may
use your Fedora vmware computer to set up a FTP or a WWW server but
you'd have to read up on fedora documentation. Also, some TS-boards
might not have recent enough redboot to be able to use FTP or HTTP so
you might have to set up a TFTP server.
You could also try a ftp server like some windows server
(http://www.ipswitch.com/downloads/index.asp)
* At the redboot prompt, write:
RedBoot> load -h 130.236.48.54 -r -b 0x00800000 -m http
/~oberg/initrdfile.gz
* You should see something like
Raw file loaded 0x00800000-0x00b15a1e, assumed entry at 0x00800000
* Then write:
RedBoot> fis load vmlinux
* followed by
RedBoot> exec -r 0x00800000 -c "console=ttyAM0,115200 root=/dev/ram0
init=/bin/init"
* You should see something like:
Using base address 0x00218000 and length 0x000a5f80
Linux version 2.4.26-ts9 (........
* TS-board should boot quite normal into the ramdisk
* Login with user: root, no password
* Write
> mount /dev/mtdblock/1 /mnt/cf
> cd /mnt/cf/bin
> ls -la
* What do you see?
* Depending on what the /mnt/cf/bin directory looks like you should try
one of the following
1) If /bin/sh is still a symlink (/bin/sh -> busybox) you overwrote the
whole busybox and needs to replace it.
2) If /bin/sh is not a symlink like almost all other files you only
overwrite the symlink and should simply put it back.
Hope this helps even if you have a 7200 board.
Regards
Per Öberg
--
Per Öberg, Ph.D. Student
Address: Division of Vehicular Systems
Department of Electrical Engineering
Linköpings universitet
581 83 Linköping, SWEDEN
Phone: +46 (0)13-28 23 69
e-mail:
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|