Lines Matching +full:application +full:- +full:notes

3 **Document Purpose:** Walk through compiling and running an OpenBMC application
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)
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
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
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`
110 3. Create a safe file system for your application
112 Now is time to load your Hello World application in to QEMU virtual hardware.
114 first so you could simply scp your application in to /usr/local/bin, run it
117 application paths are hardcoded in the service files. Let's start our journey
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 …
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
155 application. In general, this is not how you will test new applications.
158 3. Start application via systemd service
162 state service and have it pick up your new application:
179 <date> romulus phosphor-bmc-state-manager[1089]: Hello World Again
182 That's it! You customized an existing BMC application, built it using devtool,
190 [link](https://amboar.github.io/notes/2022/01/13/openbmc-development-workflow.html)