This project is mirrored from https://github.com/sbabic/swupdate.
Pull mirroring updated .
- Jul 26, 2017
-
-
Stefano Babic authored
Signed-off-by: Stefano Babic <sbabic@denx.de>
-
Stefano Babic authored
Signed-off-by: Stefano Babic <sbabic@denx.de>
-
- Jul 18, 2017
-
-
Stefano Babic authored
Signed-off-by: Stefano Babic <sbabic@denx.de>
-
- Jul 17, 2017
-
-
Diego Rondini authored
Give indication in the command usage that multiple .swu files can be specified on the command line, and adjust documentation accordingly. Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
-
Diego Rondini authored
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
-
Adam Duskett authored
Because LibreSSL returns 2.x for the version numbers, the macros think that OpenSSL 1.1 should be used. This patch checks to see if there is an LIBRESSL_VERSION_NUMBER defined. Also, add a check to see if CONFIG_SIGALG_CMS is enabled in sslapi.h before including openssl/cms.h. LibreSSL does not support cms and probably never will. As such, LibreSSL doesn't include it and will fail during a build that would otherwise pass. Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
-
- Jul 13, 2017
-
-
Stefano Babic authored
Signed-off-by: Stefano Babic <sbabic@denx.de>
-
Diego Rondini authored
Add support for installing multiple files at once by specifying them as separate arguments. The order of the arguments is respected in the order of installation. Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
-
Diego Rondini authored
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
-
- Jul 11, 2017
-
-
Christian Storm authored
As mongoose is currently the only webserver implementation and SWUpdate doesn't link if WEBSERSER && !MONGOOSE is selected, select MONGOOSE when WEBSERVER is selected. Signed-off-by: Christian Storm <christian.storm@siemens.com>
-
- Jul 06, 2017
-
-
Christian Storm authored
luaL_requiref() leaves an unused copy of the 'swupdate' module on the stack, remove it. lua_parser_fn() leaves the return values of the executed function on the stack for which there is no further use, remove them. Signed-off-by: Christian Storm <christian.storm@siemens.com>
-
Christian Storm authored
Signed-off-by: Christian Storm <christian.storm@siemens.com>
-
Christian Storm authored
According to Lua's about page (https://www.lua.org/about.html ), section "What's in a name?", Lua should be spelled "Lua". Fix occurrences in the code accordingly. Signed-off-by: Christian Storm <christian.storm@siemens.com>
-
- Jul 05, 2017
-
-
Christian Storm authored
LUAstackDump() is reworked * to use SWUpdate's notification system and * to be more informative at TRACELEVEL. Signed-off-by: Christian Storm <christian.storm@siemens.com>
-
Christian Storm authored
There's one stackdump prior to table2image() and one after, one prior to table2image() is sufficient. Signed-off-by: Christian Storm <christian.storm@siemens.com>
-
- Jun 30, 2017
-
-
Christian Storm authored
Signed-off-by: Christian Storm <christian.storm@siemens.com>
-
- Jun 29, 2017
-
-
Christian Storm authored
Fix the Wold-style-declaration warning introduced by commit 0385844e: "cpio: raise an error for decompress without GUNZIP" Signed-off-by: Christian Storm <christian.storm@siemens.com>
-
Christian Storm authored
Consolidate the bootloader naming and add URLs where to find further information. Signed-off-by: Christian Storm <christian.storm@siemens.com>
-
Stefano Babic authored
If CONFIG_GUNZIP is not set, the file is not decompressed and silently installed without any notice. Raise an error if the file must be decompressed but CONFIG_GUNZIP is not set. Signed-off-by: Stefano Babic <sbabic@denx.de>
-
- Jun 27, 2017
-
-
Christian Storm authored
Enable -- by uncommenting lines in tools/Makefile -- the integration of compiling/linking any .c files placed alongside the "official" tools in the tools/ directory into SWUpdate's build system. Signed-off-by: Christian Storm <christian.storm@siemens.com>
-
- Jun 25, 2017
-
-
Stefano Babic authored
There is no need to have SKIP_STRIP, because the unstripped version is laways built. Signed-off-by: Stefano Babic <sbabic@denx.de>
-
Stefano Babic authored
Signed-off-by: Stefano Babic <sbabic@denx.de>
-
Stefano Babic authored
Signed-off-by: Stefano Babic <sbabic@denx.de>
-
Stefano Babic authored
Signed-off-by: Stefano Babic <sbabic@denx.de>
-
Stefano Babic authored
Some of the tools in examples/ are utilities and they could be installed into the target. Add these utilities to the build system to make easier to integrate them. Move all these utilities in a more general "tools" directory and add them to the build system. Reorder Makefile to reuse the same command for all binaries. Signed-off-by: Stefano Babic <sbabic@denx.de>
-
Stefano Babic authored
If CONFIG_DEBUG_PESSIMIZE is set, the compiler drops inline functions and this leads to undefined reference. Signed-off-by: Stefano Babic <sbabic@denx.de> Reported-by: Diego Rondini <diego.rondini@kynetics.com>
-
- Jun 23, 2017
-
-
Christian Storm authored
According to Lua's about page (https://www.lua.org/about.html ), section "What's in a name?", Lua should be spelled "Lua". Fix occurrences in the documentation accordingly. Signed-off-by: Christian Storm <christian.storm@siemens.com>
-
Christian Storm authored
Signed-off-by: Christian Storm <christian.storm@siemens.com>
-
Christian Storm authored
Signed-off-by: Christian Storm <christian.storm@siemens.com>
-
Christian Storm authored
Signed-off-by: Christian Storm <christian.storm@siemens.com>
-
- Jun 22, 2017
-
-
Stefano Babic authored
Signed-off-by: Stefano Babic <sbabic@denx.de> Reported-by: Cedric Hombourger <Cedric_Hombourger@mentor.com>
-
- Jun 21, 2017
-
-
Stefano Babic authored
Signed-off-by: Stefano Babic <sbabic@denx.de>
-
- Jun 20, 2017
-
-
Stefano Babic authored
Signed-off-by: Stefano Babic <sbabic@denx.de>
-
Stefano Babic authored
Drop already implemented features and add new goals. Signed-off-by: Stefano Babic <sbabic@denx.de>
-
Stefano Babic authored
Signed-off-by: Stefano Babic <sbabic@denx.de>
-
Stefano Babic authored
Signed-off-by: Stefano Babic <sbabic@denx.de>
-
Stefano Babic authored
It is sometimes required to run some script at the time the sw-description file is parsed. One typical use case is when the partitions must be created and one of the artifacts must be streamed into the partitions. The partitions must be created firstly, and this cannot happen if the script doing this is packed later in the SWU. However, there are some other cases when it is required to change the values passed in sw-description according to run time conditions. This adds a "hook" to each artifact belonging to "images" or "files", allowing to run a LUA function embedded in sw-description. Signed-off-by: Stefano Babic <sbabic@denx.de>
-
Stefano Babic authored
Add function to transfer a image structure to and from a LUA script. This is used for embedded script in parser that runs at parsing time. Signed-off-by: Stefano Babic <sbabic@denx.de>
-
Stefano Babic authored
Signed-off-by: Stefano Babic <sbabic@denx.de>
-
Stefano Babic authored
The get_field_string_* functions allocates memory if the passed destination's size is set to 0. However, this does not work and generates a memory leak. Because there is not yet a case where the functions must allocate memory, the issue does not yet happen. To allow to let the function allocate the required space, functions are changed. The get_field_string_*() don't allocate themselves, and simply returns the pointer to the found string. Macros are adapted to remain compatible with current usage. Signed-off-by: Stefano Babic <sbabic@denx.de>
-