[OpenWrt-Devel] [PATCH 2/2] brcm47xx: extend firmware validation

Rafał Miłecki zajec5 at gmail.com
Fri Aug 30 02:35:02 EDT 2019


On Fri, 23 Aug 2019 at 08:15, Rafał Miłecki <zajec5 at gmail.com> wrote:
> 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.:
>
> $ sysupgrade -F /tmp/dhcp.leases
> Image metadata not found
> Invalid image type. Please use firmware specific for this device.
> Image check failed. This firmware can't be installed.

I postponed this patch for now as commit message wasn't accurate
anymore. I decided to drop "forceable" check from /sbin/sysupgrade.

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list