-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathREADME
28 lines (25 loc) · 1.24 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Build
========
1. download toolchain and Ubuntu base from https://pan.baidu.com/s/1hzYI-gW5fiw6ilFkCdj1ZA
code:etzs
2. put them on the same level of bootloader-arm64 and linux-arm64, then unzip toolchain,
no need to unzip distro, now you get the following folders:
.
├── bootloader-arm64
├── distro
│ └── distro_focal.tgz
├── gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu
└── linux-arm64
3. $ sudo apt install bison flex bc rsync kmod cpio sudo \
uuid-dev cmake libssl-dev fakeroot \
dpkg-dev device-tree-compiler u-boot-tools \
uuid-dev libxml2-dev debootstrap \
qemu-user-static kpartx
4. $ source bootloader-arm64/scripts/envsetup.sh
5. $ build_bsp_without_package
6. copy 'sophon-soc-libsophon*.deb', 'sophon-mw-soc-sophon-ffmpeg*.deb' and 'sophon-mw-soc-sophon-opencv*.deb' to 'soc_bm1684/bsp-debs'
7. $ build_package
8. download 'libsophon' from https://github.com/sophgo/libsophon.git
build in SoC mode to get 'libsophon*.deb'
9. download SDK from https://developer.sophgo.com/site/index/material/all/all.html
copy 'sophon-mw-soc-sophon-ffmpeg*.deb' and 'sophon-mw-soc-sophon-opencv*.deb' from 'sophon-mw'