Skip to content

Conversation

@SorinOlari
Copy link
Collaborator

@SorinOlari SorinOlari commented Jan 15, 2026

Description

samples-mini: The partition is set to start at 0x000f0000 with a size of 512 KB
samples-demo: partition@f0000 is deleted and it is mapped to the first partition of the external MX25LM51245 flash

Also, please list any issue that this PR is intended to fix.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • CI system update

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

@SorinOlari SorinOlari requested a review from casaroli January 15, 2026 12:21
@SorinOlari SorinOlari self-assigned this Jan 15, 2026
@SorinOlari SorinOlari requested a review from srberard as a code owner January 15, 2026 12:21
@SorinOlari SorinOlari added the legacy legacy tasks label Jan 15, 2026
@SorinOlari SorinOlari requested a review from kr-t as a code owner January 15, 2026 12:21
@SorinOlari SorinOlari added this to Ocre Jan 15, 2026
@SorinOlari
Copy link
Collaborator Author

@casaroli @kr-t regarding the configuration for ethernet shields, will they be added later or should I try to add them in this PR?

@kr-t
Copy link
Collaborator

kr-t commented Jan 15, 2026

I'm fine having smaller PRs with more specific purpose.

@casaroli
Copy link
Contributor

Lets add the board to the CI like here as well: https://github.com/project-ocre/ocre-runtime/blob/main/.github/workflows/zephyr.yml#L28

@casaroli
Copy link
Contributor

@casaroli @kr-t regarding the configuration for ethernet shields, will they be added later or should I try to add them in this PR?

Yes, lets add shield support cleanly after.

@casaroli casaroli changed the title Add configuration for u585 board Zephyr: add configuration for b_u585i_iot02a Jan 15, 2026
@SorinOlari SorinOlari requested a review from casaroli January 15, 2026 14:05
casaroli
casaroli previously approved these changes Jan 16, 2026
Copy link
Contributor

@casaroli casaroli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would squash the typo commit into the original one.

@kr-t
Copy link
Collaborator

kr-t commented Jan 16, 2026

We can't merge it without verified signatures.
@SorinOlari please sign
image

@kr-t
Copy link
Collaborator

kr-t commented Jan 16, 2026

demo for me works up to subscriber:

*** Booting Zephyr OS build v4.3.0 ***
I: Ocre version 0.7.0
I: Commit ID: 8b806c61b466affa8f8e438685827ec37da0ddd2
I: Build information: krisztian @ Linux k-dell 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
I: Build date: 2026-01-16 14:40:55 CET
I: OCRE common initialized successfully
I: Registered cleanup handler for type 0
I: Timer system initialized
I: Initialized 'wamr/wasip1'
I: Using default working directory: /lfs/ocre
I: Directory '/lfs/ocre' already exists
I: Directory '/lfs/ocre/containers' already exists
I: Directory '/lfs/ocre/images' already exists
I: File size to load: 18550
I: File '/lfs/ocre/images/hello-world.wasm' (size=18550) loaded successfully
I: Buffer loaded successfully: 0x200167e0
I: Created container 'b898643' with runtime 'wamr/wasip1' (path '/lfs/ocre/images/hello-world.wasm')
I: Waiting for container 'b898643' to start
I: Module registered: 0x2001c540

     _      _________  ___   ________I: Started container 'b898643' on runtime 'wamr/wasip1'
I: Container 'b898643' is running
______  ______  ____  __
    | | /| / / __/ _ )/ _ | / __/ __/ __/  |/  / _ )/ /\ \/ /
    | |/ |/ / _// _  / __ |_\ \_\ \/ _// /|_/ / _  / /__\  /
    |__/|__/___/____/_/ |_/___/___/___/_/  /_/____/____//_/
                                           powered by Ocre  I: Cleaning up module resources
I: Module unregistered: 0x2001c540
I: Context 0x200166f0 completed successfully
I: Container 'b898643' exited. Result is = 0
I: Container 'b898643' was exited
I: Container 'b898643' was stopped
I: Removed container 'b898643'
I: File size to load: 22682
I: File '/lfs/ocre/images/blinky.wasm' (size=22682) loaded successfully
I: Buffer loaded successfully: 0x2001b2a0
I: Created container 'a5d16e5' with runtime 'wamr/wasip1' (path '/lfs/ocre/images/blinky.wasm')
I: Module registered: 0x200182205' to start
=== Generic Blinky Example (Printf Only) ===
This example demonstrates software blinking with
                                                I: Started container 'a5d16e5' on runtime 'wamr/wasip1'
out physical hardware.
I: Registered dispatcher for type 0: timer_callback
I: Incremented resource count: type=0, count=1
I: Created timer 1 for module 0x20018220
Timer created. ID: 1, Interval: 1000ms
I: Started timer 1 with interval 1000ms, periodic=1
Generic blinking started. You should see 'blink' messages every 1000ms.
Press Ctrl+C to stop.
blink (count: 1, state: -)
I: Sent kill signal to container 'a5d16e5'
I: Container 'a5d16e5' is running
W: Main function returned error in context 0x200166e0 exception: None
E: Container 0x200166e0 exception: Exception: terminated by user
I: Cleaning up module resources
I: Decremented resource count: type=0, count=0
I: Module unregistered: 0x20018220
I: Context 0x200166e0 completed successfully
I: Container 'a5d16e5' exited. Result is = 0
I: Container 'a5d16e5' was exited
I: Container 'a5d16e5' was stopped
Container exited with status 0
I: Removed container 'a5d16e5'
I: File size to load: 22854
I: File '/lfs/ocre/images/subscriber.wasm' (size=22854) loaded successfully
I: Buffer loaded successfully: 0x2001b2a0
I: Created container 'f1e1e8d' with runtime 'wamr/wasip1' (path '/lfs/ocre/images/subscriber.wasm')
E: Failed to initialize mutex: rc=12
E: Failed to create container 5b850d1: errno=0
Failed to create container

@kr-t
Copy link
Collaborator

kr-t commented Jan 16, 2026

Fixing demo might be not part of this ticket, especially since containers can be started via supervisor/shell afterwards. But we need to note that this doesn't work for now (except if I'm the only one experiencing this on the board).

… size

Signed-off-by: SorinO <sorin.olari2@gmail.com>
Signed-off-by: SorinO <sorin.olari2@gmail.com>
Signed-off-by: SorinO <sorin.olari2@gmail.com>
Signed-off-by: SorinO <sorin.olari2@gmail.com>
Signed-off-by: SorinO <sorin.olari2@gmail.com>
@SorinOlari SorinOlari force-pushed the add_configuration_for_u585_board branch from aa4a190 to 73048af Compare January 16, 2026 14:38
@SorinOlari
Copy link
Collaborator Author

We can't merge it without verified signatures. @SorinOlari please sign image

I think now is good

@SorinOlari
Copy link
Collaborator Author

Fixing demo might be not part of this ticket, especially since containers can be started via supervisor/shell afterwards. But we need to note that this doesn't work for now (except if I'm the only one experiencing this on the board).

I have the same issue on my side

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

legacy legacy tasks

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Issues With Getting Started Zephyr Build Steps

4 participants