Created
April 8, 2026 04:23
-
-
Save lupyuen/a11b3cfbec49f8245da42f05163c4570 to your computer and use it in GitHub Desktop.
graphics/libyuv: Download libyuv from NuttX Mirror Repo instead of chromium.googlesource.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| luppy@thinkstation:~/nuttx-release$ | |
| luppy@thinkstation:~/nuttx-release$ | |
| luppy@thinkstation:~/nuttx-release$ sudo docker run -it \ | |
| ghcr.io/apache/nuttx/apache-nuttx-ci-linux:latest \ | |
| > | |
| [sudo] password for luppy: | |
| root@fbea941a8fce:/tools# cd ; | |
| pwd ; | |
| git clone https://github.com/apache/nuttx ; | |
| git clone https://github.com/apache/nuttx-apps apps ; | |
| /root | |
| Cloning into 'nuttx'... | |
| remote: Enumerating objects: 901132, done. | |
| remote: Counting objects: 100% (170/170), done. | |
| remote: Compressing objects: 100% (120/120), done. | |
| remote: Total 901132 (delta 79), reused 55 (delta 50), pack-reused 900962 (from 2) | |
| Receiving objects: 100% (901132/901132), 359.91 MiB | 12.12 MiB/s, done. | |
| Resolving deltas: 100% (706995/706995), done. | |
| Updating files: 100% (25982/25982), done. | |
| Cloning into 'apps'... | |
| remote: Enumerating objects: 98502, done. | |
| remote: Counting objects: 100% (1724/1724), done. | |
| remote: Compressing objects: 100% (513/513), done. | |
| remote: Total 98502 (delta 1417), reused 1212 (delta 1211), pack-reused 96778 (from 3) | |
| Receiving objects: 100% (98502/98502), 26.78 MiB | 14.29 MiB/s, done. | |
| Resolving deltas: 100% (79196/79196), done. | |
| root@fbea941a8fce:~# cd nuttx | |
| root@fbea941a8fce:~/nuttx# nano | |
| bash: nano: command not found | |
| root@fbea941a8fce:~/nuttx# vi | |
| bash: vi: command not found | |
| root@fbea941a8fce:~/nuttx# ed | |
| bash: ed: command not found | |
| root@fbea941a8fce:~/nuttx# vim | |
| bash: vim: command not found | |
| root@fbea941a8fce:~/nuttx# cd .. | |
| root@fbea941a8fce:~# rm -rf apps | |
| root@fbea941a8fce:~# git clone https://github.com/lupyuen17/nuttx-apps apps ; | |
| Cloning into 'apps'... | |
| remote: Enumerating objects: 97931, done. | |
| remote: Counting objects: 100% (1534/1534), done. | |
| remote: Compressing objects: 100% (463/463), done. | |
| remote: Total 97931 (delta 1271), reused 1071 (delta 1071), pack-reused 96397 (from 4) | |
| Receiving objects: 100% (97931/97931), 26.61 MiB | 16.77 MiB/s, done. | |
| Resolving deltas: 100% (78869/78869), done. | |
| root@fbea941a8fce:~# cd nuttx | |
| root@fbea941a8fce:~/nuttx# tools/configure.sh sim:nxcamera | |
| Copy files | |
| Select CONFIG_HOST_LINUX=y | |
| Refreshing... | |
| CP: arch/dummy/Kconfig to /root/nuttx/arch/dummy/dummy_kconfig | |
| CP: boards/dummy/Kconfig to /root/nuttx/boards/dummy/dummy_kconfig | |
| LN: platform/board to /root/apps/platform/dummy | |
| LN: include/arch to arch/sim/include | |
| LN: include/arch/board to /root/nuttx/boards/sim/sim/sim/include | |
| LN: drivers/platform to /root/nuttx/drivers/dummy | |
| LN: include/arch/chip to /root/nuttx/arch/sim/include/sim | |
| LN: arch/sim/src/chip to /root/nuttx/arch/sim/src/sim | |
| LN: arch/sim/src/board to /root/nuttx/boards/sim/sim/sim/src | |
| mkkconfig in /root/apps/audioutils | |
| mkkconfig in /root/apps/benchmarks | |
| mkkconfig in /root/apps/boot | |
| mkkconfig in /root/apps/canutils | |
| mkkconfig in /root/apps/crypto | |
| mkkconfig in /root/apps/database | |
| mkkconfig in /root/apps/examples/elf/tests | |
| mkkconfig in /root/apps/examples/elf | |
| mkkconfig in /root/apps/examples/mcuboot | |
| mkkconfig in /root/apps/examples/module | |
| mkkconfig in /root/apps/examples/rust | |
| mkkconfig in /root/apps/examples/sotest | |
| mkkconfig in /root/apps/examples | |
| mkkconfig in /root/apps/fsutils | |
| mkkconfig in /root/apps/games | |
| mkkconfig in /root/apps/graphics | |
| mkkconfig in /root/apps/industry | |
| mkkconfig in /root/apps/inertial | |
| mkkconfig in /root/apps/interpreters/luamodules | |
| mkkconfig in /root/apps/interpreters | |
| mkkconfig in /root/apps/logging | |
| mkkconfig in /root/apps/lte | |
| mkkconfig in /root/apps/math | |
| mkkconfig in /root/apps/mlearning | |
| mkkconfig in /root/apps/netutils | |
| mkkconfig in /root/apps/sdr | |
| mkkconfig in /root/apps/system | |
| mkkconfig in /root/apps/tee | |
| mkkconfig in /root/apps/testing/arch | |
| mkkconfig in /root/apps/testing/cxx | |
| mkkconfig in /root/apps/testing/drivers | |
| mkkconfig in /root/apps/testing/fs | |
| mkkconfig in /root/apps/testing/libc | |
| mkkconfig in /root/apps/testing/mm | |
| mkkconfig in /root/apps/testing/sched | |
| mkkconfig in /root/apps/testing | |
| mkkconfig in /root/apps/videoutils | |
| mkkconfig in /root/apps/wireless/bluetooth | |
| mkkconfig in /root/apps/wireless/ieee802154 | |
| mkkconfig in /root/apps/wireless | |
| mkkconfig in /root/apps | |
| Loaded configuration '.config' | |
| Configuration saved to '.config' | |
| root@fbea941a8fce:~/nuttx# make -j 10 | |
| Create version.h | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0LN: platform/board to /root/apps/platform/dummy | |
| 100 423 100 423 0 0 682 0 --:--:-- --:--:-- --:--:-- 681 | |
| 100 3334 100 3334 0 0 4472 0 --:--:-- --:--:-- --:--:-- 4472 | |
| curl -L https://chromium.googlesource.com/libyuv/libyuv/+archive/refs/heads/stable.tar.gz -o libyuv.tar.gz | |
| gzip: stdin: not in gzip format | |
| tar: Child returned status 1 | |
| tar: Error is not recoverable: exiting now | |
| make[3]: *** [Makefile:35: libyuv.tar.gz] Error 2 | |
| make[2]: *** [Makefile:57: /root/apps/graphics/libyuv_context] Error 2 | |
| make[1]: *** [Makefile:187: context] Error 2 | |
| make: *** [tools/Unix.mk:467: /root/apps/.context] Error 2 | |
| root@fbea941a8fce:~/nuttx# grep YUV .config | |
| CONFIG_LIBYUV=y | |
| CONFIG_LIBYUV_BRANCH="stable" | |
| root@fbea941a8fce:~/nuttx# pushd ../apps ; git pull ; popd | |
| ~/apps ~/nuttx | |
| remote: Enumerating objects: 9, done. | |
| remote: Counting objects: 100% (9/9), done. | |
| remote: Compressing objects: 100% (5/5), done. | |
| remote: Total 5 (delta 4), reused 0 (delta 0), pack-reused 0 (from 0) | |
| Unpacking objects: 100% (5/5), 1.11 KiB | 566.00 KiB/s, done. | |
| From https://github.com/lupyuen17/nuttx-apps | |
| 893927dc5..4929fbb71 master -> origin/master | |
| Updating 893927dc5..4929fbb71 | |
| Fast-forward | |
| graphics/libyuv/Makefile | 4 ++-- | |
| 1 file changed, 2 insertions(+), 2 deletions(-) | |
| ~/nuttx | |
| root@fbea941a8fce:~/nuttx# make -j 10 | |
| LN: platform/board to /root/apps/platform/dummy | |
| Register: hello | |
| Register: nsh | |
| Register: sh | |
| Register: dd | |
| Register: dumpstack | |
| Register: gpio | |
| Register: nxcamera | |
| ./nxcamera.c:54:12: fatal error: libyuv.h: No such file or directory | |
| 54 | # include <libyuv.h> | |
| | ^~~~~~~~~~ | |
| compilation terminated. | |
| ERROR: cc failed: 1 | |
| command: cc -MT ./nxcamera.c.root.apps.system.nxcamera.o -M '-g' '-fomit-frame-pointer' '-fno-common' '-fvisibility=hidden' '-ffunction-sections' '-fdata-sections' '-Wall' '-Wstrict-prototypes' '-Wshadow' '-Wundef' '-Wno-attributes' '-Wno-unknown-pragmas' '-fno-pic' '-mcmodel=medium' '-isystem' '/root/nuttx/include' '-D__NuttX__' '-DNDEBUG' '-U_AIX' '-U_WIN32' '-U__APPLE__' '-U__FreeBSD__' '-U__NetBSD__' '-U__linux__' '-U__sun__' '-U__unix__' '-U__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__' '-D__KERNEL__' '-I' '/root/apps/graphics/libyuv/libyuv/include' '-I' '/root/apps/include' ./nxcamera.c | |
| CP: /root/nuttx/include/nuttx/config.h | |
| CP: /root/nuttx/include/nuttx/fs/hostfs.h | |
| ^Cmake[2]: *** Deleting file 'lib_base64outstream.ddc' | |
| make[2]: *** Deleting file 'lib_hexdumpstream.ddc' | |
| make[2]: *** Deleting file 'lib_bufferedoutstream.ddc' | |
| make[2]: *** Deleting file 'lib_syslograwstream.ddc' | |
| make[2]: *** Deleting file 'lib_syslogstream.ddc' | |
| make[2]: *** Deleting file 'lib_libsnoflush.ddc' | |
| make[2]: *** Deleting file 'lib_mtdoutstream.ddc' | |
| make[2]: *** Deleting file 'lib_nulloutstream.ddc' | |
| make[2]: *** [/root/nuttx/tools/Config.mk:232: lib_mtdsostream.ddc] Interrupt | |
| make[2]: *** [/root/nuttx/tools/Config.mk:232: lib_fileinstream.ddc] Interrupt | |
| make[1]: *** [Makefile:202: .depend] Interrupt | |
| make: *** [tools/Unix.mk:670: pass2dep] Interrupt | |
| root@fbea941a8fce:~/nuttx# make distclean | |
| root@fbea941a8fce:~/nuttx# tools/configure.sh sim:nxcamera | |
| Copy files | |
| Select CONFIG_HOST_LINUX=y | |
| Refreshing... | |
| CP: arch/dummy/Kconfig to /root/nuttx/arch/dummy/dummy_kconfig | |
| CP: boards/dummy/Kconfig to /root/nuttx/boards/dummy/dummy_kconfig | |
| LN: platform/board to /root/apps/platform/dummy | |
| LN: include/arch to arch/sim/include | |
| LN: include/arch/board to /root/nuttx/boards/sim/sim/sim/include | |
| LN: drivers/platform to /root/nuttx/drivers/dummy | |
| LN: include/arch/chip to /root/nuttx/arch/sim/include/sim | |
| LN: arch/sim/src/chip to /root/nuttx/arch/sim/src/sim | |
| LN: arch/sim/src/board to /root/nuttx/boards/sim/sim/sim/src | |
| mkkconfig in /root/apps/audioutils | |
| mkkconfig in /root/apps/benchmarks | |
| mkkconfig in /root/apps/boot | |
| mkkconfig in /root/apps/canutils | |
| mkkconfig in /root/apps/crypto | |
| mkkconfig in /root/apps/database | |
| mkkconfig in /root/apps/examples/elf/tests | |
| mkkconfig in /root/apps/examples/elf | |
| mkkconfig in /root/apps/examples/mcuboot | |
| mkkconfig in /root/apps/examples/module | |
| mkkconfig in /root/apps/examples/rust | |
| mkkconfig in /root/apps/examples/sotest | |
| mkkconfig in /root/apps/examples | |
| mkkconfig in /root/apps/fsutils | |
| mkkconfig in /root/apps/games | |
| mkkconfig in /root/apps/graphics | |
| mkkconfig in /root/apps/industry | |
| mkkconfig in /root/apps/inertial | |
| mkkconfig in /root/apps/interpreters/luamodules | |
| mkkconfig in /root/apps/interpreters | |
| mkkconfig in /root/apps/logging | |
| mkkconfig in /root/apps/lte | |
| mkkconfig in /root/apps/math | |
| mkkconfig in /root/apps/mlearning | |
| mkkconfig in /root/apps/netutils | |
| mkkconfig in /root/apps/sdr | |
| mkkconfig in /root/apps/system | |
| mkkconfig in /root/apps/tee | |
| mkkconfig in /root/apps/testing/arch | |
| mkkconfig in /root/apps/testing/cxx | |
| mkkconfig in /root/apps/testing/drivers | |
| mkkconfig in /root/apps/testing/fs | |
| mkkconfig in /root/apps/testing/libc | |
| mkkconfig in /root/apps/testing/mm | |
| mkkconfig in /root/apps/testing/sched | |
| mkkconfig in /root/apps/testing | |
| mkkconfig in /root/apps/videoutils | |
| mkkconfig in /root/apps/wireless/bluetooth | |
| mkkconfig in /root/apps/wireless/ieee802154 | |
| mkkconfig in /root/apps/wireless | |
| mkkconfig in /root/apps | |
| Loaded configuration '.config' | |
| Configuration saved to '.config' | |
| root@fbea941a8fce:~/nuttx# make -j 10 | |
| Create version.h | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0LN: platform/board to /root/apps/platform/dummy | |
| 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
| 100 485k 100 485k 0 0 341k 0 0:00:01 0:00:01 --:--:-- 5943k | |
| curl -L https://github.com/NuttX/nuttx/releases/download/libyuv/libyuv-refs_heads_stable.tar.gz -o libyuv.tar.gz | |
| patching file libyuv/include/libyuv/planar_functions.h | |
| Register: gpio | |
| Register: hello | |
| Register: dd | |
| Register: nsh | |
| Register: sh | |
| Register: dumpstack | |
| Register: nxcamera | |
| CP: /root/nuttx/include/nuttx/config.h | |
| CP: /root/nuttx/include/nuttx/fs/hostfs.h | |
| LD: nuttx | |
| Pac SIM with dynamic libs.. | |
| '/lib/x86_64-linux-gnu/libX11.so.6' -> 'sim-pac/libs/libX11.so.6' | |
| '/lib/x86_64-linux-gnu/libXext.so.6' -> 'sim-pac/libs/libXext.so.6' | |
| '/lib/x86_64-linux-gnu/libz.so.1' -> 'sim-pac/libs/libz.so.1' | |
| '/lib/x86_64-linux-gnu/libc.so.6' -> 'sim-pac/libs/libc.so.6' | |
| '/lib/x86_64-linux-gnu/libxcb.so.1' -> 'sim-pac/libs/libxcb.so.1' | |
| '/lib/x86_64-linux-gnu/libXau.so.6' -> 'sim-pac/libs/libXau.so.6' | |
| '/lib/x86_64-linux-gnu/libXdmcp.so.6' -> 'sim-pac/libs/libXdmcp.so.6' | |
| '/lib/x86_64-linux-gnu/libbsd.so.0' -> 'sim-pac/libs/libbsd.so.0' | |
| '/lib/x86_64-linux-gnu/libmd.so.0' -> 'sim-pac/libs/libmd.so.0' | |
| '/lib64/ld-linux-x86-64.so.2' -> 'sim-pac/ld-linux-x86-64.so.2' | |
| SIM elf with dynamic libs archive in nuttx.tgz | |
| root@fbea941a8fce:~/nuttx# make distclean | |
| root@fbea941a8fce:~/nuttx# tools/configure.sh sim:nxcamera | |
| Copy files | |
| Select CONFIG_HOST_LINUX=y | |
| Refreshing... | |
| CP: arch/dummy/Kconfig to /root/nuttx/arch/dummy/dummy_kconfig | |
| CP: boards/dummy/Kconfig to /root/nuttx/boards/dummy/dummy_kconfig | |
| LN: platform/board to /root/apps/platform/dummy | |
| LN: include/arch to arch/sim/include | |
| LN: include/arch/board to /root/nuttx/boards/sim/sim/sim/include | |
| LN: drivers/platform to /root/nuttx/drivers/dummy | |
| LN: include/arch/chip to /root/nuttx/arch/sim/include/sim | |
| LN: arch/sim/src/chip to /root/nuttx/arch/sim/src/sim | |
| LN: arch/sim/src/board to /root/nuttx/boards/sim/sim/sim/src | |
| mkkconfig in /root/apps/audioutils | |
| mkkconfig in /root/apps/benchmarks | |
| mkkconfig in /root/apps/boot | |
| mkkconfig in /root/apps/canutils | |
| mkkconfig in /root/apps/crypto | |
| mkkconfig in /root/apps/database | |
| mkkconfig in /root/apps/examples/elf/tests | |
| mkkconfig in /root/apps/examples/elf | |
| mkkconfig in /root/apps/examples/mcuboot | |
| mkkconfig in /root/apps/examples/module | |
| mkkconfig in /root/apps/examples/rust | |
| mkkconfig in /root/apps/examples/sotest | |
| mkkconfig in /root/apps/examples | |
| mkkconfig in /root/apps/fsutils | |
| mkkconfig in /root/apps/games | |
| mkkconfig in /root/apps/graphics | |
| mkkconfig in /root/apps/industry | |
| mkkconfig in /root/apps/inertial | |
| mkkconfig in /root/apps/interpreters/luamodules | |
| mkkconfig in /root/apps/interpreters | |
| mkkconfig in /root/apps/logging | |
| mkkconfig in /root/apps/lte | |
| mkkconfig in /root/apps/math | |
| mkkconfig in /root/apps/mlearning | |
| mkkconfig in /root/apps/netutils | |
| mkkconfig in /root/apps/sdr | |
| mkkconfig in /root/apps/system | |
| mkkconfig in /root/apps/tee | |
| mkkconfig in /root/apps/testing/arch | |
| mkkconfig in /root/apps/testing/cxx | |
| mkkconfig in /root/apps/testing/drivers | |
| mkkconfig in /root/apps/testing/fs | |
| mkkconfig in /root/apps/testing/libc | |
| mkkconfig in /root/apps/testing/mm | |
| mkkconfig in /root/apps/testing/sched | |
| mkkconfig in /root/apps/testing | |
| mkkconfig in /root/apps/videoutils | |
| mkkconfig in /root/apps/wireless/bluetooth | |
| mkkconfig in /root/apps/wireless/ieee802154 | |
| mkkconfig in /root/apps/wireless | |
| mkkconfig in /root/apps | |
| Loaded configuration '.config' | |
| Configuration saved to '.config' | |
| root@fbea941a8fce:~/nuttx# make distclean | |
| root@fbea941a8fce:~/nuttx# pushd ../apps ; git pull ; popd | |
| ~/apps ~/nuttx | |
| remote: Enumerating objects: 9, done. | |
| remote: Counting objects: 100% (9/9), done. | |
| remote: Compressing objects: 100% (5/5), done. | |
| remote: Total 5 (delta 4), reused 0 (delta 0), pack-reused 0 (from 0) | |
| Unpacking objects: 100% (5/5), 1.02 KiB | 524.00 KiB/s, done. | |
| From https://github.com/lupyuen17/nuttx-apps | |
| 4929fbb71..72ed65185 master -> origin/master | |
| Updating 4929fbb71..72ed65185 | |
| Fast-forward | |
| graphics/libyuv/Makefile | 1 - | |
| 1 file changed, 1 deletion(-) | |
| ~/nuttx | |
| root@fbea941a8fce:~/nuttx# tools/configure.sh sim:nxcamera | |
| Copy files | |
| Select CONFIG_HOST_LINUX=y | |
| Refreshing... | |
| CP: arch/dummy/Kconfig to /root/nuttx/arch/dummy/dummy_kconfig | |
| CP: boards/dummy/Kconfig to /root/nuttx/boards/dummy/dummy_kconfig | |
| LN: platform/board to /root/apps/platform/dummy | |
| LN: include/arch to arch/sim/include | |
| LN: include/arch/board to /root/nuttx/boards/sim/sim/sim/include | |
| LN: drivers/platform to /root/nuttx/drivers/dummy | |
| LN: include/arch/chip to /root/nuttx/arch/sim/include/sim | |
| LN: arch/sim/src/chip to /root/nuttx/arch/sim/src/sim | |
| LN: arch/sim/src/board to /root/nuttx/boards/sim/sim/sim/src | |
| mkkconfig in /root/apps/audioutils | |
| mkkconfig in /root/apps/benchmarks | |
| mkkconfig in /root/apps/boot | |
| mkkconfig in /root/apps/canutils | |
| mkkconfig in /root/apps/crypto | |
| mkkconfig in /root/apps/database | |
| mkkconfig in /root/apps/examples/elf/tests | |
| mkkconfig in /root/apps/examples/elf | |
| mkkconfig in /root/apps/examples/mcuboot | |
| mkkconfig in /root/apps/examples/module | |
| mkkconfig in /root/apps/examples/rust | |
| mkkconfig in /root/apps/examples/sotest | |
| mkkconfig in /root/apps/examples | |
| mkkconfig in /root/apps/fsutils | |
| mkkconfig in /root/apps/games | |
| mkkconfig in /root/apps/graphics | |
| mkkconfig in /root/apps/industry | |
| mkkconfig in /root/apps/inertial | |
| mkkconfig in /root/apps/interpreters/luamodules | |
| mkkconfig in /root/apps/interpreters | |
| mkkconfig in /root/apps/logging | |
| mkkconfig in /root/apps/lte | |
| mkkconfig in /root/apps/math | |
| mkkconfig in /root/apps/mlearning | |
| mkkconfig in /root/apps/netutils | |
| mkkconfig in /root/apps/sdr | |
| mkkconfig in /root/apps/system | |
| mkkconfig in /root/apps/tee | |
| mkkconfig in /root/apps/testing/arch | |
| mkkconfig in /root/apps/testing/cxx | |
| mkkconfig in /root/apps/testing/drivers | |
| mkkconfig in /root/apps/testing/fs | |
| mkkconfig in /root/apps/testing/libc | |
| mkkconfig in /root/apps/testing/mm | |
| mkkconfig in /root/apps/testing/sched | |
| mkkconfig in /root/apps/testing | |
| mkkconfig in /root/apps/videoutils | |
| mkkconfig in /root/apps/wireless/bluetooth | |
| mkkconfig in /root/apps/wireless/ieee802154 | |
| mkkconfig in /root/apps/wireless | |
| mkkconfig in /root/apps | |
| Loaded configuration '.config' | |
| Configuration saved to '.config' | |
| root@fbea941a8fce:~/nuttx# make -j 10 | |
| Create version.h | |
| LN: platform/board to /root/apps/platform/dummy | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
| 100 485k 100 485k 0 0 801k 0 --:--:-- --:--:-- --:--:-- 801k | |
| patching file libyuv/include/libyuv/planar_functions.h | |
| Register: gpio | |
| Register: hello | |
| Register: dd | |
| Register: dumpstack | |
| Register: nsh | |
| Register: sh | |
| Register: nxcamera | |
| CP: /root/nuttx/include/nuttx/config.h | |
| CP: /root/nuttx/include/nuttx/fs/hostfs.h | |
| LD: nuttx | |
| Pac SIM with dynamic libs.. | |
| '/lib/x86_64-linux-gnu/libX11.so.6' -> 'sim-pac/libs/libX11.so.6' | |
| '/lib/x86_64-linux-gnu/libXext.so.6' -> 'sim-pac/libs/libXext.so.6' | |
| '/lib/x86_64-linux-gnu/libz.so.1' -> 'sim-pac/libs/libz.so.1' | |
| '/lib/x86_64-linux-gnu/libc.so.6' -> 'sim-pac/libs/libc.so.6' | |
| '/lib/x86_64-linux-gnu/libxcb.so.1' -> 'sim-pac/libs/libxcb.so.1' | |
| '/lib/x86_64-linux-gnu/libXau.so.6' -> 'sim-pac/libs/libXau.so.6' | |
| '/lib/x86_64-linux-gnu/libXdmcp.so.6' -> 'sim-pac/libs/libXdmcp.so.6' | |
| '/lib/x86_64-linux-gnu/libbsd.so.0' -> 'sim-pac/libs/libbsd.so.0' | |
| '/lib/x86_64-linux-gnu/libmd.so.0' -> 'sim-pac/libs/libmd.so.0' | |
| '/lib64/ld-linux-x86-64.so.2' -> 'sim-pac/ld-linux-x86-64.so.2' | |
| SIM elf with dynamic libs archive in nuttx.tgz | |
| root@fbea941a8fce:~/nuttx# pushd ../apps ; git pull ; popd | |
| ~/apps ~/nuttx | |
| remote: Enumerating objects: 9, done. | |
| remote: Counting objects: 100% (9/9), done. | |
| remote: Compressing objects: 100% (1/1), done. | |
| remote: Total 5 (delta 4), reused 5 (delta 4), pack-reused 0 (from 0) | |
| Unpacking objects: 100% (5/5), 814 bytes | 814.00 KiB/s, done. | |
| From https://github.com/lupyuen17/nuttx-apps | |
| + 72ed65185...3681447e0 master -> origin/master (forced update) | |
| hint: You have divergent branches and need to specify how to reconcile them. | |
| hint: You can do so by running one of the following commands sometime before | |
| hint: your next pull: | |
| hint: | |
| hint: git config pull.rebase false # merge (the default strategy) | |
| hint: git config pull.rebase true # rebase | |
| hint: git config pull.ff only # fast-forward only | |
| hint: | |
| hint: You can replace "git config" with "git config --global" to set a default | |
| hint: preference for all repositories. You can also pass --rebase, --no-rebase, | |
| hint: or --ff-only on the command line to override the configured default per | |
| hint: invocation. | |
| fatal: Need to specify how to reconcile divergent branches. | |
| ~/nuttx | |
| root@fbea941a8fce:~/nuttx# pushd ../apps ; git pull ; popd | |
| ~/apps ~/nuttx | |
| hint: You have divergent branches and need to specify how to reconcile them. | |
| hint: You can do so by running one of the following commands sometime before | |
| hint: your next pull: | |
| hint: | |
| hint: git config pull.rebase false # merge (the default strategy) | |
| hint: git config pull.rebase true # rebase | |
| hint: git config pull.ff only # fast-forward only | |
| hint: | |
| hint: You can replace "git config" with "git config --global" to set a default | |
| hint: preference for all repositories. You can also pass --rebase, --no-rebase, | |
| hint: or --ff-only on the command line to override the configured default per | |
| hint: invocation. | |
| fatal: Need to specify how to reconcile divergent branches. | |
| ~/nuttx | |
| root@fbea941a8fce:~/nuttx# cd .. | |
| root@fbea941a8fce:~# cd nuttx | |
| root@fbea941a8fce:~/nuttx# make distclean | |
| root@fbea941a8fce:~/nuttx# pushd ../apps ; git pull ; popd | |
| ~/apps ~/nuttx | |
| hint: You have divergent branches and need to specify how to reconcile them. | |
| hint: You can do so by running one of the following commands sometime before | |
| hint: your next pull: | |
| hint: | |
| hint: git config pull.rebase false # merge (the default strategy) | |
| hint: git config pull.rebase true # rebase | |
| hint: git config pull.ff only # fast-forward only | |
| hint: | |
| hint: You can replace "git config" with "git config --global" to set a default | |
| hint: preference for all repositories. You can also pass --rebase, --no-rebase, | |
| hint: or --ff-only on the command line to override the configured default per | |
| hint: invocation. | |
| fatal: Need to specify how to reconcile divergent branches. | |
| ~/nuttx | |
| root@fbea941a8fce:~/nuttx# cd .. | |
| root@fbea941a8fce:~# rm -rf apps | |
| root@fbea941a8fce:~# git clone https://github.com/lupyuen17/nuttx-apps apps ; | |
| Cloning into 'apps'... | |
| remote: Enumerating objects: 97931, done. | |
| remote: Counting objects: 100% (1534/1534), done. | |
| remote: Compressing objects: 100% (462/462), done. | |
| remote: Total 97931 (delta 1271), reused 1073 (delta 1072), pack-reused 96397 (from 4) | |
| Receiving objects: 100% (97931/97931), 26.61 MiB | 16.85 MiB/s, done. | |
| Resolving deltas: 100% (78869/78869), done. | |
| root@fbea941a8fce:~# cd apps | |
| root@fbea941a8fce:~/apps# git log | |
| commit 3681447e02ca2a33102ec826a9cf58a6d7d1ef0f (HEAD -> master, | |
| origin/master, origin/HEAD) | |
| Author: Lup Yuen Lee <luppy@appkaki.com> | |
| Date: Wed Apr 8 11:45:33 2026 +0800 | |
| graphics/libyuv: Download libyuv from NuttX Mirror Repo instead of chromium.googlesource.com | |
| NuttX Build Target `sim:nxcamera` failed to build because chromium.googlesource.com is blocki | |
| ng our download of libyuv library: https://github.com/apache/nuttx/actions/runs/24106742084/job/7 | |
| 0356374433#step:10:603 | |
| ``` | |
| Configuration/Tool: sim/nxcamera | |
| Building NuttX... | |
| curl -L https://chromium.googlesource.com/libyuv/libyuv/+archive/refs/heads/stable.tar.gz -o | |
| libyuv.tar.gz | |
| gzip: stdin: not in gzip format | |
| ``` | |
| This PR updates the libyuv Makefile to download libyuv from the NuttX Mirror Repo instead: ht | |
| tps://github.com/NuttX/nuttx/releases/tag/libyuv | |
| Signed-off-by: Lup Yuen Lee <luppy@appkaki.com> | |
| commit 231ac397a7fd01cdd2bac13b4ff9c57c7253c36e | |
| Author: Shunchao Hu <ankohuu@gmail.com> | |
| Date: Thu Apr 2 15:27:57 2026 +0800 | |
| canutils/lely-canopen: avoid patch reapply on repeated builds. | |
| The patch step currently uses a phony target, so it is executed | |
| again when the build is repeated in the same source tree. In that | |
| case `patch -N` detects previously applied patches and returns 1, | |
| which make treats as a failure. | |
| Replace the phony patch target with a stamped `.patched` file so | |
| the patch step is not re-run unnecessarily. | |
| Fixes #3188 | |
| Signed-off-by: Shunchao Hu <ankohuu@gmail.com> | |
| commit 5c867b21e600d430c8c3336efa2ae2456d5357b9 | |
| Author: raiden00pl <raiden00@railab.me> | |
| Date: Mon Mar 16 12:39:41 2026 +0100 | |
| examples/nxscope: control stream interval from CLI | |
| add the ability to control the stream interval from the CLI | |
| which is useful for performance testing | |
| Signed-off-by: raiden00pl <raiden00@railab.me> | |
| commit b8718d8c5264ff0d4bcca033b93d9b1a9d0b1af6 | |
| Author: simbit18 <simbit18@gmail.com> | |
| Date: Wed Apr 1 17:26:30 2026 +0200 | |
| build.yml: Fix No files were found with the provided path | |
| Fix | |
| Warning: No files were found with the provided path: buildartifacts/. | |
| Signed-off-by: simbit18 <simbit18@gmail.com> | |
| root@fbea941a8fce:~/apps# cd ../nuttx | |
| root@fbea941a8fce:~/nuttx# make distclean | |
| NuttX has not been configured! | |
| To configure the project: | |
| tools/configure.sh <config> | |
| For a list of available configurations: | |
| tools/configure.sh -L | |
| root@fbea941a8fce:~/nuttx# tools/configure.sh sim:nxcamera | |
| Copy files | |
| Select CONFIG_HOST_LINUX=y | |
| Refreshing... | |
| CP: arch/dummy/Kconfig to /root/nuttx/arch/dummy/dummy_kconfig | |
| CP: boards/dummy/Kconfig to /root/nuttx/boards/dummy/dummy_kconfig | |
| LN: platform/board to /root/apps/platform/dummy | |
| LN: include/arch to arch/sim/include | |
| LN: include/arch/board to /root/nuttx/boards/sim/sim/sim/include | |
| LN: drivers/platform to /root/nuttx/drivers/dummy | |
| LN: include/arch/chip to /root/nuttx/arch/sim/include/sim | |
| LN: arch/sim/src/chip to /root/nuttx/arch/sim/src/sim | |
| LN: arch/sim/src/board to /root/nuttx/boards/sim/sim/sim/src | |
| mkkconfig in /root/apps/audioutils | |
| mkkconfig in /root/apps/benchmarks | |
| mkkconfig in /root/apps/boot | |
| mkkconfig in /root/apps/canutils | |
| mkkconfig in /root/apps/crypto | |
| mkkconfig in /root/apps/database | |
| mkkconfig in /root/apps/examples/elf/tests | |
| mkkconfig in /root/apps/examples/elf | |
| mkkconfig in /root/apps/examples/mcuboot | |
| mkkconfig in /root/apps/examples/module | |
| mkkconfig in /root/apps/examples/rust | |
| mkkconfig in /root/apps/examples/sotest | |
| mkkconfig in /root/apps/examples | |
| mkkconfig in /root/apps/fsutils | |
| mkkconfig in /root/apps/games | |
| mkkconfig in /root/apps/graphics | |
| mkkconfig in /root/apps/industry | |
| mkkconfig in /root/apps/inertial | |
| mkkconfig in /root/apps/interpreters/luamodules | |
| mkkconfig in /root/apps/interpreters | |
| mkkconfig in /root/apps/logging | |
| mkkconfig in /root/apps/lte | |
| mkkconfig in /root/apps/math | |
| mkkconfig in /root/apps/mlearning | |
| mkkconfig in /root/apps/netutils | |
| mkkconfig in /root/apps/sdr | |
| mkkconfig in /root/apps/system | |
| mkkconfig in /root/apps/tee | |
| mkkconfig in /root/apps/testing/arch | |
| mkkconfig in /root/apps/testing/cxx | |
| mkkconfig in /root/apps/testing/drivers | |
| mkkconfig in /root/apps/testing/fs | |
| mkkconfig in /root/apps/testing/libc | |
| mkkconfig in /root/apps/testing/mm | |
| mkkconfig in /root/apps/testing/sched | |
| mkkconfig in /root/apps/testing | |
| mkkconfig in /root/apps/videoutils | |
| mkkconfig in /root/apps/wireless/bluetooth | |
| mkkconfig in /root/apps/wireless/ieee802154 | |
| mkkconfig in /root/apps/wireless | |
| mkkconfig in /root/apps | |
| Loaded configuration '.config' | |
| Configuration saved to '.config' | |
| root@fbea941a8fce:~/nuttx# make -j 10 | |
| Create version.h | |
| LN: platform/board to /root/apps/platform/dummy | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
| 100 485k 100 485k 0 0 784k 0 --:--:-- --:--:-- --:--:-- 784k | |
| patching file libyuv/include/libyuv/planar_functions.h | |
| Register: dd | |
| Register: gpio | |
| Register: dumpstack | |
| Register: hello | |
| Register: nsh | |
| Register: sh | |
| Register: nxcamera | |
| CP: /root/nuttx/include/nuttx/config.h | |
| CP: /root/nuttx/include/nuttx/fs/hostfs.h | |
| LD: nuttx | |
| Pac SIM with dynamic libs.. | |
| '/lib/x86_64-linux-gnu/libX11.so.6' -> 'sim-pac/libs/libX11.so.6' | |
| '/lib/x86_64-linux-gnu/libXext.so.6' -> 'sim-pac/libs/libXext.so.6' | |
| '/lib/x86_64-linux-gnu/libz.so.1' -> 'sim-pac/libs/libz.so.1' | |
| '/lib/x86_64-linux-gnu/libc.so.6' -> 'sim-pac/libs/libc.so.6' | |
| '/lib/x86_64-linux-gnu/libxcb.so.1' -> 'sim-pac/libs/libxcb.so.1' | |
| '/lib/x86_64-linux-gnu/libXau.so.6' -> 'sim-pac/libs/libXau.so.6' | |
| '/lib/x86_64-linux-gnu/libXdmcp.so.6' -> 'sim-pac/libs/libXdmcp.so.6' | |
| '/lib/x86_64-linux-gnu/libbsd.so.0' -> 'sim-pac/libs/libbsd.so.0' | |
| '/lib/x86_64-linux-gnu/libmd.so.0' -> 'sim-pac/libs/libmd.so.0' | |
| '/lib64/ld-linux-x86-64.so.2' -> 'sim-pac/ld-linux-x86-64.so.2' | |
| SIM elf with dynamic libs archive in nuttx.tgz | |
| root@fbea941a8fce:~/nuttx# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment