![]() |
Linux Mainline - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85) +--- Forum: Linux on Rock64 (https://forum.pine64.org/forumdisplay.php?fid=88) +--- Thread: Linux Mainline (/showthread.php?tid=5043) |
RE: Linux Mainline - maal - 01-07-2018 After reading today's irc logs I've realized that ayufan has found the solution. You need to change "rx_delay" in file "arch/arm64/boot/dts/rockchip/rk3328-rock64.dts". From: rx_delay = <0x11>; To: rx_delay = <0x18>; After that change everything is peachy: Code: [root@cep03 ~]# uname -a I would like to thank ayufan for his contributions to linux on Rock64. RE: Linux Mainline - valdiks - 01-08-2018 Hello, I have LibreELEC-ROCK64.arm-rb-leia21 installed on the Rock64 4GB and connected to the Sony Bravia 55xd85 4k TV. Everything works fine except that while watching a movie in random time I have something like connection lag (similar when resolution is changed) - video does not disappear but audio disappear for ~3 sec. It happens about every 5-25 mins. I've changed HDMI cable but it doesn't help. Here is error that is written in log when it happens: Code: Jan 08 10:15:12 LibreELEC kernel: rk-vcodec ff360000.rkvdec: closed RE: Linux Mainline - matteobp - 01-10-2018 Yesterday I tried the latest 0.6.13 release, and this is the last part of the output of dmesg command Code: [ OK ] Started Daily apt upgrade and clean activities. Notice in particular these 2 lines [ 8.299173] rk_gmac-dwmac ff540000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 12.775433] rk_gmac-dwmac ff550000.ethernet eth1: Link is Up - 100Mbps/Half - flow control off Same behaviour with both 4.4.103 and 4.15.0 kernel. The problem is still there. ![]() RE: Linux Mainline - maal - 01-10-2018 I don't think it's a problem. From datasheet (http://opensource.rock-chips.com/images/d/d7/Rockchip_RK3328_Datasheet_V1.1-20170309.pdf): GMAC 10/100/1000M Ethernet Controller Supports 10/100/1000-Mbps data transfer rates with the RGMII interfaces Supports 10/100-Mbps data transfer rates with the RMII interfaces There are 2 controllers, one is connected to internal FE PHY, the other is for external PHY device Supports both full-duplex and half-duplex operation Supports IEEE 802.1Q VLAN tag detection for reception frames Support detection of LAN wake-up frames and AMD Magic Packet frames Handles automatic retransmission of Collision frames for transmission Ethernet PHY Integrated IEEE 802.3/802.3u compliant 10/100Mbps Ethernet PHY Supporting both full and half duplex for either 10 or 100 Mb/s data rate Auto MDIX capable Supports wake-on-LAN, EEE 100Base-FX support Supports auto-negotiation According to dmesg messages both Ethernet controllers are connected: first at 1 Gbit/s, second at 100 Mbit/s (max supported by internal PHY). RE: Linux Mainline - matteobp - 01-10-2018 Ok. Clear. Thanks. RE: Linux Mainline - redfish - 01-13-2018 (09-24-2017, 05:26 AM)scat70 Wrote: Hi ! I'm still getting exactly this mmc error in my build of latest kernel from ayufan/linux-mainline-kernel 59389fa34d4f (above 4.15.0-rc3). Would updating u-boot help? If so, which instructions to follow, these?: http://opensource.rock-chips.com/wiki_U-Boot RE: Linux Mainline - ayufan - 01-14-2018 It was fixed. Maybe you have some other problem? RE: Linux Mainline - redfish - 01-14-2018 (01-14-2018, 05:00 AM)ayufan Wrote: It was fixed. Maybe you have some other problem? The above is exactly the output from serial console that I am getting now. Then I am being dropped into a maintanance shell (because my rootfs is on emmc). Do you recall the commit that fixed this problem (even approximately, I can search for it)? I posted the commit hash i'm using: does that hash include the fix? RE: Linux Mainline - redfish - 01-15-2018 (01-13-2018, 10:19 PM)redfish Wrote:(09-24-2017, 05:26 AM)scat70 Wrote: Hi ! Fixed by merging a patch from ayufan's linux-kernel into ayufan's linux-mailine kernel: 95368b4b832d932f75a1813a056805b84af9cff6 ayufan: bring back required clocks for emmc to make it working Submitted pull request: https://github.com/ayufan-rock64/linux-mainline-kernel/pull/1 RE: Linux Mainline - t4_4t - 01-19-2018 Two LEDs (white: Power, red: Stanby) on rock64-board are not displayed correctly. Do you recognize that? Concrete state is: In kernel-4.4.103 both of them are always off, and in kernel-4.15.0 both are always on. When confirming Commits, the LED display has been changed several times. And the contents of the last Commits are as follows. Looking at this, I think that the above state is different from the expected behavior. Finally, The kernel-4.15.0 @ 0.6.13 setting is "heartbeat" & "mmc 0". And this version will work correctly, I add this and report it. --- ayufan: rock64: use disk-activity as trigger Change-Id: I1467219088d94df1f874319afd8bf286c64ed6a7 standby-led { ... standby-led { - linux,default-trigger = "heartbeat"; - gpios = <&rk805 1 GPIO_ACTIVE_LOW>; + linux,default-trigger = "disk-activity"; + gpios = <&rk805 0 GPIO_ACTIVE_LOW>; default-state = "on"; }; power-led { - linux,default-trigger = "mmc0"; - gpios = <&rk805 0 GPIO_ACTIVE_LOW>; + gpios = <&rk805 1 GPIO_ACTIVE_LOW>; default-state = "on"; }; ... |