2008-10-08 21:40:42 bf548 help !!!!!!
walid wajih (UNITED STATES)
Message: 63296
hello,
i am very new to the blackfin world and i got the bf548 ez-kit
i am trying to get the usb camera working ( logitech pro 900) and i understand from other posts that i need the trunk toolchain , uclibc and uclinux-dist
can anyone give me the EXACT links to what i have to download cz i cant find them ?
any help on what i have to do and the steps i should cover ?
thanks for helping a new guy !!!!!
QuoteReplyEditDelete
2008-10-08 21:45:18 Re: bf548 help !!!!!!
Mike Frysinger (UNITED STATES)
Message: 63297
there is a documentation wiki you should search:
http://docs.blackfin.uclinux.org/doku.php?id=developing_with_blackfin_live_sources
QuoteReplyEditDelete
2008-10-09 20:15:54 Re: bf548 help !!!!!!
walid wajih (UNITED STATES)
Message: 63355
thank u for the help !
i installed the toolchain as said in the link u provided .
after the toolchain it says i have to compile the u boot:
when i type "bf548-ezkit_config" i get the following message
make: bfin-uclinux-gcc: Command not found
Configuring for bf548-ezkit board...
any help????
thank u
QuoteReplyEditDelete
2008-10-09 20:25:58 Re: bf548 help !!!!!!
Mike Frysinger (UNITED STATES)
Message: 63356
again, there's a wiki. please search it.
QuoteReplyEditDelete
2008-10-09 21:21:09 Re: bf548 help !!!!!!
walid wajih (UNITED STATES)
Message: 63358
thanks ! but when i type make i get those errors:
cpu/blackfin/start.o: In function `start':
/home/ralph/Desktop/blackfin-sources/u-boot/cpu/blackfin/start.S:134: undefined reference to `initcode'
/home/ralph/Desktop/blackfin-sources/u-boot/cpu/blackfin/start.S:141: undefined reference to `_initcode_start'
/home/ralph/Desktop/blackfin-sources/u-boot/cpu/blackfin/start.S:142: undefined reference to `_initcode_start'
/home/ralph/Desktop/blackfin-sources/u-boot/cpu/blackfin/start.S:143: undefined reference to `_initcode_end'
/home/ralph/Desktop/blackfin-sources/u-boot/cpu/blackfin/start.S:144: undefined reference to `_initcode_end'
/home/ralph/Desktop/blackfin-sources/u-boot/cpu/blackfin/start.S:174: undefined reference to `_bss_start'
/home/ralph/Desktop/blackfin-sources/u-boot/cpu/blackfin/start.S:175: undefined reference to `_bss_start'
/home/ralph/Desktop/blackfin-sources/u-boot/cpu/blackfin/start.S:177: undefined reference to `_bss_end'
/home/ralph/Desktop/blackfin-sources/u-boot/cpu/blackfin/start.S:178: undefined reference to `_bss_end'
cpu/blackfin/libblackfin.a(cpu.o): In function `cpu_init_f':
/home/ralph/Desktop/blackfin-sources/u-boot/cpu/blackfin/cpu.c:33: undefined reference to `_stext_l1'
/home/ralph/Desktop/blackfin-sources/u-boot/cpu/blackfin/cpu.c:33: undefined reference to `_stext_l1'
/home/ralph/Desktop/blackfin-sources/u-boot/cpu/blackfin/cpu.c:42: undefined reference to `_etext_l1'
/home/ralph/Desktop/blackfin-sources/u-boot/cpu/blackfin/cpu.c:42: undefined reference to `_etext_l1'
/home/ralph/Desktop/blackfin-sources/u-boot/cpu/blackfin/cpu.c:42: undefined reference to `_stext_l1_lma'
/home/ralph/Desktop/blackfin-sources/u-boot/cpu/blackfin/cpu.c:42: undefined reference to `_stext_l1_lma'
/home/ralph/Desktop/blackfin-sources/u-boot/cpu/blackfin/cpu.c:44: undefined reference to `_sdata_l1'
/home/ralph/Desktop/blackfin-sources/u-boot/cpu/blackfin/cpu.c:44: undefined reference to `_edata_l1'
/home/ralph/Desktop/blackfin-sources/u-boot/cpu/blackfin/cpu.c:44: undefined reference to `_sdata_l1'
/home/ralph/Desktop/blackfin-sources/u-boot/cpu/blackfin/cpu.c:44: undefined reference to `_edata_l1'
/home/ralph/Desktop/blackfin-sources/u-boot/cpu/blackfin/cpu.c:44: undefined reference to `_sdata_l1_lma'
/home/ralph/Desktop/blackfin-sources/u-boot/cpu/blackfin/cpu.c:44: undefined reference to `_sdata_l1_lma'
common/libcommon.a(command.o): In function `find_cmd':
/home/ralph/Desktop/blackfin-sources/u-boot/common/command.c:358: undefined reference to `__u_boot_cmd_start'
/home/ralph/Desktop/blackfin-sources/u-boot/common/command.c:358: undefined reference to `__u_boot_cmd_start'
/home/ralph/Desktop/blackfin-sources/u-boot/common/command.c:361: undefined reference to `__u_boot_cmd_end'
/home/ralph/Desktop/blackfin-sources/u-boot/common/command.c:361: undefined reference to `__u_boot_cmd_end'
common/libcommon.a(command.o): In function `complete_cmdv':
/home/ralph/Desktop/blackfin-sources/u-boot/common/command.c:433: undefined reference to `__u_boot_cmd_start'
/home/ralph/Desktop/blackfin-sources/u-boot/common/command.c:433: undefined reference to `__u_boot_cmd_start'
/home/ralph/Desktop/blackfin-sources/u-boot/common/command.c:435: undefined reference to `__u_boot_cmd_end'
/home/ralph/Desktop/blackfin-sources/u-boot/common/command.c:435: undefined reference to `__u_boot_cmd_end'
/home/ralph/Desktop/blackfin-sources/u-boot/common/command.c:465: undefined reference to `__u_boot_cmd_start'
/home/ralph/Desktop/blackfin-sources/u-boot/common/command.c:465: undefined reference to `__u_boot_cmd_start'
/home/ralph/Desktop/blackfin-sources/u-boot/common/command.c:468: undefined reference to `__u_boot_cmd_end'
/home/ralph/Desktop/blackfin-sources/u-boot/common/command.c:468: undefined reference to `__u_boot_cmd_end'
common/libcommon.a(command.o): In function `do_help':
/home/ralph/Desktop/blackfin-sources/u-boot/common/command.c:246: undefined reference to `__u_boot_cmd_start'
/home/ralph/Desktop/blackfin-sources/u-boot/common/command.c:246: undefined reference to `__u_boot_cmd_end'
/home/ralph/Desktop/blackfin-sources/u-boot/common/command.c:246: undefined reference to `__u_boot_cmd_start'
/home/ralph/Desktop/blackfin-sources/u-boot/common/command.c:246: undefined reference to `__u_boot_cmd_end'
make: *** [u-boot] Error 1
thank u again
QuoteReplyEditDelete
2008-10-09 23:14:27 Re: bf548 help !!!!!!
walid wajih (UNITED STATES)
Message: 63361
i fixed the previous error but now i get the following :
create: unrecognized option `--bmode'
bfin-uclinux-ldr: Unknown option '?' or argument missing
Backtrace:
bfin-uclinux-ldr[0x8049c6a]
bfin-uclinux-ldr[0x804a5c2]
bfin-uclinux-ldr[0x804abed]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0x4005b450]
bfin-uclinux-ldr(read+0x49)[0x8049471]
make: *** [u-boot.ldr] Error 1
please heeeeeeeeelp
thank u
QuoteReplyEditDelete
2008-10-10 00:26:30 Re: bf548 help !!!!!!
Mike Frysinger (UNITED STATES)
Message: 63364
you're using the wrong versions. as documented in the FAQ, trunk u-boot requires trunk toolchain
QuoteReplyEditDelete
2008-10-10 12:22:12 Re: bf548 help !!!!!!
walid wajih (UNITED STATES)
Message: 63436
but i am using the toolchain , u boot and uclinux-dist that i downloaded from the 1st link u gave me.
the documentation says that those are the trunk files .
if not where do i get the right files?
thank u again and again and again ......
QuoteReplyEditDelete
2008-10-10 13:12:06 Re: bf548 help !!!!!!
Mike Frysinger (UNITED STATES)
Message: 63437
if your toolchain does not recognize --bmode, it means you have an older one in PATH or you downloaded an older one
QuoteReplyEditDelete
2008-10-10 14:53:39 Re: bf548 help !!!!!!
walid wajih (UNITED STATES)
Message: 63440
thank u so much for ur answers and i m so sorry for asking so many questions.
i found out that the PATH was not set proparly and finally i got u-boot compiled
now i m trying to compile the uclinux-distribution but i get the following error :
ake[5]: Entering directory `/home/ralph/Desktop/blackfin-sources/uclinux-dist/user/e2fsprogs/build-e2fsprogs-1.41.2/lib/e2p'
make[5]: *** No rule to make target `../../lib/ext2fs/ext2_err.h', needed by `feature.o'. Stop.
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory `/home/ralph/Desktop/blackfin-sources/uclinux-dist/user/e2fsprogs/build-e2fsprogs-1.41.2/lib/e2p'
make[4]: *** [all-libs-recursive] Error 1
make[4]: *** Waiting for unfinished jobs....
config.status: creating ./lib/uuid/uuid_types.h
config.status: executing default-1 commands
make[5]: Leaving directory `/home/ralph/Desktop/blackfin-sources/uclinux-dist/user/e2fsprogs/build-e2fsprogs-1.41.2'
make[5]: Entering directory `/home/ralph/Desktop/blackfin-sources/uclinux-dist/user/e2fsprogs/build-e2fsprogs-1.41.2/lib/et'
make[5]: `compile_et' is up to date.
make[5]: Leaving directory `/home/ralph/Desktop/blackfin-sources/uclinux-dist/user/e2fsprogs/build-e2fsprogs-1.41.2/lib/et'
make[5]: Entering directory `/home/ralph/Desktop/blackfin-sources/uclinux-dist/user/e2fsprogs/build-e2fsprogs-1.41.2/lib/ext2fs'
SUBST ext2_err.et
COMPILE_ET ext2_err.et
make[5]: Leaving directory `/home/ralph/Desktop/blackfin-sources/uclinux-dist/user/e2fsprogs/build-e2fsprogs-1.41.2/lib/ext2fs'
make[4]: Leaving directory `/home/ralph/Desktop/blackfin-sources/uclinux-dist/user/e2fsprogs/build-e2fsprogs-1.41.2'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/ralph/Desktop/blackfin-sources/uclinux-dist/user/e2fsprogs'
make[2]: *** [e2fsprogs] Error 2
make[2]: Leaving directory `/home/ralph/Desktop/blackfin-sources/uclinux-dist/user'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ralph/Desktop/blackfin-sources/uclinux-dist/user'
make: *** [subdirs] Error 1
ralph@ralph-laptop-ubuntu:~/Desktop/blackfin-sources/uclinux-dist$
hope u can help me with this . i really apreciate it
thank you again
QuoteReplyEditDelete
2008-10-10 15:38:01 Re: bf548 help !!!!!!
Mike Frysinger (UNITED STATES)
Message: 63441
there is no lib/e2p/ directory in svn ... you should not have one either
QuoteReplyEditDelete
2008-10-10 16:19:49 Re: bf548 help !!!!!!
walid wajih (UNITED STATES)
Message: 63442
so what do i do?
QuoteReplyEditDelete
2008-10-13 06:23:18 Re: bf548 help !!!!!!
Mike Frysinger (UNITED STATES)
Message: 63544
just run `make` again
QuoteReplyEditDelete
2008-10-13 14:22:33 Re: bf548 help !!!!!!
walid wajih (UNITED STATES)
Message: 63574
i ran make again but i have the sam problems.
QuoteReplyEditDelete
2008-10-22 13:46:10 Re: bf548 help !!!!!!
walid wajih (UNITED STATES)
Message: 64062
i m still stuck at this error :
if test "e2fsprogs" = "gettext-tools"; then \
/bin/sh ../../e2fsprogs-1.41.3/config/mkinstalldirs /home/icteam/sources/uclinux-dist/staging/usr/share/gettext/po; \
for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \
/usr/bin/install -c -m 644 ../../e2fsprogs-1.41.3/po/$file \
/home/icteam/sources/uclinux-dist/staging/usr/share/gettext/po/$file; \
done; \
for file in Makevars; do \
rm -f /home/icteam/sources/uclinux-dist/staging/usr/share/gettext/po/$file; \
done; \
else \
: ; \
fi
make[5]: Leaving directory `/home/icteam/sources/uclinux-dist/user/e2fsprogs/build-e2fsprogs-1.41.3/po'
if test ! -d e2fsck && test ! -d debugfs && test ! -d misc && test ! -d ext2ed ; then make install-libs ; fi
make[4]: Leaving directory `/home/icteam/sources/uclinux-dist/user/e2fsprogs/build-e2fsprogs-1.41.3'
make DVI=true MAKEINFO=true post-build
make[4]: Entering directory `/home/icteam/sources/uclinux-dist/user/e2fsprogs'
make[4]: Nothing to be done for `post-build'.
make[4]: Leaving directory `/home/icteam/sources/uclinux-dist/user/e2fsprogs'
set -e; \
cd /home/icteam/sources/uclinux-dist/staging; \
find ./usr/lib/ -name 'lib*.so*' -print0 | xargs -0 -r chmod 755; \
find ./usr/lib/ -name 'lib*.la' -o -name 'lib*.a' -print0 | xargs -0 -r chmod 644; \
find ./usr/lib/ -name 'lib*.la' -print0 | xargs -0 -r sed -i -e "/^libdir=/s:=.*:='/home/icteam/sources/uclinux-dist/staging/usr/lib':" -e "/^dependency_libs=/s: /usr/lib/: /home/icteam/sources/uclinux-dist/staging/usr/lib/:g"; \
find ./usr/lib/pkgconfig/ -name '*.pc' -print0 | xargs -0 -r sed -i "/^prefix=/s:=.*:='/home/icteam/sources/uclinux-dist/staging/usr':"; \
find ./usr/bin/ -name '*-config' -print0 | xargs -0 -r sed -i "/^prefix=/s:=.*:='/home/icteam/sources/uclinux-dist/staging/usr':"; \
test -d usr/bin || exit 0; \
cd usr/bin; \
for config in *-config ; do \
ln -s "/home/icteam/sources/uclinux-dist/staging/usr/bin/$config" "/home/icteam/sources/uclinux-dist/tools/bfin-uclinux-$config.$$"; \
mv "/home/icteam/sources/uclinux-dist/tools/bfin-uclinux-$config.$$" "/home/icteam/sources/uclinux-dist/tools/bfin-uclinux-$config"; \
done
make[3]: Leaving directory `/home/icteam/sources/uclinux-dist/user/e2fsprogs'
make[4]: Leaving directory `/home/icteam/sources/uclinux-dist/user/busybox/build-busybox-1.12.1'
make[3]: Leaving directory `/home/icteam/sources/uclinux-dist/user/busybox'
make[2]: Leaving directory `/home/icteam/sources/uclinux-dist/user'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/icteam/sources/uclinux-dist/user'
make: *** [subdirs] Error 1
any help ???
QuoteReplyEditDelete
2008-10-22 13:54:03 Re: bf548 help !!!!!!
Mike Frysinger (UNITED STATES)
Message: 64063
if it doesnt build, then dont enable it
QuoteReplyEditDelete
2008-10-23 11:04:41 Re: bf548 help !!!!!!
Kyle Schlansker (UNITED STATES)
Message: 64123
I was stuck for a while on what I thought was an e2fs build error, but it turned out to be an issue with mtd-utils. My own $LDPATH environment variable on my development machine was screwing up the build, so I removed that variable from the user/mtd-utils/Makefile:
80c80
< $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $^ $(LDPATH) -lz $(LDLIBS)
---
> $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $^ -lz $(LDLIBS)
I have no idea if this is what your problem is, but thought I'd throw it out there in case it was.
HTH
QuoteReplyEditDelete
2008-10-23 12:20:19 Re: bf548 help !!!!!!
walid wajih (UNITED STATES)
Message: 64127
thank you for the reply ,
but i cannot find " $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $^ $(LDPATH) -lz $(LDLIBS)"
in user/mtd-utils/Makefile
i attached my makefile if u could tell me what should be removed
thank you
Makefile
QuoteReplyEditDelete
2008-10-23 12:33:12 Re: bf548 help !!!!!!
Kyle Schlansker (UNITED STATES)
Message: 64128
It looks like the makefile has been changed a lot. I assume this is from trunk and not the 2008R1 branch?
I don't think we had the same problem so mtd-utils is probably a red herring.
I don't think you captured the true error message in your 2008-10-22 post. Could you re-run make and capture the entire output to a file and attach that?
QuoteReplyEditDelete
2008-10-23 13:56:06 Re: bf548 help !!!!!!
walid wajih (UNITED STATES)
Message: 64131
thank you for your answer.
it turned out to be an error with liblzo once i installed lzo everything compiled normally.
now when i selected the usb video driver class(which is y i m trying to compile the trunk)
i get the following errors (plz see attatchment )
hope u can help me
thank you
myoutout.txt
QuoteReplyEditDelete
2008-10-23 14:24:30 Re: bf548 help !!!!!!
Kyle Schlansker (UNITED STATES)
Message: 64132
I get the same errors if I try to build libeXosip2 without first building libosip2 so I suspect you're not enabling libosip2. Try enabling that in menuconfig and rerunning make. This is all assuming you need eXospi2 (which I assume you do since it's not enabled by default). If you don't need it, just disable it from menuconfig.
There should arguably be a Kconfig dependency on osip2 when enabling libeXosip2.
QuoteReplyEditDelete
2008-10-23 14:59:08 Re: bf548 help !!!!!!
Mike Frysinger (UNITED STATES)
Message: 64133
there is now