This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Suggestion on buildroot usage and git repository to use

Other Parts Discussed in Thread: TMDXEVM3358

Hi everyone,

I'm using the kernel repository suggested on the sitara bootcamp "Linux Kernel Board Port" and the configuration file of the PSP package (I checked the config file and it works)

git://gitorious.org/sitara-board-port/sitara-board-port-linux.git

I can compile and the system can boot, the problem is with ethernet: I can see eth0 and eth1 but the connection fails:
udhcpc (v1.13.2) started
Sending discover...
[    8.696990] PHY: 0:00 - Link is Up - 100/Full
Sending discover...
Sending discover...
No lease, forking to background
Where am I wrong? Is the repository correct or is better to use the repo suggested on the PSP 04.06.00.08 Release Notes:
http://processors.wiki.ti.com/index.php/AM335x-PSP_04.06.00.08_Release_Notes
Thank you!
  • Hello,

    What is your board connected to through the ethernet? You will need to have a dhcp server available in order for udhcpc to automatically configure an IP address for your board.


    Regards,

    Dave

  • Hi Dave,

    Thanks for your answer, I have a working dhcp server on my network. If I use the PSP 04.06.00.08 available on ti site everything works fine, the problem is that I must build my custom PSP so I follow the bootcamp “U-boot/Linux Kernel Board Port” where I found two git repo for the kernel and bootloader.

    I get from a working PSP the kernel configuration and I built my custom PSP using buildroot (last stable relase).

    Actually the board can see the two Ethernet:

     

    # ifconfig -a

    eth0      Link encap:Ethernet  HWaddr D4:94:A1:80:AC:B4

              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

              RX packets:0 errors:0 dropped:0 overruns:0 frame:0

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

              collisions:0 txqueuelen:1000

              RX bytes:0 (0.0 B)  TX bytes:644 (644.0 B)

     

    eth1      Link encap:Ethernet  HWaddr D4:94:A1:80:AC:B5

              BROADCAST MULTICAST  MTU:1500  Metric:1

              RX packets:0 errors:0 dropped:0 overruns:0 frame:0

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

              collisions:0 txqueuelen:1000

              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

     

    lo        Link encap:Local Loopback

              inet addr:127.0.0.1  Mask:255.0.0.0

              UP LOOPBACK RUNNING  MTU:16436  Metric:1

              RX packets:0 errors:0 dropped:0 overruns:0 frame:0

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

              collisions:0 txqueuelen:0

              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

     

     

    I have configured the interfaces:

     

    # cat /etc/network/interfaces

    # Configure Loopback

    auto lo

    iface lo inet loopback

     

    auto eth0

    iface eth0 inet dhcp

     

    But the something fails:

     

    # /etc/init.d/S40network restart

    Stopping network...ifdown: interface eth0 not configured

    Starting network...

    [   91.064849] net eth0: CPSW phy found : id is : 0x4dd074

    udhcpc (v1.20.2) started

    Sending discover...

    [   94.065093] PHY: 0:00 - Link is Up - 100/Full

    Sending discover...

    Sending discover...

    No lease, failing

     

    Where I’m wrong?

  • Are you using custom hardware or one of our EVMs? If you are on TI hardware, you will be alright using TI's PSP 04.06.00.08 package and making changes directly to that. On custom hardware you should also be fine using the PSP provided by TI as long as you make the appropriate changes within the board file referenced in the Board Port Labs.

    Regards,

    Dave

  • I'm using the TMDXEVM3358 (AM335x Evaluation Module) with a WiLink 8 daughter board.

    Basically I’m rebuilding the PSP 04.06.00.08 using Buildroot. The Wlan fault seems due to the device manager:  I used devtmpfs and this should be the problem.

    At this time I have a running PSP using mdev but the get closer to official PSP 04.06.00.08 I’m trying to use udev… that’s the problem, I got this error:

     

    src/udev-builtin-input_id.c: In function 'test_key':

    src/udev-builtin-input_id.c:165:38: error: 'BTN_TRIGGER_HAPPY' undeclared (first use in this function)

    src/udev-builtin-input_id.c:165:38: note: each undeclared identifier is reported only once for each function it appears in

    make[3]: *** [src/udevadm-udev-builtin-input_id.o] Error 1

    make[3]: *** Waiting for unfinished jobs....

    src/udev-builtin-input_id.c: In function 'test_key':

    src/udev-builtin-input_id.c:165:38: error: 'BTN_TRIGGER_HAPPY' undeclared (first use in this function)

    src/udev-builtin-input_id.c:165:38: note: each undeclared identifier is reported only once for each function it appears in

    make[3]: *** [src/udevd-udev-builtin-input_id.o] Error 1

    make[2]: *** [all-recursive] Error 1

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

    make: *** [/home/marco/buildroot/ti2/build/udev-182/.stamp_built] Error 2

     

    It should be an incompatibility between udev (version udev-182) and the toolchain (arago-2011.09/armv7), Thomas Petazzoni (buildroot developer) wrote:

    your external toolchain is using too old kernel headers to build udev. So your options are:

     *) Use a more recent external toolchain that will have more recent kernel headers.

     *) Add a patch to udev that defines BTN_TRIGGER_HAPPY to the correct value when it is not already defined by kernel headers.

     

    Do you know a udev version and/or a toolchain compatible each other? Or a patch to fix the problem?

     

    Thanks!

    Marco.

  • Marco,

    The version of udev included with our SDK is udev-164, you will likely have better luck with this. The toolchain you are using is what is used internally to build our SDK.

    Regards,

    Dave

  • Buildroot use the repo http://kernel.org/pub/linux/utils/kernel/hotplug/ to find u-dev, the problem is that there’s no version 164 or 165 (I checked PSP 04.06.00.08 and it uses udev-165).

    Could you suggest a proper repository to use?

     

    I checked out the release 165 from http://git.kernel.org/?p=linux/hotplug/udev.git;a=summary and I run autogen.sh but the build fails with this error:

    >> udev 165 Configuring

    /bin/bash: ./configure: No such file or directory

    make: *** [/home/marco/buildroot/ti/build/udev-165/.stamp_configured] Error 127

     

    Could you tell me how to generate the correct configuration file? Or can you send me a working udev-164/5 package?

    Thanks!

  • Hello,

    I am able to successfully build udev tag 164 pulled down from the git tree you have provided without any error. Is it possible for you to provide all of the output you see after running autogen.sh?

    Regards,

    Dave

  • Hi Dave,

    I am also able to successfully build udev-164 on host pc (attached autogen.log).


    My problem is during cross compilation, I have also configured and tar udev-164

    ./configure

    make dist

     

    At this point I have udev-164 package.



    But during udev configuration (I’m using buildroot) I can’t resolve some packages requirements:

    >> udev 164 Configuring

    checking for USBUTILS... configure: error: Package requirements (usbutils >= 0.82) were not met:

     

    Package usbutils was not found in the pkg-config search path.

    Perhaps you should add the directory containing `usbutils.pc'

    to the PKG_CONFIG_PATH environment variable

    No package 'usbutils' found

     

    Consider adjusting the PKG_CONFIG_PATH environment variable if you

    installed software in a non-standard prefix.

     

    Alternatively, you may set the environment variables USBUTILS_CFLAGS

    and USBUTILS_LIBS to avoid the need to call pkg-config.

    See the pkg-config man page for more details.

     

    make: *** [/home/marco/buildroot/ti/build/udev-164/.stamp_configured] Error 1

     

    Attached complete log (build30.log).



    Thank you so much!

    Marco.

    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables... 
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking minix/config.h usability... no
    checking minix/config.h presence... no
    checking for minix/config.h... no
    checking whether it is safe to define __EXTENSIONS__... yes
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... 64
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for a sed that does not truncate output... /bin/sed
    checking for fgrep... /bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for ar... ar
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    checking for gawk... (cached) gawk
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for gtkdoc-check... /usr/bin/gtkdoc-check
    checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
    checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
    checking whether to build gtk-doc documentation... yes
    checking for xsltproc... /usr/bin/xsltproc
    checking for getprevcon in -lselinux... yes
    checking for gperf... /usr/bin/gperf
    checking for GLIB... yes
    checking for acl_init in -lacl... yes
    checking acl/libacl.h usability... yes
    checking acl/libacl.h presence... yes
    checking for acl/libacl.h... yes
    checking for LIBUSB... yes
    checking for USBUTILS... yes
    checking for /usr/share/pci.ids... no
    checking for /usr/share/hwdata/pci.ids... no
    checking for /usr/share/misc/pci.ids... yes
    checking for PCI database location... /usr/share/misc/pci.ids
    checking linux/input.h usability... yes
    checking linux/input.h presence... yes
    checking for linux/input.h... yes
    checking for INTROSPECTION... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating udev/udev.pc
    config.status: creating init/udev.service
    config.status: creating init/udev-settle.service
    config.status: creating init/udev-retry.service
    config.status: creating libudev/libudev.pc
    config.status: creating libudev/docs/Makefile
    config.status: creating libudev/docs/version.xml
    config.status: creating extras/gudev/gudev-1.0.pc
    config.status: creating extras/gudev/docs/Makefile
    config.status: creating extras/gudev/docs/version.xml
    config.status: creating config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    
    	udev 164
    	========
    
    	prefix:			/usr
    	sysconfdir:		/etc
    	sbindir:		/sbin
    	libdir:			/usr/lib
    	rootlibdir:		/lib
    	libexecdir:		/lib/udev
    
    	datarootdir:		${prefix}/share
    	mandir:			${datarootdir}/man
    	includedir:		${prefix}/include
    
    	include_prefix:		/usr/include
    
    	systemdsystemunitdir:	
    
    	logging:		yes
    	debug:			no
    	selinux:		yes
    
    	compiler:		gcc
    	cflags:			 -g -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat=2 -Wtype-limits -O2
    	ldflags:		
    
    	extras:			yes
    	gintrospection:		yes
    
    	usb.ids:		/var/lib/usbutils/usb.ids
    	pci.ids:		/usr/share/misc/pci.ids
    	firmware path:		\"/lib/firmware/updates/\", \"/lib/firmware/\"
    
    	xsltproc:		/usr/bin/xsltproc
    	gperf:			/usr/bin/gperf
    
    

    >>> udev 164 Configuring
    (cd /home/marco/buildroot/ti/build/udev-164/ && rm -rf config.cache && PATH="/home/marco/buildroot/ti/host/bin:/home/marco/buildroot/ti/host/usr/bin:/home/marco/buildroot/ti/host/usr/sbin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" AR="/home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-ar" AS="/home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-as" LD="/home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-ld" NM="/home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-nm" CC="/home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-gcc" GCC="/home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-gcc" CPP="/home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-cpp" CXX="/home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-g++" FC="/home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-gfortran" RANLIB="/home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-ranlib" READELF="/home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-readelf" STRIP="/home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-strip" OBJCOPY="/home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-objcopy" OBJDUMP="/home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" FC_FOR_BUILD="/usr/bin/ld" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/marco/buildroot/ti/host/usr/include" CFLAGS_FOR_BUILD="-O2 -I/home/marco/buildroot/ti/host/usr/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/marco/buildroot/ti/host/usr/include" LDFLAGS_FOR_BUILD="-L/home/marco/buildroot/ti/host/lib -L/home/marco/buildroot/ti/host/usr/lib -Wl,-rpath,/home/marco/buildroot/ti/host/usr/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-as" DEFAULT_LINKER="/home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -Os " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -pipe -Os " LDFLAGS="" FCFLAGS="" PKG_CONFIG="/home/marco/buildroot/ti/host/usr/bin/pkg-config" PERLLIB="/home/marco/buildroot/ti/host/usr/lib/perl" STAGING_DIR="/home/marco/buildroot/ti/host/usr/arm-buildroot-linux-gnueabi/sysroot" CXX=false ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no LIBS=-lrt ./configure --target=arm-buildroot-linux-gnueabi --host=arm-buildroot-linux-gnueabi --build=i686-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --program-prefix="" --disable-gtk-doc   --enable-ipv6 --enable-static --enable-shared  --sbindir=/sbin --with-rootlibdir=/lib --libexecdir=/lib --with-usb-ids-path=/usr/share/hwdata/usb.ids --with-pci-ids-path=/usr/share/hwdata/pci.ids --with-firmware-path=/lib/firmware --disable-introspection --disable-gudev )
    configure: WARNING: unrecognized options: --enable-ipv6, --with-usb-ids-path, --disable-gudev
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for arm-buildroot-linux-gnueabi-strip... /home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-strip
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for style of include used by make... GNU
    checking for arm-buildroot-linux-gnueabi-gcc... /home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables... 
    checking whether we are cross compiling... yes
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether /home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-gcc accepts -g... yes
    checking for /home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-gcc option to accept ISO C89... none needed
    checking dependency style of /home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-gcc... gcc3
    checking how to run the C preprocessor... /home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-cpp
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking minix/config.h usability... no
    checking minix/config.h presence... no
    checking for minix/config.h... no
    checking whether it is safe to define __EXTENSIONS__... yes
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... no
    checking build system type... i686-pc-linux-gnu
    checking host system type... arm-buildroot-linux-gnueabi
    checking for a sed that does not truncate output... /bin/sed
    checking for fgrep... /bin/grep -F
    checking for ld used by /home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-gcc... /home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-ld
    checking if the linker (/home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-nm
    checking the name lister (/home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-nm) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 805306365
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking for /home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-ld option to reload object files... -r
    checking for arm-buildroot-linux-gnueabi-objdump... /home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-objdump
    checking how to recognize dependent libraries... pass_all
    checking for arm-buildroot-linux-gnueabi-ar... /home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-ar
    checking for arm-buildroot-linux-gnueabi-strip... (cached) /home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-strip
    checking for arm-buildroot-linux-gnueabi-ranlib... /home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-ranlib
    checking command to parse /home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-nm output from /home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-gcc object... ok
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if /home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions... no
    checking for /home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-gcc option to produce PIC... -fPIC -DPIC
    checking if /home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-gcc PIC flag -fPIC -DPIC works... yes
    checking if /home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-gcc static flag -static works... yes
    checking if /home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-gcc supports -c -o file.o... yes
    checking if /home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-gcc supports -c -o file.o... (cached) yes
    checking whether the /home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-gcc linker (/home/marco/buildroot/ti/host/usr/bin/arm-arago-linux-gnueabi-ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking for gawk... (cached) gawk
    checking pkg-config is at least version 0.9.0... yes
    checking for gtkdoc-check... /usr/bin/gtkdoc-check
    checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
    checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
    checking whether to build gtk-doc documentation... no
    checking for xsltproc... /usr/bin/xsltproc
    checking for gperf... /home/marco/buildroot/ti/host/usr/bin/gperf
    checking for GLIB... yes
    checking for acl_init in -lacl... yes
    checking acl/libacl.h usability... yes
    checking acl/libacl.h presence... yes
    checking for acl/libacl.h... yes
    checking for LIBUSB... yes
    checking for USBUTILS... configure: error: Package requirements (usbutils >= 0.82) were not met:
    
    Package usbutils was not found in the pkg-config search path.
    Perhaps you should add the directory containing `usbutils.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'usbutils' found
    
    Consider adjusting the PKG_CONFIG_PATH environment variable if you
    installed software in a non-standard prefix.
    
    Alternatively, you may set the environment variables USBUTILS_CFLAGS
    and USBUTILS_LIBS to avoid the need to call pkg-config.
    See the pkg-config man page for more details.
    
    make: *** [/home/marco/buildroot/ti/build/udev-164/.stamp_configured] Error 1
    

  • The autogen.log

    Marco.

    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables... 
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking minix/config.h usability... no
    checking minix/config.h presence... no
    checking for minix/config.h... no
    checking whether it is safe to define __EXTENSIONS__... yes
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... 64
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for a sed that does not truncate output... /bin/sed
    checking for fgrep... /bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for ar... ar
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    checking for gawk... (cached) gawk
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for gtkdoc-check... /usr/bin/gtkdoc-check
    checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
    checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
    checking whether to build gtk-doc documentation... yes
    checking for xsltproc... /usr/bin/xsltproc
    checking for getprevcon in -lselinux... yes
    checking for gperf... /usr/bin/gperf
    checking for GLIB... yes
    checking for acl_init in -lacl... yes
    checking acl/libacl.h usability... yes
    checking acl/libacl.h presence... yes
    checking for acl/libacl.h... yes
    checking for LIBUSB... yes
    checking for USBUTILS... yes
    checking for /usr/share/pci.ids... no
    checking for /usr/share/hwdata/pci.ids... no
    checking for /usr/share/misc/pci.ids... yes
    checking for PCI database location... /usr/share/misc/pci.ids
    checking linux/input.h usability... yes
    checking linux/input.h presence... yes
    checking for linux/input.h... yes
    checking for INTROSPECTION... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating udev/udev.pc
    config.status: creating init/udev.service
    config.status: creating init/udev-settle.service
    config.status: creating init/udev-retry.service
    config.status: creating libudev/libudev.pc
    config.status: creating libudev/docs/Makefile
    config.status: creating libudev/docs/version.xml
    config.status: creating extras/gudev/gudev-1.0.pc
    config.status: creating extras/gudev/docs/Makefile
    config.status: creating extras/gudev/docs/version.xml
    config.status: creating config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    
    	udev 164
    	========
    
    	prefix:			/usr
    	sysconfdir:		/etc
    	sbindir:		/sbin
    	libdir:			/usr/lib
    	rootlibdir:		/lib
    	libexecdir:		/lib/udev
    
    	datarootdir:		${prefix}/share
    	mandir:			${datarootdir}/man
    	includedir:		${prefix}/include
    
    	include_prefix:		/usr/include
    
    	systemdsystemunitdir:	
    
    	logging:		yes
    	debug:			no
    	selinux:		yes
    
    	compiler:		gcc
    	cflags:			 -g -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat=2 -Wtype-limits -O2
    	ldflags:		
    
    	extras:			yes
    	gintrospection:		yes
    
    	usb.ids:		/var/lib/usbutils/usb.ids
    	pci.ids:		/usr/share/misc/pci.ids
    	firmware path:		\"/lib/firmware/updates/\", \"/lib/firmware/\"
    
    	xsltproc:		/usr/bin/xsltproc
    	gperf:			/usr/bin/gperf
    
    

  • Marco,

    Please try this package: http://downloads.yoctoproject.org/mirror/sources/udev-164.tar.gz . This package has ./configure included. I am not sure why this is not being generated by autogen.sh when building form the git tree, it works fine for me. This package should work for you.

  • Marco,

    It appears you need to build usbutils in order to remove this error. The version that is used with our SDK is version 0.91. A source for this package can be found here: http://downloads.yoctoproject.org/mirror/sources/usbutils-0.91.tar.gz


    Regards,

    Dave

  • Hi Dave,

     

    I moved forward but I still have some troubles with u-dev dependencies… I found this link:

    http://downloads.ti.com/dsps/dsps_public_sw/am_bu/sdk-downloads/TISDK-Downloads/ALL/index.html

     

    It should be the complete list of packages used to build the sitara Linux SDK 05.06.00.00

     

    Should I get the whole packages from this link?

    Thanks!

    Marco.

  • Hi Marco,

    This package contains the sources for everything we use to build our SDK so it should have the proper versions of each package along with all dependencies that we build and distribute with our SDK and have seen work. You should be able to find everything you need within it.

    Regards,

    Dave

  • Thanks Dave!

    Now I have a proper working BSP so I followed this guide to setup the WiLink 8 daughter board (I applied the patches and I set the flag of the kernel config file):

    http://processors.wiki.ti.com/index.php/Open_Source_Wireless_Connectivity_WiLink8_Build_scripts

    The script ran without any error (attached script.log), but on runtime I get this error while loading the kernel modules (attached complete log boot.log):

    # modprobe updates/drivers/net/wireless/ti/wlcore/wlcore.ko
    [   77.908050] Disabling lock debugging due to kernel taint
    [   77.914733] Compat-wireless backport release: ol_r8.a5.01
    [   77.920410] Backport based on wl18xx ol_r8.a4.05
    [   77.925201] compat.git: wl18xx
    [   77.972534] cfg80211: Calling CRDA to update world regulatory domain
    #
    #
    # modprobe updates/drivers/net/wireless/ti/wl18xx/wl18xx.ko
    [   87.806640] wlcore: wl18xx driver version: ol_r8.a4.05
    #
    #
    # modprobe updates/drivers/net/wireless/ti/wlcore/wlcore_sdio.ko
    [  161.128295] wlcore: ERROR could not get configuration binary ti-connectivity/wl18xx-conf.bin: -2
    [  161.137481] wlcore: WARNING falling back to default config
    [  222.250762] wlcore: loaded
    [  222.253631] wlcore: driver version: ol_r8.a4.05
    [  222.258422] wlcore: timestamp: Thu Nov  1 14:43:46 2012

    Regards,

    Marco.

    0576.script00.log

    CCCCCCCC
    U-Boot SPL 2011.09 (Mar 08 2013 - 14:43:15)
    Texas Instruments Revision detection unimplemented
    Found a daughter card connected
    OMAP SD/MMC: 0
    reading u-boot.img
    reading u-boot.img
    
    
    U-Boot 2011.09 (Mar 08 2013 - 14:43:15)
    
    I2C:   ready
    DRAM:  256 MiB
    WARNING: Caches not enabled
    Found a daughter card connected
    NAND:  HW ECC Hamming Code selected
    256 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    *** Warning - bad CRC, using default environment
    
    Net:   cpsw
    Hit any key to stop autoboot:  0
    SD/MMC found on device 0
    reading uEnv.txt
    
    ** Unable to read "uEnv.txt" from mmc 0:1 **
    reading uImage
    
    3431504 bytes read
    ## Booting kernel from Legacy Image at 80007fc0 ...
       Image Name:   Linux-3.2.0
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3431440 Bytes = 3.3 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       XIP Kernel Image ... OK
    OK
    
    Starting kernel ...
    
    Uncompressing Linux... done, booting the kernel.
    [    0.000000] Linux version 3.2.0 (marco@donkey) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-70) ) #1 Fri Mar 8 15:04:20 CET 2013
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: am335xevm
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] AM335X ES1.0 (sgx neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait ip=none
    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Memory: 256MB = 256MB total
    [    0.000000] Memory: 252948k/252948k available, 9196k reserved, 0K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc05ec000   (6032 kB)
    [    0.000000]       .init : 0xc05ec000 - 0xc0629000   ( 244 kB)
    [    0.000000]       .data : 0xc062a000 - 0xc0691908   ( 415 kB)
    [    0.000000]        .bss : 0xc069192c - 0xc06be688   ( 180 kB)
    [    0.000000] NR_IRQS:396
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] Total of 128 interrupts on 1 active controller
    [    0.000000] OMAP clockevent source: GPTIMER2 at 24000000 Hz
    [    0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz
    [    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
    [    0.000000] Console: colour dummy device 80x30
    [    0.000152] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
    [    0.058929] pid_max: default: 32768 minimum: 301
    [    0.059051] Security Framework initialized
    [    0.059143] Mount-cache hash table entries: 512
    [    0.059539] CPU: Testing write buffer coherency: ok
    [    0.060302] devtmpfs: initialized
    [    0.079681] omap_hwmod: pruss: failed to hardreset
    [    0.080810] print_constraints: dummy:
    [    0.081176] NET: Registered protocol family 16
    [    0.083374] OMAP GPIO hardware version 0.1
    [    0.086029] omap_mux_init: Add partition: #1: core, flags: 0
    [    0.088256]  omap_i2c.1: alias fck already exists
    [    0.089233]  omap2_mcspi.1: alias fck already exists
    [    0.089477]  omap2_mcspi.2: alias fck already exists
    [    0.089721]  edma.0: alias fck already exists
    [    0.089752]  edma.0: alias fck already exists
    [    0.089752]  edma.0: alias fck already exists
    [    0.114776] bio: create slab <bio-0> at 0
    [    0.117034] SCSI subsystem initialized
    [    0.118682] usbcore: registered new interface driver usbfs
    [    0.119049] usbcore: registered new interface driver hub
    [    0.119262] usbcore: registered new device driver usb
    [    0.119384] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
    [    0.119689] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
    [    0.120788] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
    [    0.122680] tps65910 1-002d: JTAGREVNUM 0x0
    [    0.125061] print_constraints: VRTC:
    [    0.126525] print_constraints: VIO: at 1800 mV
    [    0.128814] print_constraints: VDD1: 600 <--> 1500 mV at 1262 mV normal
    [    0.131164] print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal
    [    0.132171] print_constraints: VDD3: 5000 mV
    [    0.133575] print_constraints: VDIG1: at 1800 mV
    [    0.135040] print_constraints: VDIG2: at 1800 mV
    [    0.136444] print_constraints: VPLL: at 1800 mV
    [    0.137878] print_constraints: VDAC: at 1800 mV
    [    0.139282] print_constraints: VAUX1: at 1800 mV
    [    0.140716] print_constraints: VAUX2: at 3300 mV
    [    0.142150] print_constraints: VAUX33: at 3300 mV
    [    0.143585] print_constraints: VMMC: at 3300 mV
    [    0.144073] tps65910 1-002d: No interrupt support, no core IRQ
    [    0.145324] Advanced Linux Sound Architecture Driver Version 1.0.24.
    [    0.146575] Switching to clocksource gp timer
    [    0.164611] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    [    0.164794] musb-hdrc musb-hdrc.0: dma type: pio
    [    0.165130] MUSB0 controller's USBSS revision = 4ea20800
    [    0.165679] musb-hdrc musb-hdrc.0: USB OTG mode controller at d083c000 using PIO, IRQ 18
    [    0.165863] musb-hdrc musb-hdrc.1: dma type: pio
    [    0.166137] MUSB1 controller's USBSS revision = 4ea20800
    [    0.166259] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [    0.166320] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
    [    0.166473] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    0.166503] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    0.166503] usb usb1: Product: MUSB HDRC host driver
    [    0.166503] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
    [    0.166534] usb usb1: SerialNumber: musb-hdrc.1
    [    0.167510] hub 1-0:1.0: USB hub found
    [    0.167541] hub 1-0:1.0: 1 port detected
    [    0.168151] musb-hdrc musb-hdrc.1: USB Host mode controller at d083e800 using PIO, IRQ 19
    [    0.168579] NET: Registered protocol family 2
    [    0.168792] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.169097] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.169250] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.169342] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.169342] TCP reno registered
    [    0.169372] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.169403] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.169586] NET: Registered protocol family 1
    [    0.169860] RPC: Registered named UNIX socket transport module.
    [    0.169860] RPC: Registered udp transport module.
    [    0.169860] RPC: Registered tcp transport module.
    [    0.169891] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.170104] NetWinder Floating Point Emulator V0.97 (double precision)
    [    0.182281] VFS: Disk quotas dquot_6.5.2
    [    0.182342] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.182861] msgmni has been set to 494
    [    0.186401] alg: No test for stdrng (krng)
    [    0.186492] io scheduler noop registered
    [    0.186492] io scheduler deadline registered
    [    0.186676] io scheduler cfq registered (default)
    [    0.190582] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
    [    0.809204] console [ttyO0] enabled
    [    0.813537] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    [    0.821441] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    [    0.829254] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    [    0.837066] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    [    0.844879] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    [    0.862762] brd: module loaded
    [    0.871337] loop: module loaded
    [    0.874816] i2c-core: driver [tsl2550] using legacy suspend method
    [    0.881286] i2c-core: driver [tsl2550] using legacy resume method
    [    0.887725] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    0.901611] Detected a daughter card on AM335x EVM..
    [    0.906585] Unknown CPLD version found
    [    0.910736] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    0.925903] Board name: A33515BB
    [    0.929260] Board version: 1.1A
    [    0.932556] SKU: SKU#01
    [    0.935607] The board is general purpose EVM in profile 0
    [    0.941772]  da8xx_lcdc.0: alias fck already exists
    [    0.947418] da8xx_lcdc da8xx_lcdc.0: GLCD: Found TFC_S9700RTWV35TR_01B panel
    [    0.970306] Console: switching to colour frame buffer device 100x30
    [    0.986419] omap-gpmc omap-gpmc: GPMC revision 6.0
    [    0.991455] Registering NAND on CS0
    [    0.995819]  omap_i2c.2: alias fck already exists
    [    1.001129] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz
    [    1.007598] tsl2550 2-0039: standard operating mode
    [    1.013397] tsl2550 2-0039: support ver. 1.2 enabled
    [    1.019226]  davinci-mcasp.1: alias fck already exists
    [    1.025054]  omap_hsmmc.0: alias fck already exists
    [    1.030456]  omap_hsmmc.2: alias fck already exists
    [    1.035888] Configure Bluetooth Enable pin...
    [    1.041900] _regulator_get: 2-0018 supply Vdd not found, using dummy regulator
    [    1.049560] _regulator_get: 2-0018 supply Vdd_IO not found, using dummy regulator
    [    1.078094] lis3lv02d: 8 bits 3DLH sensor found
    [    1.167602] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input0
    [    1.178527] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    1.185852] omap2-nand driver initializing
    [    1.190460] ONFI flash detected
    [    1.193847] ONFI param page 0 valid
    [    1.197509] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAWP)
    [    1.206085] Creating 8 MTD partitions on "omap2-nand.0":
    [    1.211669] 0x000000000000-0x000000020000 : "SPL"
    [    1.218322] 0x000000020000-0x000000040000 : "SPL.backup1"
    [    1.225341] 0x000000040000-0x000000060000 : "SPL.backup2"
    [    1.232391] 0x000000060000-0x000000080000 : "SPL.backup3"
    [    1.239410] 0x000000080000-0x000000260000 : "U-Boot"
    [    1.246704] 0x000000260000-0x000000280000 : "U-Boot Env"
    [    1.253692] 0x000000280000-0x000000780000 : "Kernel"
    [    1.262359] 0x000000780000-0x000010000000 : "File System"
    [    1.372619] OneNAND driver initializing
    [    1.378173] CAN device driver interface
    [    1.382171] CAN bus driver for Bosch D_CAN controller 1.0
    [    1.437194] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    [    1.443634] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
    [    1.451141] davinci_mdio.0: probed
    [    1.454711] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
    [    1.462432] usbcore: registered new interface driver zd1201
    [    1.468444] usbcore: registered new interface driver cdc_ether
    [    1.474700] usbcore: registered new interface driver cdc_eem
    [    1.480773] usbcore: registered new interface driver dm9601
    [    1.486633] cdc_ncm: 04-Aug-2011
    [    1.490173] usbcore: registered new interface driver cdc_ncm
    [    1.496063] Initializing USB Mass Storage driver...
    [    1.501373] usbcore: registered new interface driver usb-storage
    [    1.507659] USB Mass Storage support registered.
    [    1.513092] mousedev: PS/2 mouse device common for all mice
    [    1.519927] input: matrix-keypad as /devices/platform/matrix-keypad/input/input1
    [    1.529235] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
    [    1.536071] i2c /dev entries driver
    [    1.540466] Linux video capture interface: v2.00
    [    1.545593] usbcore: registered new interface driver uvcvideo
    [    1.551635] USB Video Class driver (1.1.1)
    [    1.556793] lm75 2-0048: hwmon0: sensor 'tmp275'
    [    1.564575] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    1.573181] cpuidle: using governor ladder
    [    1.577972] cpuidle: using governor menu
    [    1.588043] usbcore: registered new interface driver usbhid
    [    1.593872] usbhid: USB HID core driver
    [    1.598846] usbcore: registered new interface driver snd-usb-audio
    [    1.607330] _regulator_get: 2-001b supply IOVDD not found, using dummy regulator
    [    1.615081] _regulator_get: 2-001b supply DVDD not found, using dummy regulator
    [    1.622802] _regulator_get: 2-001b supply AVDD not found, using dummy regulator
    [    1.630462] _regulator_get: 2-001b supply DRVDD not found, using dummy regulator
    [    1.641082] asoc: tlv320aic3x-hifi <-> davinci-mcasp.1 mapping ok
    [    1.649078] ALSA device list:
    [    1.652221]   #0: AM335X EVM
    [    1.655212] oprofile: hardware counters not available
    [    1.660522] oprofile: using timer interrupt.
    [    1.665008] nf_conntrack version 0.5.0 (3952 buckets, 15808 max)
    [    1.671783] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    1.677490] TCP cubic registered
    [    1.680877] NET: Registered protocol family 17
    [    1.685607] Bridge firewalling registered
    [    1.689819] can: controller area network core (rev 20090105 abi 8)
    [    1.696350] NET: Registered protocol family 29
    [    1.700988] can: raw protocol (rev 20090105)
    [    1.705444] can: broadcast manager protocol (rev 20090105 t)
    [    1.711364] Registering the dns_resolver key type
    [    1.716339] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    1.724334] ThumbEE CPU extension supported.
    [    1.728851] mux: Failed to setup hwmod io irq -22
    [    1.734405] Power Management for AM33XX family
    [    1.739288] Trying to load am335x-pm-firmware.bin (60 secs timeout)
    [    1.745941] Copied the M3 firmware to UMEM
    [    1.758941] clock: disabling unused clocks to save power
    [    1.767944] Detected MACID=d4:94:a1:80:ac:b4
    [    1.775482] cpsw: Detected MACID = d4:94:a1:80:ac:b5
    [    1.782562] input: gpio-keys as /devices/platform/gpio-keys/input/input2
    [    1.790283] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    [    1.799499] Waiting for root device /dev/mmcblk0p2...
    [    1.829132] mmc0: new SD card at address e6b4
    [    1.834381] mmcblk0: mmc0:e6b4 SD02G 1.84 GiB
    [    1.841552]  mmcblk0: p1 p2
    [    1.920989] kjournald starting.  Commit interval 5 seconds
    [    1.926757] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended
    [    1.945434] EXT3-fs (mmcblk0p2): using internal journal
    [    1.950897] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
    [    1.958129] VFS: Mounted root (ext3 filesystem) on device 179:2.
    [    1.967529] devtmpfs: mounted
    [    1.970977] Freeing init memory: 244K
    [    1.976623] mmc1: card claims to support voltages below the defined range. These will be ignored.
    [    1.998168] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
    [    2.005432] mmc1: new high speed SDIO card at address 0001
    Starting logging: OK
    Initializing random number generator... done.
    Starting network...
    
    Welcome to AU/wfxb
    wfxb login: root
    #
    #
    # ifconfig -a
    eth0      Link encap:Ethernet  HWaddr D4:94:A1:80:AC:B4
              BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    
    eth1      Link encap:Ethernet  HWaddr D4:94:A1:80:AC:B5
              BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    
    #
    #
    # modprobe -l
    kernel/crypto/tcrypt.ko
    kernel/drivers/scsi/scsi_wait_scan.ko
    kernel/drivers/usb/gadget/g_ether.ko
    kernel/drivers/usb/gadget/g_file_storage.ko
    kernel/drivers/usb/gadget/g_mass_storage.ko
    kernel/drivers/hid/hid-logitech-dj.ko
    updates/drivers/net/wireless/ti/wlcore/wlcore_spi.ko
    updates/drivers/net/wireless/ti/wlcore/wlcore_sdio.ko
    updates/drivers/net/wireless/ti/wlcore/wlcore.ko
    updates/drivers/net/wireless/ti/wl18xx/wl18xx.ko
    updates/net/wireless/cfg80211.ko
    updates/net/mac80211/mac80211.ko
    updates/compat/sch_codel.ko
    updates/compat/compat.ko
    updates/compat/sch_fq_codel.ko
    #
    #
    # modprobe updates/drivers/net/wireless/ti/wlcore/wlcore.ko
    [   77.908050] Disabling lock debugging due to kernel taint
    [   77.914733] Compat-wireless backport release: ol_r8.a5.01
    [   77.920410] Backport based on wl18xx ol_r8.a4.05
    [   77.925201] compat.git: wl18xx
    [   77.972534] cfg80211: Calling CRDA to update world regulatory domain
    #
    #
    # modprobe updates/drivers/net/wireless/ti/wl18xx/wl18xx.ko
    [   87.806640] wlcore: wl18xx driver version: ol_r8.a4.05
    #
    #
    # modprobe updates/drivers/net/wireless/ti/wlcore/wlcore_sdio.ko
    [  161.128295] wlcore: ERROR could not get configuration binary ti-connectivity/wl18xx-conf.bin: -2
    [  161.137481] wlcore: WARNING falling back to default config
    [  222.250762] wlcore: loaded
    [  222.253631] wlcore: driver version: ol_r8.a4.05
    [  222.258422] wlcore: timestamp: Thu Nov  1 14:43:46 2012
    #
    #
    

  • Hi Marco,

    Please refer to this wiki for instructions on generating this file: http://processors.wiki.ti.com/index.php/Open_Source_Wireless_Connectivity_wlconf.

    Regards,

    Dave

  • Hi Dave,

     

    I followed the guide and now I have the wl18xx-conf.bin file:

    wlconf -o /root/wl18xx-conf.bin -I /usr/sbin/wlconf/official_inis/WL8_System_parameters_PG2_RDL_2_4_SP_SISO.ini

     

    There are more than one wlconf, I used wlconf located under /usr/sbin/wlconf/

    Is it correct?

     

    I moved the file to

    /etc/firmware/ti-connectivity/

    /lib/firmware/ti-connectivity/

    /usr/sbin/wlconf/

    And other directory but when I load the wlcore_sdio.ko module the board hangs and after I get this error:

     

    # modprobe updates/drivers/net/wireless/ti/wlcore/wlcore.ko

    [  397.381469] Disabling lock debugging due to kernel taint

    [  397.388702] Compat-wireless backport release: ol_r8.a5.01

    [  397.394317] Backport based on wl18xx ol_r8.a4.05

    [  397.399200] compat.git: wl18xx

    [  397.443572] cfg80211: Calling CRDA to update world regulatory domain

    #

    #

    # modprobe updates/drivers/net/wireless/ti/wl18xx/wl18xx.ko

    [  404.932983] wlcore: wl18xx driver version: ol_r8.a4.05

    #

    #

    # modprobe updates/drivers/net/wireless/ti/wlcore/wlcore_sdio.ko

    [  472.166625] wlcore: ERROR could not get configuration binary ti-connectivity/wl18xx-conf.bin: -2

    [  472.175781] wlcore: WARNING falling back to default config

    [  533.129028] wlcore: loaded

    [  533.131866] wlcore: driver version: ol_r8.a4.05

    [  533.136657] wlcore: timestamp: Thu Nov  1 14:43:46 2012

    #

     

    Where should I put the file? I must load the module using a specific parameter?

     

     

    I made some test with official ti FS November 21, 2012:

    http://processors.wiki.ti.com/index.php/AM335x_WL8_release_download_page

    I have also noticed that there’s no wl18xx-conf.bin file

     

    Thanks!

    Marco.

  • Hi Marco,

    I would recommend posting this to the WLAN Applications forum (http://e2e.ti.com/support/low_power_rf/f/307.aspx) as this issue is more specific to the driver for their part and they will have more experience with it than I do.


    Regards,

    Dave

  • Done, thanks Dave!

    Regards,

    Marco.