PINE64

Full Version: Kernel for A64 git
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
(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.

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.
(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.

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.
(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.

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.
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 ?
, 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.
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
I found no GPIO equipment
(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?
Well you can try if it makes a difference if U-Boot loads the updated dtb but please try :-)
(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
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18