On Sun, 11 Apr 2010, jiangcaoyang wrote:
....rs232 stuff snipped....
>
> Just an additional question, upon first time running the board, what
> should I do to make sure that the board will properly install itself.
> From the manual, it seems that I do not have to do much, just wait the
> board itself automatically install the on board TS-linux? what if I don't
> get it right the first time. Will it cause a lots of trouble?
It boots the linux kernel installed into the onboard Flash memory, using
the "TSLinux" root image also installed on the onboard flash.
You get a root shell open on the serial port. It works.
>From the root shell you can change some configuration details etc. to fit
your environment, e.g. network details, a user account, etc
I found it preferable to copy the root image from the onboard flash to a
CFDisk (formatted as ext2), and arrange redboot to boot the kernel in
onboard flash but use the root file system on the CFdisk. This leaves the
onboard flash stuff "factory fresh", so if you really screw up developement
work on the cfdisk, you can boot the on board flash setup and restart.
Though I backup my cfdisk(s) so I can go back to last working copy, if
things go wrong. If you ever do things like compile your own kernel
version, this can be booted from CFdisk too.
Things to do for booting from cfdisk on ts7200
Edit the file /etc/fstab on the cfdisk
replace the old root partition spec from
/dev/mtdblock/1 / jffs2 0 0
to
/dev/root / ext2 defaults,noatime 0 0
I always advise noatime for ANY partition on flash.
Then test boot the cfdisk root image
RedBoot> fis load vmlinux
RedBoot> exec -c "console=ttyAM0,115200 root=/dev/hda1"
and check everything is ok. If you compile your own kernel, boot that
kernel with
RedBoot> load -r -b 0x00218000 -m disk hda1:/vmlinux.bin
RedBoot> exec -c "console=ttyAM0,115200 root=/dev/hda1"
You can make these the stored redboot commands - see the TS documentation.
Oh and remember, if you alter the redboot pause before booting, it is in
tenths of a second, I use a value of 20, i.e. 2 secs. It gives a fairly
quick default boot, but gives time to press Control-C to get a redboot
prompt.
------------------------------------
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/
|