Genral Web Comments
Saturday, April 22, 2006
 
KR1 and GPSd Technical Discussion :: EVDOforums.com
KR1 and GPSd Technical Discussion :: EVDOforums.com: "tz1



Joined: 29 Sep 2005
Posts: 205
Location: http://kr1gps.dyndns.org:8888/

PostPosted: Tue Feb 21, 2006 12:09 am Post subject: Reply with quote
I've been too busy hacking the utilities to notice.

It has a 24 byte header which I've not decoded in this late hour, and a gzipped image (which does not contain a proper CRC and length ending) which is the kernel prepended to the romfs image. The trailing bytes are a serial number, 'WL-EVDORT-...'.

(dd if=run-KR1... skip=24 of=run.bin.gz will extract the compressed portion).

It appears 'diagnostic' has been disabled. I will have to find the romfs and see if I can pull that out into a tree. (find the rom1fs? header)

I should be able to modify or edit it, and then, reinsert it.

Has anyone tried this update? Does 'ps' show diagnostic running or not?
Back to top
View user's profile Send private message
tz1



Joined: 29 Sep 2005
Posts: 205
Location: http://kr1gps.dyndns.org:8888/

PostPosted: Tue Feb 21, 2006 12:21 am Post subject: Reply with quote
yep.

Note it uses gzip -9 - a header in the gzipped image indicates maximum compression and gzip -9 run.bin recreates the identical image except for the modification time.

dd if=run.bin bs=1 skip=3186752 of=newrom.fs

you can mount or romfsck to extract the files.

Diagnostic has been commented out in /etc/rc, /bin/webs (the httpd plus lots of junk program) has changed, probably the misc. config page changes, and ath_pci.o has changed. As well as /etc/version.

Now do I want to be brave and replace the '#diagnostic /dev/ttyS1... &' line with 'telnetd &' with hexedit in run.bin and repack..."


Powered by Blogger