<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta content="MSHTML 6.00.6000.17104" name="GENERATOR">
</head>
<body>
<div><font face="Courier New" size="2"><span class="129040817-07022012">Yesterday, i spent quite sometime dealing with 'MLO',
</span></font><font face="Courier New" size="2"><span class="129040817-07022012">unable to find</span></font></div>
<div><font face="Courier New" size="2"><span class="129040817-07022012">'barebox.bin'. The failure was always:</span></font></div>
<div><font face="Courier New" size="2"><span class="129040817-07022012"></span></font> </div>
<div><font face="Courier New" size="2"><span class="129040817-07022012">barebox 2012.01.0ABC-00248-g9119228-dirty (Feb 7 2012 - 16:39:43)</span></font></div>
<div><font face="Courier New" size="2"></font> </div>
<div><font face="Courier New" size="2"><span class="129040817-07022012">Board: Texas Instrument's OMAP3EVM<br>
Malloc space: 0x87bfff10 -> 0x87ffff0f (size 4 MB)<br>
Stack space : 0x4020f000 -> 0x4020fc00 (size 3 kB)<br>
booting from MMC1<br>
mounting sd card failed with -22<br>
booting failed</span></font></div>
<div><font face="Courier New" size="2"></font> </div>
<div><font face="Courier New" size="2"><span class="129040817-07022012">Since, I was working mostly off the windows machine, i didn't</span></font></div>
<div><font face="Courier New" size="2"><span class="129040817-07022012">realize that SD card had only one partition and mount would</span></font></div>
<div><font face="Courier New" size="2"><span class="129040817-07022012">fail as we explicitly mount "disk0.0" in omap_xload_boot_mmc().</span></font></div>
<div><font face="Courier New" size="2"><span class="129040817-07022012"></span></font> </div>
<div><font face="Courier New" size="2"><span class="129040817-07022012">Unfortunately, trying to mount "disk0" didn't help and I got</span></font></div>
<div><font face="Courier New" size="2"><span class="129040817-07022012">same error. Haven't debugged this further though.</span></font></div>
<div><font face="Courier New" size="2"><span class="129040817-07022012"></span></font> </div>
<div><font face="Courier New" size="2"><span class="129040817-07022012">Also, would it make sense to try mounting "disk0.0" and "disk0"</span></font></div>
<div><font face="Courier New" size="2"><span class="129040817-07022012">before returning failure?</span></font></div>
<div><font face="Courier New" size="2"><span class="129040817-07022012"></span></font> </div>
<div><font face="Courier New" size="2"><span class="129040817-07022012">I am anyways planning to submit a patch changing the message:</span></font></div>
<div><font face="Courier New" size="2"><span class="129040817-07022012"> mounting sd card failed with -22<br>
to</span></font></div>
<div><font face="Courier New" size="2"><span class="129040817-07022012"> Unable to mount disk0.0 (-22)</span></font></div>
<div><font face="Courier New" size="2"><span class="129040817-07022012"></span></font> </div>
<div><font face="Courier New" size="2"><span class="129040817-07022012">~sanjeev</span></font></div>
<div><font face="Courier New" size="2"><span class="129040817-07022012"></span></font> </div>
</body>
</html>