<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/nbd/scripts/mkits.sh, branch master</title>
<subtitle>Felix Fietkaus staging tree</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/nbd/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/'/>
<updated>2025-10-23T16:14:01Z</updated>
<entry>
<title>scripts/mkits.sh: move out .pagesync generation for RootFS blob</title>
<updated>2025-10-23T16:14:01Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2025-10-23T13:31:46Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/commit/?id=c70894c855e54624b918ab50c9afa53301c462d4'/>
<id>urn:sha1:c70894c855e54624b918ab50c9afa53301c462d4</id>
<content type='text'>
It's expected the mkits.sh script to generate only the relevant DTS
entry and have all the blob already prepared to use for mkimage.

This is not the case for the RootFS case where the script generates a
.pagesync with the dd command.

To better handle this, drop the dd command and instead error out if the
.pagesync blob is not found if RootFS is used.

Adapt the generic fit build in image-commands.mk to call the dd for
.pagesync right before mkits.sh.

Link: https://github.com/openwrt/openwrt/pull/20492
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>scripts/mkits.sh: DT overlays don't need a loadaddr</title>
<updated>2023-07-12T18:02:08Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2023-06-12T03:07:57Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/commit/?id=cff3786bd54cec8276f1fd08d5c6697846f393a5'/>
<id>urn:sha1:cff3786bd54cec8276f1fd08d5c6697846f393a5</id>
<content type='text'>
DT overlays do not need relocation in order to be applied, so drop
defining the load address for dtbos.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>scripts: use sep-char for hash nodes</title>
<updated>2023-07-08T18:04:45Z</updated>
<author>
<name>David Bauer</name>
</author>
<published>2023-06-09T12:12:47Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/commit/?id=2b133ab19cd5d741f3191f917c607667943f5f58'/>
<id>urn:sha1:2b133ab19cd5d741f3191f917c607667943f5f58</id>
<content type='text'>
U-Boot with enabled secure-boot will not boot images with the
@-character used for hash node-names.

Use the existing separation character configurable for each device.

Signed-off-by: David Bauer &lt;mail@david-bauer.net&gt;
</content>
</entry>
<entry>
<title>image: improve uImage.FIT device tree overlay support</title>
<updated>2023-06-05T10:36:32Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2023-06-04T14:57:25Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/commit/?id=6b01d40bfedb42323a1324e1b5624f192a4c91de'/>
<id>urn:sha1:6b01d40bfedb42323a1324e1b5624f192a4c91de</id>
<content type='text'>
Instead of generating full config nodes incl. kernel, generate minimal
config nodes for device tree overlays to be applied to the main config.
In this way, multiple device tree overlays can be applied more easily.
While at it change filenames to upstream style, ie. use dtso and dtbo
suffix for device tree overlays.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>scripts/mkits.sh: fix portability issue</title>
<updated>2022-11-09T19:43:41Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2022-10-29T17:01:48Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/commit/?id=b8bf27e4cb2d4c6ff4c75274c0e1d1619eef7f10'/>
<id>urn:sha1:b8bf27e4cb2d4c6ff4c75274c0e1d1619eef7f10</id>
<content type='text'>
BSD wc can output more whitespaces, which breaks the cut usage.
Replace the cut invocation with awk, which is more portable.

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&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/nbd/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>scripts/mkits.sh: replace forgotten '-' with ${REFERENCE_CHAR}</title>
<updated>2022-03-24T00:46:45Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2022-03-23T19:34:06Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/commit/?id=e89c85249e311e9a376d07cda33c9dc39b12a906'/>
<id>urn:sha1:e89c85249e311e9a376d07cda33c9dc39b12a906</id>
<content type='text'>
Cosmetical change to improve style in mkits.sh.

Fixes: fd679086473 ("scripts: mkits.sh: Allow legacy @ mode for dts creation")
Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>scripts: mkits.sh: Allow legacy @ mode for dts creation</title>
<updated>2021-09-23T18:49:32Z</updated>
<author>
<name>Damien Mascord</name>
</author>
<published>2021-07-19T04:21:44Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/commit/?id=fd67908647390b916470501c88b4f5258123da95'/>
<id>urn:sha1:fd67908647390b916470501c88b4f5258123da95</id>
<content type='text'>
commit 5ec60cbe9d94 ("scripts: mkits.sh: replace @ with - in nodes")
broke support for Meraki MR32 and this patch makes the replacement
configurable allowing for specifying the @ or - or whatever character
that is desired to retain backwards compatibility with existing devices.

For example, this patch includes the fix for the Meraki MR32 in
target/linux/bcm53xx/image for meraki_mr32:

  DEVICE_DTS_DELIMITER := @
  DEVICE_DTS_CONFIG := config@1

Fixes: 5ec60cbe9d94 ("scripts: mkits.sh: replace @ with - in nodes")
Signed-off-by: Damien Mascord &lt;tusker@tusker.org&gt;
[Added tags, checkpatch.pl fixes, noted that this is for old stuff]
Signed-off-by: Christian Lamparter &lt;chunkeey@gmail.com&gt;
</content>
</entry>
<entry>
<title>scripts/mkits.sh: Fix the hash algorithm paramter</title>
<updated>2021-07-18T18:37:30Z</updated>
<author>
<name>Yonghyu Ban</name>
</author>
<published>2021-07-06T07:13:59Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/commit/?id=7270d768da6a30d6d47b33a6365d6fb5fda8d745'/>
<id>urn:sha1:7270d768da6a30d6d47b33a6365d6fb5fda8d745</id>
<content type='text'>
The mkits.sh script help message states hash algorithm can be
specified using the -H command-line option, but it does not work
currently due to a bug in the script.

This patch fixes this problem by changing the option from -S to
-H and specify getopts parameter after it

Signed-off-by: Yonghyu Ban &lt;yonghyu@empo.im&gt;
</content>
</entry>
<entry>
<title>scripts/mkits.sh: add support for adding DT overlay blobs to image</title>
<updated>2021-03-17T17:41:24Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2021-03-17T17:27:55Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/commit/?id=4e6de4f0938de24f407b85b6328f5114103bd45a'/>
<id>urn:sha1:4e6de4f0938de24f407b85b6328f5114103bd45a</id>
<content type='text'>
Allow adding multiple device tree overlay blobs to an image and
generate configurations for each of them.
This is useful on boards with modern U-Boot which allow e.g. user-
configurable peripherals ("shields") in that way.
Note that currently, each generated configuration adds exactly one
overlay on top of the base image, ie. adding multiple overlays at the
same time is not yet supported.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
</feed>
