summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx/base-files/lib/upgrade
Commit message (Collapse)AuthorAge
* brcm47xx: add Netgear WN2500RP supportRafał Miłecki2015-12-02
| | | | | | | | We generate V1 image only for now. We lack buttons support for V2. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 47682
* brcm47xx: sysupgrade: drop useless shift in platform.shRafał Miłecki2015-06-06
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45913
* brcm47xx: extract TRX from image on the flyJohn Crispin2015-06-05
| | | | | | | | | | Extracting TRX to separated file in /tmp/ requires extra RAM which may not be available on some chepaer devices. Instead of that lets pass a proper extracting command to the default_do_upgrade. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45901
* brcm47xx: fix handling absolute paths in sysupgrade (for vendor formats)Rafał Miłecki2015-04-17
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45472
* brcm47xx: rework vendor fw handling to don't duplicate upgrade callsRafał Miłecki2015-04-16
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45470
* otrx: change command line API to start with a modeRafał Miłecki2015-04-14
| | | | | | | | This will allow adding more modes without options conflict. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45443
* brcm47xx: verify also standard TRX images during sysupgradeRafał Miłecki2015-04-09
| | | | | | | | It allows detecting data corruption for plain TRX as well. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45318
* brcm47xx: fix WRT300N devices magics for sysupgrade checkRafał Miłecki2015-04-09
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45317
* brcm47xx: switch to the otrx for verifying TRX imagesRafał Miłecki2015-04-09
| | | | | | | | This adds checking CRC32 of provided firmware image. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45316
* brcm47xx: image: share function checking TRX in provided firmwareRafał Miłecki2015-03-31
| | | | | | | | This will allow us to calculate crc32 in a shared code. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45202
* brcm47xx: fix checking cross-vendors firmware imagesRafał Miłecki2015-03-31
| | | | | | | | | This change won't allow installing e.g. Netgear firmware on Linksys device. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45174
* brcm47xx: display all errors (not just the 1st one) when checking imageRafał Miłecki2015-03-31
| | | | | | | | This way people forcing upgrade will know what may go wrong. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45172
* brcm47xx: recognize more device specific firmwaresRafał Miłecki2015-03-31
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45171
* brcm47xx: compare provided firmware magic with device magicRafał Miłecki2015-03-30
| | | | | | | | | This makes sysupgrade reject firmware images for different devices. Right now only support for 2 sample devices is implemented. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45170
* brcm47xx: support for flashing CHK and CyberTAN imagesRafał Miłecki2014-12-30
| | | | | | | | | This will allow simple sysupgrade-s including simpler reverting to the original firmware. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43799
* brcm47xx: verify if CHK/CyberTAN contains valid TRXRafał Miłecki2014-12-30
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43798
* brcm47xx: extract magics from specific upgrade images (and still reject them)Rafał Miłecki2014-12-15
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43718
* brcm47xx: detect (and still reject for now) CyberTAN fw formatRafał Miłecki2014-12-15
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43714
* brcm47xx: use separated function in upgrade to detect file typeRafał Miłecki2014-12-15
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43708
* target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGCJohn Crispin2014-06-02
| | | | | | | | | | | | | | | | | | | ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct var $# (=number of args) here. under normal conditions this had no impact, but we should at least correct it. the error was observable like this: root@box:~ [ -e "/etc/functions.sh" ] && . /etc/functions.sh root@box:~ [ -e "/lib/functions.sh" ] && . /lib/functions.sh root@box:~ . /lib/upgrade/platform.sh root@box:~ . /lib/upgrade/common.sh root@box:~ platform_check_image /tmp/myfirmware.bin ash: bad number root@box:~ echo $? 0 Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 40915
* brcm47xx: use "firmware" partition nameHauke Mehrtens2013-12-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | Some time ago, after switching to the mainline bcm47xxpart driver following patch has been applied: commit 03cef8725d2062335ffc3de50fc037b294fd458c Author: hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> Date: Sat Apr 6 22:22:26 2013 +0000 brcm47xx: use old partition names again for kernel 3.8 This fixes sysupgrade. The partition names are used all over the Internet in various howtos. Thank you russell for spotting this problem. I propose to revert this change and make sysupgrade use "firmware" instead. This makes brcm47xx compatible with widely used ar71xx and after all "firmware" sounds like a much better name for... the firmware. This change doesn't affect "sysupgrade" usage, because it never takes a partition name as a parameter. This change only affects users using mtd tool directly. Hopefully there are not many howtos using "mtd" command. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 38973
* add back the base-files/image code from brcm-2.4 to brcm47xxFelix Fietkau2010-06-26
SVN-Revision: 21945