Home
Name Modified Size InfoDownloads / Week
README.txt 2020-08-06 2.3 kB
Totals: 1 Item   2.3 kB 0
README for building the OSS from the RPD image.

The RPD:
    -Uses Xilinx/petalinux-v2017.1-final for the OS.
    -Built on Ubuntu 16.04.

Setup Steps: 

1) Basic setup:
   - Make sure /bin/sh points to /bin/bash.  (Not /bin/dash)
   
   sudo apt-get install locales gawk git
   sudo /usr/sbin/locale-gen
   sudo localectl set-locale LANG=”en_US.UTF-8”
   sudo apt-get install zlib1g:i386
   sudo apt-get install zlib1g-dev ncurses-dev openssl libssl-dev
   sudo apt-get install diffstat xvfb chrpath socat xterm autoconf libtool unzip texinfo gcc-multilib libsdl1.2-dev libglib2.0-dev



2) Untar the tarball to /tmp, then copy to /gitwork
   cd /tmp
   tar -xvf rpd-v01.00.00.9901.tgz
   cp -R rpd-v01.00.00.9901 /gitwork/rpd

3) Run the following two files to install petalinux-2017.1 and the SDK.
   Download them from the Xilinx page.
   https://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/embedded-design-tools/archive.html
   Install into /opt/Xilinx, this should be the default
        Download Filename                               MD5 Value
        petalinux-v2017.1-final-installer.run       a7ced2a17e7584fdf593b07f799fd06c
        Xilinx_SDK_2017.1_0415_1_Lin64.bin          e62411c86a30de81a76b279c3161709f

	Install both using the followign steps, assumting you downloaded to /tmp
	sudo mkdir /opt/Xilinx
	chown <userID> /opt/Xilinx
	cd /opt/Xilinx
	mkdir petalinux-v2017.1-final
	cd petalinux-v2017.1-final
	/tmp/petalinux-v2017.1-final-installer.run
	/tmp/Xilinx_SDK_2017.1_0415_1_Lin64.bin

    3.1) For more detail on setting up the PetaLinux Tools see the following:
         PetaLinux Tools Docuemntation UG1144 (v2017.1) April 5, 2017
         https://www.xilinx.com/support/documentation/sw_manuals/xilinx2017_1/ug1144-petalinux-tools-reference-guide.pdf

           -Introduction
           -Installation Requirements
           -Installation Steps
           -PetaLinux Working Environment Setup
           -Build System Image

         NOTE: Do not get latest from Xilinx, we are using 2017.1

4) Setup for a build:
   source /opt/Xilinx/petalinux-v2017.1-final/settings.sh
   source /opt/Xilinx/SDK/2017.1/settings64.sh
   
5) Run the build:
   cd /gitwork/rpd/rpd/projects/Arris-E6000n-linux/
   petalinux-build           # to make the RPD OSS image
Source: README.txt, updated 2020-08-06