Page 1 of 1

buildroot version upgrade

Posted: 2024-11-18 19:23
by scipio
Has anyone updated the buildroot version ?

I have many problems activating nodejs package with buildroot 2023.02.06 on pico ultra w board.

Re: buildroot version upgrade

Posted: 2024-11-20 2:52
by Crocodile
If you need to update buildroot, you can consider getting the latest buildroot compressed as.tar.gz instead <SDK>of/luckfox-pico/sysdrv/tools/board/buildroot/buildroot-2023.02.6.tar.gz, because the compilation script uses 2023.02.6 as the index, so it should also be named buildroot-2023.02.6.tar.gz.

The nodejs package problem may also be a uclibc compatibility problem. Updating buildroot is not helpful. It is recommended to use glibc environment (ubuntu system) to ensure software compatibility support.

Re: buildroot version upgrade

Posted: 2025-10-31 17:20
by zeljkoj
I managed to compile Nodejs for my Luckfox Pico Max, using the procedure described here:

https://stackoverflow.com/questions/752 ... n-declared

In short, there are just two files which need simple edits:

in sysdrv/source/buildroot/buildroot-2023.02.6/output/build/nodejs-16.20.0/deps/v8/src/base/strings.h

add: #include <cstdarg>

in sysdrv/source/buildroot/buildroot-2023.02.6/output/build/nodejs-16.20.0/src/node_main.cc
remove: #include <sys/auxv.h>

and int he same file also remove the instance where getauxval() is used:

#if defined(__linux__)
node::per_process::linux_at_secure = getauxval(AT_SECURE);
#endif

That is all. No need to upgrade Buildroot. Hope this helps.