mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Uefi version with 'bare metal' drivers?
@ 2019-10-26  9:28 aanno.trash
  2019-10-28 11:10 ` Sascha Hauer
  2020-02-05  6:30 ` Oleksij Rempel
  0 siblings, 2 replies; 3+ messages in thread
From: aanno.trash @ 2019-10-26  9:28 UTC (permalink / raw)
  To: barebox

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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Uefi version with 'bare metal' drivers?
  2019-10-26  9:28 Uefi version with 'bare metal' drivers? aanno.trash
@ 2019-10-28 11:10 ` Sascha Hauer
  2020-02-05  6:30 ` Oleksij Rempel
  1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2019-10-28 11:10 UTC (permalink / raw)
  To: aanno.trash; +Cc: barebox

Hi,

On Sat, Oct 26, 2019 at 11:28:59AM +0200, aanno.trash wrote:
> 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?

> 
> 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

-- 
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] 3+ messages in thread

* Re: Uefi version with 'bare metal' drivers?
  2019-10-26  9:28 Uefi version with 'bare metal' drivers? aanno.trash
  2019-10-28 11:10 ` Sascha Hauer
@ 2020-02-05  6:30 ` Oleksij Rempel
  1 sibling, 0 replies; 3+ messages in thread
From: Oleksij Rempel @ 2020-02-05  6:30 UTC (permalink / raw)
  To: aanno.trash, barebox

Hi,

On 26.10.19 11:28, aanno.trash wrote:
> 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

> 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

-- 
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] 3+ messages in thread

end of thread, other threads:[~2020-02-05  6:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-26  9:28 Uefi version with 'bare metal' drivers? aanno.trash
2019-10-28 11:10 ` Sascha Hauer
2020-02-05  6:30 ` Oleksij Rempel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox