Skip to content

Conversation

@fgr-17
Copy link
Contributor

@fgr-17 fgr-17 commented Dec 16, 2025

Description

This PR fixes an error message that showed up during hello-world container:

E: GPIO system not initialized or invalid module 0x20004f70 

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Code cleanup/refactoring
  • This change requires a documentation update
  • CI system update
  • Test Coverage update

How Has This Been Tested?

Running hello world on nRF5340-DK board used to show the following error during initialization of Hello World container:

Ocre runtime started
I: Request to create new container in slot: 0
I: Request to run container in slot:0
I: EVENT_CREATE_CONTAINER
I: Allocating memory for container 0
I: File path: /lfs/ocre/images/hello-world.bin, size: 17862
I: Loaded binary to buffer for container 0
W: Created container:0
I: Created container in slot:0
I: EVENT_RUN_CONTAINER
I: Instantiating WASM runtime for container:0
I: Module registered: 0x20004f70
W: Running container:0 in dedicated thread
I: Started container in slot:0
I: Container thread 0 started

     _      _________  ___   ______________  ______  ____  __
    | | /| / / __/ _ )/ _ | / __/ __/ __/  |/  / _ )/ /\ \/ /
    | |/ |/ / _// _  / __ |_\ \_\ \/ _// /|_/ / _  / /__\  /
    |__/|__/___/____/_/ |_/___/___/___/_/  /_/____/____//_/
                                           powered by Ocre
    System:   wasi
    Board:    (none)
    CPU:      wasm32
    Release:  0.0.0
    Version:  0.0.0
E: GPIO system not initialized or invalid module 0x20004f70 <<<<<<<<< ERROR MESSAGE
I: Container thread 0 exited cleanly

The error message is no longer present after the fix

Test Configuration (required):

  • Host OS type, version, and arch: Docker container ghcr.io/zephyrproject-rtos/zephyr-build:latest - on Ubuntu 24.04.3 LTS (x64)
  • Developer Board make & model: nRF5340-DK
  • Board Tools Installed: nrfjprog

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

This PR fixes an error message that showed up during `hello-world`
container:

~~~bash
E: GPIO system not initialized or invalid module 0x20004f70
~~~

Signed-off-by: Federico Roux <rouxfederico@gmail.com>
@fgr-17 fgr-17 force-pushed the froux/minor-fix-on-gpio-init branch from 1c8fbb8 to b35bf27 Compare December 16, 2025 13:06
@fgr-17 fgr-17 marked this pull request as ready for review December 16, 2025 13:07
@fgr-17 fgr-17 requested review from kr-t and srberard as code owners December 16, 2025 13:07
@kr-t kr-t merged commit fbce6c2 into project-ocre:main Dec 19, 2025
24 checks passed
@fgr-17 fgr-17 deleted the froux/minor-fix-on-gpio-init branch December 19, 2025 13:13
casaroli added a commit that referenced this pull request Jan 7, 2026
This reverts commit fbce6c2.

This commit is kept in the legacy branch.
casaroli added a commit that referenced this pull request Jan 7, 2026
This reverts commit fbce6c2.

This commit is kept in the legacy branch.

Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
casaroli added a commit that referenced this pull request Jan 7, 2026
This reverts commit fbce6c2.

This commit is kept in the legacy branch.

Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
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.

2 participants