mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Porting Clause 45 PHY support to Barebox
@ 2019-04-25 18:14 Heiner Kallweit
  2019-04-26  6:05 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Heiner Kallweit @ 2019-04-25 18:14 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: barebox

I'd like to port Clause 45 PHY support and more recent Linux phylib
extensions to Barebox. Ideally it should be possible later to apply
most Linux patches as-is on Barebox. Before I start two questions:

- Any guidelines what it typically takes to port Linux Kernel code
  to Barebox? (I suppose at least removing mutexes + spinlocks, changing
  all interrupts to polling)
- Especially regarding drivers/net/phy: any plans I should be aware of?

Heiner

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: Porting Clause 45 PHY support to Barebox
  2019-04-25 18:14 Porting Clause 45 PHY support to Barebox Heiner Kallweit
@ 2019-04-26  6:05 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2019-04-26  6:05 UTC (permalink / raw)
  To: Heiner Kallweit; +Cc: barebox

Hi Heiner,

On Thu, Apr 25, 2019 at 08:14:10PM +0200, Heiner Kallweit wrote:
> I'd like to port Clause 45 PHY support and more recent Linux phylib
> extensions to Barebox. Ideally it should be possible later to apply
> most Linux patches as-is on Barebox. Before I start two questions:
> 
> - Any guidelines what it typically takes to port Linux Kernel code
>   to Barebox? (I suppose at least removing mutexes + spinlocks, changing
>   all interrupts to polling)

Well yes, and that's about it. Sometimes you have to simplify the code,
sometimes you have to update some header files we have from Linux.

> - Especially regarding drivers/net/phy: any plans I should be aware of?

Much of the code is from Linux, but there's also much barebox original
code. I don't think the goal should be that it looks identically in the
end.

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

end of thread, other threads:[~2019-04-26  6:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-25 18:14 Porting Clause 45 PHY support to Barebox Heiner Kallweit
2019-04-26  6:05 ` Sascha Hauer

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