pine64 512MB network unusable
#13
(05-03-2016, 06:43 AM)Manilow Wrote: The pine64(512) stays at 480MHz and 36°C temperature, when I run my testscript, while the PINE64+ (1GB) jumps up to 912MHz and 53°C, when running the script. [...]

how the decision is made, which of those dtb files is used?  Right now there are both files in the /boot/pine64 folder.

Regarding .dtb first: This is u-boot's job. By looking at the available DRAM the correct .dtb will be chosen (using the wrong .dtb would most probably result in no network at all but I'm not 100% sure).

Cpufreq does matter (at least with ARMv7 boards this was an observation) so please consider adding priot to "exit 0" to /etc/rc.local:
Code:
echo performance >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

And then regarding TX/RX delay. We have several sunxi boards where depending on these values you get almost no packets through the wire. Longsleep did many testings (details here) but IIRC he was focused on Pine64+ so maybe they're completely off for Pine64. Some background information: http://linux-sunxi.org/Ethernet#GMAC and http://forum.armbian.com/index.php/topic...h-gigabit/

And also another issue that plagued users of Olimex boards that use a different external PHY than most other boards (RTL8211CL instead of RTL8211E): https://www.mail-archive.com/u-boot@list...07006.html

The links aren't meant as 'here you find a solution' but just to outline in which sorts of problems you might run (and I really mean you since I believe of the few linux-sunxi devs that work on Pine64 support only longsleep got also the 512MB board -- and pays not that much attention to it since not just in his opinion the 2GB version with GbE is the only interesting one)

Addendum: Using longsleep's monitoring script you can get the actual values but I find it sometimes more convenient to use a real monitoring solution that also gives access to 'historical' data. I provide a simple installation routine for Ubuntu on Pine64+ with all the adjustments for A64/AXP803: http://kaiser-edv.de/tmp/4U4tkD/install-...for-a64.sh (takes a few minutes to install)

EDIT: Just realized that you don't use an original OS image but a 3rd party one. In case you haven't done already please ensure you really use latest u-boot/kernel fixes:

Code:
bash <(curl -s https://raw.githubusercontent.com/longsleep/build-pine64-image/master/simpleimage/platform-scripts/pine64_update_uboot.sh)
bash <(curl -s https://raw.githubusercontent.com/longsleep/build-pine64-image/master/simpleimage/platform-scripts/pine64_update_kernel.sh)
bash <(curl -s https://raw.githubusercontent.com/longsleep/build-pine64-image/master/simpleimage/platform-scripts/pine64_fix_whatever.sh)

Just to ensure u-boot is up-to-date to choose the correct .dtb.

(05-03-2016, 06:43 AM)Manilow Wrote: Furthermore: The files in the /boot/pine64 directory or binary, while your github files are text. How do I convert them to binary?

Sorry, overread that. You need the dtc tool. No idea whether that's part of your distro but since this is Debian an 'apt-get install devicetree-compiler' should do the job (ditto a web search for 'dtc dtb dts' for the basic syntax)


Messages In This Thread
pine64 512MB network unusable - by Manilow - 04-29-2016, 08:05 AM
RE: pine64 512MB network unusable - by tkaiser - 04-29-2016, 08:32 AM
RE: pine64 512MB network unusable - by longsleep - 04-29-2016, 11:23 AM
RE: pine64 512MB network unusable - by androsch - 04-29-2016, 04:56 PM
RE: pine64 512MB network unusable - by Manilow - 05-01-2016, 11:33 AM
RE: pine64 512MB network unusable - by tkaiser - 05-01-2016, 11:43 AM
RE: pine64 512MB network unusable - by Manilow - 05-01-2016, 11:57 AM
RE: pine64 512MB network unusable - by tkaiser - 05-01-2016, 12:07 PM
RE: pine64 512MB network unusable - by Manilow - 05-02-2016, 03:40 AM
RE: pine64 512MB network unusable - by Manilow - 05-02-2016, 10:45 AM
RE: pine64 512MB network unusable - by longsleep - 05-02-2016, 10:46 AM
RE: pine64 512MB network unusable - by Manilow - 05-03-2016, 06:43 AM
RE: pine64 512MB network unusable - by tkaiser - 05-03-2016, 07:07 AM
RE: pine64 512MB network unusable - by longsleep - 05-03-2016, 11:14 AM
RE: pine64 512MB network unusable - by Manilow - 05-04-2016, 01:56 AM
RE: pine64 512MB network unusable - by tkaiser - 05-04-2016, 02:09 AM
RE: pine64 512MB network unusable - by Manilow - 05-06-2016, 02:18 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Programming languages support under PINE64 baryluk 6 12,253 09-23-2020, 11:46 PM
Last Post: Phillip Bell
  Manjaro arm on pine64+ roel 2 5,881 10-19-2019, 05:13 AM
Last Post: roel
  Volumio for PINE64 Released mikelangeloz 11 24,373 03-22-2019, 09:25 AM
Last Post: llungster
  I2S Audio patches for Pine64+ uploaded to GitHub ramstadt 1 4,025 01-19-2019, 11:31 AM
Last Post: ramstadt
  Pine64: Minimal SDL config Max11 3 5,945 01-04-2019, 03:47 PM
Last Post: Max11
  Fedora 27 on Pine64 gregjo 18 35,055 01-02-2019, 10:42 PM
Last Post: heatfanjohn
  Official build procedure of ayufan pine64 r.tanaka 0 3,098 08-21-2018, 10:54 PM
Last Post: r.tanaka
  DKMS on kernel 3.10.107-pine64 obrienmd 5 8,563 06-21-2018, 05:45 PM
Last Post: evilbunny
  Gentoo for pine64 - longsleep kernel incoherent 0 3,628 12-09-2017, 08:14 AM
Last Post: incoherent
  Fedora Running On Pine64! cztian 26 37,036 10-26-2017, 05:51 PM
Last Post: gregjo

Forum Jump:


Users browsing this thread: 1 Guest(s)