|
Posted at 7/9/2015 07:23:35
Only Author
13#
Last edited by return0 In 7/9/2015 07:42 Editor
Hi, yes you can flash only the resource.img file using the Rockchip tools - keep a backup of the original file, which as you figured will be handy in case something goes wrong (simply re-flash it).
The userdata partition is not erased unless you do it manually so your data will remain safe!
Your DTS already matches the patch you want to apply:
- eth@ff290000 {
- compatible = "rockchip,rk3288-gmac";
- reg = <0xff290000 0x10000>;
- interrupts = <0x0 0x1b 0x4>;
- interrupt-names = "macirq";
- clocks = <0x67 0x79 0x0 0x79 0x1 0x79 0x2 0x79 0x3 0x7b 0x0 0x7b 0x1>;
- clock-names = "clk_mac", "mac_clk_rx", "mac_clk_tx", "clk_mac_ref", "clk_mac_refout", "aclk_mac", "pclk_mac";
- phy-mode = "rgmii";
- pinctrl-names = "default";
- pinctrl-0 = <0xe6 0xe7 0xe8 0xe9>;
- reset-gpio = <0x5 0x8 0x1>;
- clock_in_out = "input";
- tx_delay = <0x30>;
- rx_delay = <0x20>;
- };
Copy the code
So if that's the fix (https://bitbucket.org/T-Firefly/ ... 09b6e49325613e137ed) then you actually don't need to do anything.
Can I ask how you came to the conclusion that your ethernet is slow? Are you 100% confident that it's not a problem in your LAN?
You mentioned:
My only problem is the very slow LAN and WiFi which is on a 10mbps level with trasfer so low as 1MB/s
LAN and WiFi are two completely differnet things in terms of hardware architecture - I struggle to believe that both have exactly the same issue unless the problem is within your network or the OS.
Also for the record, 1MB/s (megabyte, not megabit in this case) is actually not a bad speed at all if you're talking about a download from the Internet.
As you can see, WiFi has its own individual DTS node which would not be affected by whatever you change in the ethernet node:
- wireless-wlan {
- compatible = "wlan-platdata";
- wifi_chip_type = "bcmwifi";
- sdio_vref = <0x708>;
- power_pmu_regulator = "act_ldo3";
- power_pmu_enable_level = <0x1>;
- vref_pmu_regulator = "act_ldo3";
- vref_pmu_enable_level = <0x1>;
- WIFI,poweren_gpio = <0x5 0x1c 0x0>;
- WIFI,host_wake_irq = <0x5 0x1e 0x0>;
- status = "okay";
- };
Copy the code
What is the WiFi connection speed that you see when connected to your usual access point? What about ethernet?
|
|