<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/noltari/include/image.mk, branch master</title>
<subtitle>Staging tree of Alvaro Fernandez Rojas</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/noltari/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/noltari/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/noltari/'/>
<updated>2023-02-20T06:34:07Z</updated>
<entry>
<title>image: update LZMA_XZ_OPTIONS with new squashfs4 tool</title>
<updated>2023-02-20T06:34:07Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2023-02-06T22:28:14Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/noltari/commit/?id=a33b97dcb1bd6e68f01c571e92ef02c3ab721523'/>
<id>urn:sha1:a33b97dcb1bd6e68f01c571e92ef02c3ab721523</id>
<content type='text'>
The -Xpreset option changed format and dropped the -Xe and just require
the extreme string to be passed to the -Xpreset option.

Update the LZMA_XZ_OPTIONS to reflect this change.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: add ALT3 and ALT4 vendor/model/variant</title>
<updated>2023-01-24T23:42:52Z</updated>
<author>
<name>Wenli Looi</name>
</author>
<published>2022-11-22T18:26:34Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/noltari/commit/?id=f0e4595188db797446f7b3d29a6162ede90586a6'/>
<id>urn:sha1:f0e4595188db797446f7b3d29a6162ede90586a6</id>
<content type='text'>
This is needed for the Netgear EX7300 series v2.

Signed-off-by: Wenli Looi &lt;wlooi@ucalgary.ca&gt;
</content>
</entry>
<entry>
<title>image: add FACTORY_SIZE to DEFAULT_DEVICE_VARS</title>
<updated>2023-01-13T21:22:38Z</updated>
<author>
<name>Sander Vanheule</name>
</author>
<published>2023-01-13T21:16:58Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/noltari/commit/?id=e5fe4019085607984036940fdc460677ccf892e2'/>
<id>urn:sha1:e5fe4019085607984036940fdc460677ccf892e2</id>
<content type='text'>
FACTORY_SIZE is used as a device recipe variable on both the D-Link
DIR-825-B1 and Trendnet TEW-673GRU, but is not listed as a device
variable, neither globally, nor for ath79. Being assigned the same
value, this probably hasn't caused any issues.

Add FACTORY_SIZE to the global list DEFAULT_DEVICE_VARS, to ensure the
variable is reset for every device, and to allow it to be used outside
of the ath79 target.

Signed-off-by: Sander Vanheule &lt;sander@svanheule.net&gt;
</content>
</entry>
<entry>
<title>image: add gzip-filename build recipe</title>
<updated>2023-01-06T14:34:07Z</updated>
<author>
<name>Michael Pratt</name>
</author>
<published>2022-12-22T02:33:04Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/noltari/commit/?id=ee87dbb3fef2c0771b20967ec4a8638fdab9c9bf'/>
<id>urn:sha1:ee87dbb3fef2c0771b20967ec4a8638fdab9c9bf</id>
<content type='text'>
Some vendors use basic gzip metadata (original filename and timestamp)
to verify valid images, along with the size of it's contents.

Also, add a new device profile variable FACTORY_IMG_NAME
which would be ideal to use with this new recipe.

Signed-off-by: Michael Pratt &lt;mcpratt@pm.me&gt;
</content>
</entry>
<entry>
<title>image: fix device profile specific COMPILE targets</title>
<updated>2022-12-19T12:27:35Z</updated>
<author>
<name>Michael Pratt</name>
</author>
<published>2022-11-22T00:37:39Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/noltari/commit/?id=1bff0752bd5e7feb0f311224a09b3bf217a9aeb3'/>
<id>urn:sha1:1bff0752bd5e7feb0f311224a09b3bf217a9aeb3</id>
<content type='text'>
Commit a01d23e75 ("image: always rebuild kernel loaders")
is a step in the right direction, but exposed some issues
and regressions in the makefile.

Some of the files made by device specific COMPILE targets
start with an "append" command (i.e. &gt;&gt; instead of &gt; redirection)
and if the file already exists, the target file is the
input to itself before the first recipe-specified input.

Fixes: a01d23e75 ("image: always rebuild kernel loaders")
Fixes: a7fb589e8 ("image: always rebuild kernel loaders")
Signed-off-by: Michael Pratt &lt;mcpratt@pm.me&gt;
</content>
</entry>
<entry>
<title>mkits: support definition of DTB loadaddr</title>
<updated>2022-11-08T11:16:36Z</updated>
<author>
<name>David Bauer</name>
</author>
<published>2022-11-06T23:42:40Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/noltari/commit/?id=a208f0a9bec723e8bec3c45cc10931494d65156b'/>
<id>urn:sha1:a208f0a9bec723e8bec3c45cc10931494d65156b</id>
<content type='text'>
Support defining a per-device loadaddress for the DTB. This is required
for devices which to not align the DTB from the bootloader correctly.

Signed-off-by: David Bauer &lt;mail@david-bauer.net&gt;
</content>
</entry>
<entry>
<title>image: always rebuild kernel loaders</title>
<updated>2022-10-14T21:13:02Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2022-03-27T21:15:48Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/noltari/commit/?id=a01d23e755ba46f41e667d558d82d4871d7f5450'/>
<id>urn:sha1:a01d23e755ba46f41e667d558d82d4871d7f5450</id>
<content type='text'>
Kernel loaders like the lzma-loader currently don't track changes to
their sources. This can lead to an old version of a loader to be used
when a build tree is not clean between builds.

As the loaders are tiny and the build times are insignificant, simply
force rebuilding them on every build to avoid this problem.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
<entry>
<title>imagebuilder: clean KDIR_TMP before building</title>
<updated>2022-09-10T19:07:24Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2022-09-10T14:35:31Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/noltari/commit/?id=fee31628c422e71c5ab0985ce10e960dad3c87f2'/>
<id>urn:sha1:fee31628c422e71c5ab0985ce10e960dad3c87f2</id>
<content type='text'>
Building images usally stores them in KDIR_TMP and then copies them over
to BIN_DIR. This is fine as rebuilding of images overwrites existing
images. When using the EXTRA_IMAGE_NAME variable frequently this fills
up the ImageBuilder KDIR_TMP folder since every built image is stored
forever.

This commit clears the KDIR_TMP folder before building a new image.

Below an example how sysupgrade.openwrt.org filled up after the release
of 22.03.0 where every created image contains a hash of the package
selction in the filename:

     aparcar@asu-01:~/asu/worker1/cache/22.03.0$ du -d 1 -h
     400M    ./kirkwood
     260M    ./gemini
     2.0G    ./ipq806x
     1.7G    ./ipq40xx
     8.1G    ./ramips
     4.0K    ./octeon
     495M    ./sunxi
     728M    ./lantiq
     1.8G    ./rockchip
     3.7G    ./mediatek
     4.0K    ./realtek
     5.4G    ./mvebu
     8.9G    ./ath79
     3.0G    ./bcm47xx
     14G     ./bcm27xx
     11G     ./x86
     4.0K    ./bcm63xx
     312M    ./mpc85xx
     600M    ./apm821xx
     5.4G    ./bcm53xx
     66G     .

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>image: drop unused 'BuildKernel/MkFIT'</title>
<updated>2022-05-12T15:23:18Z</updated>
<author>
<name>Piotr Dymacz</name>
</author>
<published>2022-04-01T15:35:42Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/noltari/commit/?id=20ca59ceb78114d6e7607ae55b512f8b38a77a9c'/>
<id>urn:sha1:20ca59ceb78114d6e7607ae55b512f8b38a77a9c</id>
<content type='text'>
The 'MkFIT' recipe is no longer used across whole codebase.

Signed-off-by: Piotr Dymacz &lt;pepe2k@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: store sha256_unsigned in JSON</title>
<updated>2022-03-29T20:41:06Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2022-03-28T02:29:09Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/noltari/commit/?id=8822a8d850ba2df69b81289758959bb90643a696'/>
<id>urn:sha1:8822a8d850ba2df69b81289758959bb90643a696</id>
<content type='text'>
Introduce `sha256_unsigned` which is a checksum of the image _before_ a
signature is attached. This is helpful to compare image reproducibility.

Since the `.sha256sum` file is located in the $(KDIR) folder, switch
$(BIN_DIR) with $(KDIR) to simplify the code. The value of $(BIN_DIR)
itself is not stored inside the resulting JSON file, so it can be
replaced.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
</feed>
