Go to file
Piotr Rogowski dcde5ef728
Optimise image
2023-08-11 11:32:10 +02:00
.vscode Initial commit 2023-08-11 10:38:35 +02:00
bundle Initial commit 2023-08-11 10:38:35 +02:00
docs Initial commit 2023-08-11 10:38:35 +02:00
.gitignore Initial commit 2023-08-11 10:38:35 +02:00
Dockerfile Optimise image 2023-08-11 11:32:10 +02:00
LICENSE Initial commit 2023-08-11 10:38:35 +02:00
README.md Initial commit 2023-08-11 10:38:35 +02:00
add-ubuntu-latest-apt-mirrors.sh Initial commit 2023-08-11 10:38:35 +02:00
docker-compose.yml Initial commit 2023-08-11 10:38:35 +02:00

README.md

FOME Simulator in Docker

It's just a FOME firmware simulator, but cross-platform.

Running

docker compose up

Using TCP

Docker container exposes TCP ports 29001 and 29002.

Verify TCP connection:

telnet localhost 29001
Trying ::1...
Connected to localhost.
Escape character is '^]'.

Docker logs:

...
fome-simulator-docker-sim-1  | Init: connection on SD1

TS Setup

TS

Using Virtual Serial Port

Linux

Install socat.

Bind TCP to virtual serial port:

socat pty,link=/dev/virtualcom0,raw tcp:localhost:29001

macOS

Does not work on macOS, because of System Integrity Protection. Must use TCP instead.

TODO

  • Add FOME release bundle as a volume once the Linux binary is there

Issues

CPU usage is always 100%, wtf?