[ltp] booting from sd card

Peter Frühberger linux-thinkpad@linux-thinkpad.org
Tue, 25 Nov 2008 22:59:42 +0100


------=_Part_18856_25139996.1227650382269
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi Richard,

2008/11/25 Richard Neill <rn214@hermes.cam.ac.uk>

>
>
> Hendrik-Jan Heins wrote:
>
>> No, chain loading also doesn't seem to work.
>>
>> For some reason it looks like the whole device is not being
>> initialised until after a complete system start.
>> I still think this is strange: how can it be that USB is actually
>> being initialised on boot, except for this port! How different is an
>> external card reader from the internal device? It alsmost seems like a
>> deliberate blocking.
>>
>>
> I don't think this is deliberate. I suspect it's just a BIOS bug: the BIOS
> authors probably just never considered that anyody would ever want to boot
> from SD, so didn't include the feature. You could try making a bug report to
> IBM.
>
> Incidentally, I suspect that the hardware doesn't connect the internal
> SD/CF reader as a USB device. Once booted into Linux via another means, does
> the internal reader show up in lsusb?
>
> May I ask why you particularly want to boot from SD?
>
>
> Richard
> --
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>


It is not a USB device. It is listed with lspci:
05:00.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host
Adapter (rev 21)
driven by the sdhci module

(X61s 7666-36G)

I tried chainloading a while ago, putting the relevant modules in the
initrd, but did not have sucess. I installed grub into this device from
another computer, because of the ubuntu grub installer could not handle this
device (wasn`t /dev/sd[a..z]).

I think to implement boot possibility is more difficult for the bios
developers.

Peter

-- 
"The Death of One is a tragedy, the Death of Millions is just a
statistic" - M.M.

                  Key-ID:     0x1A995A9B
                  keyserver: pgp.mit.edu
==============================================================
Fingerprint: 4606 DA19 EC2E 9A0B 0157  C81B DA07 CF63 1A99 5A9B

------=_Part_18856_25139996.1227650382269
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi Richard,<br><br><div class="gmail_quote">2008/11/25 Richard Neill <span dir="ltr">&lt;<a href="mailto:rn214@hermes.cam.ac.uk">rn214@hermes.cam.ac.uk</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>
<br>
Hendrik-Jan Heins wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
No, chain loading also doesn&#39;t seem to work.<br>
<br>
For some reason it looks like the whole device is not being<br>
initialised until after a complete system start.<br>
I still think this is strange: how can it be that USB is actually<br>
being initialised on boot, except for this port! How different is an<br>
external card reader from the internal device? It alsmost seems like a<br>
deliberate blocking.<br>
<br>
</blockquote>
<br></div>
I don&#39;t think this is deliberate. I suspect it&#39;s just a BIOS bug: the BIOS authors probably just never considered that anyody would ever want to boot from SD, so didn&#39;t include the feature. You could try making a bug report to IBM.<br>

<br>
Incidentally, I suspect that the hardware doesn&#39;t connect the internal SD/CF reader as a USB device. Once booted into Linux via another means, does the internal reader show up in lsusb?<br>
<br>
May I ask why you particularly want to boot from SD?<div><div></div><div class="Wj3C7c"><br>
<br>
Richard<br>
-- <br>
The linux-thinkpad mailing list home page is at:<br>
<a href="http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad" target="_blank">http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad</a><br>
</div></div></blockquote></div><br><br>It is not a USB device. It is listed with lspci:<br>05:00.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21)<br>driven by the sdhci module<br><br>(X61s 7666-36G)<br>
<br>I tried chainloading a while ago, putting the relevant modules in the initrd, but did not have sucess. I installed grub into this device from&nbsp; another computer, because of the ubuntu grub installer could not handle this device (wasn`t /dev/sd[a..z]).<br>
<br>I think to implement boot possibility is more difficult for the bios developers.<br><br>Peter<br clear="all"><br>-- <br>&quot;The Death of One is a tragedy, the Death of Millions is just a<br>statistic&quot; - M.M.<br>
<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Key-ID: &nbsp; &nbsp; 0x1A995A9B<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; keyserver: <a href="http://pgp.mit.edu">pgp.mit.edu</a><br>==============================================================<br>Fingerprint: 4606 DA19 EC2E 9A0B 0157 &nbsp;C81B DA07 CF63 1A99 5A9B<br>


------=_Part_18856_25139996.1227650382269--