Pipat Methavanitpong | 83e734b | 2019-06-05 17:20:31 +0900 | [diff] [blame] | 1 | .. _devbox: |
| 2 | |
| 3 | ############ |
| 4 | DeveloperBox |
| 5 | ############ |
| 6 | |
| 7 | The instructions here will tell how to build OP-TEE for `DeveloperBox`_. |
| 8 | |
| 9 | .. _devbox_build_instructions: |
| 10 | |
| 11 | Build instructions |
| 12 | ****************** |
| 13 | |
| 14 | 1. Follow the ":ref:`get_and_build_the_solution`" in :ref:`build` |
| 15 | from step 1 to step 3. |
| 16 | |
| 17 | 2. Initialize EDK2 submodule |
| 18 | |
| 19 | .. code-block:: bash |
| 20 | :linenos: |
| 21 | |
| 22 | $ cd <optee-project>/edk2 |
| 23 | $ git submodule update --init |
| 24 | |
| 25 | 3. Follow ":ref:`get_and_build_the_solution`" step 4 & 5 |
| 26 | |
| 27 | 4. Stage a new OP-TEE update capsule. This updates TF-A, OP-TEE and UEFI. |
| 28 | |
| 29 | .. code-block:: bash |
| 30 | :linenos: |
| 31 | |
| 32 | $ fwupdate --apply {50b94ce5-8b63-4849-8af4-ea479356f0e3} \ |
| 33 | > <optee-project>/edk2-platforms/Build/DeveloperBox/RELEASE_GCC5/FV/\ |
| 34 | > SYNQUACERFIRMWAREUPDATECAPSULEFMPPKCS7.Cap |
| 35 | |
| 36 | .. hint:: |
| 37 | |
| 38 | Change ``RELEASE_GCC5`` to ``DEBUG_GCC5`` for debug build. |
| 39 | |
| 40 | 5. Reboot to update. |
| 41 | |
| 42 | 6. Follow the rest of":ref:`get_and_build_the_solution`" from step 7 |
| 43 | |
| 44 | |
| 45 | .. _DeveloperBox: https://www.96boards.org/product/developerbox/ |