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.

The compiler and the source codes in "Sitara SDK 5.06.00"

Guru 16800 points

Hi,

I have the questions for "Sitara SDK 5.06.00" and the included compiler.
Could you answer the following questions?

1. I'm using "AM335x Starter Kit", and I found that the SDK include "arm-arago-linux-gnueabi" compiler instead of "Sourcery G++".
   Which compiler is recommended?
   Now, is the use of "arm-arago-linux-gnueabi" recommended to cross-compile?

2. Can the "arm-arago-linux-gnueabi" compiler generate the "Jazelle RCT" instruction set and the "Thumb-2EE" instruction set?
   If so, could you teach me the usage and the options to generate "Jazelle RCT" and "Thumb-2EE" instruction set?
   If not so, and if you know, could you teach me the recommended compiler supporting "Jazelle RCT" and "Thumb-2EE"?

3. I found that "Sitara SDK 5.06.00" includes the two sets of the source codes for linux ans uboot.
   - linux
     ~/ti-sdk-am335x-evm-05.06.00.00/board-support/linux-3.2.0-psp05.06.00.00
     ~/ti-sdk-am335x-evm-05.06.00.00/board-support/board-port-labs/sitara-board-port-linux

   - uboot
     ~/ti-sdk-am335x-evm-05.06.00.00/board-support/u-boot-2012.10-psp05.06.00.00
     ~/ti-sdk-am335x-evm-05.06.00.00/board-support/board-port-labs/sitara-board-port-uboot

   What are the differences between two sets of the source codes for linux and uboot?


Thanks

Nomoto

  • Nomoto,

    To adress your questions:

    1. Yes, the arm-arago-linux-gnueabi toolchain should be used to cross compile now unless you have specific requirements for something else. This is the toolchain used internally by TI now for the SDK builds.
    2. Thumb-2EE is supported by the Cortex-A8 core inside the am335x. However, the instruction set is targeted toward bytecode languages like Java or Python which are not typically compiled at all, I am not clear on what you plan to do with this.
    3. The linux and u-boot packages found directly under the board-support path are the actual source trees that can be built to recreate the u-boot, MLO, and uImage included with the sdk and are the locations that you would want to modify if you want to make changes to your kernel or u-boot. The folders found under the board-port-labs path are support files to be used with out Sitara Board Port Labs which can be found here: http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Linux_Board_Port . This training exists to familiarize users with the process of bringing up the linux kernel on different hardware.

    Regards,

    Dave