2013년 6월 17일 월요일

Xilinx Zynq ZedBoard Linux 개발환경 셋팅

참조 URL: http://www.wiki.xilinx.com/Getting+Started

1. PetaLinux
   PetaLinux에 포함된 것 들.
    1) pre-configured binary bootable images.
    2) fully customizable Linux for the Xilinx device.
    3) tools that automate the configuration, build and deployment process.
 
   PetaLinux 제공.
    1) Quick-start LInux images.
    2) Board Support Packages.
    3) Host Development Tools.

2. PetaLinux 다운.
    1) http://www.xilinx.com/support/download/index.htm 에서 다운.
    2) ISE Design Tools 버전 선택 및 다운받을 파일 선택.
      (1) PetaLinux 12.12 installation archive for Zynq, Microblaze and PPC440.
      (2) PetaLinux 12.12 Board Support Package for Avnet ZedBoard.

3. PetaLinux 최소 사양.
    1) 2GB RAM (recommended minimum for Xilinx tools)
    2) Pentium 4 2GHz CPU clock or equivalent
    3) 5GB free HDD space
    4) Recommended OS: CentOS RHEL 5 (32-bit), or Ubuntu 10.04 (32-bit or 64-bit)

4. Extract the PetaLinux Package
    $ tar zxf petalinux-v12.12-final-full.tar.gz
    petalinux-v12.12-final-full 폴더로 설치됨.
    일반적으로 /home/user/petalinux-v12.12-final-full에 설치됨.
    경로는 옮길 수 있음.

5. Setup PetaLinux Working Environment
    1) PetaLinux 설치 폴더로 이동.
       ex) $ cd /home/user/petalinux-v12.12-final-full
    2) Source the appropriate PetaLinux setup script by running this command on the command console
       For Bash:
        $ source settings.sh

       For C Shell:
        $ . settings.csh

6. 보드 bsp설치.
        $ petalinux-install-bsp <Path-to-BSP>

설치 완료되면 마지막에
INFO: BSP successfully iinstalled.
라고 나옴.


처음 할 때 라이센스의 문제였었는지 5번까지는 잘 됐는데 6번에서 계속 오류가 발생했었음.
라이센스새로 받아서 다시 하니까 됨.
이럴수가...

*중요.
1. Only run one of these scripts - whichever is appropriate for your command shell.
2. You must run the settings script each time you open a new terminal window or shell. PetaLinux SDK will not operate correctly otherwise.
3. You must be within the PetaLinux root directory (e.g. /home/user/petalinux-v12.12-final-full) to source the settings files.



댓글 없음:

댓글 쓰기