Subject: [P.A. Semi] Does the ethernet interface work on your Electra, Chitra, Nemo, and Athena board?

From: Christian Zigotzky <[email-masked]>
Date: Mon, 7 Dec 2015 13:09:12 +0100

Michael,

Maybe a DMA issue. Please find attached an output of strace.

Cheers,

Christian

On 03 December 2015 1:37 PM, Christian Zigotzky wrote:
> Hi Michael,
>
> I checked out the Linux git till the commit 'powerpc-4.3-1'
>
> git checkout ff474e8ca8547d09cb82ebab56d4c96f9eea01ce
>
> Output:
>
> Checking out files: 100% (13843/13843), done.
> Note: checking out 'ff474e8ca8547d09cb82ebab56d4c96f9eea01ce'.
>
> You are in 'detached HEAD' state. You can look around, make experimental
> changes and commit them, and you can discard any commits you make in this
> state without impacting any branches by performing another checkout.
>
> If you want to create a new branch to retain commits you create, you may
> do so (now or later) by using -b with the checkout command again. 
> Example:
>
>   git checkout -b new_branch_name
>
> HEAD ist jetzt bei ff474e8... Merge tag 'powerpc-4.3-1' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux
>
> ---
>
> The P.A. Semi Ethernet doesn't work with the powerpc-4.3-1 merge. I 
> reverted this merge with:
>
> git revert ff474e8ca8547d09cb82ebab56d4c96f9eea01ce -m 1
>
> Output:
>
>  Committer: christian <[email-masked]>
> Ihr Name und E-Mail Adresse wurden automatisch auf Basis
> Ihres Benutzer- und Rechnernamens konfiguriert. Bitte prüfen Sie, dass
> diese zutreffend sind. Sie können diese Meldung unterdrücken, indem Sie
> diese explizit setzen:
>
>     git config --global user.name "Ihr Name"
>     git config --global user.email [email-masked]
>
> Nachdem Sie das getan hast, können Sie Ihre Identität für diesen 
> Commit ändern mit:
>
>     git commit --amend --reset-author
>
>  146 files changed, 2047 insertions(+), 3609 deletions(-)
>  delete mode 100644 
> Documentation/devicetree/bindings/leds/leds-powernv.txt
>  delete mode 100644 
> Documentation/devicetree/bindings/powerpc/fsl/scfg.txt
>  delete mode 100644 arch/powerpc/boot/dts/t1040d4rdb.dts
>  delete mode 100644 arch/powerpc/boot/dts/t1042d4rdb.dts
>  delete mode 100644 arch/powerpc/boot/dts/t104xd4rdb.dtsi
>  delete mode 100644 arch/powerpc/configs/85xx-32bit.config
>  delete mode 100644 arch/powerpc/configs/85xx-64bit.config
>  delete mode 100644 arch/powerpc/configs/85xx-hw.config
>  delete mode 100644 arch/powerpc/configs/85xx-smp.config
>  delete mode 100644 arch/powerpc/configs/altivec.config
>  create mode 100644 arch/powerpc/configs/corenet32_smp_defconfig
>  rename arch/powerpc/configs/{fsl-emb-nonhw.config => 
> corenet64_smp_defconfig} (50%)
>  delete mode 100644 arch/powerpc/configs/corenet_basic_defconfig
>  delete mode 100644 arch/powerpc/configs/mpc85xx_basic_defconfig
>  create mode 100644 arch/powerpc/configs/mpc85xx_defconfig
>  create mode 100644 arch/powerpc/configs/mpc85xx_smp_defconfig
>  delete mode 100644 arch/powerpc/include/asm/trace_clock.h
>  delete mode 100644 arch/powerpc/kernel/trace_clock.c
>  rewrite arch/powerpc/platforms/powernv/opal-power.c (76%)
>  delete mode 100644 drivers/leds/leds-powernv.c
>
> ---
>
> After that the P.A. Semi Ethernet works without any problems.
>
> Cheers,
>
> Christian
>