Hello,
I have tried to compile the Linux Kernel 2.6 from the
"petalinux-v0.20-rc3.tar.gz" release without patches.
I have some bugs during bootup. So I enabled some "Kernel hacking"
options for better checking the problems. See the attached JPEG file for the
selected options. If I do so the emaclite ethernet driver doesn't
compile any longer due to a first wrong argument to the spin_lock_...
functions. The first argument to these functions must be a pointer to a
"spin_lock_t" variable.
Here is a patch to correct this bug in the emaclite driver. I think the
same problem is present in the full emac driver.