1. 程式人生 > >用Buildroot製作樹莓派64位精簡嵌入式系統

用Buildroot製作樹莓派64位精簡嵌入式系統

使用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分割槽大小