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.

Linux: How to build the rootfs provided in EZSDK DM8148?

Tool/software: Linux

How should I use Arago based on EZSDK to build tisdk-root-filesystem for dm8148-evm?

  • Hello,

    Please check the software user guide in this page:
    software-dl.ti.com/.../index_FDS.html
    and this wiki page also:
    processors.wiki.ti.com/.../EZSDK_Filesystems

    BR
    Margarita
  • Thank you for your reply.
    I've already seen processors.wiki.ti.com/.../EZSDK_Filesystems, I'm going to use OpenEmbedded to create the EZSDK file system,But I don't know which git repositories to clone.

    I created the processor SDK file system before using the following command to clone the git repository:
    ./oe-layertool-setup.sh -f ./configs/processor-sdk/processor-sdk-03.01.00.06-config.txt
  • hello,

    I used the following steps to create the dm8148 file system, But Unable to create a file system.

    ./oe-layertool-setup.sh -f configs/arago-denzil-config.txt

    export PATH=/home/teddy/dm8148/toolchain/CodeSourcery/Sourcery_G++_Lite/bin:$PATH

    MACHINE=dm814x-evm bitbake tisdk-rootfs-image

    Here's the error message
    DEBUG: CONF /home/teddy/oe/tisdk-dm8148/sources/oe-core/meta/conf/machine/include/arm/arch-armv5-dsp.inc:3: including conf/machine/include/arm/arch-armv5.inc
    DEBUG: BB /home/teddy/oe/tisdk-dm8148/sources/oe-core/meta/conf/machine/include/arm/arch-armv5.inc: handle(data, include)
    DEBUG: LOAD /home/teddy/oe/tisdk-dm8148/sources/oe-core/meta/conf/machine/include/arm/arch-armv5.inc
    DEBUG: CONF /home/teddy/oe/tisdk-dm8148/sources/oe-core/meta/conf/machine/include/arm/arch-armv5.inc:12: including conf/machine/include/arm/arch-armv4.inc
    DEBUG: BB /home/teddy/oe/tisdk-dm8148/sources/oe-core/meta/conf/machine/include/arm/arch-armv4.inc: handle(data, include)
    DEBUG: LOAD /home/teddy/oe/tisdk-dm8148/sources/oe-core/meta/conf/machine/include/arm/arch-armv4.inc
    DEBUG: CONF /home/teddy/oe/tisdk-dm8148/sources/oe-core/meta/conf/machine/include/arm/arch-armv4.inc:9: including conf/machine/include/arm/arch-arm.inc
    DEBUG: BB /home/teddy/oe/tisdk-dm8148/sources/oe-core/meta/conf/machine/include/arm/arch-arm.inc: handle(data, include)
    DEBUG: LOAD /home/teddy/oe/tisdk-dm8148/sources/oe-core/meta/conf/machine/include/arm/arch-arm.inc
    DEBUG: CONF /home/teddy/oe/tisdk-dm8148/sources/oe-core/meta/conf/machine/include/arm/arch-armv4.inc:10: including conf/machine/include/arm/feature-arm-thumb.inc
    DEBUG: BB /home/teddy/oe/tisdk-dm8148/sources/oe-core/meta/conf/machine/include/arm/feature-arm-thumb.inc: handle(data, include)
    DEBUG: LOAD /home/teddy/oe/tisdk-dm8148/sources/oe-core/meta/conf/machine/include/arm/feature-arm-thumb.inc
    DEBUG: CONF /home/teddy/oe/tisdk-dm8148/sources/oe-core/meta/conf/machine/include/arm/arch-armv5.inc:13: including conf/machine/include/arm/feature-arm-vfp.inc
    DEBUG: BB /home/teddy/oe/tisdk-dm8148/sources/oe-core/meta/conf/machine/include/arm/feature-arm-vfp.inc: handle(data, include)
    DEBUG: LOAD /home/teddy/oe/tisdk-dm8148/sources/oe-core/meta/conf/machine/include/arm/feature-arm-vfp.inc
    DEBUG: CONF /home/teddy/oe/tisdk-dm8148/sources/oe-core/meta/conf/machine/include/arm/arch-armv7a.inc:11: including conf/machine/include/arm/feature-arm-neon.inc
    DEBUG: BB /home/teddy/oe/tisdk-dm8148/sources/oe-core/meta/conf/machine/include/arm/feature-arm-neon.inc: handle(data, include)
    DEBUG: LOAD /home/teddy/oe/tisdk-dm8148/sources/oe-core/meta/conf/machine/include/arm/feature-arm-neon.inc
    DEBUG: CONF conf/bitbake.conf:659: including conf/machine-sdk/i686.conf
    DEBUG: LOAD /home/teddy/oe/tisdk-dm8148/sources/oe-core/meta/conf/machine-sdk/i686.conf
    DEBUG: CONF conf/bitbake.conf:660: including conf/distro/arago.conf
    DEBUG: LOAD /home/teddy/oe/tisdk-dm8148/sources/meta-arago/meta-arago-distro/conf/distro/arago.conf
    DEBUG: CONF /home/teddy/oe/tisdk-dm8148/sources/meta-arago/meta-arago-distro/conf/distro/arago.conf:26: including conf/distro/include/toolchain-external-arago.inc
    DEBUG: BB /home/teddy/oe/tisdk-dm8148/sources/meta-arago/meta-arago-distro/conf/distro/include/toolchain-external-arago.inc: handle(data, include)
    DEBUG: LOAD /home/teddy/oe/tisdk-dm8148/sources/meta-arago/meta-arago-distro/conf/distro/include/toolchain-external-arago.inc
    ERROR: No valid toolchain in PATH

    I've pointed to the correct cross-compiler path.
  • Hello,

    Please check the below thread:
    e2e.ti.com/.../205230

    BR
    Margarita
  • thank,

    I have already set up according to the e2e.ti.com/.../205230, But an error was reported compiling linux-omap3.


    NOTE: package module-init-tools-cross-3.12-r6-arago3: task do_package: Succeeded
    NOTE: Running task 2768 of 4123 (ID: 1087, /home/teddy/oe/tisdk-dm814x/arago/recipes/linux/linux-omap3_2.6.37-psp04.01.00.06.bb, do_compile_kernelmodules)
    NOTE: package linux-omap3-2.6.37-psp04.01.00.06-r1: task do_compile_kernelmodules: Started
    ERROR: TaskFailed event exception, aborting
    ERROR: Build of /home/teddy/oe/tisdk-dm814x/arago/recipes/linux/linux-omap3_2.6.37-psp04.01.00.06.bb do_compile_kernelmodules failed
    ERROR: Function do_compile_kernelmodules failed
    NOTE: Task failed: ('function do_compile_kernelmodules failed', '/home/teddy/oe/tisdk-dm814x/arago-tmp/work/dm814x-evm-none-linux-gnueabi/linux-omap3-2.6.37-psp04.01.00.06-r1/temp/log.do_compile_kernelmodules.55500')
    ERROR: Logfile of failure stored in: /home/teddy/oe/tisdk-dm814x/arago-tmp/work/dm814x-evm-none-linux-gnueabi/linux-omap3-2.6.37-psp04.01.00.06-r1/temp/log.do_compile_kernelmodules.55500
    Log data follows:
    | NOTE: make modules AR=arm-none-linux-gnueabi-ar CC=arm-none-linux-gnueabi-gcc -mno-thumb-interwork -mno-thumb LD=arm-none-linux-gnueabi-ld --sysroot=/home/teddy/oe/tisdk-dm814x/arago-tmp/sysroots/armv7a-none-linux-gnueabi NM=arm-none-linux-gnueabi-nm OBJCOPY=arm-none-linux-gnueabi-objcopy
    | CHK include/linux/version.h
    | CHK include/generated/utsrelease.h
    | make[1]: “include/generated/mach-types.h”。
    | CALL scripts/checksyscalls.sh
    | CC [M] drivers/video/ti81xx/vpss/fvid2.o
    | drivers/video/ti81xx/vpss/fvid2.c:34:28: error: ti/syslink/Std.h: No such file or directory
    | drivers/video/ti81xx/vpss/fvid2.c:35:30: error: ti/ipc/MultiProc.h: No such file or directory
    | drivers/video/ti81xx/vpss/fvid2.c:36:27: error: ti/ipc/Notify.h: No such file or directory
    | drivers/video/ti81xx/vpss/fvid2.c: In function 'vps_fvid2_create':
    | drivers/video/ti81xx/vpss/fvid2.c:208: error: implicit declaration of function 'Notify_sendEvent'
    | drivers/video/ti81xx/vpss/fvid2.c:251: error: implicit declaration of function 'Notify_registerEvent'
    | drivers/video/ti81xx/vpss/fvid2.c:254: error: 'Notify_FnNotifyCbck' undeclared (first use in this function)
    | drivers/video/ti81xx/vpss/fvid2.c:254: error: (Each undeclared identifier is reported only once
    | drivers/video/ti81xx/vpss/fvid2.c:254: error: for each function it appears in.)
    | drivers/video/ti81xx/vpss/fvid2.c:254: error: expected ')' before 'vps_callback'
    | drivers/video/ti81xx/vpss/fvid2.c: In function 'vps_fvid2_delete':
    | drivers/video/ti81xx/vpss/fvid2.c:323: error: implicit declaration of function 'Notify_unregisterEvent'
    | drivers/video/ti81xx/vpss/fvid2.c:327: error: 'Notify_FnNotifyCbck' undeclared (first use in this function)
    | drivers/video/ti81xx/vpss/fvid2.c:327: error: expected ')' before 'vps_callback'
    | drivers/video/ti81xx/vpss/fvid2.c: In function 'vps_fvid2_init':
    | drivers/video/ti81xx/vpss/fvid2.c:678: error: implicit declaration of function 'MultiProc_getId'
    | drivers/video/ti81xx/vpss/fvid2.c:679: error: 'MultiProc_INVALIDID' undeclared (first use in this function)
    | make[4]: *** [drivers/video/ti81xx/vpss/fvid2.o] Error 1
    | make[3]: *** [drivers/video/ti81xx/vpss] Error 2
    | make[2]: *** [drivers/video/ti81xx] Error 2
    | make[1]: *** [drivers/video] Error 2
    | make: *** [drivers] Error 2
    | FATAL: oe_runmake failed
    | ERROR: Function do_compile_kernelmodules failed
    NOTE: package linux-omap3-2.6.37-psp04.01.00.06-r1: task do_compile_kernelmodules: Failed
    ERROR: Task 1087 (/home/teddy/oe/tisdk-dm814x/arago/recipes/linux/linux-omap3_2.6.37-psp04.01.00.06.bb, do_compile_kernelmodules) failed with exit code 1
    ERROR: '/home/teddy/oe/tisdk-dm814x/arago/recipes/linux/linux-omap3_2.6.37-psp04.01.00.06.bb' failed
    ERROR: TaskFailed event exception, aborting
    ERROR: Build of /home/teddy/oe/tisdk-dm814x/arago/recipes/linux/linux-omap3_2.6.37-psp04.01.00.06.bb do_compile_kernelmodules failed
    ERROR: Task 1087 (/home/teddy/oe/tisdk-dm814x/arago/recipes/linux/linux-omap3_2.6.37-psp04.01.00.06.bb, do_compile_kernelmodules) failed with exit code 1
    ERROR: '/home/teddy/oe/tisdk-dm814x/arago/recipes/linux/linux-omap3_2.6.37-psp04.01.00.06.bb' failed
    ERROR: '/home/teddy/oe/tisdk-dm814x/arago/recipes/linux/linux-omap3_2.6.37-psp04.01.00.06.bb' failed