Environment Setup
Setup the development environment for Sigmastar SSD202
Download SDK
https://gitee.com/qiming-zhixian/ssd20x-images-open #Images
https://gitee.com/qiming-zhixian/ssd20x-uboot-open #uboot
https://gitee.com/qiming-zhixian/ssd20x-kernel-open #kernel
https://gitee.com/qiming-zhixian/ssd20x-rootfs-open #rootfs
https://gitee.com/qiming-zhixian/ssd2xx-openwrt-open #openwrt
ssd20x-images-open
is the system images,and can be used for the production of master chips, USB disk/SD card upgrade images, partition size adjustment, etc.;The compiled binary files
ssd20x-uboot-open, ssd20x-kernel-open, ssd20x-rootfs-open
need to be copied and replaced with the corresponding files inssd20x-images-open
, and some of them require secondary processing before they can take effect.
Install dependencies
The currently verified environments are the ubuntu 16.04 64-bit system and the ubuntu 18.04 64-bit system.
sudo apt-get install subversion build-essential libncurses5-dev zlib1g-dev gawk git ccache \
gettext libssl-dev xsltproc libxml-parser-perl \
gengetopt default-jre-headless ocaml-nox sharutils texinfo mtd-utils
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install zlib1g:i386 libstdc++6:i386 libc6:i386 libc6-dev-i386
Install cross-compilation toolchain
Download link to toolchain: https://pan.baidu.com/s/1VnTLlLsm6N3pv_O27fzgAg Extraction code: vngb
sudo tar qmsd-gcc-arm-8.2-2018.08-x86_64-arm-linux-gnueabihf.tag.gz -xvf -C /opt/
sudo echo PATH="/opt/gcc-arm-8.2-2018.08-x86_64-arm-linux-gnueabihf/bin:$PATH" >~/.profile
source ~/.profile
arm-linux-gnueabihf-gcc --version