1 config BR2_PACKAGE_SWUPDATE
3 depends on BR2_TOOLCHAIN_HAS_THREADS
4 depends on BR2_USE_MMU # fork()
5 # swupdate requires a parser and uses libconfig as default
6 select BR2_PACKAGE_LIBCONFIG if !BR2_PACKAGE_JSON_C && !BR2_PACKAGE_LUA_5_2
8 swupdate provides a reliable way to update the software on an
11 swupdate is highly configurable to fit the targets requirements and
12 to minimize the footprint. The provided default configuration file
13 BR2_PACKAGE_SWUPDATE_CONFIG will enable swupdate with an embedded
14 webserver, a parser and a handler for raw NAND or NOR flash.
16 The default configuration file builds a reasonable firmware update
17 system with minimal external dependencies in my mind. If you like to
18 use your own modified configuration, you have to select the
19 necessary packages manually:
21 * Select BR2_PACKAGE_LUA if you want to have Lua support.
22 * Select BR2_LIBCURL if you want to use the download feature.
23 * Select BR2_PACKAGE_OPENSSL is you want to add encryption support.
24 * Select BR2_PACKAGE_MTD if you want to use swupdate with UBI
26 * Select BR2_PACKAGE_ZLIB if you want to deal with gzip compressed
28 * Select BR2_PACKAGE_UBOOT_TOOLS and BR2_PACKAGE_ZLIB to add support
29 for setting the U-Boot environment.
31 https://sbabic.github.io/swupdate
33 if BR2_PACKAGE_SWUPDATE
35 config BR2_PACKAGE_SWUPDATE_CONFIG
36 string "swupdate configuration file"
37 default "package/swupdate/swupdate.config"
39 Path to the swupdate configuration file.
41 I you wish to use your own modified swupdate configuration file
42 specify the config file location with this option.
44 config BR2_PACKAGE_SWUPDATE_INSTALL_WEBSITE
45 bool "install default website"
48 Install the provided website to /var/www/swupdate.
50 This is necessary if you want to run swupdate with the embedded
51 webserver and do not provide an own website to be installed to
55 comment "swupdate needs a toolchain w/ threads"
56 depends on BR2_USE_MMU
57 depends on !BR2_TOOLCHAIN_HAS_THREADS