~/talk

Freestanding Erlang Porting BEAM close to the metal.

Talkat Code BEAM America 2022 · 2022-11-03..11-04· [embedded-and-hardware]
name:Ihor Kuz
links:none on file
links:none on file
slides:none on file

Project ports an unmodified BEAM to a freestanding ARMv7 environment and runs real Elixir/Erlang workloads. It replaces kernel calls with a vdso-style vsyscall table, implements a mmap subset, clone/exit/futex to satisfy pthreads, and serves code from a cpio in-memory filesystem. Musl shows ~1,600 exported C functions and ~200 syscall targets; the build implements a focused subset, drops POSIX signals and fork, and successfully runs Phoenix LiveView dashboards and many common tests.

AI-written summary · about

  1. 0:00Introduction
  2. 1:09Freestanding Erlang overview
  3. 3:38Security in embedded systems
  4. 9:36Transitioning to freestanding BEAM
  5. 12:01vDSO system calls
  6. 14:47System call walkthrough
  7. 16:11Memory management
  8. 18:19Threading initialization
  9. 20:48Loading BEAM code
  10. 22:34Networking support
  11. 23:15Minimal system calls design
  12. 24:40Validation and testing
  13. 26:26Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.