FROM ubuntu:20.04 RUN apt update && apt install -y build-essential git libssl-dev bc ... WORKDIR /opt/sdk COPY Sigmastar_SSD222_SDK.tar.bz2 . RUN tar -xjf Sigmastar_SSD222_SDK.tar.bz2 ENV SIGMASTAR_SDK_PATH=/opt/sdk/Sigmastar_SSD222_SDK Build with:
sudo dpkg --add-architecture i386 sudo apt update sudo apt install libc6:i386 libstdc++6:i386 libz1:i386 To avoid host contamination, use a Docker container:
mkdir -p ~/sigmastar_workspace cd ~/sigmastar_workspace tar -xjf /path/to/Sigmastar_SSD222_SDK_v2.0.0.tar.bz2 After extraction, you’ll see a directory structure like: sigmastar sdk install
Remember: the SDK is just the beginning. Once installed, explore the project/ directory for middleware libraries (ISP tuning, audio codecs, display drivers). Join the SigmaStar community forums (many Chinese and English resources on 4pda, OpenIPC, and GitHub) for patches and board support files.
make uboot # Build only U-Boot make kernel # Build only kernel make rootfs # Build root filesystem make image # Pack final firmware image | Error Message | Likely Cause | Solution | |---|---|---| | /bin/sh: 1: lzop: not found | Missing LZO compression tool | sudo apt install lzop | | arm-linux-gnueabihf-gcc: No such file | Path not set or broken toolchain | Re-run source setup_sdk_env.sh | | xxx.h: No such file or directory | Kernel headers missing | Run ./install.sh inside SDK | | dtc: not found | Device Tree Compiler missing | sudo apt install device-tree-compiler | | multiple definition of yylloc | Flex/Bison version mismatch | Use Ubuntu 20.04 or patch Makefile | Part 5: Post-Install – Output Files and Flashing 5.1 Locating the Final Firmware After a successful make all , look in: FROM ubuntu:20
#!/bin/bash export SIGMASTAR_SDK_PATH=~/sigmastar_workspace/Sigmastar_SSD222_SDK export PATH=$SIGMASTAR_SDK_PATH/toolchain/arm-linux-gnueabihf/bin:$PATH export CROSS_COMPILE=arm-linux-gnueabihf- export ARCH=arm Source it:
sudo apt update sudo apt install -y build-essential git libssl-dev bc u-boot-tools \ bison flex libncurses5-dev gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf \ liblz4-tool device-tree-compiler wget unzip cpio rsync python3 \ python-is-python3 libxml2-utils lzma SigmaStar SDKs typically include a custom toolchain inside the SDK ( toolchain/ directory). However, some older versions require a pre-installed Linaro toolchain. Check your SDK release notes. If needed: However, some older versions require a pre-installed Linaro
cd $SIGMASTAR_SDK_PATH ls -la install.sh # or setup.sh If present, run: