Part Number:PROCESSOR-SDK-AM335X
Tool/software: Linux
Hello Kemal,for using Processor SDK conveniently in the future,I give up 05.00.00.15,then use 05.01.00.11.Now I have three problems.
First ,thanks to your help,I use the method you told me,and successfully compile the linux kernel,then I excute the commands in the Processor SDK Linux Software Developer’s Guide orderly except those in 1.1.6.Top-Level Makefile of the Guide such as “make”“make all”“make linux”and“make u-boot-spl”,I think I do not need excute them any more.Is it correct?
Second ,in 1.1.7. GCC ToolChain,the contents of the Guide are:
Cross-compile the helloworld.c file using the cross-compile toolchain. In this example we will invoke the toolchain without it having been added to our PATH.
host# <SDK INSTALL DIR>/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc helloworld.c -o helloworld
my operation and effect are as follows:
wang@wang-ThinkPad-Edge-E125:/opt/ti-processor-sdk-linux-am335x-evm-05.01.00.11$ /opt/ti-processor-sdk-linux-am335x-evm-05.01.00.11/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf-gcc helloworld.c -o helloworld
helloworld.c:1:10: fatal error: stdio.h: 没有那个文件或目录(without that file or directory)
#include <stdio.h>
^~~~~~~~~
compilation terminated.
wang@wang-ThinkPad-Edge-E125:/opt/ti-processor-sdk-linux-am335x-evm-05.01.00.11$
How should I do next?
Third , in step 1.2.2.2. Build Steps(1.2. Building the SDK),the contents of the Guide are:
Please refer to here for the layer configuration for a particular release of Processor SDK Linux. The final command below will build the arago-base-tisdk-image, which is the minimal Processor SDK filesystem. See Build Options for a list of additional targets.
$ git clone git://arago-project.org/git/projects/oe-layersetup.git tisdk
$ cd tisdk
$ ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-<version>-config.txt
$ cd build
$ . conf/setenv
$ export TOOLCHAIN_PATH_ARMV7=$HOME/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf
$ export TOOLCHAIN_PATH_ARMV8=$HOME/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu
$ MACHINE=am57xx-evm bitbake arago-base-tisdk-image
my last operations and effects are as follows:
wang@wang-ThinkPad-Edge-E125:/opt/ti-processor-sdk-linux-am335x-evm-05.01.00.11/tisdk$ cd build
wang@wang-ThinkPad-Edge-E125:/opt/ti-processor-sdk-linux-am335x-evm-05.01.00.11/tisdk/build$ . conf/setenv
wang@wang-ThinkPad-Edge-E125:/opt/ti-processor-sdk-linux-am335x-evm-05.01.00.11/tisdk/build$ export TOOLCHAIN_PATH_ARMV7=$HOME/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabihf
wang@wang-ThinkPad-Edge-E125:/opt/ti-processor-sdk-linux-am335x-evm-05.01.00.11/tisdk/build$ export TOOLCHAIN_PATH_ARMV8=$HOME/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu
wang@wang-ThinkPad-Edge-E125:/opt/ti-processor-sdk-linux-am335x-evm-05.01.00.11/tisdk/build$ MACHINE=am335x-evm bitbake arago-base-tisdk-image
Unable to create 'pyshtables.py'
[Errno 13] Permission denied: 'pyshtables.py'
ERROR: Unable to acquire lock '/opt/ti-processor-sdk-linux-am335x-evm-05.01.00.11/tisdk/build/bitbake.lock', directory is not writable
wang@wang-ThinkPad-Edge-E125:/opt/ti-processor-sdk-linux-am335x-evm-05.01.00.11/tisdk/build$ MACHINE=am57xx-evm bitbake arago-base-tisdk-image
Unable to create 'pyshtables.py'
[Errno 13] Permission denied: 'pyshtables.py'
ERROR: Unable to acquire lock '/opt/ti-processor-sdk-linux-am335x-evm-05.01.00.11/tisdk/build/bitbake.lock', directory is not writable
wang@wang-ThinkPad-Edge-E125:/opt/ti-processor-sdk-linux-am335x-evm-05.01.00.11/tisdk/build$
What should I do next?
Many thanks
GONGHUA