ts-7000
[Top] [All Lists]

[ts-7000] TS-7800 Read-Only Debian

To:
Subject: [ts-7000] TS-7800 Read-Only Debian
From: "paulwg3v" <>
Date: Sat, 26 Mar 2011 03:43:53 -0000
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/

<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] TS-7800 Read-Only Debian, paulwg3v <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU