* An observation with omap_xload
@ 2012-02-07 17:23 Premi, Sanjeev
2012-02-07 22:27 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Premi, Sanjeev @ 2012-02-07 17:23 UTC (permalink / raw)
To: barebox
[-- Attachment #1.1: Type: text/plain, Size: 945 bytes --]
Yesterday, i spent quite sometime dealing with 'MLO', unable to find
'barebox.bin'. The failure was always:
barebox 2012.01.0ABC-00248-g9119228-dirty (Feb 7 2012 - 16:39:43)
Board: Texas Instrument's OMAP3EVM
Malloc space: 0x87bfff10 -> 0x87ffff0f (size 4 MB)
Stack space : 0x4020f000 -> 0x4020fc00 (size 3 kB)
booting from MMC1
mounting sd card failed with -22
booting failed
Since, I was working mostly off the windows machine, i didn't
realize that SD card had only one partition and mount would
fail as we explicitly mount "disk0.0" in omap_xload_boot_mmc().
Unfortunately, trying to mount "disk0" didn't help and I got
same error. Haven't debugged this further though.
Also, would it make sense to try mounting "disk0.0" and "disk0"
before returning failure?
I am anyways planning to submit a patch changing the message:
mounting sd card failed with -22
to
Unable to mount disk0.0 (-22)
~sanjeev
[-- Attachment #1.2: Type: text/html, Size: 3461 bytes --]
[-- Attachment #2: Type: text/plain, Size: 149 bytes --]
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: An observation with omap_xload
2012-02-07 17:23 An observation with omap_xload Premi, Sanjeev
@ 2012-02-07 22:27 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2012-02-07 22:27 UTC (permalink / raw)
To: Premi, Sanjeev; +Cc: barebox
On Tue, Feb 07, 2012 at 05:23:13PM +0000, Premi, Sanjeev wrote:
> Yesterday, i spent quite sometime dealing with 'MLO', unable to find
> 'barebox.bin'. The failure was always:
>
> barebox 2012.01.0ABC-00248-g9119228-dirty (Feb 7 2012 - 16:39:43)
>
> Board: Texas Instrument's OMAP3EVM
> Malloc space: 0x87bfff10 -> 0x87ffff0f (size 4 MB)
> Stack space : 0x4020f000 -> 0x4020fc00 (size 3 kB)
> booting from MMC1
> mounting sd card failed with -22
> booting failed
>
> Since, I was working mostly off the windows machine, i didn't
> realize that SD card had only one partition and mount would
> fail as we explicitly mount "disk0.0" in omap_xload_boot_mmc().
You mean that it only has one partition without a partition table?
>
> Unfortunately, trying to mount "disk0" didn't help and I got
> same error. Haven't debugged this further though.
>
> Also, would it make sense to try mounting "disk0.0" and "disk0"
> before returning failure?
Yes, seems to make sense. The only contra I can imagine is that
for booting a kernel and rootfs the user probably needs a partitioned SD
card anyway.
>
> I am anyways planning to submit a patch changing the message:
> mounting sd card failed with -22
> to
> Unable to mount disk0.0 (-22)
Sounds good.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-02-07 22:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-07 17:23 An observation with omap_xload Premi, Sanjeev
2012-02-07 22:27 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox