使用Buildroot 2018.08.1
1、make raspberrypi3_64_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分区大小