Dockerfile | ||
linux-phytium.inc | ||
README.md |
E2000 builder Dockerfile
Useing FT Offical E2000 build system BASED on Ubuntu 20.04 and yocto project. Make Sure your host volume has lager than 50GB free space.
How to build Docker
sudo docker build -t ft-e2000-builder:1.1 .
How to Init this docker for use
export BUILD_DIR=/data/build_dir
sudo docker run -it --rm -u 1000:1000 -v ${BUILD_DIR}:/home/AcoSailBuilder/build_dir ft-e2000-builder:1.1 /bin/bash
In the docker, then, for the first time, do as following.
cd ~
sudo chown AcoSailBuilder:AcoSailBuilder build_dir
#passwd is "acosail".
cp -rdp workspace build_dir/
cd build_dir/workspace
source setup-env -m e2000
#Say "y" when dialog shows up.
#Then project is ready to go.
Or, do as following for other times.
cd ~/build_dir/workspace
source setup-env -m e2000
#This is for have build env
How to build core-image-minimal
#After Init project,
#you should in dir /home/AcoSailBuilder/build_dir/workspace/build_e2000/
bitbake core-image-minimal
Where to get builled files
Everything is placed in "${BUILD_DIR}/workspace/build_e2000/tmp/deploy/"
Kernel image is in "${BUILD_DIR}/workspace/build_e2000/tmp/deploy/images/e2000"
FAQ
bitbake error
If error is about kernel, you may need to change "linux-phytium.inc", to fix download error.
Like changing ssh to https for git clone.
If error is about other downloads, you may need to rerun "bitbake core-image-minimal".