文档编号 // 348A85
在线
Allwinner Tina SDK 新增板级项目
这篇文章写于 2021,已经超过 5 年了。内容可能已经过时。
以 lichee rv 为例
- 在
device/config/chips/d1/configs 文件夹内,复制 nezha_min 改名为 lichee_rv
- 在
package/allwinner/alsa-conf-aw/files/d1/ 内,复制 d1-nezha_min 改名为 d1-lichee_rv
- 在
target/allwinner 内,复制 d1-nezha_min 改名为 d1-lichee_rv
- 修改
vendorsetup.sh 改名
- 重命名
d1_nezha_min.mk 到 d1_lichee_rv.mk
- 修改
d1_lichee_rv.mk 内容
- 修改
Makefile 内容
source build/envsetup.sh
lunch
文件夹结构如下:
. ├── build │ └── site ├── config ├── device │ └── config │ ├── chips │ │ └── d1 │ │ ├── bin │ │ ├── boot-resource │ │ │ └── boot-resource │ │ │ └── bat │ │ ├── configs │ │ │ ├── default │ │ │ ├── lichee_rv │ │ │ │ ├── configs │ │ │ │ ├── linux -> linux-5.4 │ │ │ │ └── linux-5.4 │ │ │ ├── nezha │ │ │ │ ├── configs │ │ │ │ ├── linux -> linux-5.4 │ │ │ │ └── linux-5.4 │ │ │ └── nezha_min │ │ │ └── linux-5.4 . . . . . . ├── target │ ├── allwinner │ │ ├── d1-common │ │ │ └── base-files │ │ │ └── etc │ │ │ └── config │ │ ├── d1-lichee_rv │ │ │ ├── base-files │ │ │ │ ├── etc │ │ │ │ │ ├── bluetooth │ │ │ │ │ └── config │ │ │ │ └── usr │ │ │ │ └── bin │ │ │ ├── busybox-init-base-files │ │ │ │ ├── etc │ │ │ │ │ └── init.d │ │ │ │ └── usr │ │ │ │ └── bin │ │ │ └── swupdate │ │ ├── d1-nezha │ │ │ ├── base-files │ │ │ │ ├── etc │ │ │ │ │ ├── bluetooth │ │ │ │ │ └── config │ │ │ │ └── usr │ │ │ │ └── bin │ │ │ ├── boot-play │ │ │ ├── busybox-init-base-files │ │ │ │ ├── etc │ │ │ │ │ └── init.d │ │ │ │ └── usr │ │ │ │ └── bin │ │ │ └── swupdate │ │ ├── d1-nezha_min │ │ │ ├── base-files │ │ │ │ ├── etc │ │ │ │ │ ├── bluetooth │ │ │ │ │ └── config │ │ │ │ └── usr │ │ │ │ └── bin │ │ │ ├── busybox-init-base-files │ │ │ │ ├── etc │ │ │ │ │ └── init.d │ │ │ │ └── usr │ │ │ │ └── bin │ │ │ └── swupdate │ │ └── generic │ │ ├── base-files │ │ ├── boot-resource │ │ │ └── boot-resource │ │ ├── busybox-init-base-files │ │ ├── dtb │ │ ├── image │ │ │ ├── lzma-loader │ │ │ │ └── src │ │ │ └── relocate │ │ ├── sign_config │ │ ├── swupdate │ │ ├── toc │ │ └── version │ ├── imagebuilder │ │ └── files │ ├── sdk │ │ └── files │ │ └── build │ └── toolchain │ └── files
|
微信
支付宝