buildroot version upgrade

  • 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.
  • 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.