<div dir="ltr">It really depends on how that blob built into the SOC works. On the Tegra chips and on the SOC in the Beaglebone, the amount that's loaded depends on a data structure bundled in with the firmware. On the Beaglebone I told it to load enough of CBFS that it could get the ROM stage out of SRAM without having to talk to the boot media again. Anything beyond that, though, would require talking to the media. On Exynos the blob on the SOC loads another fixed size Samsung provided blob from the boot media which then loads the actual firmware. There it depends on how that blob works. Sometimes the blob loads a fixed size chunk, and sometimes it loads a variably sized blob which is described in a small header. I think the blobs we have in the coreboot repository are one of each, fixed size for the 5250 and variably sized for the 5420.<div>
<br></div><div>Gabe</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jan 10, 2014 at 11:03 AM, mrnuke <span dir="ltr"><<a href="mailto:mr.nuke.me@gmail.com" target="_blank">mr.nuke.me@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 class="im">On 01/10/2014 12:39 PM, Kevin O'Connor wrote:<br>
> On Thu, Jan 09, 2014 at 01:46:19AM -0600, mrnuke wrote:<br>
>> It's essential for some ARM SoCs. Allwinner chips like the MMC as their<br>
>> first boot source, and people are very happy with having their firmware<br>
>> and linux on micro SD. It makes the system unbrickable.<br>
><br>
> Can you expand on this requirement?  Do these machines have a regular<br>
> flash/rom with code that reads the rest of the firmware from the block<br>
> device, or is some portion of the block device mapped by hardware at<br>
> startup and that portion is tasked with reading the rest of the<br>
> firmware off the block device?  If so, how big is the initial mapped<br>
> area?<br>
><br>
<br>
</div>A blob built-in the SoC reads in some of the firmware (from SD, MMC or<br>
SPI, load to SRAM @ 0x0, branch to 0x0). 24 KiB on A10, a little<br>
different on A13 and so on. Think of it as the coreboot bootblock.<br>
That's all the free ride that you get. romstage and others you have to<br>
load manually.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org">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>
</div></div></blockquote></div><br></div>