Skip to content

Commit b2f9e05

Browse files
Kostrwilliamspatrick
authored andcommitted
dev-environment: Add info about IPMI port forwarding
IPMI uses UDP port 623 for the communication. Add information how to forward this port to QEMU. Signed-off-by: Konstantin Aladyshev <[email protected]> Change-Id: I83d9e9e6996e58b124b6f4a5c6d827589b7f9c44
1 parent 16c8979 commit b2f9e05

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

development/dev-environment.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -156,16 +156,17 @@ That's it, you now have a working development environment for OpenBMC!
156156

157157
3. Start QEMU with downloaded Romulus image
158158

159-
**Note** - For REST and SSH to work into your QEMU session, you must connect
160-
up some host ports to the REST and SSH ports in your QEMU session. In this
161-
example, it just uses 2222 and 2443. You can use whatever you prefer.
159+
**Note** - For REST, SSH and IPMI to work into your QEMU session, you must connect
160+
up some host ports to the REST, SSH and IPMI ports in your QEMU session. In this
161+
example, it just uses 2222, 2443, 2623. You can use whatever you prefer.
162162
```
163-
./qemu-system-arm -m 256 -M romulus-bmc -nographic -drive file=./obmc-phosphor-image-romulus.static.mtd,format=raw,if=mtd -net nic -net user,hostfwd=:127.0.0.1:2222-:22,hostfwd=:127.0.0.1:2443-:443,hostname=qemu
163+
./qemu-system-arm -m 256 -M romulus-bmc -nographic -drive file=./obmc-phosphor-image-romulus.static.mtd,format=raw,if=mtd -net nic -net user,hostfwd=:127.0.0.1:2222-:22,hostfwd=:127.0.0.1:2443-:443,hostfwd=udp:127.0.0.1:2623-:623,hostname=qemu
164164
```
165165

166166
**Note** - By default, Jenkins and openbmc-test-automation use SSH and HTTPS
167-
ports 22 and 443, respectively. SSH connection to use a user-defined port 2222
168-
might not be successful. To use SSH port 22 and HTTPS port 443:
167+
ports 22 and 443, respectively. For the IPMI port 623 is used. SSH connection
168+
to use a user-defined port 2222 might not be successful. To use SSH port 22,
169+
HTTPS port 443 and IPMI port 623:
169170
```
170171
./qemu-system-arm -m 256 -machine romulus-bmc -nographic -drive file=./obmc-phosphor-image-romulus.static.mtd,format=raw,if=mtd -net nic -net user,hostfwd=:127.0.0.1:22-:22,hostfwd=:127.0.0.1:443-:443,hostfwd=tcp:127.0.0.1:80-:80,hostfwd=tcp:127.0.0.1:2200-:2200,hostfwd=udp:127.0.0.1:623-:623,hostfwd=udp:127.0.0.1:664-:664,hostname=qemu
171172
```

0 commit comments

Comments
 (0)