Lines Matching +full:git +full:- +full:submodule
18 SPDM-Utils
19 ----------
23 SPDM-Utils is a Linux applications to manage, test and develop devices
27 To use SPDM-Utils you will need to do the following steps. Details are included
28 in the SPDM-Utils README.
34 spdm-emu
35 --------
40 .. code-block:: shell
42 $ cd spdm-emu
43 $ git submodule init; git submodule update --recursive
45 $ cmake -DARCH=x64 -DTOOLCHAIN=GCC -DTARGET=Debug -DCRYPTO=openssl ..
46 $ make -j32
53 .. code-block::
60 .. code-block:: shell
62 $ openssl req -nodes -newkey ec:param.pem -keyout end_responder.key \
63 -out end_responder.req -sha384 -batch \
64 -subj "/CN=DMTF libspdm ECP384 responder cert"
66 $ openssl x509 -req -in end_responder.req -out end_responder.cert \
67 -CA inter.cert -CAkey inter.key -sha384 -days 3650 -set_serial 3 \
68 -extensions v3_end -extfile ../openssl.cnf
70 $ openssl asn1parse -in end_responder.cert -out end_responder.cert.der
74 You can use SPDM-Utils instead as it will generate the correct certificates
79 .. code-block:: shell
82 $ ./spdm_responder_emu --trans PCI_DOE
91 .. code-block:: shell
93 $ cd qemu-spdm/linux/image
98 .. code-block:: shell
100 -drive file=blknvme,if=none,id=mynvme,format=raw \
101 -device nvme,drive=mynvme,serial=deadbeef,spdm_port=2323
105 Note that if using x64-64 you will want to use the q35 machine instead
108 .. code-block:: shell
110 qemu-system-x86_64 -M q35 \
111 --kernel bzImage \
112 -drive file=rootfs.ext2,if=virtio,format=raw \
113 -append "root=/dev/vda console=ttyS0" \
114 -net none -nographic \
115 -drive file=blknvme,if=none,id=mynvme,format=raw \
116 -device nvme,drive=mynvme,serial=deadbeef,spdm_port=2323
122 https://github.com/westerndigitalcorporation/spdm-utils
125 https://github.com/dmtf/spdm-emu
128 https://github.com/westerndigitalcorporation/spdm-utils?tab=readme-ov-file#build-libspdm
131 https://github.com/westerndigitalcorporation/spdm-utils?tab=readme-ov-file#build-the-binary
134 https://github.com/westerndigitalcorporation/spdm-utils#qemu-spdm-device-emulation