Skip to content

Releases: aifoundry-org/zephyr

ET-SOC1 SP Synchronization Demo

11 Feb 21:34

Choose a tag to compare

Quick Demo: Zephyr Synchronization on sys_emu

Pre-built binaries for running the Zephyr samples/synchronization sample on the ET-SOC1 Service Processor emulator (sys_emu).

Run

Download synchronization-etsoc1_sp.elf and run:

sys_emu \
    -elf_load synchronization-etsoc1_sp.elf \
    -shires 0x400000000 \
    -mins_dis \
    -sp_reset_pc 0x40400000 \
    -max_cycles 50000000

Expected Output

*** Booting Zephyr OS build v1.13.0-rc2-... ***
thread_a: Hello World from cpu 0 on etsoc1_sp!
thread_b: Hello World from cpu 0 on etsoc1_sp!
thread_a: Hello World from cpu 0 on etsoc1_sp!
thread_b: Hello World from cpu 0 on etsoc1_sp!
...

Two threads alternate printing greeting messages using semaphores.

Build from Source

See boards/aifoundry/README.md for full build instructions.

Build Configuration

  • Board: etsoc1_sp/etsoc1_sp
  • Sample: samples/synchronization
  • Overlay: etsoc1_sp_fast_emu.conf (100 KHz timer for faster emulator execution)