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.

Linux/AM3358: Bitbake build error

Part Number: AM3358

Tool/software: Linux

Hi,

I have one question regarding ProcessorSDK build.

When I executed the "bitbake", I have one error message as the below.

- - - - - - - - - - - - - - - - - - - - - -

moto@ubuntu:~/tisdk/build$ MACHINE=am335x-evm bitbake arago-core-tisdk-image
NOTE: Your conf/bblayers.conf has been automatically updated.
NOTE: Your conf/bblayers.conf has been automatically updated.
WARNING: /home/moto/tisdk/sources/oe-core/meta/recipes-core/meta/meta-environment.bb: Exception during build_dependencies for toolchain_create_sdk_version
WARNING: /home/moto/tisdk/sources/oe-core/meta/recipes-core/meta/meta-environment.bb: Error during finalise of /home/moto/tisdk/sources/oe-core/meta/recipes-core/meta/meta-environment.bb
ERROR: ExpansionError during parsing /home/moto/tisdk/sources/oe-core/meta/recipes-core/meta/meta-environment.bb
Traceback (most recent call last):
bb.data_smart.ExpansionError: Failure expanding variable METADATA_REVISION, expression was ${@base_detect_revision(d)} which triggered exception CmdError: Execution of 'git rev-parse HEAD' failed: [Errno 12] Cannot allocate memory


Summary: There were 2 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

- - - - - - - - - - - - - - - - - - - - - - -

I found one thread in the forum.

http://e2e.ti.com/support/arm/sitara_arm/f/791/p/669592/2464565#2464565

According to this thread, the cause of an error is out of memory.

Does this "memory" mean physical DDR memory size? or Hard disk space? I have 80GB disk space. But physical memory has only 4GB.

Can I build the SDK with this condition?

Please advise me.

Best regards,

Michi