Skip to content

Commit

Permalink
Update ch04-00-renode-emulation.md
Browse files Browse the repository at this point in the history
Add section on network support in Renode emulation
  • Loading branch information
nworbnhoj authored Feb 3, 2024
1 parent a4bb255 commit def0b38
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/ch04-00-renode-emulation.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,20 @@ renode emulation/xous-release.resc
```

Renode will start emulation automatically, and will run the same set of programs as in "Hosted mode".

### Network support

If you are seeking to emulate a Xous build with apps requiring network support, then there is some additional setup.

Renode accepts the Ethernet frames that the EC sends to the simulated WF200, and then dumps them onto a network TAP interface called `renodetap`.

It is probably best to prepare the TAP interface and associated configuration before the emulation:
* **linux distro with Network Manager:** `nmcli c add con-name renodetun type tun ifname renodetun mode tap ipv4.method shared ipv6.method ignore`
* **OpenSuSE Aeon:** requires installation of dnsmasq `transactional-update pkg install dnsmasq`

Start the emulation with:

```sh
renode emulation/xous-release-tap.resc
```
Once the emulation is up and running then connect to one of the WiFi APs Renode1 ... Renode9 (any password will work)

0 comments on commit def0b38

Please sign in to comment.