<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot/package/swupdate, branch 2017.02</title>
<subtitle>OpenPOWER buildroot sources</subtitle>
<id>https://git.raptorcs.com/git/buildroot/atom?h=2017.02</id>
<link rel='self' href='https://git.raptorcs.com/git/buildroot/atom?h=2017.02'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/'/>
<updated>2016-12-10T08:10:14+00:00</updated>
<entry>
<title>swupdate: replace BR2_PREFER_STATIC_LIB with BR2_STATIC_LIBS</title>
<updated>2016-12-10T08:10:14+00:00</updated>
<author>
<name>Danomi Manchego</name>
<email>danomimanchego123@gmail.com</email>
</author>
<published>2016-12-10T02:23:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=6969e97e7803519d4f6b8266fc395d8a94c0a76b'/>
<id>urn:sha1:6969e97e7803519d4f6b8266fc395d8a94c0a76b</id>
<content type='text'>
The symbol to control static compilation was renamed in 2015.02, but missed
when swupdate was added.

Signed-off-by: Danomi Manchego &lt;danomimanchego123@gmail.com&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>swupdate: bump to version 2016.10</title>
<updated>2016-11-09T21:37:23+00:00</updated>
<author>
<name>Gary Bisson</name>
<email>gary.bisson@boundarydevices.com</email>
</author>
<published>2016-11-08T14:34:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=8f4c905adf76d49c33ba29f090a149a6128b64cb'/>
<id>urn:sha1:8f4c905adf76d49c33ba29f090a149a6128b64cb</id>
<content type='text'>
A short list of new features:

- progress interface as general way to signalize the update
  status outside of the process.

- support encrypted artifacts (encryption via simmetric keys)

- host verification for swu images (-c option)

- configuration file to configure the update process

- HAwkbit backend: API extended, support for configData messages

- Hawkbit backend: supports SSL certificates

- remote handler : general interface to connect external
  installers.

Signed-off-by: Gary Bisson &lt;gary.bisson@boundarydevices.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>swupdate: improved help text for Lua support</title>
<updated>2016-10-25T19:41:51+00:00</updated>
<author>
<name>Jordan Yelloz</name>
<email>jordan@yelloz.me</email>
</author>
<published>2016-07-24T23:27:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=02549bd9182f9d333dc47682d51c277786001467'/>
<id>urn:sha1:02549bd9182f9d333dc47682d51c277786001467</id>
<content type='text'>
It now explains limitations of building against Lua &lt; 5.2 interpreters
and how to link to LuaJIT library.

Signed-off-by: Jordan Yelloz &lt;jordan@yelloz.me&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>swupdate: update lua check for libconfig</title>
<updated>2016-10-25T19:35:55+00:00</updated>
<author>
<name>Jordan Yelloz</name>
<email>jordan@yelloz.me</email>
</author>
<published>2016-07-24T23:27:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=7d55462df8495502738a3b7ffe1be56582ce79ae'/>
<id>urn:sha1:7d55462df8495502738a3b7ffe1be56582ce79ae</id>
<content type='text'>
Most probably this was missed in commit
65b2ae49feb310d3272a47c44cf3b406646b25c1 which removed pinning to Lua
5.2.

Signed-off-by: Jordan Yelloz &lt;jordan@yelloz.me&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>swupdate: allow luajit to enable HAVE_LUA</title>
<updated>2016-10-25T11:46:52+00:00</updated>
<author>
<name>Jordan Yelloz</name>
<email>jordan@yelloz.me</email>
</author>
<published>2016-07-24T23:27:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=515ced20087407189bc5523a2bf7c19b239cb78d'/>
<id>urn:sha1:515ced20087407189bc5523a2bf7c19b239cb78d</id>
<content type='text'>
Until now, HAVE_LUA=y was only passed when BR2_PACKAGE_LUA=y. However,
swupdate can also use LuaJIT instead of the classic Lua. Therefore,
this commit updates the package to use BR2_PACKAGE_HAS_LUAINTERPRETER
and the luainterpreter virtual package.

Note that the swupdate configuration needs to be updated separately
(via swupdate-menuconfig) to enable Lua support, and to specify the
Lua version (which should be jit-5.1 to link against LuaJIT).

Signed-off-by: Jordan Yelloz &lt;jordan@yelloz.me&gt;
[Thomas: use the luainterpreter virtual package, expand commit log.]
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/swupdate: bump to version 2016.07</title>
<updated>2016-07-15T07:53:47+00:00</updated>
<author>
<name>Jörg Krause</name>
<email>joerg.krause@embedded.rocks</email>
</author>
<published>2016-07-15T06:16:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=91e0a02e9ec02913aec1aa78b54e9725bc07074d'/>
<id>urn:sha1:91e0a02e9ec02913aec1aa78b54e9725bc07074d</id>
<content type='text'>
* Remove fetching upstream patch to fix build without MTD support
* Update .config
* Update help text as SSL support is now needed for other features
  than the webserver too

Signed-off-by: Jörg Krause &lt;joerg.krause@embedded.rocks&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>swupdate: bump to version 2016.04</title>
<updated>2016-05-07T07:11:20+00:00</updated>
<author>
<name>Jörg Krause</name>
<email>joerg.krause@embedded.rocks</email>
</author>
<published>2016-05-02T11:16:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=65b2ae49feb310d3272a47c44cf3b406646b25c1'/>
<id>urn:sha1:65b2ae49feb310d3272a47c44cf3b406646b25c1</id>
<content type='text'>
Also:
 * Update the .config file
 * Update the help text:
    - Lua support is not restricted to Lua 5.2
    - U-Boot supports needs now BR2_PACKAGE_UBOOT_TOOLS additionally
 * Remove comment about bundled lsqlite3, it has been removed.
 * Remove upstream patches:
    - "Kbuild: Fix link error for CONFIG_UBOUT and missing libz" [1]
    - "Kbuild: Link with GCC instead of LD" [2]
 * Add patch from upstream:
    - "Fix build without MTD support" [3]
 * Add optional dependency for libarchive
 * Add optional dependency for uboot-tools

[1] https://github.com/sbabic/swupdate/commit/5a5ef5909f5da5b2070d58ffaee924bb8e6a51e1
[2] https://github.com/sbabic/swupdate/commit/f26577423eb65728fcd10f78f9978dd07d51dcb9
[3] https://github.com/sbabic/swupdate/commit/69c0e66994f01ce1bf2299fbce86aee7a1baa37b

Signed-off-by: Jörg Krause &lt;joerg.krause@embedded.rocks&gt;
[Thomas: add host-pkgconf in the dependency when Lua is enabled, as it
is used to find Lua.]
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/swupdate: fix build issue with some toolchains</title>
<updated>2015-11-02T14:44:25+00:00</updated>
<author>
<name>Jörg Krause</name>
<email>joerg.krause@embedded.rocks</email>
</author>
<published>2015-11-01T18:47:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=9eca4b9f84fe2535d8caee6eeb062ce33733bdf1'/>
<id>urn:sha1:9eca4b9f84fe2535d8caee6eeb062ce33733bdf1</id>
<content type='text'>
Add patch from upstream to fix build issue with some toolchains.

For some toolchains used in Buildroot (x86_64 and mips64) partial linking using
'ld' directly doesn't work well, as the 'ld' default emulation may not
necessarily be the correct one. Note, that the default emulation depends upon
how the linker was configured at build time. The leads to different kind of
build errors, like:

  * /usr/bin/i686-pc-linux-gnu-ld: Relocatable linking with relocations from
    format elf64-x86-64 (core/swupdate.o) to format elf32-i386 (core/built-in.o)
    is not supported.

  * /usr/bin/mips-linux-gnu-ld: handlers/raw_handler.o: endianness incompatible
    with that of the selected emulation

  * /usr/bin/mips64el-linux-ld: core/swupdate.o: ABI is incompatible with that
    of the selected

Linking with gcc will pass all the appropriate linker flags to the linker.
'-nostdlib' has to be added to ldflags-y to link properly without pulling in GCC
libs during partial linking. Note, for Kbuild ldflags-y is prefered over the
deprecated EXTRA_LDFLAGS.

Build config for x86_64:
  BR2_x86_64=y
  BR2_x86_corei7=y
  BR2_TOOLCHAIN_EXTERNAL=y
  BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201209=y

Runtime test:
  $ output/build/swupdate-2015.07/swupdate -v
  Swupdate v2015.07.0

  Licensed under GPLv2. See source distribution for detailed copyright notices.

  Registered handlers:
  	rawfile
	raw

Note, that a previous patch [1] had to be reverted [2] because ld does not take
gcc's constructor functions into account and so none of the handlers have been
registered at runtime.

Fixes:
http://autobuild.buildroot.net/results/de9/de920298075d32f3de83a0cfb7417846eb833425/
http://autobuild.buildroot.net/results/975/975915aa33005806e78260bae385cd4b3e359ca8/
http://autobuild.buildroot.net/results/c54/c54e7a2ea353d95d41a1e966de0dffa7b6ac432e/
http://autobuild.buildroot.net/results/019/0198596ebfed05ab86552b628da2274d55bf42ae/

and many more.

[1] https://patchwork.ozlabs.org/patch/532542/
[2] https://patchwork.ozlabs.org/patch/535408/

Cc: Bjørn Forsman &lt;bjorn.forsman@gmail.com&gt;
Cc: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Cc: Yann E. MORIN &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: Jörg Krause &lt;joerg.krause@embedded.rocks&gt;
Reviewed-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>Revert "package/swupdate: add patch to fix build issue with some toolchains"</title>
<updated>2015-10-26T21:58:14+00:00</updated>
<author>
<name>Bjørn Forsman</name>
<email>bjorn.forsman@gmail.com</email>
</author>
<published>2015-10-24T13:04:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=9f3c0bc55175123853719209e3863baee7e17773'/>
<id>urn:sha1:9f3c0bc55175123853719209e3863baee7e17773</id>
<content type='text'>
This patch caused an unfortunate regression that prevents any handlers
from being registered (runtime issue). This means swupdate cannot
perform any update. Upstream has reverted it.

See discussion:
https://groups.google.com/d/msg/swupdate/oVIhJmYPT8A/eq3uZvYVDQAJ

This reverts commit a8cc6eeec5a665db5689083312beef14a9afbafa.

Signed-off-by: Bjørn Forsman &lt;bjorn.forsman@gmail.com&gt;
Acked-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Acked-by: Jörg Krause &lt;joerg.krause@embedded.rocks&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>package/swupdate: add patch to fix link error for CONFIG_UBOOT and missing libz</title>
<updated>2015-10-19T21:02:56+00:00</updated>
<author>
<name>Jörg Krause</name>
<email>joerg.krause@embedded.rocks</email>
</author>
<published>2015-10-19T20:45:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=b14269ea4f34c741c29f1c58e825b5ef2a399e0c'/>
<id>urn:sha1:b14269ea4f34c741c29f1c58e825b5ef2a399e0c</id>
<content type='text'>
CONFIG_UBOOT needs libz [1]. So CONFIG_UBOUT mustn't be available when
HAVE_ZLIB=n.

Add patch from upstream to fix a link error for CONFIG_UBOOT and missing libz.
Note, that this link error does not affect the default config provided by
Buildroot.

[1] https://github.com/sbabic/swupdate/commit/cf495e23ad117f4cae9c429e80714fe9c18f2d6a

[Thomas: use a single &lt;pkg&gt;_PATCH variable.]

Reported-by: Romain Naour &lt;romain.naour@openwide.fr&gt;
Signed-off-by: Jörg Krause &lt;joerg.krause@embedded.rocks&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
</feed>
