| Error Message | Likely Cause | Solution |
| :--- | :--- | :--- |
| arm-Sigmastar-linux-gnueabihf-gcc: not found | Toolchain not in PATH | Re-check ~/.bashrc and source setup.env |
| dtc: command not found | Missing device-tree compiler | sudo apt install device-tree-compiler |
| lz4c: No such file or directory | Missing LZ4 tools | sudo apt install liblz4-tool |
| /bin/sh: 1: python: not found | Python 2 missing | sudo apt install python-is-python2 or symlink |
| undefined reference to 'ssl_crypto' | OpenSSL dev mismatch | sudo apt install libssl-dev and rebuild kernel |
| No rule to make target 'board.mk' | Hardcoded path issue | Run grep -r "board.mk" . and fix absolute paths |
cd $SIGMA_SDK/bsp/u-boot
make <board>_config CROSS_COMPILE=$CROSS_COMPILE
make -j$(nproc) CROSS_COMPILE=$CROSS_COMPILE
cd $SIGMA_SDK/bsp/linux
make <board>_defconfig
make -j$(nproc) CROSS_COMPILE=$CROSS_COMPILE ARCH=$ARCH
make dtbs CROSS_COMPILE=$CROSS_COMPILE ARCH=$ARCH
cd $SIGMA_SDK/buildroot
make menuconfig # optional edits
make -j$(nproc)
cd $SIGMA_SDK/samples
make CROSS_COMPILE=$CROSS_COMPILE
Artifacts to produce:
Check if the compiler is accessible:
mips-linux-gnu-gcc --version
# OR
arm-linux-gnueabihf-gcc --version
(The command depends on whether the chip is MIPS (e.g., SSD201/202) or ARM). sigmastar sdk install
sudo apt update
sudo apt install -y git wget make gcc g++ libssl-dev \
libncurses5-dev flex bison gawk perl sed \
cpio unzip bc openssl libc6-dev-i386 \
lib32z1 device-tree-compiler