2013년 7월 14일 일요일

Xilinx ZedBoard u-boot를 해보자 2탄

앞에서 각각의 필요한 파일들에 대한 빌드를 했었다.
이번에는 hostpc에서 필요한 셋팅을 해본다.

1. tftp셋팅.
    /etc/xinetd.d/ 폴더로 이동한다.
    terminal 입력: vim tftp
    아래의 내용을 추가해서 적어넣는다.

     Service tftp
{
           socket_type = dgram
           protocol = udp
           wait = yes
           user = root
           server = /usr/sbin/in.tftpd
           server_args = -s /tftpboot
           disable = no
     }

       terminal 입력: mkdir /tftpboot

        tftp에 사용할 파일들이 들어갈 폴더를 만든다.
        이전에 빌드해 놓은 파일들을 이 폴더에 저장한다.

       terminal 입력: /etc/init.d/xinetd restart

2. dhcp 셋팅
     /etc/dhcp3폴더로 이동.
     terminal 입력: vim dhcpd.conf
     아래 내용 추가.

subnet (해당아이피에따라) netmask (해당하는것에 따라) {
           host targetboard {
                     fixed-address (해당 아이피);
                     hardware ethernet (해당 mac주소);
                     option root-path “/full/path/to/rfs”;
                     filename “해당파일이름”;
           }
}


terminal 입력: service dhcp3-server restart





본 정보는 부정확하다. 수정한 내용에 대해서 추후 올리도록 하겠따.

댓글 없음:

댓글 쓰기