Kconfig 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. # Copyright (C) 2018 RDA Technologies Limited and/or its affiliates("RDA").
  2. # All rights reserved.
  3. #
  4. # This software is supplied "AS IS" without any warranties.
  5. # RDA assumes no responsibility or liability for the use of the software,
  6. # conveys no license or title under any patent, copyright, or mask work
  7. # right to the product. RDA reserves the right to make changes in the
  8. # software without notification. RDA also make no representation or
  9. # warranty that such application will be suitable for the specified use
  10. # without further testing or modification.
  11. menu "firmware update"
  12. config FUPDATE_PACK_FILE_NAME
  13. string "update pack file name"
  14. default "fota.pack"
  15. help
  16. This is the file name of firmware upgrade pack file name. It is
  17. located under CONFIG_FS_FOTA_DATA_DIR. The configuration should
  18. be the same in application and bootloader.
  19. Don't change it unless you know what you are doing.
  20. config FUPDATE_STAGE_FILE_NAME
  21. string "update stage file name"
  22. default "fota.stage"
  23. help
  24. This file will record firmware updata stage. It is located under
  25. CONFIG_FS_FOTA_DATA_DIR. The configuration should be the same in
  26. application and bootloader.
  27. Don't change it unless you know what you are doing.
  28. config FUPDATE_TEMP_FILE_NAME
  29. string "update temporal file name"
  30. default "fota.tmp"
  31. help
  32. This is temporal file create during update in bootloader.
  33. Don't change it unless you know what you are doing.
  34. config FUPDATE_SUPPORT_FLASH_PATCH
  35. bool "support flash differential update"
  36. default y
  37. help
  38. Support differential update of flash regions.
  39. config FUPDATE_SUPPORT_FS_PATCH
  40. bool "support file system differential update"
  41. default y if SOC_8910
  42. default n
  43. help
  44. Support differential update of file system. Only SFFS is supported.
  45. config FUPDATE_SUPPORT_BLOCKED_FILE
  46. bool "support blocked file"
  47. default y if SOC_8910
  48. default y if SOC_8850
  49. default n
  50. config FUPDATE_SUPPORT_SIGNATURE_CHECK
  51. bool "support fota signature check"
  52. default n if SOC_8850 #quectel updtae
  53. default y if SOC_8910
  54. default n
  55. config FUPDATE_SIGN_FILE_NAME
  56. string "update signature file name"
  57. default "fota.sign"
  58. help
  59. This is signature file name of the firmware update pack file.
  60. It contains the signature of the update pack file.
  61. Don't change it unless you know what you are doing.
  62. config FUPDATE_SUPPORT_VERSION_CHECK
  63. bool "support fota package old/new version check"
  64. default y if SOC_8910
  65. default n
  66. help
  67. If this option is enabled, it will check the versions of
  68. new & old firmwares before upgrading the fota package. Forbid new
  69. version being updated to old version by default.
  70. config FUPDATE_SUPPORT_CHECK_TMP_SPACE
  71. bool "support fota check tmp space"
  72. default y if SOC_8910
  73. default n if SOC_8850 #quectel updtae
  74. default n
  75. help
  76. If this option is enabled, it will check unused flash size, if
  77. flash size is not enough for fota, the update process will quit.
  78. endmenu