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.

Custom File system for AM57xx

Hello,

I am trying to build a custom file system for my project, which I want to keep same as file system available with TI-SDK for AM57xx. I have compiled busy-box and started this activity. I am facing few problems in that.

1) inittab is not working fine

2) udev is not running.

I want to know that how TI has build filesystem for AM57xx. Is it based on Busybox or something else? If it is based on busybox then, why udev is not starting and facing problem in running inittab?

  • Hi Rekesh,

    You can find details about Processor SDK building at:
    processors.wiki.ti.com/index.php

    BR
    Tsvetolin Shulev
  • Hi Tsvetolin,
    I have tried to follow the steps provided on that link. Just difference is I have used latest version of linaro toolchain. I am facing below error while I try to build file system. Could you please help me to resolve this error?

    zeiss:build$ export PATH=/home/zeiss/linaro_toolchain/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin:$PATH
    zeiss:build$ MACHINE=am57xx-evm bitbake tisdk-rootfs-image
    ERROR: Execution of event handler 'external_linaro_toolchain_version_handler' failed
    Traceback (most recent call last):
    File "external_linaro_toolchain_version_handler(e)", line 8, in external_linaro_toolchain_version_handler(e=<bb.event.ConfigParsed object at 0x7f00e7183250>)
    File "external-linaro-toolchain-versions.inc", line 5, in elt_get_main_version(d=<bb.data_smart.DataSmart object at 0x7f00e711a510>)
    IndexError: list index out of range

    ERROR: Error parsing configuration files
    Traceback (most recent call last):
    File "/home/zeiss/tisdk/sources/bitbake/lib/bb/event.py", line 163, in fire(event=<bb.event.ConfigParsed object at 0x7f00e7183250>, d=<bb.data_smart.DataSmart object at 0x7f00e7f10410>):

    > fire_class_handlers(event, d)
    if worker_fire:
    File "/home/zeiss/tisdk/sources/bitbake/lib/bb/event.py", line 102, in fire_class_handlers(event=<bb.event.ConfigParsed object at 0x7f00e7183250>, d=<bb.data_smart.DataSmart object at 0x7f00e7f10410>):
    continue
    > execute_handler(name, handler, event, d)

    File "/home/zeiss/tisdk/sources/bitbake/lib/bb/event.py", line 76, in execute_handler(name='external_linaro_toolchain_version_handler', handler=<function external_linaro_toolchain_version_handler at 0x7f00e70ec050>, event=<bb.event.ConfigParsed object at 0x7f00e7183250>, d=<bb.data_smart.DataSmart object at 0x7f00e7f10410>):
    try:
    > ret = handler(event)
    except (bb.parse.SkipRecipe, bb.BBHandledException):
    File "external_linaro_toolchain_version_handler(e)", line 8, in external_linaro_toolchain_version_handler(e=<bb.event.ConfigParsed object at 0x7f00e7183250>)
    File "external-linaro-toolchain-versions.inc", line 5, in elt_get_main_version(d=<bb.data_smart.DataSmart object at 0x7f00e711a510>)
    IndexError: list index out of range
  • Hello Tsvetolin,
    I have tried to build file system using the same toolchain mentioned on wiki page. I got following errors.
    Please note that my main intention is to update the glibc. I want to use GLIBC 3.4 instead of 2.42. If could guide me how can I update that then it will be great help for me.

    WARNING: /home/zeiss/tisdk/build/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-neon-linux-gnueabi/external-linaro-toolchain/2013.03-r0-arago29/external-linaro-toolchain-2013.03 ('S') doesn't exist, please set 'S' to a proper value
    WARNING: Failed to fetch URL www.apache.org/.../apr-1.5.1.tar.bz2, attempting MIRRORS if available
    WARNING: Failed to fetch URL downloads.sourceforge.net/.../libpng-1.6.16.tar.xz, attempting MIRRORS if available
    WARNING: /home/zeiss/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-cgt6x-native/1_8.1.0-r0/ti-cgt6x-8.1.0 ('S') doesn't exist, please set 'S' to a proper value
    WARNING: TI installer requires 32bit glibc libraries for proper operation
    run 'yum install glibc.i686' on Fedora or 'apt-get install ia32-libs' on Ubuntu/Debian
    WARNING: Failed to fetch URL serf.googlecode.com/.../serf-1.3.8.tar.bz2, attempting MIRRORS if available
    WARNING: Failed to fetch URL install.source.dir.local/CCS6.1.2.00015_linux.tar.gz;name=ccsv6, attempting MIRRORS if available
    ERROR: Fetcher failure: Fetch command failed with exit code 4, output:
    wget: unable to resolve host address 'install.source.dir.local'

    ERROR: Function failed: Fetcher failure for URL: 'install.source.dir.local/CCS6.1.2.00015_linux.tar.gz;name=ccsv6'. Unable to fetch URL from any source.
    ERROR: Logfile of failure stored in: /home/zeiss/tisdk/build/arago-tmp-external-linaro-toolchain/work/x86_64-linux/ti-ccsv6-native/6.1.2.00015-r0/temp/log.do_fetch.7873
    ERROR: Task 4490 (/home/zeiss/tisdk/sources/meta-processor-sdk/recipes-ti/devtools/ti-ccsv6-native_6.1.2.00015.bb, do_fetch) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 615 tasks of which 0 didn't need to be rerun and 1 failed.
    Waiting for 0 running tasks to finish:

    Summary: 1 task failed:
    /home/zeiss/tisdk/sources/meta-processor-sdk/recipes-ti/devtools/ti-ccsv6-native_6.1.2.00015.bb, do_fetch
    Summary: There were 7 WARNING messages shown.
    Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
  • Hi Rakesh,

    Rakesh Modi said:
    I have tried to follow the steps provided on that link. Just difference is I have used latest version of linaro toolchain. I am facing below error while I try to build file system. Could you please help me to resolve this error?

    zeiss:build$ export PATH=/home/zeiss/linaro_toolchain/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin:$PATH
    zeiss:build$ MACHINE=am57xx-evm bitbake tisdk-rootfs-image
    ERROR: Execution of event handler 'external_linaro_toolchain_version_handler' failed
    Traceback (most recent call last):

    The latest processor SDK 02_00_02_11 supports linaro toolchain 4.9-2015.05, so you should use that version of the toolchain. See also the below wiki pages:

    Regards,
    Pavel

  • Rakesh Modi said:
    I have tried to build file system using the same toolchain mentioned on wiki page. I got following errors.
    Please note that my main intention is to update the glibc. I want to use GLIBC 3.4 instead of 2.42. If could guide me how can I update that then it will be great help for me.

    Rakesh,

    Are you able to re-build the default file system (without changing the GLIBC version)?

    See also if the below wiki pages will be in help:

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

     http://processors.wiki.ti.com/index.php/Processor_SDK_Linux_File_System_Optimization/Customization

    Regards,
    Pavel