Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sysbuild pr #8

Closed

Conversation

nordicjm
Copy link

No description provided.

gmarull and others added 30 commits September 14, 2022 15:44
Update to Sphinx 5.x, also update breathe since version 4.34 is the
first to officially support Sphinx 5.x.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
Signed-off-by: Thomas Stilwell <Thomas.Stilwell@nordicsemi.no>
Upcoming versions of breathe highlight code embedded in Doxygen blocks.
In this case, the Devicetree fragment contained invalid syntax leading
to Sphinx warnings.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
Add scripts/quarantine.yaml file, which will be used in CI.

Signed-off-by: Piotr Golyzniak <piotr.golyzniak@nordicsemi.no>
Add LOG_OUTPUT to the test configuration.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
…dition fix

Fixed a race condition resulting in a serialization error.

Signed-off-by: Artur Hadasz <artur.hadasz@nordicsemi.no>
(cherry picked from 2314d97)
The motivation is to allow accessing array elements from device tree
properties in Kconfig.
* Add dt_node_array_prop and _node_array_prop functions to extract the
array elements from properties.
* Add 'dt_node_array_prop_int' and 'dt_node_array_prop_hex' keys to use
in Kconfig.

Signed-off-by: Eivind Jølsgard <eivind.jolsgard@nordicsemi.no>
(cherry picked from commit 3865e08)
Upstream PR: zephyrproject-rtos/zephyr#50711

Linker scripts contains a `.last_section` section that is placed in rom
region as NOLOAD for the purpose of retrieve the actual number of bytes
contained in the image. See d85efe0

However, a previous section may cause the location counter to be
incremented for alignment purposes. This can result in the size of the
image to be 0x10FA but location counter to be 0x1100 because it has been
aligned for next section placement.

Therefore, two new Kconfig settings are introduced.
Those settings request the linker to will write a pattern in
`.last_section`. Together with removing NOLOAD and writing a patten to
the section then we ensure that data is written after alignment of
location counter, and thereby forces the image size to be in sync with
the location counter.

The default pattern used will be 0xE015 (end of last section).

Some systems may fill up the flash completely, or simply write data at
the end of the flash, which in both cases can result in overflow.
Therefore, the new settings can be disabled.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This commit updates the Clang workflow to use a specific runner image
version, ubuntu-20.04, instead of the latest version in order to
prevent any potential breakages due to the 'latest' version change by
GitHub.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
(cherry picked from commit 9dc8922)
This commit updates the CI workflows to use the CI image 0.24.2, in
order to pull in the Zephyr SDK 0.15.0 release.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
(cherry picked from commit e2fae19)
This commit updates the CI workflows to use the Zephyr SDK 0.15.0 for
building and testing Zephyr in the CI.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
(cherry picked from commit 02f24e4)
When using nRF Wi-Fi management it uses the net management events with
information, but the size of the events is not enough to hold the Wi-Fi
events as the proper size is defined only for Zephyr's Wi-Fi management.

Use the proper size for both nRF and Zephyr's Wi-Fi management.

Note: If CONFIG_NET_DHCPV4 is enabled, then this works, as size is now large
enough for Wi-Fi management events.

Signed-off-by: Krishna T <krishna.t@nordicsemi.no>
If WPA supplicant is enabled at build time, then use the WPA supplicant
APIs, else use offload driver APIs.

Remove the unused macro NRF_WIFI_MGMT now.

Signed-off-by: Krishna T <krishna.t@nordicsemi.no>
…alid params in NS

Update TF-M to include fix that returns PSA_ERROR_PROGRAMMER_ERROR
when the NS sends a request with malformed packet parameters for the
NS APIs in library mode.

This also changed the S APIs to return PSA_ERROR_PROGRAMMER_ERROR
instead of PSA_ERROR_INVALID_ARGUMENT in library mode.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
(cherry picked from commit 2334402)
…with invalid params in NS"

This reverts commit 8d7d653.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This reverts commit d4b8ac4.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This reverts commit 54b057b.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This reverts commit dd18789.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This reverts commit d692aec.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
…g functions"

This reverts commit 97c4a1a.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
…race condition fix"

This reverts commit 17c59d3.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
…ng deps"

This reverts commit e81870b.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This reverts commit 8689324.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This reverts commit 587a483.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This reverts commit 68f2461.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
…ress"

This reverts commit 44ede1e.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
…hread"

This reverts commit 0d3e7b1.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This reverts commit f76d97c.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This reverts commit ebc09db.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This reverts commit d4ee429.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
…allocation"

This reverts commit 41567db.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
tejlmand and others added 11 commits November 3, 2022 09:24
…ild feature

This sample is intended to show users how they can create a sample which
has dedicated configuration files for extra images included in a build.

MCUboot is used as example on how its default can be adjusted and
MCUboot itself automatically be included in the build when using
sysbuild.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
(cherry picked from commit 36ea41f)
The signature of import_kconfig() take two mandatory arguments and one
optional:
> import_kconfig(<prefix> <kconfig_fragment> [<keys>])

but has been implemented in such a way that it loops all arguments after
the two mandatory args and sets the same list on those.

Fix this error by only setting the created variables on the third and
optional argument if it exists.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
(cherry picked from commit 430370c)
…e target

Load image kconfig setting into image target properties.
This allows sysbuild to evaluate and check image configuration as part
of CMake invocation.

sysbuild_get() is updated to support reading of CMake cache or Kconfig
settings for an image.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
(cherry picked from commit e0fb044)
… inclusion

Upstream PR: zephyrproject-rtos/zephyr#51159

Adds support for all sysbuild targets to have a sysbuild.cmake file
included and processed as part of sysbuild instead of just the main
application.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
(cherry picked from commit 120d741f87906a047d6edf4449f4d613c014c0a7)
…t_add()

Split running CMake from ExternalZephyrProject_add().

This will allow systems to define all Zephyr projects and then at later
stages run the CMake configure stage.

This makes it both cleaner when CMake is invoked as well as prepare for
future work where images could be depending on CMake outcome from other
projects.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This commit include CMake code for sysbuild from sdk-nrf.
This commit hard-codes the inclusion, but should be adjusted to use
Zephyr module sysbuild inclusion scheme.

The commit can provide experience on where the correct hooks must be
placed.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
In zephyr_module.cmake rename internal variables to lower case to
distinguish those variables from variables intended to be globally
available.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This commit extends the Zephyr module yaml scheme with additional
entries for sysbuild in the build section.

This allows for Zephyr modules to extend the sysbuild infrastructure
by providing additional CMake and Kconfig files to be included in
sysbuild.

The new settings are:
build:
  sysbuild-cmake: <path>
  sysbuild-kconfig: <path>/<file>
  sysbuild-ext: <true>|<false>
  sysbuild-kconfig-ext:  <true>|<false>

those settings follows same pattern as the equivalent Zephyr build
settings but is processed by sysbuild.

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
@tejlmand tejlmand force-pushed the sysbuild/partition_manager branch 3 times, most recently from 8a315f4 to 980a0e0 Compare March 8, 2023 20:59
@tejlmand tejlmand force-pushed the sysbuild/partition_manager branch 4 times, most recently from 0fbe407 to a4ba600 Compare May 3, 2023 14:55
@tejlmand tejlmand force-pushed the sysbuild/partition_manager branch 3 times, most recently from eff2af6 to 29f665e Compare June 8, 2023 09:37
@tejlmand tejlmand force-pushed the sysbuild/partition_manager branch 2 times, most recently from fb56486 to 2717cce Compare June 27, 2023 13:34
@tejlmand tejlmand force-pushed the sysbuild/partition_manager branch 2 times, most recently from 3290b78 to 3ad16dc Compare July 4, 2023 09:52
@nordicjm nordicjm closed this Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.