Added default port example for QEMU
Alternate variant in "Start QEMU" section is added. Used by Jenkins
and/or openbmc-test-automation
Change-Id: I40a7dbd12c55b5550cfbe78b3f6165d251d18d34
Signed-off-by: Maksym Yepaneshnikov <maxim.yep@gmail.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/development/dev-environment.md b/development/dev-environment.md
index 37f96d8..3f956f4 100644
--- a/development/dev-environment.md
+++ b/development/dev-environment.md
@@ -100,6 +100,13 @@
./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
```
+ **Note** - By default, Jenkins and openbmc-test-automation use SSH and HTTPS
+ ports 22 and 443, respectively. SSH connection to use a user-defined port 2222
+ might not be successful. To use SSH port 22 and HTTPS port 443:
+ ```
+ ./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
+ ```
+
4. Wait for your QEMU-based BMC to boot
Login using default root/0penBmc login (Note the 0 is a zero).