One more thing, I compiled the kernel in BIG ENDIAN mode.
On Monday, 8 December 2014 20:00:20 UTC+9, [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? > > Thanks. -- 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.
