1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
638 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

目录结构:
kernel mkcombinedroot
在当前目录下添加modules.ko驱动的名字执行打包脚本会自动在kernel/drivers/下进行搜索并拷贝,生成对应的文件。
vendor -> res/vendor_modules.load
ramdisk -> res/ramdisk_modules.load
在kernel同级目录clone此仓库后编译内核后目录下执行:
默认使用arm64编译如果要用arm到脚本开头的变量位置修改.
- 打包boot.img:
```shell
./mkvendor_boot.sh [your_dts_name] (不加参数默认使用: rk3399-evb-ind-lpddr4-android-avb)
```
- 打包vendor.img
```
./mkvendor.sh
```
- 打包boot.img + vendor.img
```
./pack.sh
```