728x90
cd clan3/neutis-image/
source poky/oe-init-build-env
bitbake codebot
cd clan3/neutis-image/
source poky/oe-init-build-env
bitbake neutis-image
bitbake -f -c cleanall codebot && bitbake codebot
소스 경로
cnr@cnr-build-server:~$ cd clan3/neutis-image/
cnr@cnr-build-server:~/clan3/neutis-image$ pwd
/home/cnr/clan3/neutis-image
cnr@cnr-build-server:~/clan3/neutis-image$
컴파일 경로로 이동
cnr@cnr-build-server:~/clan3/neutis-image$ source poky/oe-init-build-env
### Shell environment set up for builds. ###
You can now run 'bitbake <target>'
Common targets are:
core-image-minimal
core-image-sato
meta-toolchain
meta-ide-support
You can also run generated qemu images with a command like 'runqemu qemux86'
cnr@cnr-build-server:~/clan3/neutis-image/build$ bitbake neutis-image
WARNING: Host distribution "ubuntu-18.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |######################################################################################| Time: 0:00:00
Loaded 3291 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.38.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "neutis-n5"
DISTRO = "poky-neutis"
DISTRO_VERSION = "1.0.8"
TUNE_FEATURES = "aarch64"
이미지 업데이트
copy codebot*.ipk from server to /home/root in codebot
scp -3 -P 5000 cnr@211.238.124.102:/home/cnr/clan3/neutis-image/build/tmp/deploy/ipk/aarch64/codebot*.ipk /home/root
Aicoach!8213
codebot 패키지 설치 & 실행
N5에서 아래 명령어 수행
pwd : /opt/codebot
cd /opt/codebot
systemctl stop codebot
opkg remove codebot codebot-dev
opkg install ~/codebot_0.1-r0_aarch64.ipk ~/codebot-dev_0.1-r0_aarch64.ipk
./codebot
Main source code 경로
/home/cnr/clan3/neutis-image/meta-layers/meta-cnr-codebot/recipes-codebot/codebot/files/codebot
Reference
'쪼물락 비젼 AI > COMPILE & UPLOAD' 카테고리의 다른 글
개발툴 (0) | 2021.01.23 |
---|---|
라즈베리파이 카메라 & 코드봇 & 서버 설정 (0) | 2021.01.11 |
wifi 잡히지 않을 때 (0) | 2020.12.10 |