PINE64
Kernel for A64 git - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Linux on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=6)
+--- Thread: Kernel for A64 git (/showthread.php?tid=293)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18


RE: Kernel for A64 git - longsleep - 02-23-2016

(02-22-2016, 03:09 PM)longsleep Wrote: I imported the changes from the 1.2 BSP release to https://github.com/longsleep/linux-pine64/tree/lichee-dev-v3.10.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.


RE: Kernel for A64 git - tllim - 02-23-2016

(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-pine64/tree/lichee-dev-v3.10.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.


RE: Kernel for A64 git - patrickhwood - 02-23-2016

(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-pine64/tree/lichee-dev-v3.10.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.


RE: Kernel for A64 git - longsleep - 02-24-2016

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 ?


RE: Kernel for A64 git - tllim - 02-24-2016

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



RE: Kernel for A64 git - longsleep - 02-25-2016

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-pine64-image/commit/5e183825d512a6cae382a42e156118aefbd8c27e 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-pine64/tree/pine64-hacks-1.2?files=1


RE: Kernel for A64 git - duanhongyi - 02-25-2016

I found no GPIO equipment


RE: Kernel for A64 git - umiddelb - 02-25-2016

(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-pine64-image/commit/5e183825d512a6cae382a42e156118aefbd8c27e 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-pine64/tree/pine64-hacks-1.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?


RE: Kernel for A64 git - longsleep - 02-25-2016

Well you can try if it makes a difference if U-Boot loads the updated dtb but please try :-)


RE: Kernel for A64 git - patrickhwood - 02-25-2016

(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-pine64-image/commit/5e183825d512a6cae382a42e156118aefbd8c27e 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-pine64/tree/pine64-hacks-1.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?tid=289&pid=2318&highlight=iperf#pid2318

Pat