logo

Could not compile stylesheet for simplistic. Using last compiled stylesheet.
0
I am using Poky Yocto to build a custom minimal rootfs based on the recipe core-image-minimal.bb.

What recipes should I include into IMAGE_INSTALL to get a custom rootfs with full opengl support?

Is there some recipe to automate installation of the marvell firmware for the wifi (sd8686.bin, ...) into the proper directory, without having to do it manually?

Thanks a lot!

Accepted Answer

Thursday, August 09 2012, 01:38 PM - #permalink
0

Is there some recipe to automate installation of the marvell firmware for the wifi (sd8686.bin, ...) into the proper directory, without having to do it manually?


I guess "linux-firmware-sd8686" is the answer :)
The reply is currently minimized Show
Responses (8)
  • Accepted Answer

    Friday, August 10 2012, 11:58 AM - #permalink
    0
    It seems Linaro provides a kernel module named "cmemk.ko", not distributed by Yocto nor ISEE meta layers, to setup a block of physically contiguous memory. I found and downloaded it from this location:

    http://software-dl.ti.com/dsps/dsps_pub ... index.html

    Setting these variables properly,

    MVTOOL_PREFIX
    UCTOOL_PREFIX
    LINUXKERNEL_INSTALL_DIR

    it was easy to get it working. However, it would be nice to make a bitbake recipe integrated with Yocto to automate this task...
    The reply is currently minimized Show
  • Accepted Answer

    mcaro
    mcaro
    Offline
    Friday, August 10 2012, 06:45 PM - #permalink
    0
    We think to integrate all gst framework packages on our meta-isee ... the gst framework content has included:

    * CMEM, SDMA, DSPLINK, LPM, DMAI, GST plugin, and other software ...

    But actually it's in a separate package in our website ...

    Manel
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, August 22 2012, 11:56 AM - #permalink
    0
    Latest IGEP GST framework I found in your website is this:

    http://labs.isee.biz/index.php/IGEP_GST ... RK_3.10.10

    But that framework seems to be ready to build for linux kernel 2.6.35.13, but not for 2.6.37. I have tried to integrate kernel 2.6.37 with that GST framework.

    The steps followed:

    Modifications on Rules.make:

    WORKSPACE=/home/myuser/boards/igepv2/src/
    DVSDK_INSTALL_DIR=$(WORKSPACE)/igep-dsp-gst-framework-3_10_10
    CSTOOL_DIR=/opt/poky/1.2/sysroots/i686-pokysdk-linux/
    CSTOOL_PREFIX=$(CSTOOL_DIR)/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/arm-poky-linux-gnueabi-

    Create a directory and copy the sources for the kernel 2.6.37 into it:

    $ cd /home/myuser/boards/igepv2/src/igep-dsp-gst-framework-3_10_10/psp/isee/
    $ mv linux-omap-2.6 linux-omap-2.6.35
    $ mkdir linux-omap-2.6.37
    $ cp -Rfa /home/myuser/poky/build/tmp/sysroots/igep00x0/kernel/ linux-omap-2.6.37

    Make a symlink pointing to the new kernel:

    $ ln -fs linux-omap-2.6.37 linux-omap-2.6

    And after that, call to 'make'. But the process fails with this error:

    $ make
    [...]
    make[1]: Entering directory `/home/myuser/boards/igepv2/src/igep-dsp-gst-framework-3_10_10/psp/isee/linux-omap-2.6.37'
    CHK include/linux/version.h
    CHK include/generated/utsrelease.h
    make[2]: `include/generated/mach-types.h' is up to date.
    make[2]: *** No rule to make target `kernel/bounds.c', needed by `kernel/bounds.s'. Stop.
    make[1]: *** [prepare0] Error 2
    make[1]: Leaving directory `/home/myuser/boards/igepv2/src/igep-dsp-gst-framework-3_10_10/psp/isee/linux-omap-2.6.37'
    make: *** [linux] Error 2

    I don't know why, but file kernel/bounds.c does not exist into the source kernel tree. Is it something wrong with the steps I follow?

    Thanks in advance!
    The reply is currently minimized Show
  • Accepted Answer

    Friday, August 24 2012, 10:57 AM - #permalink
    0
    Reading on the forum I found some references to a a newest DSP framework, hopefully ready for kernel 2.6.37. It seems to be published here:

    http://downloads.isee.biz/pub/files/ige ... 00.tar.bz2

    I will test it after downloading 2.4GB...
    The reply is currently minimized Show
  • Accepted Answer

    Monday, August 27 2012, 08:16 AM - #permalink
    0
    I just have tested version 3_20_00. After modifying Rules.make properly:

    WORKSPACE=/home/myuser/boards/igepv2/src/
    DVSDK_INSTALL_DIR=$(WORKSPACE)/igep-dsp-gst-framework-3_20_00
    CSTOOL_DIR=/opt/poky/1.2/sysroots/i686-pokysdk-linux/
    CSTOOL_PREFIX=$(CSTOOL_DIR)/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/arm-poky-linux-gnueabi-
    CSTOOL_COMPILE=arm-poky-linux-gnueabi-

    I have called 'make', but the process fails after a while, showing this error message:

    Linking c6accel_app from appMain.o c6accel_testfxns.o ../c6accelw/lib/c6accelw_omap3530.a470MV c6accel_app_config/linker.cmd..
    /opt/poky/1.2/sysroots/i686-pokysdk-linux///usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc -L/opt/poky/1.2/sysroots/i686-pokysdk-linux//arm-none-linux-gnueabi//lib -lm -lpthread -o c6accel_app appMain.o c6accel_testfxns.o ../c6accelw/lib/c6accelw_omap3530.a470MV c6accel_app_config/linker.cmd
    /opt/poky/1.2/sysroots/i686-pokysdk-linux///usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc -L/opt/poky/1.2/sysroots/i686-pokysdk-linux//arm-none-linux-gnueabi//lib -lm -lpthread -o c6accel_app appMain.o c6accel_testfxns.o ../c6accelw/lib/c6accelw_omap3530.a470MV c6accel_app_config/linker.cmd
    /opt/poky/1.2.1/sysroots/i686-pokysdk-linux/usr/libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.6.4/ld: warning: c6accel_app_config/linker.cmd contains output sections; did you forget -T?
    /home/myuser/boards/igepv2/src/igep-dsp-gst-framework-3_20_00/codec_engine_2_26_02_11/packages/ti/sdo/ce/lib/release/ce.av5T(Engine.ov5T): In function `Engine_deleteNode':
    Engine.c:(.text+0x2b64): undefined reference to `__aeabi_uidiv'
    /home/myuser/boards/igepv2/src/igep-dsp-gst-framework-3_20_00/codec_engine_2_26_02_11/packages/ti/sdo/ce/osal/linux/lib/release/osal_linux_470.av5T(Global_noOS.ov5T): In function `Global_atexit':
    Global_noOS.c:(.text+0x238): undefined reference to `atexit'
    /home/myuser/boards/igepv2/src/igep-dsp-gst-framework-3_20_00/dsplink_linux_1_65_00_02/dsplink/gpp/export/BIN/Linux/OMAP3530/RELEASE/dsplink.lib: In function `DRV_Invoke':
    _sync_usr.c:(.text+0x138c): undefined reference to `__aeabi_uidivmod'
    _sync_usr.c:(.text+0x13b4): undefined reference to `__aeabi_uidivmod'
    _sync_usr.c:(.text+0x1428): undefined reference to `__aeabi_uidivmod'
    _sync_usr.c:(.text+0x1480): undefined reference to `__aeabi_uidivmod'
    _sync_usr.c:(.text+0x14a8): undefined reference to `__aeabi_uidivmod'
    /home/myuser/boards/igepv2/src/igep-dsp-gst-framework-3_20_00/dsplink_linux_1_65_00_02/dsplink/gpp/export/BIN/Linux/OMAP3530/RELEASE/dsplink.lib:_sync_usr.c:(.text+0x1548): more undefined references to `__aeabi_uidivmod' follow
    collect2: ld returned 1 exit status
    make[3]: *** [c6accel_app] Error 1
    make[3]: se sale del directorio «/home/myuser/boards/igepv2/src/igep-dsp-gst-framework-3_20_00/c6accel_1_01_00_02/soc/app»
    make[2]: *** [c6accel_app] Error 2
    make[2]: se sale del directorio «/home/myuser/boards/igepv2/src/igep-dsp-gst-framework-3_20_00/c6accel_1_01_00_02/soc»
    make[1]: *** [c6accel] Error 2
    make[1]: se sale del directorio «/home/myuser/boards/igepv2/src/igep-dsp-gst-framework-3_20_00/c6accel_1_01_00_02»
    make: *** [c6accel] Error 2
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, August 29 2012, 05:52 PM - #permalink
    0
    Hi aicastell, I have the same problem. Did you get a solution ? What do you set for LINUXLIBS_INSTALL_DIR in Rules.make ? Thanks a lot!
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, August 30 2012, 07:26 AM - #permalink
    0
    Hi Tim,

    these are the only variables I modified:

    WORKSPACE=/home/myuser/boards/igepv2/src/
    DVSDK_INSTALL_DIR=$(WORKSPACE)/igep-dsp-gst-framework-3_20_00
    CSTOOL_DIR=/opt/poky/1.2/sysroots/i686-pokysdk-linux/
    CSTOOL_PREFIX=$(CSTOOL_DIR)/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/arm-poky-linux-gnueabi-
    CSTOOL_COMPILE=arm-poky-linux-gnueabi-
    PLATFORM=dm3730

    I built different components separately, doing this:

    $ make linux
    $ make dsplink
    $ make lpm
    $ make cmem
    $ make sdma
    $ make codecs
    $ make c6run
    $ make gst_ti
    $ make c6accel
    $ make dmai

    Last two (c6accel and dmai) are the failing makes... and still haven't fixed that. But anyway, I get DSP+GST, and opengl-es working without these two broken packages.

    Hope to be helpful. Good luck! :)
    The reply is currently minimized Show
  • Accepted Answer

    mcaro
    mcaro
    Offline
    Friday, August 31 2012, 05:27 PM - #permalink
    0
    The reply is currently minimized Show
Your Reply

SUPPORT


This email address is being protected from spambots. You need JavaScript enabled to view it.
This email address is being protected from spambots. You need JavaScript enabled to view it.
IGEP Community Wiki
IGEP Community Forum
IGEP Community Online Chat