SoftUSB v1.2

Change-log
---------------
+ 30 Mar 2008
Initial release

+ 12 Apr 2008
- Added install.sh
- Fixed bugs in mkusbconf.sh
- Added fsck support

+ 4 May 2008
- Ported to 1.05 firmware root
- Internet connection is not required any more
- Moved scripts to /opt/softusb
- Moved reusable code to include.sh
- Added backup.sh and restore.sh
- Added init restart (this gives full file-system from usb-storage and posibility to completly unmount flash)
- Added instalation from internet
- Added flash dump to partition
- Lots of fixes



How it works
---------------
As linux kernel starts, it executes /sbin/init. Init is responsible for running essential system scripts.
The first script that is executed is /etc/init.d/rcS. SoftUSB replaces the oryginal rcS which
changes root file-system to the usb device and forces init to restart.
After that "init" from the usb partition is used.

Notes
---------------
It is possible to completely unmount flash memory, but there are scripts to configure SoftUSB so it's better to leave it mounted.
If you have a partition made by previouse versions of SoftUSB, you need to add a symlink /opt/softusb pointing /flash/opt/softusb,
otherwise scripts won't work.

Contact
---------------
Feel free to contact me if you feel like it
wiktor.stasiak@gmail.com


pkt-softusb-root.img - modified PKT image root
README - this file



HowTo
---------------
- Flash your Kathrein with pkt-softusb-root.img
- Partition your usb-device, do it wisely!
I suggest to make a FAT partition at the begining for general purpose,
then add several Linux partition, 100MB is quite enough.
Additionaly you can add Swap partition, if you need extra memory.
(For partitioning you can use Gparted LiveCD, google for it)

- Copy desired image to FAT partition (you can do it with ftp)
- Open telnet console
- Change directory to FAT partition where you have copied image files
(Help your self using the tab *** while writting a path)
- Run /opt/softusb/mkusbconf.sh and choose the partition you want to use
- Run /opt/softusb/install.sh and write either of the following:
~ the local path with *.img files
~ the web URL where the zip/tar.gz/bz2 with the desired images is localted
~ the word "flash" when you want the current flash image to be copied onto the chosen USB partition
- If everything goes right you can restart your Kathrein

Download