HarveyHunt / ci20_upstream

An unofficial mirror of mips-upstream-sfr that I am using for upstreaming ci20 work.
Other
2 stars 0 forks source link

mainline patch status? #1

Open sarnold opened 8 years ago

sarnold commented 8 years ago

Howdy, I was trying to get things tested but the patches resubmitted by the other guy seem to have died since the original author spoke up:

https://lkml.org/lkml/2015/2/4/680

and the same patches seem to be here but haven't been touched in over a year. What did I miss? What is the current status? I have a branch the almost compiles 4.8_rc but there's a duplicate symbol error; something in the SPL code is redefining functions. Is there anything newer, or do I need to go back and try to sort out the old patches?

Thanks in advance...

HarveyHunt commented 8 years ago

Hi Steve,

Do you mean the status of the Ci20 upstream in general, or just the UART?

There is support for the JZ4780 upstream and some support for the Ci20. It's possible to boot a Ci20 with an upstream kernel and load a rootfs from the NAND.

The big omission is networking - the DM9000 driver was modified in preparation for supporting the Ci20 (7994fe55a4a2009d9e9153ded4ac4369d1adaaa3), but there isn't a pinctrl driver for the Ci20 upstream. As the DM9000 on the Ci20 needs a GPIO setting high to enable it, networking isn't possible yet.

Paul Burton's Linux tree is v4.5 and has a pinctrl driver, meaning that networking is enabled.

sarnold commented 8 years ago

I was applying the big patch set above to 4.8, but it sounds like someone needs to add that pinctrl driver as well. Is that the last missing piece you know of?

HarveyHunt commented 8 years ago

Paul's 4.5 branch contains the pinctrl driver (d8cab819c6c8c4d6de14c91cbf3a9f908fc29fd9). The pinctrl driver not being upstream blocks most progress with upstreaming the remainder of the Ci20.