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

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



Hi All,

it seems to me you are interesting hunters.

1. Dear pcolodron@xxxxxxxx: Please add your name at the end of email. Nice to
meet you Mr X.

2. it is easy to write that I have problem. As I wrote in some previous email -
more information would be helpful. PetaLinux version. MMU/noMMU kernel.
We live in FPGA world -> you can change what you want. Error log told you which
part of configuration seems to be wrong.
eth_halt, eth_send have IMHO relation with eth controller. That's why I should
send some information about my eth IP.

3. OK. You forget.
It seems to me you use petalinux 0.30. You use ll_temac IP in your hw. And
u-boot in this version support only emac or emailite. U-BOOT is configured that
your system includes any eht ip -> it is enabled eth support. U-BOOT enables
some eth commands as ping and others. And of course if you don't have eth driver
you miss some function as is eth_halt, eth_send and others.


4. Dear Alex. Of course you can comment some code to solve problems which you
had. But it is easy solution just go to
include/configs/petalogix-microblaze-auto.h (in latest version .template file)
and remove there configuration about networking.

5. Solution.
Update to latest version.

svn co https://developer.petalogix.com/pr/internal/petalinux/trunk/
pass: guest


Cheers,
Michal







Alex D. wrote:
> 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
> <mailto: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úl
> 
> 
> 
>     -----Mensaje original-----
>     De: owner-microblaze-uclinux@xxxxxxxxxxxxxx
>     <mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx>
>     [mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx
>     <mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx>] En nombre de
>     pcolodron@xxxxxxxx <mailto:pcolodron@xxxxxxxx>
>     Enviado el: viernes, 19 de diciembre de 2008 16:13
>     Para: microblaze-uclinux@xxxxxxxxxxxxxx
>     <mailto: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
>     <mailto:microblaze-uclinux@xxxxxxxxxxxxxx>
>     Project Home Page :
>     http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
>     <http://www.itee.uq.edu.au/%7Ejwilliams/mblaze-uclinux>
>     Mailing List Archive :
>     http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
>     <http://www.itee.uq.edu.au/%7Elistarch/microblaze-uclinux/>
> 
> 
>     ___________________________
>     microblaze-uclinux mailing list
>     microblaze-uclinux@xxxxxxxxxxxxxx
>     <mailto:microblaze-uclinux@xxxxxxxxxxxxxx>
>     Project Home Page :
>     http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
>     <http://www.itee.uq.edu.au/%7Ejwilliams/mblaze-uclinux>
>     Mailing List Archive :
>     http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
>     <http://www.itee.uq.edu.au/%7Elistarch/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/