Skip to contentSkip to conversation

Uefi version with 'bare metal' drivers?

DISCUSSION aanno.trash 3 participants 3 messages Oct 26, 2019 – Feb 5, 2020

lore
Share & tools
lore
#0 lore raw

Well,

I tried the uefi version of barebox on my lenovo miix 320. It is working, but it has the same problem like all the boot loaders I tried
before: it does not recognize a SDCard that can be inserted into the display. On a running linux, it is recognized as 2nd eMMC (**not** as a USB device).

The uefi included with the device has the problem as well. So this is my
question: When using the uefi version of barebox, is it possible to to include a 'bare metal' eMMC driver? If it is, how to do that?

Kind regards,

aanno2

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#1 lore raw

Hi,

Quoted 7 lines · aanno.trash

Well,

I tried the uefi version of barebox on my lenovo miix 320. It is working, but it has the same problem like all the boot loaders I tried
before: it does not recognize a SDCard that can be inserted into the display. On a running linux, it is recognized as 2nd eMMC (**not** as a USB device).

So you mean as /dev/mmcblkx?

Quoted 4 lines

The uefi included with the device has the problem as well. So this is my
question: When using the uefi version of barebox, is it possible to to include a 'bare metal' eMMC driver? If it is, how to do that?

Yes, that should be possible, the question is rather if it's worth the effor. You would have to add a driver or change an existing one. First thing to know is which hardware you have. What's your dmesg output for this device? Is it PCI? If yes, you would have to add a PCI driver as well.

Sascha

Signature · 9 lines
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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw
In reply to aanno.trash

Hi,

Quoted 11 lines · aanno.trash

Well,

I tried the uefi version of barebox on my lenovo miix 320. It is working, but it has the same problem like all the boot loaders I tried
before: it does not recognize a SDCard that can be inserted into the display. On a running linux, it is recognized as 2nd eMMC (**not** as a USB device).

The uefi included with the device has the problem as well. So this is my
question: When using the uefi version of barebox, is it possible to to include a 'bare metal' eMMC driver?

yes

Quoted 1 line

If it is, how to do that?

port a linux driver or write a new one for barebox. Depending on the bus (PCI or USB) you may need to add a bus driver.

Kind regards,
Oleksij Rempel

Signature · 9 lines
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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox