Rafał Miłecki
9e03c36259
bcm53xx: fix handling absolute paths in sysupgrade (for vendor formats)
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45473
2015-04-17 06:03:00 +00:00
Rafał Miłecki
3edb55143d
bcm53xx: add (disabled) support for upgrading kernel during sysupgrade
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45445
2015-04-14 20:50:59 +00:00
Rafał Miłecki
3cb8bf44e6
otrx: change command line API to start with a mode
...
This will allow adding more modes without options conflict.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45443
2015-04-14 20:50:46 +00:00
Rafał Miłecki
95ef64a779
bcm53xx: allow sysupgrade firmwares without UBI containing rootfs
...
In most cases it allows reverting back to the vendor firmware (as they
usually don't use UBI). If users wants to do that we can't do anything
anyway. Erease counters will be just lost. The only thing we do is warn:
"Flashing firmware without UBI for rootfs. All erase counters will be
lost."
It still requires forcing sysupgrade.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45392
2015-04-12 12:04:13 +00:00
Rafał Miłecki
24d40980b0
bcm53xx: add platform_pre_upgrade to prepare for kernel+UBI sysupgrade
...
We can now detect that provided firmware contains kernel and UBI image
partitions. Flashing it in a sane way (keeping erase counters) still
needs to be implemented.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45391
2015-04-12 11:46:16 +00:00
Rafał Miłecki
a04b71d330
bcm53xx: rework vendor fw handling to don't duplicate upgrade calls
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45389
2015-04-12 10:42:27 +00:00
Rafał Miłecki
2198db252c
bcm53xx: switch to the otrx for verifying TRX images
...
This adds checking CRC32 of provided firmware image.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45320
2015-04-09 06:33:56 +00:00
Rafał Miłecki
b6e8da2e14
bcm53xx: image: share function checking TRX in provided firmware
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45292
2015-04-07 14:14:08 +00:00
Rafał Miłecki
7abd779730
bcm53xx: display all errors (not just the 1st one) when checking image
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45291
2015-04-07 14:14:02 +00:00
Rafał Miłecki
a19b69a717
bcm53xx: compare provided firmware magic with device magic
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45290
2015-04-07 14:13:56 +00:00
Rafał Miłecki
d1a28cfbb2
bcm53xx: support flashing CHK and CyberTAN images
...
SVN-Revision: 43800
2014-12-30 17:45:53 +00:00
Rafał Miłecki
dd9ca05249
bcm53xx: sysupgrade support for devices with serial flash
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43719
2014-12-15 15:43:46 +00:00