2008-08-22 10:57:23     compiling the kernel

Document created by Aaronwu Employee on Aug 7, 2013
Version 1Show Document
  • View in full screen mode

2008-08-22 10:57:23     compiling the kernel

damien OLLIVE (UNITED STATES)

Message: 60918   

 

I try to install pictureflow sur BF548

 

 

 

I am following the demo http://docs.blackfin.uclinux.org/doku.php?id=hw:boards:bf548_media_demonstration

 

 

 

The first one is that i can't compiling the kernel (my distribution is uClinux-dist-2008R1.5-RC3)

 

 

 

I have booted my board by the Uart and start uClinux with the uimage (uImage-bf548-ezkit-2008R1.5-RC3) but I can't create my own uimage with all i need to install QT library and picture flow and also the vmimage. when i build the kernel I have :

 

 

 

 

 

dam@dam-laptop:~/blackfin-sources/uClinux$ make NON_SMP_BUILD=1

 

...

 

 

 

creating libisccc.la

 

(cd .libs && rm -f libisccc.la && ln -s ../libisccc.la libisccc.la)

 

touch timestamp

 

make[6]: quittant le répertoire « /home/dam/blackfin-sources/uClinux/user/bind/builddir/lib/isccc »

 

making all in /home/dam/blackfin-sources/uClinux/user/bind/builddir/lib/dns

 

make[6]: entrant dans le répertoire « /home/dam/blackfin-sources/uClinux/user/bind/builddir/lib/dns »

 

cc -I/home/dam/blackfin-sources/uClinux/user/bind/builddir -I. -Iinclude -I/home/dam/blackfin-sources/uClinux/user/bind/builddir/lib/dns/include -I../../../lib/dns/include -I/home/dam/blackfin-sources/uClinux/user/bind/builddir/lib/isc/include -I../../../lib/isc -I../../../lib/isc/include -I../../../lib/isc/unix/include -I../../../lib/isc/nothreads/include -DUSE_MD5 -pipe -Wall -g -O2 -mcpu=bf548-0.0 -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wl,-elf2flt -mcpu=bf548-0.0 -o gen ../../../lib/dns/gen.c -lnsl

 

`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.

 

`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.

 

../../../lib/dns/gen.c:1: erreur: valeur erronée (bf548-0.0) pour l'option -mtune=

 

make[6]: *** [gen] Erreur 1

 

make[6]: quittant le répertoire « /home/dam/blackfin-sources/uClinux/user/bind/builddir/lib/dns »

 

make[5]: *** [subdirs] Erreur 1

 

make[5]: quittant le répertoire « /home/dam/blackfin-sources/uClinux/user/bind/builddir/lib »

 

make[4]: *** [subdirs] Erreur 1

 

make[4]: quittant le répertoire « /home/dam/blackfin-sources/uClinux/user/bind/builddir »

 

make[3]: *** [all] Erreur 2

 

make[3]: quittant le répertoire « /home/dam/blackfin-sources/uClinux/user/bind »

 

make[2]: *** [bind] Erreur 2

 

make[2]: quittant le répertoire « /home/dam/blackfin-sources/uClinux/user »

 

make[1]: *** [all] Erreur 2

 

make[1]: quittant le répertoire « /home/dam/blackfin-sources/uClinux/user »

 

make: *** [subdirs] Erreur 1

 

 

 

 

 

If you have an idea to help me to build my kernel thank you.

QuoteReplyEditDelete

 

 

2008-08-22 14:11:45     Re: compiling the kernel

damien OLLIVE (UNITED STATES)

Message: 60925   

 

ok i managed to compile

 

 

 

I have a second problem is that i can't connect to the snoopy.ad.analog.com and I am so stop in the step 11 (of the bf548_media_demonstration), i can't find the the Filesystem to load it onto the hard drive.

 

 

 

i don't know what is snoopy.ad.analog.co, I think the filesystem i have to load onto the hard drive is rootfs.ext2 that I have in the folder image can I load it without snoopy.ad.analog.com

 

 

 

 

 

root:/> mount -t nfs -o rsize=1024,wsize=1024,nolock snoopy.ad.analog.com:/srv/nfs4 /nfs

 

mount: snoopy.ad.analog.com: Unknown host

 

 

 

 

 

dam@dam-laptop:~$ nslookup snoopy.ad.analog.com

 

Server: 68.87.64.146

 

Address: 68.87.64.146#53

 

 

 

Non-authoritative answer:

 

*** Can't find snoopy.ad.analog.com: No answer

 

 

 

dam@dam-laptop:~$ nslookup www.analog.com

 

Server: 68.87.64.146

 

Address: 68.87.64.146#53

 

 

 

Non-authoritative answer:

 

www.analog.com canonical name = global-www.analog.com.edgesuite.net.

 

global-www.analog.com.edgesuite.net canonical name = global-www.analog.com.edgesuite.net.chinaredirector.akadns.net.

 

global-www.analog.com.edgesuite.net.chinaredirector.akadns.net canonical name = a257.g.akamai.net.

 

Name: a257.g.akamai.net

 

Address: 8.15.32.35

 

Name: a257.g.akamai.net

 

Address: 8.15.32.27

 

 

 

dam@dam-laptop:~$ ifconfig eth0

 

eth0 Link encap:Ethernet HWaddr 00:1b:24:72:28:f3

 

inet adr:10.137.201.119 Bcast:10.137.201.255 Masque:255.255.255.0

 

adr inet6: fe80::21b:24ff:fe72:28f3/64 Scope:Lien

 

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

 

Packets reçus:233902 erreurs:0 overruns:0 frame:0

 

TX packets:154608 errors:0 dropped:0 overruns:0 carrier:0

 

collisions:0 lg file transmission:1000

 

Octets reçus:267089229 (254.7 MB) Octets transmis:30096725 (28.7 MB)

 

Interruption:17 Adresse de base:0x2000

 

 

 

 

QuoteReplyEditDelete

 

 

2008-08-22 15:20:03     Re: compiling the kernel

Mike Frysinger (UNITED STATES)

Message: 60928   

 

the documentation already says that the snoopy server is internal only and will not work for people external to ADI

QuoteReplyEditDelete

 

 

2008-08-24 21:20:31     Re: compiling the kernel

Robin Getz (UNITED STATES)

Message: 60954   

 

Damien:

 

It looks like you don't have the Blackfin toolchain installed. (you are compiling things with cc not bfin-xxx-gcc).

 

See:

 

https://docs.blackfin.uclinux.org/doku.php?id=toolchain:installing

 

-Robin

Attachments

    Outcomes