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.

Sitara Linux SDK create SD card script

Hello,
apparently there are difficult examinable compatibility issues between my current version of Linux UBUNTU (10:04 LTS) and the create SD card script (create-sdcard.sh) inside LINUXEZSDK AM335x V06.00.

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

Could the function of the script to be done manually?

Cause of the problems seem to be dependencies of the language of the operating system. By switching to Ubuntu 12.04.3 LTS english resolved.

In addition bugfix by change all instances of '.*ti-sdk.*.[0-9]/' to '.*ti-sdk.*.[0-9].*/' (http://processors.wiki.ti.com/index.php/Sitara_Linux_SDK_create_SD_card_script)

Still no success with ti-sdk-am335x-evm-06.00.00.00-Linux-x86-Install:

root@Ubuntu12:/usr/local/ti-sdk-am335x-evm# ./bin/create-sdcard.sh

....

################################################################################

    Choose file path to install from

    1 ) Install pre-built images from SDK
    2 ) Enter in custom boot and rootfs file paths

################################################################################

Choose now [1/2] : 1

 
Will now install from SDK pre-built images
now installing:  ti-sdk-am335
ls: cannot access /usr/local/ti-sdk-am335x-evm/./bin//board-support/prebuilt-images: No such file or directory
ls: cannot access /usr/local/ti-sdk-am335x-evm/./bin//board-support/prebuilt-images: No such file or directory
ls: cannot access /usr/local/ti-sdk-am335x-evm/./bin//board-support/prebuilt-images: No such file or directory
ls: cannot access /usr/local/ti-sdk-am335x-evm/./bin//board-support/prebuilt-images: No such file or directory
ls: cannot access /usr/local/ti-sdk-am335x-evm/./bin//board-support/prebuilt-images: No such file or directory
ls: cannot access /usr/local/ti-sdk-am335x-evm/./bin//filesystem: No such file or directory
ls: cannot access /usr/local/ti-sdk-am335x-evm/./bin//filesystem: No such file or directory
################################################################################

....

root@Ubuntu12:/usr/local/ti-sdk-am335x-evm# cd board-support/
root@Ubuntu12:/usr/local/ti-sdk-am335x-evm/board-support# cd prebuilt-images/
root@Ubuntu12:/usr/local/ti-sdk-am335x-evm/board-support/prebuilt-images# ls

MLO-am335x-evm  u-boot-am335x-evm.img  uImage-am335x-evm.bin

What is wrong?

  • I just noticed that if you install in /usr/local, you don't get the 06.00.00.00 in the path.

    The echo | grep test in create-sdcard returns the full directory name if the numbers are there...

    dsp@ubuntu:~/work/sonicSD$ echo /usr/local/ti-sdk-am335x-evm-06.00.00.00 | grep -o '.*ti-sdk.*.[0-9]'
    /usr/local/ti-sdk-am335x-evm-06.00.00.00

    but if the numbers are not, you get a clipped result.. The directory name is wrong.

    dsp@ubuntu:~/work/sonicSD$ echo /usr/local/ti-sdk-am335x-evm | grep -o '.*ti-sdk.*.[0-9]'
    /usr/local/ti-sdk-am335

    You can see this in "now installing: ti-sdk-am335". the "x-evm" has been dropped by the grep. I think this might have something to do with the problem?