Re: Linux kernel hangs if using RV1108 with MSZ8863 switch with two ports connected

2018-11-18 Thread Heiko Stübner
Hi all, Am Sonntag, 18. November 2018, 19:12:30 CET schrieb Andrew Lunn: > > The kernel starts booting normally and then hangs like this when two > > Ethernet cables are connected to the KSZ8863 switch: > > http://dark-code.bulix.org/3xexu5-507563 > > > This has the lock detection, inside kernel h

Re: Linux kernel hangs if using RV1108 with MSZ8863 switch with two ports connected

2018-11-18 Thread Andrew Lunn
> The kernel starts booting normally and then hangs like this when two > Ethernet cables are connected to the KSZ8863 switch: > http://dark-code.bulix.org/3xexu5-507563 > > This has the lock detection, inside kernel hacking, enabled. Maybe turn on all the hung-task debug and magic key support. W

Re: Linux kernel hangs if using RV1108 with MSZ8863 switch with two ports connected

2018-11-17 Thread Otavio Salvador
Hi Andrew, On Fri, Nov 16, 2018 at 9:40 PM Andrew Lunn wrote: > On Fri, Nov 16, 2018 at 04:28:29PM -0200, Otavio Salvador wrote: > > RV1108 GMAC is connected to KSZ8863 port 3 and after kernel boots, I > > can put an Ethernet cable from my router to the uplink port of > > KSZ8863, which makes the

Re: Linux kernel hangs if using RV1108 with MSZ8863 switch with two ports connected

2018-11-16 Thread Andrew Lunn
On Fri, Nov 16, 2018 at 04:28:29PM -0200, Otavio Salvador wrote: > Hi, > > I have a custom design based on Rockchip RV1108 that uses an MSZ8863 > switch running kernel 4.19. > > The dts part is as follows: > > &gmac { > pinctrl-names = "default"; > pinctrl-0 = <&rmii_pins>; > snps,reset-gpio = <

Linux kernel hangs if using RV1108 with MSZ8863 switch with two ports connected

2018-11-16 Thread Otavio Salvador
Hi, I have a custom design based on Rockchip RV1108 that uses an MSZ8863 switch running kernel 4.19. The dts part is as follows: &gmac { pinctrl-names = "default"; pinctrl-0 = <&rmii_pins>; snps,reset-gpio = <&gpio1 RK_PC1 GPIO_ACTIVE_LOW>; snps,reset-active-low; clock_in_out = "output"; status