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.

Compile u-boot for am335x on 64 bit Ubuntu

Hello all,

We are working on AM335x processor, for reference we have both AM335x GPEVM and TI-SK as well.

It is required to build u-boot on ubuntu 14.04 64 bit OS. We are working taking ti-sdk-am335x-evm-06.00.00.00 as reference.

I am unable to build u-boot on ubuntu 14.04, mkimage gives errors, whereas same sdk in installed on ubuntu 10.04 32 bit OS, it compiles, without any errors.

I have also installed uboot-mkimage and uboot-envtools for 64 bit, still i am unable to compile on 64 bit.

Here are the logs:

/home/sujan/ti-sdk-am335x-evm-06.00.00.00/board-support/u-boot-2013.01.01-psp06.00.00.00/am335x/tools/mkimage: Can't stat /home/sujan/ti-sdk-am335x-evm-06.00.00.00/board-support/u-boot-2013.01.01-psp06.00.00.00/am335x/spl/u-boot-spl.bin: Invalid argument
make[2]: *** [/home/sujan/ti-sdk-am335x-evm-06.00.00.00/board-support/u-boot-2013.01.01-psp06.00.00.00/am335x/MLO] Error 1
make[2]: Leaving directory `/home/sujan/ti-sdk-am335x-evm-06.00.00.00/board-support/u-boot-2013.01.01-psp06.00.00.00/spl'
make[1]: *** [/home/sujan/ti-sdk-am335x-evm-06.00.00.00/board-support/u-boot-2013.01.01-psp06.00.00.00/am335x/spl/u-boot-spl.bin] Error 2
make[1]: Leaving directory `/home/sujan/ti-sdk-am335x-evm-06.00.00.00/board-support/u-boot-2013.01.01-psp06.00.00.00'

Can the experts out there please guide me to get this working.

Thanks and regards

Sujan