Applications

Calendar

Reputation Activity

official lede from sinovoip still uses 4.9, but there is imho also a dsa-driver (backported from 4.1x afair),
there is openwrt with 4.14 which includes Patches for bpi-r2 (where i've got my Patches for second gmac).

if you have a dsa-driver (you see interfaces wan,lan0-lan3) you cannot work on eth0/eth1 (these are only the ethernet-connections between switch [mt7530] and SOC/Main-CPU [mt7623]), only bring them up...ip-config has to be done on dsa-interfaces.

The main porting of second gmac was done by john crispin. There was only a small mistake which we fixed (both cpu-ports need to use same mode).

I tried to port it to 4.19,but currently i can't get it working (eth1 is visible but dsa-ports got lost) so i stuck here without any help. I've contacted John,but he tells me he is currently busy and has not the time he need to help me.

https://github.com/frank-w/BPI-R2-4.14/commits/4.19-gmac

Have contacted dave miller as maintainer of network-part,but got no response yet

i changed Uart (Uart2=>ttyS0) and MMC (SD=0,emmc=1) from mainline to make my kernels compatible with official images (defined my images same way).

i see some definitions...maybe they can be used to define which uart is used for debug-uart without changing the order in dts(i)
aliases {
serial2 = &uart2;
};
chosen {
stdout-path = "serial2:115200n8";
};
btw. 2nd gmac, hdmi, poweroff and some other stuff is working now in (my) 4.14...hnat is ported, but i don't know if it is working due to a "strange" test (cpu-interrupts increasing)