Skip to content
Snippets Groups Projects
  1. Sep 04, 2019
    • Chuanhong Guo's avatar
      ramips: improve support for Xiaomi Miwifi Nano · 7a21c85f
      Chuanhong Guo authored
      
      This patch does the following things:
      1. mark u-boot-env writable
      2. add bootcount support
         Currently, u-boot has a flag_boot_success env variable to reset.
         Also reset it in our firmware to follow the behavior in vendor's
         firmware.
      3. disable usb support
         This router doesn't have usb port at all.
      4. increase spi clock to 40MHz
      5. fix pinmux groups
      
      Signed-off-by: default avatarChuanhong Guo <gch981213@gmail.com>
      7a21c85f
    • Rafał Miłecki's avatar
      procd: update to the latest git HEAD · 7290963d
      Rafał Miłecki authored
      
      34ac88c system: reject sysupgrade of invalid firmware images by default
      f55c235 system: reject sysupgrade of broken firmware images
      e990e21 system: add "validate_firmware_image" ubus method
      
      This update changes "sysupgrade" ubus method API. It's now required to
      pass "force" attribute whenever invalid firmware is meant to be
      installed.
      
      Signed-off-by: default avatarRafał Miłecki <rafal@milecki.pl>
      7290963d
    • Rafał Miłecki's avatar
      base-files: pass "force" parameter to the "sysupgrade" call · b71962da
      Rafał Miłecki authored
      
      This makes sysupgrade work with the most recent procd that validates
      firmware before proceeding.
      
      Signed-off-by: default avatarRafał Miłecki <rafal@milecki.pl>
      b71962da
    • Rafał Miłecki's avatar
      brcm47xx: extend firmware validation · e68c1ceb
      Rafał Miłecki authored
      
      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: default avatarRafał Miłecki <rafal@milecki.pl>
      e68c1ceb
  2. Sep 03, 2019
  3. Sep 02, 2019
  4. Sep 01, 2019
  5. Aug 31, 2019
Loading