Banana pi BPI-W2's second ethernet port support

(spxu) #1

i’v tried a lot of times, and finaly drived the second ethernet port. u should just change the source code of driver realtek r8169soc-bananapi and change the device tree.

later i will push my code to my repositories:

wish bpi to be better in software!

Open questions about the BPI-W2
(bpi team) #2

very thank you for you support .

(spxu) #3

i think it shoud be your job… what i changed may give up the function of hw-nat, just drive the second ethernet port .

(bpi team) #4

for 2nd etherend port support , please see kernel 4.4 BSP, we have fixed it at kernel 4.4,You’ve been invited to join . thank you .

(spxu) #5

driver source code in 4.9.119 is the same with 4.4 bsp, and it’s not drived when kernel updated.

I’ve push my change to git repository. You can review it .

(Sand Pox) #6

Could you also release the 4.4 source code? I want to take a look

(bpi team) #7

Pls find W2 kernel 4.4 image with 2nd lan function by

Because above image supports both W2 & M4 models, pls adopt bpi-bootsel to select kernel 4.4 or adopt bpi-update -c bpi-w2-linux4.4.conf for updating current image.

If you want to get up-to-date code, pls provide your github account, we’ll add yours on W2 project thus you will see latest code updating in time.

(Sand Pox) #8

Hi, please add me [] , I have some experience on working with kernel and porting OS to ARM boards, I will see what I can help.

edit: got it, thank you.

(bpi team) #9

OK, have add you on github BPI-W2 kernel 4.4 BSP

(Sand Pox) #10

Why you don’t make this repo public? Can I fork it, making changes/update and publish it publicly?

(bpi team) #11

kernel 4.4 BSP Code is not good enough and difficult to maintain, and the original factory is upgrading this 4.4 to 4.9, because the display of this version 4.4 is not standard, which may easily cause trouble for ordinary users

This 4.4 BSP code is suitable for undisplayed or experienced user ,We’re open to anyone who needs it

Only suitable for people with development experience, We’re open to anyone who needs it.