Lines Matching +full:qemu +full:- +full:setup
4 in QEMU.
6 **Prerequisites:** Completed Development Environment Setup
7 [Document](https://github.com/openbmc/docs/blob/master/development/dev-environment.md)
16 [phosphor-state-manager](https://github.com/openbmc/phosphor-state-manager.git)
20 environment, right after doing the ". setup" command.
25 devtool modify phosphor-state-manager
33 vi workspace/sources/phosphor-state-manager/bmc_state_manager_main.cpp
43 @@ -17,6 +18,8 @@ int main(int argc, char**)
59 bitbake obmc-phosphor-image
62 Follow the steps in the first tutorial to load your new image into a QEMU
67 After you login to your QEMU session, verify the message is in the journal
76 <date> romulus phosphor-bmc-state-manager[1089]: Hello World
82 ## Loading an Application Directly Into a Running QEMU
85 re-generating the flash image and booting QEMU again, we're going to just build
86 the required binary and copy it into the running QEMU session and launch it.
91 vi workspace/sources/phosphor-state-manager/bmc_state_manager_main.cpp
96 2. Bitbake only the phosphor-state-manager repository
100 phosphor-state-manager repo to pick up your new hello world change.
103 bitbake phosphor-state-manager
108 … `./workspace/sources/phosphor-state-manager/oe-workdir/package/usr/bin/phosphor-bmc-state-manager`
112 Now is time to load your Hello World application in to QEMU virtual hardware.
121 no more bricking the system. Log in to the QEMU instance and run these
125 mkdir -p /tmp/persist/usr
126 mkdir -p /tmp/persist/work/usr
127 …mount -t overlay -o lowerdir=/usr,upperdir=/tmp/persist/usr,workdir=/tmp/persist/work/usr overlay …
130 4. scp this binary onto your QEMU instance
132 If you used the default ports when starting QEMU then here is the scp command
133 to run from your phosphor-state-manager directory. If you chose your own port
137 …scp -P 2222 ./workspace/sources/phosphor-state-manager/oe-workdir/package/usr/bin/phosphor-bmc-sta…
140 ## Run the Application in QEMU
148 2. Run the application in your QEMU session:
151 phosphor-bmc-state-manager
179 <date> romulus phosphor-bmc-state-manager[1089]: Hello World Again
183 and ran it within QEMU by both regenerating the entire flash image and patching
190 [link](https://amboar.github.io/notes/2022/01/13/openbmc-development-workflow.html)