I recently attempted to use the TS-7800 with a read-only Debian filesystem
using the following image:
ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7800-linux/binaries/ts-images/512mbsd-oct102008-readonly.dd.bz2
and found out that the entire USB subsystem did not come up when the root
partition was mounted read-only using unionfs. The usbcore module would not
insert correctly. It looks like the usbcore module supplied with the image
isn't actually compatible with the kernel. Has anyone else discovered this
issue?
I was able to get USB to work on the image by performing the following steps:
1. Follow the TS-7350 guide for a read-only kernel, with the following changes.
I grabbed the toolchain from the TS-7800 ftp site and the latest ts-7800
kernel source.
2. Use the TS-7350 unionfs patch on the ts-7800 kernel source. It will patch
correctly.
3. Build the kernel with unionfs support, as instructed in the TS-7350 guide.
4. Mount the initrd partition on a Linux box and replace the usbcore.ko module
on the image with the one compiled from the new kernel. It should be in
drivers/usb/core/usbcore.ko
5. You should now have a read-only Debian image with functional USB support.
6. Don't forget to run 'createmtdboot' if you want to use the initrd on the
on-board flash and then boot to the SD card.
I hope someone will find this useful. With this modification, my TS-7800
hasn't had any issues with my typical shutdown procedure of pulling the plug.
------------------------------------
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/
|