diff options
author | Maksym <maxim.yep@gmail.com> | 2019-02-07 14:31:41 +0200 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2019-03-18 16:44:58 +0000 |
commit | eb9d9b47a11ddc0b29c909844f20b4e83b6e33e3 (patch) | |
tree | cb2d2998ef183ff28ce63d3f9d59b806c487981b | |
parent | 72ca030c6b8bcdae2eefff3a565470004190db1e (diff) | |
download | openbmc-docs-eb9d9b47a11ddc0b29c909844f20b4e83b6e33e3.tar.gz openbmc-docs-eb9d9b47a11ddc0b29c909844f20b4e83b6e33e3.zip |
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>
-rw-r--r-- | development/dev-environment.md | 7 |
1 files changed, 7 insertions, 0 deletions
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 @@ onto your computer (Mac, Windows, Linux) ./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). |