<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/hauke/include, branch master</title>
<subtitle>Hauke Mehrtens staging tree</subtitle>
<id>https://git.openwrt.org/openwrt/staging/hauke/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/hauke/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/'/>
<updated>2023-11-29T22:41:33Z</updated>
<entry>
<title>kernel: bump 5.15 to 5.15.140</title>
<updated>2023-11-29T22:41:33Z</updated>
<author>
<name>John Audia</name>
</author>
<published>2023-11-28T22:08:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=6c118efc01a65c064934ec41b8108cb45e00c128'/>
<id>urn:sha1:6c118efc01a65c064934ec41b8108cb45e00c128</id>
<content type='text'>
Changelog: https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.140

Removed upstreamed:
	mvebu/patches-5.15/106-Revert-i2c-pxa-move-to-generic-GPIO-recovery.patch[1]

All other patches automatically rebased.

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.140&amp;id=06d320ca170b4e59bb261e2ce3ffe84e9154d42b

Build system: x86_64
Build-tested: ramips/tplink_archer-a6-v3
Run-tested: ramips/tplink_archer-a6-v3

Signed-off-by: John Audia &lt;therealgraysky@proton.me&gt;
</content>
</entry>
<entry>
<title>kernel: bump 6.1 to 6.1.64</title>
<updated>2023-11-29T22:38:39Z</updated>
<author>
<name>John Audia</name>
</author>
<published>2023-11-28T19:34:53Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=c20bedf1f59712f6380a8e184b6ca0bb635d22e6'/>
<id>urn:sha1:c20bedf1f59712f6380a8e184b6ca0bb635d22e6</id>
<content type='text'>
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.64

Removed upstreamed:
	ixp4xx/patches-6.1/0001-mtd-cfi_cmdset_0001-Byte-swap-OTP-info.patch[1]
	mvebu/patches-6.1/106-Revert-i2c-pxa-move-to-generic-GPIO-recovery.patch[2]
	qualcommax/patches-6.1/0026-v6.7-clk-qcom-ipq8074-drop-the-CLK_SET_RATE_PARENT-flag-f.patch[3]

Manually rebased:
	bcm27xx/patches-6.1/950-0111-MMC-added-alternative-MMC-driver.patch

All other patches automatically rebased.

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.64&amp;id=3b93096d29c5b9ca2af94be4ee9949c1767acf17
2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.64&amp;id=b3fd9db79e30d5eb5f76ef1f5b7e4f444af574ea
3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.64&amp;id=877080a3490102da26b8d969588159b2385f739e

Build system: x86/64
Build-tested: x86/64/AMD Cezanne
Run-tested: x86/64/AMD Cezanne

Signed-off-by: John Audia &lt;therealgraysky@proton.me&gt;
</content>
</entry>
<entry>
<title>u-boot: introduce dependencies check for swig and pyelftools</title>
<updated>2023-11-26T18:44:56Z</updated>
<author>
<name>Tianling Shen</name>
</author>
<published>2023-06-25T16:37:27Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=a3ec85507370efd7802837aabebe691c1f6b34db'/>
<id>urn:sha1:a3ec85507370efd7802837aabebe691c1f6b34db</id>
<content type='text'>
They are required by modern u-boot builds,
e.g. uboot-rockchip and uboot-sunxi.

Signed-off-by: Tianling Shen &lt;cnsztl@immortalwrt.org&gt;
</content>
</entry>
<entry>
<title>image: improve UBI image sizing on NAND devices</title>
<updated>2023-11-26T17:37:20Z</updated>
<author>
<name>Tony Ambardar</name>
</author>
<published>2023-11-11T12:46:14Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=fc16df9fdd596d1a3f5c3be897dc0cf69c84c469'/>
<id>urn:sha1:fc16df9fdd596d1a3f5c3be897dc0cf69c84c469</id>
<content type='text'>
Many NAND devices use a build recipe with "append-ubi | check-size" to
ensure factory images don't exceed the target flash partition size.
However, UBI reserves space for bad block handling and other operational
overhead, and thus 'check-size' can overestimate the space available by
several MB. In practice, this means a failed check is definitely a failure,
while a passing check is only probably a pass.

Improve the situation by teaching 'Build/append-ubi' to check image sizes
while accounting for UBI reserved blocks. Add new device variable NAND_SIZE
and use with existing IMAGE_SIZE to derate the available space. Each UBI
device reserves 20 PEBs per 1024 PEBs of the entire NAND device for bad
blocks, plus an additional 4 PEBs overhead.

Many devices can transparently enable this check by setting NAND_SIZE based
on their flash storage, and may then remove any unneeded 'check-size'.

Link: http://www.linux-mtd.infradead.org/doc/ubi.html#L_overhead

Suggested-by: Shiji Yang &lt;yangshiji66@qq.com&gt;
Suggested-by: Robert Marko &lt;robimarko@gmail.com&gt;
Signed-off-by: Tony Ambardar &lt;itugrok@yahoo.com&gt;
</content>
</entry>
<entry>
<title>image: fix Linksys image alignment and simplify footer creation</title>
<updated>2023-11-26T17:37:20Z</updated>
<author>
<name>Tony Ambardar</name>
</author>
<published>2023-11-14T01:14:07Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=cd5e0134b6bd2e34ad237d985da99c5307816c93'/>
<id>urn:sha1:cd5e0134b6bd2e34ad237d985da99c5307816c93</id>
<content type='text'>
Current factory image sizes for Linksys devices are 256-byte aligned. This
is not an issue writing factory images from the OpenWrt or Linksys GUIs,
but can lead to failures using a TFTP client from the Linksys bootloader:

     NAND write: device 1 offset 0x2800000, size 0xc00100
     Attempt to write to non page aligned data
     NAND write to offset 2800000 failed -22
      0 bytes written: ERROR

Simplify Linksys footer creation by migrating to a makefile build recipe,
and pre-pad the footer (with 0xFF) to ensure the final image is $(PAGESIZE)
aligned.  Finally, remove the old linksys-image.sh script no longer needed.

Linksys footer details are given below for future reference. The 256-byte
footer is appended to factory images and tested by both the Linksys
Upgrader (observed in EA6350v3) and OpenWrt sysupgrade.

  Footer format:
    .LINKSYS.     Checked by Linksys upgrader before continuing.  (9 bytes)
    &lt;VERSION&gt;     Upgrade version number, unchecked so arbitrary. (8 bytes)
    &lt;TYPE&gt;        Model of device, space padded (0x20).          (15 bytes)
    &lt;CRC&gt;         CRC checksum of factory image to flash.         (8 bytes)
    &lt;padding&gt;     Padding ('0' + 0x20 * 7)                        (8 bytes)
    &lt;signature&gt;   Signature of signer, unchecked so arbitrary.   (16 bytes)
    &lt;padding&gt;     Padding with nulls (0x00)                     (192 bytes)

Link: https://github.com/openwrt/openwrt/pull/11405#issuecomment-1358510123
Link: https://github.com/openwrt/openwrt/pull/11405#issuecomment-1587517739

Reported-by: Stijn Segers &lt;foss@volatilesystems.org&gt;
Reported-by: Wyatt Martin &lt;wawowl@gmail.com&gt;
Signed-off-by: Tony Ambardar &lt;itugrok@yahoo.com&gt;
</content>
</entry>
<entry>
<title>image: use helper function for size units</title>
<updated>2023-11-26T17:37:20Z</updated>
<author>
<name>Tony Ambardar</name>
</author>
<published>2023-11-11T12:29:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=b16e14a220fcab19e3145328057e7188f00b6a17'/>
<id>urn:sha1:b16e14a220fcab19e3145328057e7188f00b6a17</id>
<content type='text'>
Add the make function 'exp_units' for helping evaluate k/m/g size units in
expressions, and use this to consistently replace many ad hoc substitutions
like '$(subst k,* 1024,$(subst m, * 1024k,$(IMAGE_SIZE)))' in makefiles.

Signed-off-by: Tony Ambardar &lt;itugrok@yahoo.com&gt;
</content>
</entry>
<entry>
<title>kernel: bump 5.15 to 5.15.139</title>
<updated>2023-11-23T21:55:55Z</updated>
<author>
<name>John Audia</name>
</author>
<published>2023-11-20T13:23:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=df167450a5094034bf4c5ad6fbfce502b09662bb'/>
<id>urn:sha1:df167450a5094034bf4c5ad6fbfce502b09662bb</id>
<content type='text'>
Changelog: https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.139

Removed upstreamed:
	backport-5.15/830-v6.6-2-leds-turris-omnia-Drop-unnecessary-mutex-locking.patch[1]
	backport-5.15/830-v6.7-1-leds-turris-omnia-Do-not-use-SMBUS-calls.patch[2]
	x86/patches-5.15/120-hwrng-geode-fix-accessing-registers.patch[3]

All other patches automatically rebased.

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.139&amp;id=aec3706971b332af8321b2beccba981b8061489a
2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.139&amp;id=893eedf596dd81c7a7f0cd80b345956ae000eab9
3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.139&amp;id=a5c83c8043d70b9a28d1bd78a2dbbab340f43889

Build system: x86_64
Build-tested: ramips/tplink_archer-a6-v3
Run-tested: ramips/tplink_archer-a6-v3

Signed-off-by: John Audia &lt;therealgraysky@proton.me&gt;
</content>
</entry>
<entry>
<title>kernel: bump 6.1 to 6.1.63</title>
<updated>2023-11-23T21:51:52Z</updated>
<author>
<name>John Audia</name>
</author>
<published>2023-11-20T12:15:50Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=2b75f108fba3e0a9bf6e4566912fc300fdc21a4c'/>
<id>urn:sha1:2b75f108fba3e0a9bf6e4566912fc300fdc21a4c</id>
<content type='text'>
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.63

Removed upstreamed:
	generic/backport-6.1/815-v6.6-2-leds-turris-omnia-Drop-unnecessary-mutex-locking.patch
	generic/backport-6.1/815-v6.7-1-leds-turris-omnia-Do-not-use-SMBUS-calls.patch
	ixp4xx/patches-6.1/0007-watchdog-ixp4xx-Make-sure-restart-always-works.patch

Manually rebased:
	bcm27xx/patches-6.1/950-0606-hwrng-bcm2835-sleep-more-intelligently.patch

All other patches automatically rebased.

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.63&amp;id=7d0e60e4ff840e97fb18afb2a7344442c10a6fdf
2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.63&amp;id=63cdeb20ee3bfef820b045b8d3b8395f9f815a74
3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.63&amp;id=8803da01fe1b4ca3d37745283f7e73c6c2558c0c

Build system: x86/64
Build-tested: x86/64/AMD Cezanne
Run-tested: x86/64/AMD Cezanne

Signed-off-by: John Audia &lt;therealgraysky@proton.me&gt;
</content>
</entry>
<entry>
<title>u-boot.mk: do not force parallel build</title>
<updated>2023-11-19T16:18:30Z</updated>
<author>
<name>Martin Schiller</name>
</author>
<published>2023-11-16T13:10:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=5a64a482a24f79d246aea43191157aaf318622b8'/>
<id>urn:sha1:5a64a482a24f79d246aea43191157aaf318622b8</id>
<content type='text'>
Some patched u-boots may have problems with parallel build.
Do not enforce parallel build here so one can set PKG_BUILD_PARALLEL:=0
in the specific u-boot Makefile also before including the u-boot.mk.

Signed-off-by: Martin Schiller &lt;ms@dev.tdt.de&gt;
</content>
</entry>
<entry>
<title>Revert "prereq-build: add Python 3.12 support"</title>
<updated>2023-11-13T22:33:40Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2023-11-13T22:32:12Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=09b7e1955c92e0b05197174b7bd4aef2c4073a35'/>
<id>urn:sha1:09b7e1955c92e0b05197174b7bd4aef2c4073a35</id>
<content type='text'>
This reverts commit 7ceb76ca3a37ba6b722df39ba0838909fa7cf7b4.

Python 3.12 removes the distutils package and is therefore not
compatible. We have to check downstream what relies on distutils before
adding actual support for Python 3.12. Sorry for the noise.

With this in-place, the macOS CI job fails and turns things red, revert
for now.

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