补充内核配置方法.

Signed-off-by: rick.chan <cy187lion@sina.com>
This commit is contained in:
rick.chan 2023-07-03 18:18:14 +08:00
parent 3b98017566
commit d07cd62324
1 changed files with 23 additions and 2 deletions

View File

@ -6,21 +6,42 @@
# 选择 90rockchip_rv1126_rv1109
source envsetup.sh
# 选择 6BoardConfig-aybering.mk
./build.sh lunch
./build.sh lunch
# 全部构建
./build.sh
# 全部清除
./build.sh cleanall
```
## 修改 kernel
```bash
cd kernel
# 保存旧的配置.
make ARCH=arm savedefconfig
cp defconfig arch/arm/configs/rv1126_defconfig
# 清除编译结果和配置.
make distclean
# 重新配置内核.
make ARCH=arm rv1126_defconfig
make ARCH=arm menuconfig
make ARCH=arm savedefconfig
cp defconfig arch/arm/configs/rv1126_defconfig
# 重新编译内核.
cd ..
./build.sh kernel
```
## 修改 buildroot
```bash
cd buildroot
# 配置 buildroot.
make rockchip_rv1126_rv1109_defconfig
# 自动保存成 rockchip_rv1126_rv1109_defconfig
# 自动保存成 rockchip_rv1126_rv1109_defconfig.
make menuconfig
make savedefconfig
# 重新编译 buildroot.
cd ..
./build.sh cleanall
./build.sh