https://github.com/xuantie-rv/linux-image-tools
https://github.com/xuantie-rv/linux-image-tools
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/xuantie-rv/linux-image-tools
- Owner: XUANTIE-RV
- Created: 2024-11-26T05:40:59.000Z (over 1 year ago)
- Default Branch: 1.0
- Last Pushed: 2024-12-09T08:58:46.000Z (over 1 year ago)
- Last Synced: 2025-02-06T21:24:27.881Z (over 1 year ago)
- Language: Shell
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 目录说明
```
├── README.md
├── scripts // 存放编译脚本
| ├── benchmark_compile_5.10.sh
│ ├── benchmark_compile_6.6.sh
│ ├── build-images_5.10.sh
│ └── build-images_6.6.sh
├── tarball // 镜像目录,存放编译好的镜像文件
├── targets_collect_6.6.sh // 6.6镜像打包脚本
└── targets_collect_5.10.sh // 5.10镜像打包脚本
```
# k230镜像打包
执行脚本前先安装依赖:
sudo apt install libconfuse-dev gettext libtool
cd xuantie-yocto/meta-k230/images/prebuit_20240828/
./post-image.sh default xuantie-image-lite
或者
./post-image.sh debug xuantie-image-lite
# 镜像打包脚本
“targets_collect*.sh” 脚本可以用来将编译好的镜像打包。使用说明:
1. 将linux-image-tools拷贝到编译完成的 xuantie-build/xuantie 文件夹下
2. 运行脚本:
6.6:./targets_collect_6.6.sh v1.0.6
5.10:./targets_collect_5.10.sh v1.0.6
# tarball 镜像目录
存放打包好的镜像文件