buildroot 文件系统添加telnet, ssh, 以及制作注意事项

buildroot 制作Linux嵌入式文件系统,并添加telnet 以及ssh

* sshd 服务的添加

    //  make menuconfig

    Target options  ---> 
        Target Architecture (ARM (little endian))  ---> 
        Target Binary Format (ELF)  ---> 
        Target Architecture Variant (cortex-A8)  --->
        Target ABI (EABI)  --->
        Floating point strategy (VFPv3-D16)  ---> 
        ARM instruction set (ARM)  --->   
     
    Toolchain  --->
       Toolchain type (External toolchain)  --->
       Toolchain (Arago ARMv7 2011.09)  ---> 

    System configuration  --->
       (Aplex) System hostname
       (Welcome to Aplex) System banner
       //... ...
       [*] Enable root login with password

    Target packages  --->
       Networking applications  --->
            [*] openssh
    制作好文件系统后,修改相关ssh 的配置:
    output/target/etc/ssh/sshd_config
    //... ...
    PermitRootLogin yes
    //... ...
    PermitEmptyPasswords yes
    //... ...

* telnet 服务的添加

    // make busybox-menuconfig
    Networking Utilities  --->
    [*] telnet                           
    [*]   Pass TERM type to remote host           
    [*]   Pass USER type to remote host                        
    [*] telnetd                                                   
    [*]   Support standalone telnetd (not inetd only)       
    [*]     Support -w SEC option (inetd wait mode)            
    [*] tftp                                                  

* ubi 文件系统的制作

* 必须在拷贝到sd卡中制作ubi文件系统,不然会出现权限问题。
posted @ 2017-04-12 11:24  陈富林  阅读(4666)  评论(0编辑  收藏  举报