All of lore.kernel.org
 help / color / mirror / Atom feed
* Lattice ECP3 load firmware
@ 2014-07-04  8:24 Jean-Michel Hautbois
  2014-07-04  8:40 ` Stefan Roese
  0 siblings, 1 reply; 2+ messages in thread
From: Jean-Michel Hautbois @ 2014-07-04  8:24 UTC (permalink / raw)
  To: Stefan Roese, linux-kernel

Hi !

I noticed you (Stefan) are using request_firmware_nowait() call. This
means user needs to explicitly call it using

$ echo 1 > /sys/class/firmware/lattice-ecp3.0/loading
$ cat lattice-ecp3.bit > /sys/class/firmware/lattice-ecp3.0/data
$ echo 0 > /sys/class/firmware/lattice-ecp3.0/loading

Or did I miss something ?
I would like to have it load the firmware bitstream when booting if
there is a specific .bit file in /lib/firmware. Maybe don't you want
to have this behaviour, though... ?

Thanks,
JM

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

* Re: Lattice ECP3 load firmware
  2014-07-04  8:24 Lattice ECP3 load firmware Jean-Michel Hautbois
@ 2014-07-04  8:40 ` Stefan Roese
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Roese @ 2014-07-04  8:40 UTC (permalink / raw)
  To: Jean-Michel Hautbois, linux-kernel

Hi Jean-Michel,

On 04.07.2014 10:24, Jean-Michel Hautbois wrote:
> I noticed you (Stefan) are using request_firmware_nowait() call. This
> means user needs to explicitly call it using
>
> $ echo 1 > /sys/class/firmware/lattice-ecp3.0/loading
> $ cat lattice-ecp3.bit > /sys/class/firmware/lattice-ecp3.0/data
> $ echo 0 > /sys/class/firmware/lattice-ecp3.0/loading
>
> Or did I miss something ?

No, thats correct. This is how we use it on our platform.

> I would like to have it load the firmware bitstream when booting if
> there is a specific .bit file in /lib/firmware. Maybe don't you want
> to have this behaviour, though... ?

No. We don't want this. Please don't ask me about the details. Its quite 
a while ago that I worked on this platform. And I don't have access to 
this platform any more.

Thanks,
Stefan


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

end of thread, other threads:[~2014-07-04  8:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-04  8:24 Lattice ECP3 load firmware Jean-Michel Hautbois
2014-07-04  8:40 ` Stefan Roese

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.