Re: Porting Clause 45 PHY support to Barebox

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux