diff options
author | g2@giantshoulder.com <g2@giantshoulder.com> | 2005-03-21 15:07:49 +0000 |
---|---|---|
committer | g2@giantshoulder.com <g2@giantshoulder.com> | 2005-03-21 15:07:49 +0000 |
commit | 3742110ce50e56f7407d426c4264b504eadcf454 (patch) | |
tree | 2268294f0e85aee1327cfceff5fb996fe1d11230 /packages/zaurus-updater/spitz | |
parent | 1b93012b5577f85243ab7e881518dd6f76415381 (diff) |
Merge nslu2-linux@nslu2-linux.bkbits.net:openembedded
into giantshoulder.com:/home/tom/dev/openslug/openembedded
2005/03/21 06:41:26-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/21 15:00:24+01:00 handhelds.org!CoreDump
Update netbase from 4.19 to 4.20 since 4.19 vanished upstream
2005/03/21 05:41:23-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/21 13:35:17+00:00 rpsys.net!RP
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into tim.rpsys.net:/usr/oe/openembedded
2005/03/21 13:34:55+00:00 rpsys.net!RP
openzaurus-2.6: Compile fixes from Dirk for tosa
2005/03/21 04:41:24-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/21 13:05:52+01:00 utwente.nl!koen
kbdd_cvs.bb: Apply patch from Paul Eggleton
2005/03/21 03:41:22-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/21 12:41:15+01:00 utwente.nl!koen
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into bitbake.utwente.nl:/home/koen/OE/openembedded
2005/03/21 12:40:56+01:00 utwente.nl!koen
matchbox-themes-extra_0.3.bb: hh.org -> o-hand.com
2005/03/21 12:27:55+01:00 uni-frankfurt.de!mickeyl
update updater.sh for c3000
2005/03/21 21:50:32+10:30 (none)!rwhitby
Unslung 4.6-alpha
2005/03/21 12:19:50+01:00 uni-frankfurt.de!mickeyl
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into r2d2.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages
2005/03/21 12:19:34+01:00 uni-frankfurt.de!mickeyl
upgrade cumulus to 1.2.1 and lower the default preference of the cvs version
2005/03/21 21:45:32+10:30 (none)!rwhitby
Fixed unslung-packages
2005/03/21 21:37:40+10:30 (none)!rwhitby
Merge bk://nslu2-linux@nslu2-linux.bkbits.net/openembedded
into home.(none):/home/bitbake/openembedded
2005/03/21 21:36:04+10:30 (none)!rwhitby
Updated unsling script to support external rootfs in Unslung distro
2005/03/21 10:57:51+00:00 rpsys.net!RP
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into tim.rpsys.net:/usr/oe/openembedded
2005/03/21 10:57:29+00:00 rpsys.net!RP
linux-hotplug: Update mmc.agent to work with 2.6 kernels + udev
2005/03/21 02:41:25-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/21 11:23:54+01:00 utwente.nl!koen
xcursor-transparent-theme_0.1.1.bb:
hh.org -> o-hand.com
2005/03/21 01:41:23-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/21 20:33:14+10:30 (none)!rwhitby
Added DISTRO_TYPE to Unslung and OpenSlug
2005/03/21 10:47:07+01:00 utwente.nl!koen
task-bootstrap.bb:
use base-passwd-3.5.9
2005/03/21 10:23:06+01:00 handhelds.org!CoreDump
Fix PR...
2005/03/21 10:21:57+01:00 handhelds.org!CoreDump
Upgrade base-passwd from 3.5.7 to 3.5.9 as 3.5.7 is no longer available from upstream
2005/03/20 23:03:22-10:00 (none)!dyoung
device_table-unslung.txt:
Add /dev/video0
2005/03/20 22:51:31-10:00 (none)!dyoung
Merge bk://nslu2-linux@nslu2-linux.bkbits.net/openembedded
into builder.(none):/home/dereky/bbroot/openembedded
2005/03/20 22:50:35-10:00 (none)!dyoung
Oops forgot to enable the camera device
2005/03/21 00:41:23-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/20 22:37:46-10:00 (none)!dyoung
defconfig:
Enable video_dev=m and bring config up to post-config standard.
2005/03/21 09:15:32+01:00 mn-solutions.de!schurig
openswan: download URL fix from Gints Polis
2005/03/21 09:13:51+01:00 mn-solutions.de!schurig
Qt/E 2.3.10:
Changed ramses-keyboard.patch from patch to copy-a-file mode. It happend one time
too often that someone else broke my patch.
2005/03/20 16:23:39-10:00 (none)!dyoung
Update the version to spca5xx camera driver
2005/03/20 16:41:28-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/21 00:25:15+00:00 rpsys.net!RP
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into tim.rpsys.net:/usr/oe/openembedded
2005/03/21 00:24:56+00:00 rpsys.net!RP
openzaurus-2.6: Fix the mtd mapped PROM driver so it works and add definitions for tosa/spitz to it (patch commited to MTD CVS).
2005/03/20 13:52:55-10:00 (none)!dyoung
Merge bk://nslu2-linux@nslu2-linux.bkbits.net/openembedded
into builder.(none):/home/dereky/bbroot/openembedded
2005/03/20 13:51:25-10:00 (none)!dyoung
renamed a file to reflect version
2005/03/20 15:41:24-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/21 00:26:12+01:00 uni-frankfurt.de!mickeyl
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into r2d2.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages
2005/03/21 00:26:02+01:00 uni-frankfurt.de!mickeyl
add libsndfile and add polypaudio. the latter in nonworking, because of a bogus 'undefined reference to pa_client_conf_from_x11'
2005/03/21 00:17:43+01:00 handhelds.org!zecke
QtEmbedded iPAQ sound:
-Hardcode to use stereo
-Do not crash on empty sound files
2005/03/20 12:41:29-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/20 21:34:03+01:00 uni-frankfurt.de!mickeyl
update qpegps 0.9.2.3 and remove 0.9.1+cvs
2005/03/20 10:41:22-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/20 18:30:33+00:00 rpsys.net!RP
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into tim.rpsys.net:/usr/oe/openembedded
2005/03/20 18:29:30+00:00 rpsys.net!RP
openzaurus-2.6: Fix corrupted patch
2005/03/20 19:15:02+01:00 uni-frankfurt.de!mickeyl
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into gandalf.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages
2005/03/20 19:14:15+01:00 uni-frankfurt.de!mickeyl
add meta task for all python packages compatible w/ sharprom
2005/03/20 09:41:22-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/20 17:22:01+00:00 rpsys.net!RP
openzaurus-2.6: bump PR
2005/03/20 17:18:43+00:00 rpsys.net!RP
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into tim.rpsys.net:/usr/oe/openembedded
2005/03/20 17:18:21+00:00 rpsys.net!RP
openzaurus-2.6: Add pxa turbo mode suspend/resume fix, final updates for multi platform w100fb, patch tweaks to keep compatible with mainline.
2005/03/20 04:19:47-10:00 (none)!dyoung
Merge bk://nslu2-linux@nslu2-linux.bkbits.net/openembedded
into builder.(none):/home/dereky/bbroot/openembedded
2005/03/21 01:08:40+10:30 (none)!rwhitby
Merge bk://nslu2-linux@nslu2-linux.bkbits.net/openembedded
into home.(none):/home/bitbake/openembedded
2005/03/21 01:08:20+10:30 (none)!rwhitby
Merged unslung-standard and unslung-able into a single unslung distro. Updated to support downloadable kernel modules.
2005/03/20 04:10:03-10:00 (none)!dyoung
w3cam is a lightweight application to grab images from a V4L device
2005/03/20 01:41:29-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/20 10:04:55+01:00 uni-frankfurt.de!mickeyl
opie-datebook-plugins: fix APPNAME and remove errornous install. guys, we don't install binaries by hand for Opie packages. Opie.bbclass exists for a reason - read it\!
2005/03/20 19:22:11+10:30 (none)!rwhitby
Merge bk://nslu2-linux@nslu2-linux.bkbits.net/openembedded
into home.(none):/home/wl500g/openembedded
2005/03/19 12:41:23-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/19 20:50:29+01:00 uni-frankfurt.de!mickeyl
add sets module to python-math
2005/03/19 10:41:24-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/19 19:22:37+01:00 uni-frankfurt.de!mickeyl
zaurus kernels: catch up with package renaming
2005/03/19 19:16:02+01:00 uni-frankfurt.de!mickeyl
bump CVSDATE for openzaurus-3.5.3
2005/03/19 19:00:53+01:00 uni-frankfurt.de!mickeyl
only apply allow-no-pw patch to dropbear if DISTRO_TYPE == debug
2005/03/19 08:41:26-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/19 16:31:50+00:00 reciva.com!pb
set gpe-contacts 0.36 as preferred version
2005/03/19 16:30:54+00:00 reciva.com!pb
update gpe-contacts to 0.36
2005/03/19 07:41:23-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/19 16:34:57+01:00 utwente.nl!koen
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into bitbake.utwente.nl:/home/koen/OE/openembedded
2005/03/19 16:34:45+01:00 utwente.nl!koen
familiar-0.8.2.conf:
don't set cvsdate for now
2005/03/19 15:46:52+01:00 vanille.de!mickeyl
this changeset fixes the broken keyboard autorepeat for ipaq and sl5xxx
2005/03/19 04:41:29-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/19 12:38:25+01:00 utwente.nl!koen
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into bitbake.utwente.nl:/home/koen/OE/openembedded
2005/03/19 12:38:07+01:00 utwente.nl!koen
familiar-0.8.2.conf:
move CVSDATE to tuesday
2005/03/19 18:19:59+10:30 (none)!rwhitby
Added muxsshssl and nail
2005/03/18 14:41:35-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/19 08:49:24+10:30 (none)!rwhitby
Merge bk://nslu2-linux@nslu2-linux.bkbits.net/openembedded
into home.(none):/home/bitbake/openembedded
2005/03/19 08:48:48+10:30 (none)!rwhitby
Fixed muxsshssl unpacking
2005/03/18 22:59:51+01:00 zeckescompany.nl!alwin
added datebookplugins to build-system
2005/03/18 12:41:25-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/18 15:40:19-05:00 handhelds.org!kergoth
Fix the permissions on /dev/tty and /dev/console in the /dev/ makedevs'd ramdisk. This fixes that annoying bug where | more doesnt work, and also makes the openssh ssh client stop sucking.
2005/03/18 11:41:27-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/18 14:01:26-05:00 handhelds.org!kergoth
Fix ttyconv's DESCRIPTION.
2005/03/18 14:00:35-05:00 handhelds.org!kergoth
Merge oe-devel@oe-devel.bkbits.net:openembedded
into handhelds.org:/home/kergoth/code/openembedded
2005/03/18 14:00:11-05:00 handhelds.org!kergoth
Add ttyconv 0.2.3 (A small app to convert terminal sessions from one encoding to another).
2005/03/18 19:58:03+01:00 dyndns.org!reenoo
Merge oe-devel@oe-devel.bkbits.net:openembedded
into sugarcube.dyndns.org:/home2/oe/bakery/openembedded
2005/03/18 19:55:40+01:00 dyndns.org!reenoo
kaffe: resurrect kaffe from nonworking. the packaging still needs some polishing. the -qt incarnation needs to be tested and the (qt only) stuff from nonworking removed if it works.
2005/03/18 10:42:21-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/18 13:04:34-05:00 handhelds.org!kergoth
Add 'patch' to the RDEPENDS of bazaar. It works now, if you install GNU's tar instead of busybox's.
2005/03/18 09:42:15-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/18 12:19:48-05:00 handhelds.org!kergoth
Merge oe-devel@oe-devel.bkbits.net:openembedded
into handhelds.org:/home/kergoth/code/openembedded
2005/03/18 12:19:12-05:00 handhelds.org!kergoth
Add ccache.inc, which:
Makes ccache use a TMPDIR specific ccache directory if using the crosscompiler,
since it isn't likely to be useful with any other toolchain than the one we just
built, and would otherwise push more useful things out of the default cache.
2005/03/18 08:41:34-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/18 17:19:59+01:00 local!hrw
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded/
into marcinj.local:/home/hrw/zaurus/bb/openembedded
2005/03/18 10:34:22-05:00 handhelds.org!kergoth
Make the bazaar .bb install its bazaar-gpg-check awk script, and RSUGGESTS gnupg.
2005/03/18 10:16:16-05:00 handhelds.org!kergoth
neon: fix LICENSE. Bump PR. Pass --enable-shared --enable-static. Add a do_stage.
2005/03/18 10:10:45-05:00 handhelds.org!kergoth
Merge oe-devel@oe-devel.bkbits.net:openembedded
into handhelds.org:/home/kergoth/code/openembedded
2005/03/18 10:10:26-05:00 handhelds.org!kergoth
Add bazaar 1.2 (an implementation of GNU Arch in C, based on tla).
2005/03/18 06:41:26-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/18 15:07:27+01:00 local!hrw
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded/
into marcinj.local:/home/hrw/zaurus/bb/openembedded
2005/03/18 15:07:05+01:00 local!hrw
added more fonts to meta-opie
2005/03/18 13:43:33+00:00 rpsys.net!RP
openzaurus-2.6: Dirks updates to Tosa and some w100fb updates
2005/03/18 04:41:25-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/18 22:57:59+10:30 (none)!rwhitby
Merge bk://nslu2-linux@nslu2-linux.bkbits.net/openembedded
into home.(none):/home/bitbake/openembedded
2005/03/18 22:57:42+10:30 (none)!rwhitby
Added muxsshssl, but still waiting for sf.net CVS to update before it can be used.
2005/03/18 13:23:12+01:00 uni-frankfurt.de!mickeyl
ship opie-qss in the default image
2005/03/18 03:41:21-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/18 12:25:50+01:00 local!hrw
added development version 2.0.17 of kdepimpi (marked as non-default)
2005/03/18 21:55:18+10:30 (none)!rwhitby
Added mt-daapd, strace and nail to openslug-packages.
2005/03/18 01:04:24-10:00 (none)!dyoung
A enhanced mailx replacement
2005/03/18 00:46:33-10:00 (none)!dyoung
mt-daapd_0.2.1.1.bb:
changed the dl location
2005/03/18 20:59:08+10:30 (none)!rwhitby
Merge bk://nslu2-linux@nslu2-linux.bkbits.net/openembedded
into home.(none):/home/bitbake/openembedded
2005/03/18 20:58:31+10:30 (none)!rwhitby
Added sudo and perl to openslug-packages, and demoted mt-daapd
2005/03/17 19:41:54-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/17 22:30:43-05:00 handhelds.org!kergoth
Kill a few files that were unintentionally checked in, in the last cset.
2005/03/17 22:26:35-05:00 handhelds.org!kergoth
Merge oe-devel@oe-devel.bkbits.net:openembedded
into handhelds.org:/home/kergoth/code/openembedded
2005/03/17 22:26:19-05:00 handhelds.org!kergoth
Start adding wrt54g{,s} bits. This is the linux-wrt 2.4.20 kernel, and an /etc/network/interfaces file.
2005/03/17 16:42:09-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/18 00:45:28+01:00 handhelds.org!zecke
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into handhelds.org:/home/ich/programming/oe/openembedded
2005/03/18 00:44:27+01:00 handhelds.org!zecke
ZeeCookBook patch by Philip Frampton:
-Update Zeecookbook to 1.1 from 1.0beta3
-Fix packaging
2005/03/17 15:41:32-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/17 18:37:37-05:00 handhelds.org!kergoth
Merge oe-devel@oe-devel.bkbits.net:openembedded
into handhelds.org:/home/kergoth/code/openembedded
2005/03/17 18:37:17-05:00 handhelds.org!kergoth
Add pcmciautils 001 (can use these to manage 16 bit pcmcia cards with hotplug, given a recent enough kernel and sysfsutils).
2005/03/17 18:35:58-05:00 handhelds.org!kergoth
Apply libsysfs write attributes patch to sysfsutils (required for pcmciautils).
2005/03/18 00:06:08+01:00 utwente.nl!koen
meta-sectest-gpe.bb: disable btscanner and dillo for now
2005/03/17 14:41:19-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/17 23:37:28+01:00 utwente.nl!koen
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into bitbake.utwente.nl:/home/koen/OE/openembedded
2005/03/17 23:37:14+01:00 utwente.nl!koen
mbmerlin_0.8.1-2.bb:
unbork mbmerlin
2005/03/17 22:43:32+01:00 handhelds.org!zecke
Pocket Cellar patches courtsey Philip Frampton:
-Patches are not yet 100% Qtopia/Opie conform but still it is an improvement
-Lookup the PocketCellar Wine Database at the right directory
2005/03/17 21:03:50+01:00 dyndns.org!reenoo
vlc-gpe: remove unnecessary "/" separator one more time.
2005/03/17 06:41:26-08:00 bkbits.net!nslu2-linux.adm
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/03/17 14:56:19+01:00 utwente.nl!koen
preferred-gpe-versions.inc:
newer xextensions
2005/03/16 09:40:06+10:30 (none)!rwhitby
Patch for ipkg which makes it respect the setting of sysconfdir.
2005/03/16 09:39:14+10:30 (none)!rwhitby
Added wl500g machine and AsusOE distro
2005/03/16 08:08:59+10:30 (none)!rwhitby
Merge bk://oe-devel.bkbits.net/openembedded
into home.(none):/home/wl500g/openembedded
2005/03/11 22:36:27+10:30 (none)!rwhitby
Merge bk://oe-devel.bkbits.net/openembedded
into home.(none):/home/wl500g/openembedded
BKrev: 423ee345bbZEjSmlBpykWs0rnfomxA
Diffstat (limited to 'packages/zaurus-updater/spitz')
-rw-r--r-- | packages/zaurus-updater/spitz/updater.sh.c3000 | 323 |
1 files changed, 323 insertions, 0 deletions
diff --git a/packages/zaurus-updater/spitz/updater.sh.c3000 b/packages/zaurus-updater/spitz/updater.sh.c3000 index e69de29bb2..9ad81e36cd 100644 --- a/packages/zaurus-updater/spitz/updater.sh.c3000 +++ b/packages/zaurus-updater/spitz/updater.sh.c3000 @@ -0,0 +1,323 @@ +#!/bin/sh + + +DATAPATH=$1 +TMPPATH=/tmp/update +TMPDATA=$TMPPATH/tmpdata.bin +TMPHEAD=$TMPPATH/tmphead.bin + +WFLG_KERNEL=0 +WFLG_INITRD=0 +WFLG_MVERSION=0 +WFLG_HDD=0 + +RO_MTD_LINE=`cat /proc/mtd | grep "root" | tail -n 1` +if [ "$RO_MTD_LINE" = "" ]; then + RO_MTD_LINE=`cat /proc/mtd | grep "\<NAND\>.*\<2\>" | tail -n 1` +fi +RO_MTD_NO=`echo $RO_MTD_LINE | cut -d: -f1 | cut -dd -f2` +RO_MTD_SIZE_HEX=`echo $RO_MTD_LINE | cut -d" " -f2` +RO_MTD=/dev/mtd$RO_MTD_NO +RO_MTDBLK=/dev/mtdblock$RO_MTD_NO +RO_MTD_SIZE=`dc 0x$RO_MTD_SIZE_HEX 1024 /` + +RW_MTD_LINE=`cat /proc/mtd | grep "home" | tail -n 1` +if [ "$RW_MTD_LINE" = "" ]; then + RW_MTD_LINE=`cat /proc/mtd | grep "\<NAND\>.*\<2\>" | tail -n 1` +fi +RW_MTD_NO=`echo $RW_MTD_LINE | cut -d: -f1 | cut -dd -f2` +RW_MTD_SIZE_HEX=`echo $RW_MTD_LINE | cut -d" " -f2` +RW_MTD=/dev/mtd$RW_MTD_NO +RW_MTDBLK=/dev/mtdblock$RW_MTD_NO +RW_MTD_SIZE=`dc 0x$RW_MTD_SIZE_HEX 1024 /` + +LOGOCAL_MTD=/dev/mtd1 + +VERBLOCK=0x48000 +MVRBLOCK=0x70000 + +RESULT=0 + +Cleanup(){ + rm -f $VTMPNAME > /dev/null 2>&1 + rm -f $MTMPNAME > /dev/null 2>&1 + rm $CTRLPATH/* > /dev/null 2>&1 + rm $DATAPATH/* > /dev/null 2>&1 + exit $1 +} +trap 'Cleanup 1' 1 15 +trap '' 2 3 + +get_dev_pcmcia() +{ +while read SOCKET CLASS DRIVER INSTANCE DEVS MAJOR MINOR; +do + echo $DEVS +done +} +get_dev_pcmcia_slot() +{ + grep "^$1" /var/lib/pcmcia/stab | get_dev_pcmcia +} +sleep 1 +IDE1=`get_dev_pcmcia_slot 1` +if [ "$IDE1" = "" ]; then + echo "Error!! There is no HDD. Now retrying..." + while [ "$IDE1" = "" ]; do + IDE1=`get_dev_pcmcia_slot 1` + done + echo "Found HDD!!" +fi + +#LINUXFMT=ext2 +LINUXFMT=ext3 +MKE2FSOPT= +if [ "$LINUXFMT" = "ext3" ]; then + MKE2FSOPT=-j +fi + + +### Check model ### +/sbin/writerominfo +MODEL=`cat /proc/deviceinfo/product` +if [ "$MODEL" != "SL-C3000" ] +then + echo 'MODEL:'$MODEL + echo 'ERROR:Invalid model!' + echo 'Please reset' + while true + do + done +fi + +mkdir -p $TMPPATH > /dev/null 2>&1 + +cd $DATAPATH/ + +for TARGETFILE in zImage.bin zimage.bin ZIMAGE.BIN initrd.bin INITRD.BIN mversion.bin MVERSION.BIN +do + if [ -e $TARGETFILE ] + then + rm -f $TMPPATH/*.bin > /dev/null 2>&1 + DATASIZE=`wc -c $TARGETFILE` + DATASIZE=`echo $DATASIZE | cut -d' ' -f1` + + #echo $TARGETFILE':'$DATASIZE'bytes' + TARGETTYPE=Invalid + case "$TARGETFILE" in + zImage.bin) TARGETTYPE=Kernel;; + zimage.bin) TARGETTYPE=Kernel;; + ZIMAGE.BIN) TARGETTYPE=Kernel;; + initrd.bin) TARGETTYPE=RoFs;; + INITRD.BIN) TARGETTYPE=RoFs;; + mversion.bin) TARGETTYPE=MasterVer;; + MVERSION.BIN) TARGETTYPE=MasterVer;; + *) + continue + ;; + esac + + case "$TARGETTYPE" in + Kernel) + if [ $WFLG_KERNEL != 0 ] + then + continue + fi + WFLG_KERNEL=1 + echo 'kernel' + ISLOGICAL=1 + MODULEID=5 + MODULESIZE=0x13C000 + ADDR=`dc 0xE0000` + ISFORMATTED=1 + DATAPOS=0 + ONESIZE=524288 + HDTOP=`expr $DATASIZE - 16` + /sbin/bcut -a $HDTOP -s 16 -o $TMPHEAD $TARGETFILE + ;; + RoFs) + if [ $WFLG_INITRD != 0 ] + then + continue + fi + WFLG_INITRD=1 + echo 'RO file system' + ISLOGICAL=0 + MODULEID=6 + MODULESIZE=0x500000 + ADDR=0 + ISFORMATTED=0 + TARGET_MTD=$RO_MTD + DATAPOS=16 + ONESIZE=1048576 + /sbin/bcut -s 16 -o $TMPHEAD $TARGETFILE + ;; + MasterVer) + if [ $WFLG_MVERSION != 0 ] + then + continue + fi + WFLG_MVERSION=1 + echo 'Master version' + MTMPNAME=$TMPPATH'/mtmp'`date '+%s'`'.tmp' + /sbin/nandlogical $LOGOCAL_MTD READ $MVRBLOCK 0x4000 $MTMPNAME > /dev/null 2>&1 + /sbin/verchg -m $MTMPNAME $TARGETFILE 0 0 > /dev/null 2>&1 + /sbin/nandlogical $LOGOCAL_MTD WRITE $MVRBLOCK 0x4000 $MTMPNAME > /dev/null 2>&1 + rm -f $MTMPNAME > /dev/null 2>&1 + echo 'Success!' + continue + ;; + *) + continue + ;; + esac + + + #format? + if [ $ISFORMATTED = 0 ] + then + echo -n 'Flash erasing...' + /sbin/eraseall $TARGET_MTD 2> /dev/null > /dev/null + #/sbin/eraseall $TARGET_MTD 2 + echo 'done' + ISFORMATTED=1 + fi + + echo '' + echo '0% 100%' + PROGSTEP=`expr $DATASIZE / $ONESIZE + 1` + PROGSTEP=`expr 28 / $PROGSTEP` + if [ $PROGSTEP = 0 ] + then + PROGSTEP=1 + fi + + #00 means header information + VTMPNAME=$TMPPATH'/vtmp'`date '+%s'`'.tmp' + MTMPNAME=$TMPPATH'/mtmp'`date '+%s'`'.tmp' + /sbin/nandlogical $LOGOCAL_MTD READ $VERBLOCK 0x4000 $VTMPNAME > /dev/null 2>&1 + /sbin/nandlogical $LOGOCAL_MTD READ $MVRBLOCK 0x4000 $MTMPNAME > /dev/null 2>&1 + + #echo 'found header' + /sbin/verchg -v $VTMPNAME $TMPHEAD $MODULEID $MODULESIZE > /dev/null 2>&1 + /sbin/verchg -m $MTMPNAME $TMPHEAD $MODULEID $MODULESIZE > /dev/null 2>&1 + + #loop + while [ $DATAPOS -lt $DATASIZE ] + do + #data create + bcut -a $DATAPOS -s $ONESIZE -o $TMPDATA $TARGETFILE + TMPSIZE=`wc -c $TMPDATA` + TMPSIZE=`echo $TMPSIZE | cut -d' ' -f1` + DATAPOS=`expr $DATAPOS + $TMPSIZE` + + #handle data file + #echo 'ADDR='$ADDR + #echo 'SIZE='$TMPSIZE + if [ $ISLOGICAL = 0 ] + then + next_addr=`/sbin/nandcp -a $ADDR $TMPDATA $TARGET_MTD 2>/dev/null | fgrep "mtd address" | cut -d- -f2 | cut -d\( -f1` + if [ "$next_addr" = "" ]; then + echo "ERROR:flash write" + rm $TMPDATA > /dev/null 2>&1 + RESULT=3 + break; + fi + ADDR=$next_addr + else + /sbin/nandlogical $LOGOCAL_MTD WRITE $ADDR $DATASIZE $TMPDATA > /dev/null 2>&1 + ADDR=`expr $ADDR + $TMPSIZE` + fi + + rm $TMPDATA > /dev/null 2>&1 + + #progress + SPNUM=0 + while [ $SPNUM -lt $PROGSTEP ] + do + echo -n '.' + SPNUM=`expr $SPNUM + 1` + done + done + + echo '' + +#finish + rm -f $TMPPATH/*.bin > /dev/null 2>&1 + + if [ $RESULT = 0 ] + then + /sbin/nandlogical $LOGOCAL_MTD WRITE $VERBLOCK 0x4000 $VTMPNAME > /dev/null 2>&1 + /sbin/nandlogical $LOGOCAL_MTD WRITE $MVRBLOCK 0x4000 $MTMPNAME > /dev/null 2>&1 + + rm -f $VTMPNAME > /dev/null 2>&1 + rm -f $MTMPNAME > /dev/null 2>&1 + echo 'Success!' + else + echo 'Error!' + exit $RESULT + fi + fi +done + +HDD1FILE=hdimage1.tgz +## HDD image +for TARGETFILE in hdimage1.tgz HDIMAGE1.TGZ +do + if [ -e $TARGETFILE ]; then + if [ $WFLG_HDD != 0 ] + then + continue + fi + WFLG_HDD=1 + echo '' + echo 'HDD RO file system' + if [ ! -f /hdd1/NotAvailable ]; then + umount /hdd1 + fi + echo 'Now formatting...' + mke2fs $MKE2FSOPT /dev/${IDE1}1 2> /dev/null > /dev/null + e2fsck -p /dev/${IDE1}1 > /dev/null + if [ "$?" != "0" ]; then + echo "Error!" + exit "$?" + fi + + mount -t $LINUXFMT -o noatime /dev/${IDE1}1 /hdd1 + if [ "$?" != "0" ]; then + echo "Error!" + exit "$?" + fi + + cd / + echo 'Now extracting...' + gzip -dc $DATAPATH/$HDD1FILE | tar xf - + if [ "$?" != "0" ]; then + echo "Error!" + exit "$?" + fi + + # delete java if no java model + if [ ! -f /root/.java ]; then + rm -rf /hdd1/usr/QtPalmtop.rom/j2me + fi + + ## write check sum + ORGFILE=$DATAPATH/mversion.bin + if [ ! -f $ORGFILE ]; then + ORGFILE=$DATAPATH/MVERSION.BIN + fi + MTMPNAME=$TMPPATH'/mtmp'`date '+%s'`'.tmp' + /sbin/nandlogical $LOGOCAL_MTD READ $MVRBLOCK 0x4000 $MTMPNAME > /dev/null 2>&1 + /sbin/verchg_hdd $MTMPNAME $ORGFILE 9 > /dev/null 2>&1 + /sbin/nandlogical $LOGOCAL_MTD WRITE $MVRBLOCK 0x4000 $MTMPNAME > /dev/null 2>&1 + rm -f $MTMPNAME > /dev/null 2>&1 + + echo 'Success!' + # remount as RO + umount /hdd1 + mount -t $LINUXFMT -o ro,noatime /dev/${IDE1}1 /hdd1 + fi +done + +exit 0 |