CFH: One updater.sh to rule them all
Marcin Juszkiewicz <[email protected]>
| Newsgroups | gmane.comp.handhelds.openzaurus.devel |
|---|---|
| Message-ID | <[email protected]> |
CFH as 'Call For Help'
http://bugs.openembedded.org/show_bug.cgi?id=1526
Recently I was working on updater.sh which can be used on all Zaurus
models instead of keeping 5 versions (tosa/poodle/akita/spitz/c7x0).
Changes:
- removed support for mversion.bin (OE does not use it)
- report Zaurus model as model/dogname: "MODEL: SL-6000 (tosa)"
- allow to flash kernel, rootfs (internal flash or internal CF)
- removed support for flashing /home partition (it was only partially
added anyway)
Test results:
- c7x0: kernel OK, rootfs OK
- tosa: kernel flashed OK, rootfs failed
I suspect that one block from Tosa updater.sh needs to be added to unified
one:
#check version
/sbin/bcut -s 6 -o $TMPDATA $TMPHEAD
if [ `cat $TMPDATA` != "SHARP!" ] > /dev/null 2>&1
then
#no version info...
rm -f $TMPHEAD > /dev/null 2>&1
DATAPOS=0
fi
Other models does not use this check.
Resulting script works ok on c760, fails on tosa.
If you have time, knowledge and want to help - join.
--
JID: hrw-jabber.org
OpenEmbedded developer/consultant
Linux! -- Because a big world can not fit in small windows.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642