#149 Add support for booting from SD/MMC cards on X230 laptops

Open
opened 2 years ago by _rob_ · 6 comments
_rob_ commented 2 years ago

Hi! At the moment, booting from SD or MMC cards is not possible on a Thinkpad X230. The card is not recognized as a boot option and when I switch to SeaBIOS, the card is recognized, but can't be booted from ("Boot failed: could not read the boot disk. No bootable device"). According to the info Leah provided via IRC, this problem exists, because GRUB lacks an emmc/mmc driver. I hope you will be able to add this feature in the future. Best regards Rob

Hi! At the moment, booting from SD or MMC cards is not possible on a Thinkpad X230. The card is not recognized as a boot option and when I switch to SeaBIOS, the card is recognized, but can't be booted from ("Boot failed: could not read the boot disk. No bootable device"). According to the info Leah provided via IRC, this problem exists, because GRUB lacks an emmc/mmc driver. I hope you will be able to add this feature in the future. Best regards Rob

If all you need for a driver is whether a contact or node works on a port or socket then you can use this code in python. Just substitute the variable name for "Driver".

Driver=1 if Driver!=1: print("Driver failure.")

Put 4 spaces before "print". Driver, if, and print are new lines too.

If all you need for a driver is whether a contact or node works on a port or socket then you can use this code in python. Just substitute the variable name for "Driver". Driver=1 if Driver!=1: print("Driver failure.") Put 4 spaces before "print". Driver, if, and print are new lines too.

The driver name can be for example D+ for a contact on the USB port. It's what it's called on the port's motherboards. It might be the same name in software too. By the way that's just 1 of the nodes you have to check. USB alone has several.

The driver name can be for example D+ for a contact on the USB port. It's what it's called on the port's motherboards. It might be the same name in software too. By the way that's just 1 of the nodes you have to check. USB alone has several.

After the print line there should be a nonindented line that says

else: BootCheck=1

BootCheck should be indented. Replace it with the name of the variable that boots the OS.

After the print line there should be a nonindented line that says else: BootCheck=1 BootCheck should be indented. Replace it with the name of the variable that boots the OS.

The port contact variable names should be reset/reassigned to

Driver=0

Before the last line of the variable name for the contact that boots the OS.

The port contact variable names should be reset/reassigned to Driver=0 Before the last line of the variable name for the contact that boots the OS.

The port contact variable names should be reset/reassigned to

Driver=0

Before the last line of the variable name for the contact that boots the OS.

The port contact variable names should be reset/reassigned to Driver=0 Before the last line of the variable name for the contact that boots the OS.
Ghost commented 1 year ago

I hope you realize that SD cards and MMC cards, are usually like almost as slow as usb 2.0 right?

This could be good for ARM devices, but as for x86. I am not sure if this will help much...

To be clear, I used to think this would be an awesome idea.

But as of now, I am not so sure...

I don't know if micro usb drives are supported, but that on the other hand if it isn't already supported, would probably be very helpful. As long as they are durable and have 2x the speed of those SD and MMC drives.

If it can be added though and you need it, hope its possible.

I hope you realize that SD cards and MMC cards, are usually like almost as slow as usb 2.0 right? This could be good for ARM devices, but as for x86. I am not sure if this will help much... To be clear, I used to think this would be an awesome idea. But as of now, I am not so sure... I don't know if micro usb drives are supported, but that on the other hand if it isn't already supported, would probably be very helpful. As long as they are durable and have 2x the speed of those SD and MMC drives. If it can be added though and you need it, hope its possible.
Sign in to join this conversation.
No Label
No Milestone
No assignee
3 Participants
Loading...
Cancel
Save
There is no content yet.