<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:10pt;">
<div style="padding-right:5pt;padding-left:5pt;">TCS Confidential<br>

</div>
<div style="margin-top:5pt;"><font face="Times New Roman" size="3"><span style="font-size:12pt;"><br>

</span></font></div>
<div><font face="Times New Roman" size="3"><span style="font-size:12pt;"> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">Hi C,</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;"> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">Built the qemu from your branch. Few issues,</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;"> </span></font></div>
<div style="padding-left:36pt;"><font face="Calibri" size="2" color="#1F4E79"><span style="font-size:11pt;"><b>$ ./qemu-system-arm -m 256 -M romulus-bmc -nographic -drive file=./obmc-phosphor-image-romulus.static.mtd,format=raw,if=mtd -net nic -net user,hostfwd=:127.0.0.1:2222-:22,hostfwd=:127.0.0.1:4443-:443,hostfwd=tcp:127.0.0.1:8880-:80,hostfwd=tcp:127.0.0.1:2200-:2200,hostfwd=udp:127.0.0.1:6623-:623,hostfwd=udp:127.0.0.1:6664-:664,hostname=qemu</b></span></font></div>
<div style="padding-left:36pt;"><font face="Calibri" size="2" color="#1F4E79"><span style="font-size:11pt;"><b>qemu-system-arm: -net user,hostfwd=:127.0.0.1:2222-:22,hostfwd=:127.0.0.1:4443-:443,hostfwd=tcp:127.0.0.1:8880-:80,hostfwd=tcp:127.0.0.1:2200-:2200,hostfwd=udp:127.0.0.1:6623-:623,hostfwd=udp:127.0.0.1:6664-:664,hostname=qemu:
network backend 'user' is not compiled into this binary</b></span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;"> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;"> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">I didn’t enable the slirp package I guess. So enabled it while running configure, </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;"> </span></font></div>
<div style="padding-left:36pt;"><font face="Calibri" size="2" color="#1F4E79"><span style="font-size:11pt;"><b>$ ../configure --enable-slirp</b></span></font></div>
<div style="padding-left:36pt;"><font face="Calibri" size="2" color="#1F4E79"><span style="font-size:11pt;"><b>........</b></span></font></div>
<div style="padding-left:36pt;"><font face="Calibri" size="2" color="#1F4E79"><span style="font-size:11pt;"><b>Run-time dependency slirp found: NO (tried pkgconfig)</b></span></font></div>
<div style="padding-left:36pt;"><font face="Calibri" size="2" color="#1F4E79"><span style="font-size:11pt;"> </span></font></div>
<div style="padding-left:36pt;"><font face="Calibri" size="2" color="#1F4E79"><span style="font-size:11pt;"><b>../meson.build:681:2: ERROR: Dependency "slirp" not found, tried pkgconfig</b></span></font></div>
<div style="padding-left:36pt;"><font face="Calibri" size="2" color="#1F4E79"><span style="font-size:11pt;"> </span></font></div>
<div style="padding-left:36pt;"><font face="Calibri" size="2" color="#1F4E79"><span style="font-size:11pt;"><b>A full log can be found at /home/tcs/work/sandeep/measured_boot/ibm_qemu/qemu/build/meson-logs/meson-log.txt</b></span></font></div>
<div style="padding-left:36pt;"><font face="Calibri" size="2" color="#1F4E79"><span style="font-size:11pt;"><b>NOTICE: You are using Python 3.6 which is EOL. Starting with v0.62.0, Meson will require Python 3.7 or newer</b></span></font></div>
<div style="padding-left:36pt;"><font face="Calibri" size="2" color="#1F4E79"><span style="font-size:11pt;"> </span></font></div>
<div style="padding-left:36pt;"><font face="Calibri" size="2" color="#1F4E79"><span style="font-size:11pt;"><b>ERROR: meson setup failed</b></span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;"> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;"> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">I have already installed slirp locally, but still getting the above error. </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;"> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">Please do let let me know your comments.</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;"> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">Thanks,</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">Sandeep.</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;"> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">-----Original Message-----<br>

From: Cédric Le Goater <clg@kaod.org> <br>

Sent: Wednesday, April 12, 2023 8:43 PM<br>

To: Sandeep Kumar <sandeep.pkumar@tcs.com>; openbmc@lists.ozlabs.org; Ninad Palsule <ninad@linux.ibm.com>; Joel Stanley <jms@jms.id.au>; Andrew Jeffery <andrew@aj.id.au><br>

Subject: Re: Integrating swtpm(as a software TPM) with OpenBMC on Qemu</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;"> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">"External email. Open with Caution"</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;"> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">On 4/12/23 07:12, Sandeep Kumar wrote:</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">>   TCS Confidential</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> Hi C,</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> Thanks for sharing the info.  We have started working on it. Could you please point to the exact patches that needs to be applied on openBMC Qemu ? There are too many patches to choose from.</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;"> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">Just use my branch for now. OpenBMC QEMU is outdated.</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">We'll resync when 8.0 is out</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;"> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">Thanks,</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;"> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">C.</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;"> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> Thanks,</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> Sandeep.</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> -----Original Message-----</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> From: Cédric Le Goater <<a href="mailto:clg@kaod.org">clg@kaod.org</a>></span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> Sent: Wednesday, April 5, 2023 7:25 PM</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> To: Sandeep Kumar <<a href="mailto:sandeep.pkumar@tcs.com">sandeep.pkumar@tcs.com</a>>; <a href="mailto:openbmc@lists.ozlabs.org">openbmc@lists.ozlabs.org</a>; </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> Ninad Palsule <<a href="mailto:ninad@linux.ibm.com">ninad@linux.ibm.com</a>>; Joel Stanley <<a href="mailto:jms@jms.id.au">jms@jms.id.au</a>>; </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> Andrew Jeffery <<a href="mailto:andrew@aj.id.au">andrew@aj.id.au</a>></span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> Subject: Re: Integrating swtpm(as a software TPM) with OpenBMC on Qemu</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> "External email. Open with Caution"</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> Hello,</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> On 4/5/23 14:48, Sandeep Kumar wrote:</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">>> TCS Confidential</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">>></span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">>></span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">>> Hi,</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">>></span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">>> Trying to see how to get swtpm working as a virtual TPM and connect to openBMC on QEMU. How do we achieve this? Main idea is to get this working and make secure boot through the virtual TPM(swtpm).</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> Ninad did a nice how to :</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">>     </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> <a href="https://lore.kernel.org/qemu-devel/20230331161319.2250334-4-ninadpalsu">https://lore.kernel.org/qemu-devel/20230331161319.2250334-4-ninadpalsu</a></span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> <a href="mailto:le@us.ibm.com/">le@us.ibm.com/</a></span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> If you want to try, the patches are on this branch :</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">>     <a href="https://github.com/legoater/qemu/commits/aspeed-8.0">https://github.com/legoater/qemu/commits/aspeed-8.0</a></span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> and they should reach the QEMU OpenBMC repo at some point in time.</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> Joel also provided a simple test case :</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">>     </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> <a href="https://lore.kernel.org/qemu-devel/20230328120844.190914-1-joel@jms.id">https://lore.kernel.org/qemu-devel/20230328120844.190914-1-joel@jms.id</a></span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> .au/</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> using the ast2600-evb machine.</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> Cheers,</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> C.</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">>   TCS Confidential</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> =====-----=====-----=====</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> Notice: The information contained in this e-mail message and/or </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> attachments to it may contain confidential or privileged information. </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> If you are not the intended recipient, any dissemination, use, review, </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> distribution, printing or copying of the information contained in this </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> e-mail message and/or attachments to it are strictly prohibited. If </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> you have received this communication in error, please notify us by </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> reply e-mail or telephone and immediately and permanently delete the </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> message and any attachments. Thank you</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;"> </span></font></div>
<div><font face="Times New Roman" size="3"><span style="font-size:12pt;"><br>

</span></font></div>
<div style="margin-top:5pt;padding-right:5pt;padding-left:5pt;">TCS Confidential<br>

</div>
</span></font>
</body>
</html>