On Wed, Jul 1, 2009 at 3:04 PM, Krishna<mail2kr...@gmail.com> wrote: > Hi All, > > I am working in ARM 9 board running Linux (2.6.16) , I have a requirement > to flash the mtd device directly using web interface via Ethernet, say > like router firmware up gradation. I have a combined image of kernel and > root file system, which is about 5 MB, I used thttpd server to achieve the > solution, but with thttpd there is a problem where if the file size is > large then the connection gets timed out. I'm searching for some web > server with non commercial license, which will support my 5 MB file > upload requirement. Can someone please share your experience.
1. Try boa or lighthttpd for web service. 2. You can have this done by a shell script/ executable spawned listening to a specific port. Look up the LEAF project and you'll see a shell scripted webserver running using netcat. 3. Hope you've the scheme well worked out in case the burn gets hosed for some reason. Common scheme is to boot next with new firmware which is not the default (after the upgrade). In case it boots well and is clean, the default flag is switched to the new firmware. Else a reboot brings it back with older firmware. Same goes for configuration changes too where commit alone makes it default else change is for that session alone. 4. You'll be better off working with a package manager to be able to carry out the upgrade in packages thus reducing total upgrade payload very often. -- Mohan Sundaram _______________________________________________ To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc