Anyone see anything obviously wrong with the below?
I have read the documentation as well as searched this group, however I
am still unable to save the initial configuration in regards to fastboot
(linuxrc) and not able to pivot root to the NOR flash instead of the SD
card.
It seems I am not able to update the /linuxrc in flash as to allow me to
automatically boot to any higher level kernel automatically...
Thanks for any tips.
---
$ uname -a
Linux (none) 2.4.26-ts11 #1 Mon Jan 8 15:31:07 MST 2007 armv4l unknown
$ tshelp
Technologic Systems TS-7xxx Linux miniroot commands:
====================================================
'save' - save current miniroot initrd configuration to flash
'exit' - start full Linux boot or exits telnet session
'sdmount' - makes available executables on SD card
'mtdmount' - makes available NAND flash at /onboardflash directory
'help' - lists busybox shell built-in Linux commands
To change the default Linux root filesystem, link a different sample
linuxrc bootup script by typing (e.g.) the following command:
ln -sf /linuxrc-sdroot /linuxrc; save
Several sample linuxrc scripts are available:
'/linuxrc-sdroot' - boots to SD flash filesystem on partition #3
'/linuxrc-mtdroot' - boots to YAFFS NAND flash
'/linuxrc-fastboot' - unconditionally drops to fastboot shell on
bootup
'/linuxrc-nfsroot' - boots to network NFS root
Auto-booting of NAND flash, SD card, or NFS will be aborted to
the fastboot shell prompt if the presence of a file named '/fastboot'
is present on the filesystem. You may customize bootup behavior
further by modifying these simple linuxrc shell script samples.
Contact for further questions.
$ ls -al /linuxrc
lrwxrwxrwx 1 0 0 17 Jan 1 00:00 /linuxrc ->
/linuxrc-fastboot
$ ln -sf /linuxrc-mtdroot /linuxrc
$ ls -al /linuxrc
lrwxrwxrwx 1 0 0 16 Jan 1 00:02 /linuxrc ->
/linuxrc-mtdroot
$ sync
$ save
Saving ramdisk to flash, please do not remove power until finished.
$ ls -al /linuxrc
lrwxrwxrwx 1 0 0 16 Jan 1 00:02 /linuxrc ->
/linuxrc-mtdroot
$ reboot
>> TS-SPIFLASHBOOT - built Jan 26 2007
>> Copyright (c) 2007, Technologic Systems
.
.
.
Finished booting in 2.80 seconds
Type 'tshelp' for help
$ ls -al /linuxrc
lrwxrwxrwx 1 0 0 17 Jan 1 00:00 /linuxrc ->
/linuxrc-fastboot
$ ln -sf /linuxrc-mtdroot /linuxrc
$ sync
$ save
Saving ramdisk to flash, please do not remove power until finished.
$ save
Saving ramdisk to flash, please do not remove power until finished.
$ exit
>> Booting Linux (using SD card)...
INIT: version 2.86 booting
Creating extra device nodes...done.
...
I do not have a fastboot file at the root of either of my root file
systems:
...(SD)...
Debian GNU/Linux 3.1 ts7000 ttyAM0
ts7000 login: root
Password:
Last login: Mon Apr 19 03:19:52 2010 on ttyAM0
The programs included with the Debian GNU/Linux system are free
software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
:root# cd /
:/# ls -al
total 37
drwxr-xr-x 21 root root 1024 Jan 1 1970 ./
drwxr-xr-x 21 root root 1024 Jan 1 1970 ../
-rw-r--r-- 1 root root 74 Jan 1 1970 .ash_history
drwxr-xr-x 2 root root 2048 Oct 20 2006 bin/
drwxr-xr-x 2 root root 1024 Feb 28 2007 boot/
drwxr-xr-x 1 root root 0 Jan 1 1970 dev/
drwxr-xr-x 64 root root 3072 Apr 23 17:18 etc/
drwxr-xr-x 3 root root 1024 Apr 8 19:54 home/
drwxr-xr-x 2 root root 1024 Oct 20 2006 include/
drwxr-xr-x 2 root root 1024 Mar 16 2006 initrd/
drwxr-xr-x 7 root root 3072 Oct 20 2006 lib/
drwx------ 2 root root 12288 Jan 24 2007 lost+found/
drwxr-xr-x 5 root root 1024 Mar 16 2006 mnt/
drwxr-xr-x 2 root root 1024 Mar 16 2006 nfsroot/
drwxr-xr-x 2 root root 1024 Mar 16 2006 opt/
dr-xr-xr-x 27 root root 0 Jan 1 1970 proc/
drwxr-xr-x 2 root root 1024 Mar 25 2007 root/
drwxr-xr-x 2 root root 2048 Oct 20 2006 sbin/
drwxr-xr-x 2 root root 1024 Mar 16 2006 sys/
drwxrwxrwx 2 root root 1024 Apr 23 17:19 tmp/
drwxr-xr-x 12 root root 1024 Mar 30 2006 usr/
drwxr-xr-x 15 root root 1024 Jan 1 1970 var/
:/#
----
I also have the write enable jumper installed on the RS232 connector
daughter card.
Is anyone able to point out what I am forgetting to do?
------------------------------------
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/
|