[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] lltemac
Hi guys,
I have exectly the same problem as described below. Has a solution
already been found?
I have successfully applied the patches (with some manual intervention
in the makefile) and was able to build without any problems.
When I try to boot the kernel I also receive the following messages:
Setting up interface eth0:
SIOCSIFADDR: No such device
eth0: unknown interface: No such device
Thanks in advance.
Regards,
Tommy Kamps
2008/6/10 ruzhu kao <kaoruzhu@xxxxxxxxx>:
> Hi,
> I've already added these fragments to the Makefile, however, it seems
> that the OS can not find MAC. I know that in xilinx kernel for ppc system,
> when I choose ethernet driver, then I must choose PHY interface type at the
> same time according my setting. Is there anything that I need to set on PHY
> interface or any other changes on lltemac driver?
>
> 2008/6/9 John Williams <jwilliams@xxxxxxxxxxxxxx>:
>>
>> Hi,
>>
>> ruzhu kao wrote:
>>
>>> ####################################################################
>>> It seems that the lltemac driver can not properly work.
>>> When I apply the third patch, some code lines cannot add to these files:
>>>
>>> linux-2.6.x-petalogix/include/asm-microblaze/delay.h
>>> line 14: add #include <asm/param.h> /*For HZ*/
>>>
>>> linux-2.6.x-petalogix/arch/microblaze/platform/common/Makefile
>>> line 30: add $(obj)/xlltemac.o: .config
>>
>> You'll need to study the patch files and do a manual merge of these
>> fragments.
>>
>> Make sure in arch/microblaze/platform/common/Makefile there are two lines
>> refering to xlltemac.o - one will be somethingl ike obj-${CONFIG_LL_TEMAC)
>> += xlltemac.o, and the other is the one you show above.
>>
>> Both must be preset. Try sprinkling printk in the
>> platfomr/common/xlltemac.c file. This is the platform device initialiser,
>> it tells the kernel that ya device of time ll_temac is present. The kernel
>> then binds this with the driver upon boot. Both the plat initialiser and
>> driver must be present for the device to register.
>>
>> On system boot, look in /sys heiarchy, see if you can find the lltemac
>> device in there.
>>
>> Regards,
>>
>> John
>> ___________________________
>> microblaze-uclinux mailing list
>> microblaze-uclinux@xxxxxxxxxxxxxx
>> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
>> Mailing List Archive :
>> http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
>>
>
>
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/