Kernel for A64 git
#11
(02-22-2016, 03:09 PM)longsleep Wrote: I imported the changes from the 1.2 BSP release to https://github.com/longsleep/linux-pine6....65-bsp1.2 on top of the first BSP.

As there are a lot of changes and GitHub cannot show them all, see http://paste.ubuntu.com/15174117/ for an overview.

@tllim i cannot see any changes to the gmac driver for ethernet? Is the fix to support 1000M Ethernet supposed to be in there?

Do you have any pointers or more information? Thank you.
#12
(02-23-2016, 02:53 PM)longsleep Wrote:
(02-22-2016, 03:09 PM)longsleep Wrote: I imported the changes from the 1.2 BSP release to https://github.com/longsleep/linux-pine6....65-bsp1.2 on top of the first BSP.

As there are a lot of changes and GitHub cannot show them all, see http://paste.ubuntu.com/15174117/ for an overview.

@tllim i cannot see any changes to the gmac driver for ethernet? Is the fix to support 1000M Ethernet supposed to be in there?

Do you have any pointers or more information? Thank you.

I will meet up with the engineer who involved in 1000M porting from BSP to Android build today and pass your question to him. Hopefully I will get back to you today.
#13
(02-23-2016, 02:53 PM)longsleep Wrote:
(02-22-2016, 03:09 PM)longsleep Wrote: I imported the changes from the 1.2 BSP release to https://github.com/longsleep/linux-pine6....65-bsp1.2 on top of the first BSP.

As there are a lot of changes and GitHub cannot show them all, see http://paste.ubuntu.com/15174117/ for an overview.

@tllim i cannot see any changes to the gmac driver for ethernet? Is the fix to support 1000M Ethernet supposed to be in there?

Do you have any pointers or more information? Thank you.

The changes for Gb ethernet are limited to the dtb. I got it working with the old android kernel by replacing the uboot/dtb blob.
#14
OK cool - what u-boot did you use? The one from the new Android image? I looked at the dtb's from the new BSP and without success. Also does it work with both 100 and 1000M now or only 1000M ?
#15
@longsleep, here is the suggestion from our Android engineer:

  1, . build.sh config select db1000 selection
   2, look for db1000 configuration file(a64-1.2/lichee/tools/pack/chips/sun50iw1p1/configs/db1000/sys_config.fex),and compare to the file I just attached(please rename the text file back to sys_config.fex), make sure that gmac0 configuration info is same.

Hopefully this method work, keep my finger cross.


Attached Files
.txt   sys_config.txt (Size: 57.78 KB / Downloads: 700)
#16
Thanks - i found some changes in the device tree which make 1000M and 100M connections work. Though the speeds are still unsatisfying. I will do some more digging - See https://github.com/longsleep/build-pine6...aefbd8c27e for the changes. Also there is now a new Kernel branch with with all the fixes on top of BSP 1.2 changes at https://github.com/longsleep/linux-pine6....2?files=1
#17
I found no GPIO equipment
#18
(02-25-2016, 01:16 AM)longsleep Wrote: Thanks - i found some changes in the device tree which make 1000M and 100M connections work. Though the speeds are still unsatisfying. I will do some more digging - See https://github.com/longsleep/build-pine6...aefbd8c27e for the changes. Also there is now a new Kernel branch with with all the fixes on top of BSP 1.2 changes at https://github.com/longsleep/linux-pine6....2?files=1

iperf reports speeds around 490-510 MBit/s with the BSP 1.2 kernel (longsleep/linux-pine64/tree/pine64-hacks-1.2)
I haven't updated u-boot-with-dtb.bin so far, do I need to do this due to recent changes in pine64.dts?
#19
Well you can try if it makes a difference if U-Boot loads the updated dtb but please try :-)
#20
(02-25-2016, 05:04 AM)umiddelb Wrote:
(02-25-2016, 01:16 AM)longsleep Wrote: Thanks - i found some changes in the device tree which make 1000M and 100M connections work. Though the speeds are still unsatisfying. I will do some more digging - See https://github.com/longsleep/build-pine6...aefbd8c27e for the changes. Also there is now a new Kernel branch with with all the fixes on top of BSP 1.2 changes at https://github.com/longsleep/linux-pine6....2?files=1

iperf reports speeds around 490-510 MBit/s with the BSP 1.2 kernel (longsleep/linux-pine64/tree/pine64-hacks-1.2)
I haven't updated u-boot-with-dtb.bin so far, do I need to do this due to recent changes in pine64.dts?

For outbound iperf tests, you need to run more than one thread to reach max throughput.  See http://forum.pine64.org/showthread.php?t...rf#pid2318

Pat


Possibly Related Threads…
Thread Author Replies Views Last Post
  PineA64+: Audio in 5.0 Kernel puzzles 6 10,100 11-13-2019, 09:41 AM
Last Post: roel
  Rockpro64 NFS root mount (kernel 4.20) - ethernet help? tenspd137 0 3,195 12-06-2018, 01:14 AM
Last Post: tenspd137
  NVMe and new kernel bjbb17 0 2,867 09-25-2018, 03:39 PM
Last Post: bjbb17
  Real-time linux kernel Artyom 45 80,639 09-11-2018, 01:08 AM
Last Post: zzwpine
  DKMS on kernel 3.10.107-pine64 obrienmd 5 9,572 06-21-2018, 05:45 PM
Last Post: evilbunny
  Gentoo for pine64 - longsleep kernel incoherent 0 3,884 12-09-2017, 08:14 AM
Last Post: incoherent
  [SOLVED] UEFI + Fedora Mainline Kernel Booting! cztian 0 3,609 07-13-2017, 08:38 PM
Last Post: cztian
  Mainline kernel [Solved] jeroen79 11 21,357 02-08-2017, 06:19 AM
Last Post: umiddelb
Question Need help : Issue in running compiled kernel with tftp+uboot dinesh.bhoyar 2 5,137 01-30-2017, 12:44 AM
Last Post: dinesh.bhoyar
  Jackd triggers kernel warning cztian 0 3,759 09-03-2016, 08:16 AM
Last Post: cztian

Forum Jump:


Users browsing this thread: 6 Guest(s)