Hi Jesse,
This is exactly what I need. But I am using TS7250 with 2 USB but no
SD card. Is there a check-usb-update and tsinit for 7250 customers to
download and update? Can these scripts update both Kernel and Root
File System?
Tom
--- In "Jesse Off" <> wrote:
>
> We also added a facility for easy software updates from the default
> install. This should replace the need for expect scripts running
on
> the serial port as a means of mass-installing TS-7400s. I'm aware
> of a few customers installing their software "the hard way" of
> actually typing in shell commands manually via serial console.
I'll
> enclose the paragraph I wrote about this for the 7400 manual:
>
> //Jesse Off
>
>
> Software-update facility in factory configuration:
> =================================================
>
> Although Technologic Systems can load the flash with customer
> supplied software from the factory, it is often more convenient to
> have a local production process for installing or updating the
> files and programs that make your product unique. The default
> software installation enables this by providing a hook to allow
> customer code to "hijack" the normal fast-boot bootup process.
> The default linuxrc (linuxrc-fastboot) will run a program
> "/bin/check-usb-update" in the background after bootup has
completed.
> This program looks for a script "/tsinit" on the USB mass storage
> device (USB thumb-drive, or USB hard drive) connected to the bottom
> USB slot. If this script exists, it is then run automatically as
> the Linux "root" user-ID. A sample /tsinit script that copies a
> program "myprogram" to onboard flash, and then changes the default
> bootup to the SD card follows:
>
> #!/bin/sh
>
> ln -sf /linuxrc-sdroot /linuxrc
> mount /dev/mtdblock/3 /onboardflash
> cp /mnt/root/myprogram /onboardflash/bin
> umount /onboardflash
> save
> reboot
>
> While the "tsinit" script is run, the red LED will be on. After it
> is complete, the red LED will go off. A customer could mass-update
> many hundred TS-7400's easily by using a USB flash dongle with a
> custom "tsinit" and data files and applying power with the USB
> dongle on, wait for the LED to go off, then proceed to the next
> board. The "tsinit" script will begin to execute approximately 3
> seconds after power-on.
>
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/
|