Porting Clause 45 PHY support to 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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Hi Heiner,
Quoted 7 lines · Heiner Kallweit
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.
Quoted 1 line
- 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
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