使用Buildroot 2018.08.1
1、make raspberrypi3_64_defconfig#如果用pi zero则选用 raspberrypi0_defconfig
2、make menuconfig
toolchain中修改选项,将c library改为glibc,以适应更多的第三方开发
System configuration:
1、hostname改为pi
2、System banner改为Welcome to raspberrypi
3、Locals to keep改为C en_US zh_CN
4、选中Install timezone info,default local time改为Asia/Shanghai
5、选中Enable Native Language Support
6、Root password改为root
3、target packages
Networking applications添加iftop、openssh
System tools 添加htop
Filesystem and flash utilities,添加e2fsprogs, 添加resize2fs
Debugging, profiling and benchmark添加gdb, full debugger
Compressors and decompressors添加bzip2, zip
4、make
5、使用resize2fs修改root分区大小
转载地址:https://blog.csdn.net/hexu_cxat/article/details/83022013?utm_source=blogxgwz6