Mailinglist Archive: opensuse-features (369 mails)

< Previous Next >
[openFATE 305312] OpenSUSE earlier than 11.1 Alpha 2 don't install on SD card
  • From: fate_noreply@xxxxxxx
  • Date: Tue, 2 Jun 2009 15:19:14 +0200 (CEST)
  • Message-id: <feature-305312-20@xxxxxxxxxxxxxx>
Feature changed by: Steffen Winterfeldt (snwint)
Feature #305312, revision 20
Title: OpenSUSE earlier than 11.1 Alpha 2 don't install on SD card

openSUSE-11.2: Evaluation
Priority
Requester: Important
Projectmanager: Important

Requested by: Harald Welte (laf0rge)

Description:
[Please note that I'm working for the CPU+Chipset maker VIA and this is
an actually important feature for the 'netbook' class of devices in the
coming months]
Recently, BIOS vendors have been starting to implement a 'boot from SD
card' feature, much like they have added 'boot from USB memory stick'
some years ago.
The only SD-card host controller that I've seen this implemented for is
SDHCI compliant host controllers.
While this is a nice feature to support, for most systems it is just a
gimmick and not something neccessarry.
However, there are hand-held devices such as netbooks in the pipeline
which do not have any other mass storage device. No hard disk and no
IDE-attached flash disk or the like. They just have one (more likely
two or more) SD card slots and you install and store not only your data
but the entire operating system on that SD card.
Furthermore, there are products like Samsung moviNAND which are
basically a SDcard in a BGA package that can be soldered onto a PCB. So
from a protocol and software point of view it is a SD card, but it is
mechanically soldered onto the board. Such device have gained some
popularity in ARM-based designs, but we'll likely see them in the x86
world, too.
To make this happen,
The distribution installation initrd needs to
1. include and auto-load the sdhc.ko and sdhci_pci.ko kernel modules 2.
create the /dev/mmcblk* device nodes as per udev/hotplug events
The actual distribution installation program needs to
1. recognize /dev/mmcblk* as block devices that can be used as target
device 2. use a grub-install or similar program that can discover the
bios drive number to /dev/mmcblk* device name mapping
I have outlined the full details at
http://wiki.gpl-devices.org/wiki/Installing_Linux_on_booting_SD_card

Relations:
- OpenSUSE <= 11.1 Alpha 2 don't install on SD card
(novell/bugzilla/id: 425367)
https://bugzilla.novell.com/show_bug.cgi?id=425367
- Installing Linux on booting SD card (url:
http://wiki.gpl-devices.org/wiki/Installing_Linux_on_booting_SD_card)

Discussion:
#6: Christoph Thiel (cthiel1) (2009-05-26 18:36:11) (reply to #4)
To be able to implement this feature, we will need hardware for
testing. Christian, do you have hardware available now?

#7: Christian Zoz (zoz) (2009-05-27 12:09:25) (reply to #6)
No, we still have no 'SD card only' devices.

#8: Jiri Srain (jsrain) (2009-06-01 12:14:32)
Jozef did some testing with openSUSE 11.1 final, with following results
(laptop had both SD-card as well as internal drive as provided by the
mobile devices team):
* parted has problems with SD cards which have not alligned partitions
(is the case of some cards, others work well). IMO this should be
handled as bug for parted.
* 11.1 installaiton worked without any problems, just with manual
bootloader adjustments (boot device, disk order)
However, our machine had the card reader internally connected via USB.
Steffen, would it be possible to add the modules listed in the initial
request into initrd as well as add probing for the disks?
Arvin, can partitioner work with /dev/mmcblk* at all? If not, how much
work would it mean?
Christian, do we have any device which accesses the SD card as
/dev/mmcblk* (not necessarily with the booting options for the
development, but will be needed for testing)?

+ #9: Steffen Winterfeldt (snwint) (2009-06-02 15:16:30) (reply to #8)
+ I've added the mentioned modules; they should be automatically loaded.
+ Not sure about mmc_block, though.



--
openSUSE Feature:
https://features.opensuse.org/305312

< Previous Next >
This Thread
References