Hi, On Mon, Dec 08, 2014 at 03:00:20AM -0800, [email protected] wrote: > Hi, > > I am trying to run kernel 3.10 (I know, it's old and experimental, > but I need it) on Cubieboard2. I referenced linux-sunxi's > "experimental/sunxi-3.10" branch, and took some patch out of it > concerning pinctrl, clk, and dts. > > I gave up trying to backport mmc support from 3.16 since it's too > far, so I am trying to enable emac to boot from NFS. I saw EMAC > "enable" patch on experimental/sunxi-3.10, and tried it on. Since > nothing yet under driver/net/ethernet/allwinner on 3.10, I copied > the code for sun4i-emac driver from 3.11. > > Running on initramfs, the emac driver loaded and the link is on > (eth0 shown on ifconfig), but dhcp cannot retreive ip address. I > tried setting the ip manually, but I can't seem to connect to the > network. No ping reached. > > So I tried debugging sun4i-emac, I figured that : > 1. emac_tx_done is called after emac_start_xmit, but not sure if it's sent out > of PHY > 2. emac_rx is called from ISR, however the packet is always removed from > FIFO after failing to check the EMAC_UNDOCUMENTED_MAGIC on the packet > header. > It always show the same value: 7fbb7dbe > > Has anyone tried experimental-3.10 on cubieboard2 and ran emac before?
I would seriously advise against using the experimental-3.10 kernel. On top of being experimental, it's not (and never has been) actively maintained, is mostly untested, and you'll encounter such things. Why do you absolutely need such an old kernel? Do you have the same behaviour if you take a mainline 3.10 and backport the patches? Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: Digital signature
