[BPI-R2] Porting 2nd gmac to 4.19

I’m not so understand what i need to try. Kernel 5.3?

We need a way to reproduce the error if it also happens with 5.3-phylink-x. So try thos version and look if you get the error again…then thunk about what you/system have done while the error comes up and try this again

Tried to give another try for this device and what I did - used latest stable ubuntu 19.04 and compiled kernel from it (before was compiled kernel from debian 9 and default gcc) with gcc 8.x - no error reproduced. Then installed GCC 9.x and tried - no driver erros for two days uptime (before was 3-5 times per day). Still watching for it.

Which kernel have you tried? I think it does not matter in which system kernel was compiled.

have you created ubuntu image by yourself?

this one

Linux version 4.19.69-bpi-r2-main (shashilx@ubuntu) (gcc version 9.1.0 (Ubuntu 9.1.0-2ubuntu2~19.04)) #2 SMP Fri Sep 6 11:45:53 EEST 2019

i think yes it doesn’t matter in which system but I think it’s matter wich compiler version. don’t know if it’s gcc version or newer kernel version (hangs was in .66 and it’s .69)