Thus, i am considering designing a small PCB with a Core1106 and a regular Quectel/Simcom/Sierra/etc. LTE modem. Bought a Pico Mini A as experiment to evaluate the software development process. If the SDK is not good I move on.
I have not figured out Buildroot completely yet but got Wireguard working which is a big plus. So far, so good. Have to try a modem too, but I will be able to get that working as well I think.
However, I am not too happy with uclibc. The first piece of application software I tried to compile for the board (https://github.com/mavlink-router/mavlink-router) already failed.
Code: Select all
dabit@rockchip-dev:~/rv1103_speel/mavlink-router$ ninja -C build
ninja: Entering directory `build'
[6/25] Compiling C++ object src/mavlink-routerd.p/binlog.cpp.o
FAILED: src/mavlink-routerd.p/binlog.cpp.o
arm-rockchip830-linux-uclibcgnueabihf-g++ -Isrc/mavlink-routerd.p -Isrc -I../src -I../modules/mavlink_c_library_v2/ardupilotmega -I. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -std=gnu++14 -O2 -g -Wno-inline -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wfloat-equal -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wstrict-aliasing=3 -Wwrite-strings -Wno-long-long -Wno-overlength-strings -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Wchar-subscripts -Wtype-limits -Wuninitialized -include config.h -pthread -MD -MQ src/mavlink-routerd.p/binlog.cpp.o -MF src/mavlink-routerd.p/binlog.cpp.o.d -o src/mavlink-routerd.p/binlog.cpp.o -c ../src/binlog.cpp
In file included from ../src/binlog.h:20,
from ../src/binlog.cpp:18:
../src/logendpoint.h:22:10: fatal error: aio.h: No such file or directory
#include <aio.h>I tried switching the sdk to glibc by replacing the arm-rockchip830-linux-uclibcgnueabihf toolchain with gcc-arm-11.2-2022.02-x86_64-arm-none-linux-gnueabihf and selecting glibc as the external toolchain library in build.sh buildrootconfig->Toolchain->Toolchain C library, but that was not succesfull
Can we somehow use buildroot with glibc or do we really need to use ubuntu then?
