Buildroot SystemConfiguration

来自百问网嵌入式Linux wiki
Wiki讨论 | 贡献2019年1月9日 (三) 15:03的版本 →‎配置登陆信息

系统配置

System configuration --->

  Root FS skeleton (default target skeleton)  --->                                        
  (mini437x) System hostname                                                             
  (Welcome to Mini437x) System banner                                                    
      Passwords encoding (md5)  --->                                                     
      Init system (systemV)  --->                                                        
      /dev management (Dynamic using devtmpfs + mdev)  --->                              
  (system/device_table.txt) Path to the permission tables                                
  [ ] support extended attributes in device tables                                       
  [ ] Use symlinks to /usr for /bin, /sbin and /lib                                      
  [*] Enable root login with password                                                    
  ()    Root password                                                                    
      /bin/sh (bash)  --->                                                               
  [*] Run a getty (login prompt) after boot  --->                                        
  [*] remount root filesystem read-write during boot                                     
  (eth0) Network interface to configure through DHCP                                     
  [*] Purge unwanted locales                                                             
  (C en_US) Locales to keep                                                              
  ()  Generate locale data                                                               
  [ ] Enable Native Language Support (NLS)                                               
  -*- Install timezone info                                                              
  (default) timezone list                                                                
  (Etc/UTC) default local time                                                           
  ()  Path to the users tables                                                           
  (board/mini437x/rootfs-overlay) Root filesystem overlay directories                    
  (board/mini437x/post-build.sh) Custom scripts to run before creating filesystem images 
  ()  Custom scripts to run inside the fakeroot environment                              
  (board/mini437x/post-image.sh) Custom scripts to run after creating filesystem images  
  ()    Extra arguments passed to custom scripts

配置登陆信息

  (mini437x) System hostname
  (Welcome to Mini437x) System banner
      Passwords encoding (md5)  --->   
  [*] Enable root login with password
  ()    Root password

配置登陆串口

[*] Run a getty (login prompt) after boot --->

 --- Run a getty (login prompt) after boot
 (ttyS0) TTY port
       Baudrate (keep kernel default)  --->
 (vt100) TERM environment variable
 ()    other options to pass to getty

1.TTY port指的是串口号,这个要与内核中的配置一致!
2.Baudrate (keep kernel default)这个保持默认即可!
3.(vt100) TERM environment variable终端环境变量,VT100是一个终端类型定义,VT100控制码是用来在终端扩展显示的代码。默认即可!

其它配置

 (board/mini437x/rootfs-overlay) Root filesystem overlay directories 
  • 根文件系统目录覆盖,主要是添加一些自己的bin文件,库,以及一些配置文件,其中board/mini437x/rootfs-overlay 是根文件系统目录覆盖文件的所在位置
 (board/mini437x/post-build.sh) Custom scripts to run before creating filesystem images
 ()Custom scripts to run inside the fakeroot environment
 (board/mini437x/post-image.sh) Custom scripts to run after creating filesystem images