1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 14:08:17 +02:00
openwrt/target
Rafał Miłecki e68c1cebd1 brcm47xx: extend firmware validation
This provides TRX validation result, so final JSON may look like:
{
	"tests": {
		"fwtool_signature": true,
		"fwtool_device_match": true,
		"trx_valid": true
	},
	"valid": true,
	"forceable": true
}

It also prevents users from installing broken firmware files, e.g.:

root@OpenWrt:/# sysupgrade -F -n /tmp/TZ
Image metadata not found
Invalid image type. Please use firmware specific for this device.
Image check failed but --force given - will update anyway!
Commencing upgrade. Closing all shell sessions.
Firmware image is broken and cannot be installed

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2019-09-04 06:37:17 +02:00
..
imagebuilder imagebuilder: fix make info for empty SUPPORTED_DEVICES 2019-08-14 08:14:52 +02:00
linux brcm47xx: extend firmware validation 2019-09-04 06:37:17 +02:00
sdk sdk: use bundle-libraries.sh to ship kernel objtool tools 2019-09-03 10:45:25 +02:00
toolchain target/toolchain/files/wrapper.sh: simplify 'case' 2019-07-15 19:29:08 +02:00
Config.in build: add a config option for enabling a testing version of the target kernel 2019-05-11 11:37:10 +02:00
Makefile