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.

PROCESSOR-SDK-AM62X: SDK Build PC Requirement

Part Number: PROCESSOR-SDK-AM62X

Hi PSDK Team

Can you please specify the minimum requirement for Yocto SDK Building with PSDK 9.0.0.3 latest?

I'm unable to build Yocto SDK completely even in tisdk-base.image. 

My laptop has 8GB RAM, 16~32GB SWAP, 500GB SSD and (native) Ubuntu 22.x LTS.(not VMware) 

The terminal window is suddendly closed during the building after several hours. and sometimes I could not resolve gcc compilation due to link errors. 

My customers have failed from Graphics. Vulkan......related recipe.  

Regards, 

Jack

  • Hi Jack,

    with SDK v9.0 the requirements for the build machine have become much larger it seems. I would recommend a machine with at least 32GB of RAM (better 64GB) configured with an equal amount of swap space, and a very large SDD (like, at least 1TB).

    Note that you can dial down the requirements some by editing the conf/local.conf file section shown below and turn down the number of parallel bitbake and make threads:

    #
    # Parallelism Options
    #
    # These two options control how much parallelism BitBake should use. The first
    # option determines how many tasks bitbake should run in parallel:
    #
    # BB_NUMBER_THREADS ?= "1"
    #
    # The second option controls how many processes make should run in parallel when
    # running compile tasks:
    #
    # PARALLEL_MAKE ?= "-j 1"
    #
    # For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would
    # be appropriate for example
    #
    # NOTE: By default, bitbake will choose the number of processeors on your host
    # so you should not need to set this unless you are wanting to lower the number
    # allowed.
    #

    Especially modifying BB_NUMBER_THREADS is very impactful. Try setting it to 8 (or even 4) while removing the leading comment character (`#`) to activate the definition.

    https://docs.yoctoproject.org/ref-manual/variables.html?highlight=bb_number_threads#term-BB_NUMBER_THREADS

    https://docs.yoctoproject.org/ref-manual/variables.html?highlight=bb_number_threads#term-PARALLEL_MAKE

    Regards, Andreas