Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame^] | 1 | # N1SDP specific SCP configurations and build instructions |
| 2 | |
| 3 | SCP_PLATFORM = "n1sdp" |
| 4 | SCP_LOG_LEVEL = "INFO" |
| 5 | |
| 6 | # master branch at n1sdp: Introduce trusted board boot |
| 7 | SRCREV = "3e4c34ceccc1c960eb3a4adaa922f2a0c6b36be3" |
| 8 | PV .= "+git${SRCPV}" |
| 9 | |
| 10 | COMPATIBLE_MACHINE:n1sdp = "n1sdp" |
| 11 | |
| 12 | DEPENDS += "fiptool-native" |
| 13 | DEPENDS += "trusted-firmware-a" |
| 14 | |
| 15 | do_install:append() { |
| 16 | fiptool \ |
| 17 | create \ |
| 18 | --scp-fw "${D}/firmware/scp_ramfw.bin" \ |
| 19 | --blob uuid=cfacc2c4-15e8-4668-82be-430a38fad705,file="${RECIPE_SYSROOT}/firmware/bl1.bin" \ |
| 20 | "scp_fw.bin" |
| 21 | |
| 22 | # This UUID is FIP_UUID_MCP_BL2 in SCP-Firmware. |
| 23 | fiptool \ |
| 24 | create \ |
| 25 | --blob uuid=54464222-a4cf-4bf8-b1b6-cee7dade539e,file="${D}/firmware/mcp_ramfw.bin" \ |
| 26 | "mcp_fw.bin" |
| 27 | |
| 28 | install "scp_fw.bin" "${D}/firmware/scp_fw.bin" |
| 29 | install "mcp_fw.bin" "${D}/firmware/mcp_fw.bin" |
| 30 | |
| 31 | ln -sf "scp_romfw.bin" "${D}/firmware/scp_rom.bin" |
| 32 | ln -sf "mcp_romfw.bin" "${D}/firmware/mcp_rom.bin" |
| 33 | } |