[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Petalinux U-Boot compiling



Hi,

I had similar issues when configuring without the ethernet IP core.

This is what I had to do:

Do the following:

edit /net/net.c line #93 to !CFG_CMD_NET

edit /common/cmd_net.c #31, same thing as above

edit /common/cmd_nvedit.c #49, #365, same thing as above.

 

This should get everything working.  Basically, I negate whatever CFG_CMD_NET was defined as.  It seems that if I were able to find where CFG_CMD_NET is defined, I could simply toggle its present state in one location instead of negating it at 3 different locations.  


But that should get you going.


-alex



On Fri, Dec 19, 2008 at 7:36 AM, Torrego Raul <RTorrego@xxxxxxxxxx> wrote:
Hi,

It seems that you have something wrong with the u-boot configuration. Look there (in the apps, not in the kernel configuration) and look for something related with networking.

Regards

Ra�>


-----Mensaje original-----
De: owner-microblaze-uclinux@xxxxxxxxxxxxxx [mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] En nombre de pcolodron@xxxxxxxx
Enviado el: viernes, 19 de diciembre de 2008 16:13
Para: microblaze-uclinux@xxxxxxxxxxxxxx
Asunto: [microblaze-uclinux] Petalinux U-Boot compiling

Hi,

I am trying to work with Petalinux in my Digilent Nexys2 board but I
have some problems when compiling the u-boot. Here is the error that
appears:

net/libnet.a(net.o): In function `ArpRequest':
/root/petalinux3/software/petalinux-dist/u-boot/net/net.c:219:
undefined reference to `eth_send'
net/libnet.a(net.o): In function `NetStartAgain':
/root/petalinux3/software/petalinux-dist/u-boot/net/net.c(.text+0x2f4):
undefined reference to `eth_halt'
net/libnet.a(net.o): In function `NetSendPacket':
/root/petalinux3/software/petalinux-dist/u-boot/net/net.c(.text+0x3f8):
undefined reference to `eth_send'
net/libnet.a(net.o): In function `NetSendUDPPacket':
/root/petalinux3/software/petalinux-dist/u-boot/net/net.c(.text+0x6f4):
undefined reference to `eth_send'
net/libnet.a(net.o): In function `NetReceive':
/root/petalinux3/software/petalinux-dist/u-boot/net/net.c(.text+0xac8):
undefined reference to `eth_send'
/root/petalinux3/software/petalinux-dist/u-boot/net/net.c(.text+0xb5c):
undefined reference to `eth_send'
net/libnet.a(net.o): In function `NetLoop':
/root/petalinux3/software/petalinux-dist/u-boot/net/net.c(.text+0xff0):
undefined reference to `eth_halt'
/root/petalinux3/software/petalinux-dist/u-boot/net/net.c(.text+0xffc):
undefined reference to `eth_init'
/root/petalinux3/software/petalinux-dist/u-boot/net/net.c(.text+0x1208):
undefined reference to `eth_halt'
/root/petalinux3/software/petalinux-dist/u-boot/net/net.c(.text+0x1284):
undefined reference to `eth_halt'
/root/petalinux3/software/petalinux-dist/u-boot/net/net.c(.text+0x12c0):
undefined reference to `eth_rx'
/root/petalinux3/software/petalinux-dist/u-boot/net/net.c(.text+0x13ec):
undefined reference to `eth_halt'
make[1]: *** [u-boot] Error 1
make[1]: se sale del directorio
`/root/petalinux3/software/petalinux-dist/u-boot'
make: *** [u-boot] Error 2


It seems that there is a problem with the ethernet controller but I do
not use it in my board. There is no Ethernet IP core in my EDK project
and the 'Networking support' in the menuconfig of Petalinux is not
enabled.

Does anybody have any idea? Any hint would be useful because I am a
newbie in this sense and I am stuck in this error.

Thank you very much for your help


___________________________
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/