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.
Hello, everyone.
I'm working with the Sitara AM335x SK, and with the Linux SDK 05.05.00.00.
I'm using a Linux host PC with Ubuntu 11.14 installed, and the SDK installed quite successfully (used the USB cable provided to connect the SK, which had the SD card inserted, to the PC), along with CCS v5 too.
I'm now trying to run the setup.sh script so as to configure my development environment, as per the instructions of the SDG (the .pdf file found in the SD card itself). I edited the file that checked for the version of Ubuntu to be 10.04, and commented out the lines that caused the program to abort. However, in the second step, when checking for installed packages, none are found and the program aborts. The SDG, on the other hand, states that all packages not installed will be installed at this step.
Am I missing something here? Is any other script to be changed so as to enable a successful completion of the setup process?
Also, as an aside, is a router/switch necessary to connect the PC and the SK? If they are to be connected only in a local network, will a simple cable not do? Or is emphasis to be laid on their connection to the internet as well?
Will be grateful for any help,
Thanks,
Madhusudan
Hi,
SDK version 05.05.00.00 is obsolete and no longer supported. Please use a newer version of the SDK. The two supported versions are:
06.00.00.00, based on kernel 3.2: http://software-dl.ti.com/sitara_linux/esd/AM335xSDK/06_00_00_00/index_FDS.html
07.00.00.00, based on kernel 3.12: http://software-dl.ti.com/sitara_linux/esd/AM335xSDK/latest/index_FDS.html
Version 06.00.00.00 is closer to the one you are trying to use, because kernel 3.2 uses board configuration files, while kernel 3.12 from SDK 07.00.00.00 uses device tree files for system initialization.
Here is a link to the Sitara Software Developer's Guide (this one is for version 07.00.00.00): http://processors.wiki.ti.com/index.php/Sitara_Linux_Software_Developer%E2%80%99s_Guide
You can find the archived version of the Software Developer's Guide (for SDK 06.00.00.00) on the same page, a bit below.
Best regards,
Miroslav
Hello Miroslav, thanks a lot for the prompt reply!
I used the SDK 05.05.00.00 because that was the one that came with the EVM when I first started to use it. The EVM is not mine, but belongs to the organisation I currently am working at, which probably procured it a while ago, so that probably explains why the software is obsolete.
Could you tell me what exactly the problem is, though? I could download a newer version of the SDK, but is there absolutely no way I can make the existing one work?
Also, about the local network connection, is a router necessary or will just a regular cable do?
Thanks so much for taking the pains to answer this,
Regards,
Madhusudan
Madhusudan, if you really wish to use this version of the SDK, I can only suggest you to try and debug the scripts, put prints (echoes), see why they are terminating.
Also, Ubuntu 11 isn't one of the recommended distributions (10.04 LTS or 12.04 LTS). Keep that in mind.
Lastly, I have never done this, but I guess you can connect the SK board to your host PC using just a cable, but you would have to set the target and host IP addresses manually (no DHCP) in order for some of the SDK functions to work.
Best regards,
Miroslav
Miroslav,
As far as the scripts are concerned, I shall try that. If the script doesn't automatically install the packages, than could you tell me where I could install them from manually, if possible?
Shall try to get my hands on a copy of Ubuntu 10.04 LTS or 12.04 LTS, and see if there's any improvement.
Oh, okay. I asked about the router/cable thing because I needed to configure the RSE on the CCS v5, and the IP address of the target is required. I shall try the same out and post here if anything comes to fruition.
Thanks so much for the help! Shall update this thread if any progress is made!
Regards
Madhusudan
Madhusudan Sampath said:If the script doesn't automatically install the packages, than could you tell me where I could install them from manually, if possible?
Yes, of course. The script that handles tha packages (in SDK 06.00.00.00) is <SDK_dir>/bin/setup-package-install.sh. These are the packages it will try to install:
xinetd tftpd nfs-kernel-server minicom build-essential libncurses5-dev uboot-mkimage autoconf automake
Madhusudan Sampath said:Shall try to get my hands on a copy of Ubuntu 10.04 LTS or 12.04 LTS, and see if there's any improvement.
This is strongly recommended.
Best regards,
Miroslav