<div dir="ltr"><div><div class="gmail_extra"><div class="gmail_quote">On Tue, Mar 11, 2014 at 7:55 AM, Naman Govil <span dir="ltr"><<a href="mailto:namangov@gmail.com" target="_blank">namangov@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi!</span></div></blockquote><div><br></div><div>


Hi!</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px">I am Naman, a junior year college undergrad with interest in Open Source Hardware-Software Development.</div>



<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I have been actively participating in coreboot community (mainly through the irc) for more than a month now, and have had lots of discussions with community mentors, while setting up coreboot on QEMU. I have had success working with basic payloads like the SeaBIOS and FILO. After having a basic understanding about coreboot, I was fascinated to work and learn more. I searched and found a project that I would like to do and began to draft my proposal for it. I am planning to pursue the project "Infrastructure for Accessing Block Devices on ARM SoCs" as a part of GSoC-2014. I have had encouraging support from Marc and other community mentors for this.</div>



<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Currently, I am in the process of drafting my proposal, and wanted some assistance on the same. </div>



<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I have been able define the goal for the project: a generic interface for accessing block devices on ARM SoCs so that coreboot could launch its stages from the block devices (an MMC for example). After discussions with Alex (mrnuke), I learnt about the existing support for coreboot on cubieboard, and hence will use this to test the interface.</div>


</div></blockquote><div><br></div><div>Seems interesting, but I am a little bit worried that the project is too narrow. We updated CBFS about a year ago to allow CBFS content to come from any media. This was required for the earlier ARM-based platforms which use SPI ROM since the content was not memory mapped as it is on x86 platforms. It should be reasonably easy to follow that model using MMC as a backing media.</div>


<div><br></div><div>IIRC Alexandru ran into issues with adapting the A10's MMC driver from u-boot to coreboot and making it fit into the bootblock, which was constrained by the amount of SRAM available on the A10. I am worried that you will end up fighting implementation-specific problems on the platform you choose instead of doing more interesting infrastructure work.</div>


<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">
<div style="font-family:arial,sans-serif;font-size:13px"><font face="arial, sans-serif">I needed some assistance on methods for developing the block device interface. One possibility is </font>to work on the customizing uboot to our needs. (i.e do something like this: <a href="http://linux-sunxi.org/U-Boot#SD_Card" target="_blank">http://linux-sunxi.org/U-Boot#SD_Card</a>)<font face="arial, sans-serif">  and create a simple API which would act as a MMC driver. I wanted to know how could I improve upon this. Or if there are other ways to accomplish this?</font><br>


</div>
<div style="font-family:arial,sans-serif;font-size:13px"><font face="arial, sans-serif"><br></font></div><div style="font-family:arial,sans-serif;font-size:13px"><font face="arial, sans-serif">I also wanted to ask whether I need to widen the goal of the project? And include some other functionalities? If yes, can I have some suggestions for the same? Some possibilities could be to have the API </font><span style="line-height:19.200000762939453px;font-family:sans-serif">such that it can work in any stage (including bootblock), etc.</span></div>


</div></blockquote><div><br></div><div>Good question. It's been a while since I've looked at this stuff in detail. I'll look at it further and try to add some ideas here.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div dir="ltr">
<div style="font-family:arial,sans-serif;font-size:13px"><font face="arial, sans-serif"><br></font></div><div style="font-family:arial,sans-serif;font-size:13px"><font face="arial, sans-serif">Hope to get a feedback on this. :)</font></div>



<div style="font-family:arial,sans-serif;font-size:13px"><font face="arial, sans-serif"><br></font></div><div style="font-family:arial,sans-serif;font-size:13px"><font face="arial, sans-serif">Regards,</font></div><div style="font-family:arial,sans-serif;font-size:13px">



<font face="arial, sans-serif">Naman Govil </font>  </div></div>
<br>--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org" target="_blank">coreboot@coreboot.org</a><br>
<a href="http://www.coreboot.org/mailman/listinfo/coreboot" target="_blank">http://www.coreboot.org/mailman/listinfo/coreboot</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>David Hendricks (dhendrix)<br>


Systems Software Engineer, Google Inc.
</div></div></div>