Skip to contentSkip to conversation

TI AM62x based EV charger platform with Pionix UI s/w Image build problem. #apt #bitbake #distro #poky

DISCUSSION [email protected] 4 participants 4 messages Nov 28, 2023

lore
Share & tools
lore
#0 lore raw

Hi team,

we are trying to build TI AM62x EVSE SDK referring to https://github.com/PionixPublic/ti-am62x-evse-sdk ( https://github.com/PionixPublic/ti-am62x-evse-sdk ) we have tried building in virtual machine and now we are trying to build in Linux  host pc with 500gb of storage and 16gb ram but still bitbake runs till 99 percentage   and last module Nodejs takes forever to run system experiences a freeze. Tried multiple times running the bitbake but still problem remains same .

#1 lore raw

Hi,
nodejs is very, *very*, heavy to build due to it's complex C++ code. I would suggest you to limit the number of parallel builds supported: this may slow down other (lighter) builds but will avoid going out of memory for heavy ones such as node.

This can be done by putting in your local configuration (build/conf/local.conf or replace "build" with your build directory) directives like:

BB_NUMBER_THREADS = '4'
PARALLEL_MAKE = '-j 4'

(this limits to 4, you can play on this depending on number of cores and amount of RAM of course)

hth,
Federico

Il giorno mar 28 nov 2023 alle ore 07:00 <[email protected]> ha scritto:

Quoted 24 lines

Hi team,

we are trying to build TI AM62x EVSE SDK referring to
https://github.com/PionixPublic/ti-am62x-evse-sdk we have tried building in virtual machine and now we are trying to build in Linux host pc with 500gb of storage and 16gb ram but still bitbake runs till 99 percentage
and last module Nodejs takes forever to run system experiences a freeze.
Tried multiple times running the bitbake but still problem remains same .
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#61764):
https://lists.yoctoproject.org/g/yocto/message/61764
Mute This Topic: https://lists.yoctoproject.org/mt/102846254/5117409
Mute #distro:https://lists.yoctoproject.org/g/yocto/mutehashtag/distro Mute #poky:https://lists.yoctoproject.org/g/yocto/mutehashtag/poky Mute #apt:https://lists.yoctoproject.org/g/yocto/mutehashtag/apt Mute #bitbake:https://lists.yoctoproject.org/g/yocto/mutehashtag/bitbake Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

Re: TI AM62x based EV charger platform with Pionix UI s/w Image build problem. #distro #poky #apt #bitbake

Quoted 18 lines · Federico Pellegrin

Hi,
nodejs is very, *very*, heavy to build due to it's complex C++ code. I would suggest you to limit the number of parallel builds supported: this may slow down other (lighter) builds but will avoid going out of memory for heavy ones such as node.

This can be done by putting in your local configuration (build/conf/local.conf or replace "build" with your build directory) directives like:

BB_NUMBER_THREADS = '4'
PARALLEL_MAKE = '-j 4'

(this limits to 4, you can play on this depending on number of cores and amount of RAM of course)

Quoted 28 lines

hth,
Federico

Il giorno mar 28 nov 2023 alle ore 07:00 < [email protected] > ha scritto:

Quoted 18 lines

Hi team,

we are trying to build TI AM62x EVSE SDK referring to https://github.com/PionixPublic/ti-am62x-evse-sdk
( https://github.com/PionixPublic/ti-am62x-evse-sdk ) we have tried
building in virtual machine and now we are trying to build in Linux  host
pc with 500gb of storage and 16gb ram but still bitbake runs till 99
percentage   and last module Nodejs takes forever to run system
experiences a freeze. Tried multiple times running the bitbake but still
problem remains same .

I was able to build nodejs when I upgraded my RAM to 32GB. Upgrade your RAM.

Regards,
Hassan

#3 lore raw
In reply to [email protected]

Hello Sairaj,

You should do df command and explore how much of your /home or / partitions (have no idea how the system was installed) is left.

Maybe you have a problem with the limited free space on your SSD/HDD?

You should have at least 60GB or even more disk space available to do one successful YOCTO build.

Two cent worth answer,
Zee
_______

Quoted 8 lines · On Tue, Nov 28, 2023 at 7:00 AM <[email protected]> wrote:

Hi team,

we are trying to build TI AM62x EVSE SDK referring to https://github.com/PionixPublic/ti-am62x-evse-sdk we have tried building in virtual machine and now we are trying to build in Linux host pc with 500gb of storage and 16gb ram but still bitbake runs till 99 percentage and last module Nodejs takes forever to run system experiences a freeze. Tried multiple times running the bitbake but still problem remains same .