Home
Name Modified Size InfoDownloads / Week
README.txt 2018-09-25 3.9 kB
ICX7650-v1.0.0-uboot.tar.gz 2018-09-25 39.7 MB
Totals: 2 Items   39.7 MB 0
Steps to build ICX7650 uboot image:
-----------------------------------
1. Copy the file "ICX7650-v1.0.0-uboot.tar.gz" to your local linux machine.
2. Uncompress the uboot source files. Command is given below:

	tar xvzf ICX7650-v1.0.0-uboot.tar.gz

3. A directory "ICX7650-v1.0.0-uboot" will be created.

4. Go to the directory "ICX7650-v1.0.0-uboot"  and you will find a the patch file "ICX7650-v1.0.0-uboot.patch".
	cd ICX7650-v1.0.0-uboot

5. Now apply the patch file "ICX7650-v1.0.0-uboot.patch". This patch file
contains the ICX7650 specific code changes done by Arris.

	Command:
		patch -p1 < ICX7650-v1.0.0-uboot.patch


Uboot Soruce Files:
-------------------
Uboot source files are present in the following two directories and keep them
at th same directory level:
    - atf_LDK4.1.1
    - u-boot-2015.01_le_LDK4.1.1
 
 
Supported ICX Platform:
-------------------
    - ICX7650
 
Recommeded Development Platform:
-------------------------------
    - Linux version 2.6.32-431.el6.x86_64
      (mockbuild@x86-023.build.eng.bos.redhat.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Sun Nov 10 22:19:54 EST 2013
 
Special permissions such as root permission:
------------------------------------------
    - Not needed.
 
Setting up environment variable $PATH:
-------------------------------------
    - Not needed
 
 
Toolchain to compile the u-boot code:
------------------------------------
The following toolchain is required to compile the code:
	gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux

The toolchain is not provided with the tarball. Please download from the
following location if its not available :
https://releases.linaro.org/archive/14.09/components/toolchain/binaries/

Make sure this toolchain is availble in the build machine before proceeding to
the next step.

openssl Library files:
----------------------
openssl libraries are needed to compile the ICX7650 uboot.
Source code(i.e. openssl-1.0.2p.tar.gz) can be dowloaded from the following location.
https://www.openssl.org/source/

To build openssl library files, follow the steps given below:
1. Download the tarball "openssl-1.0.2p.tar.gz" and copy to folder "ICX7650-v1.0.0-uboot".
2. Uncompress the tarball openssl-1.0.2p.tar.gz.
	Commads:

		tar -xvzf openssl-1.0.2p.tar.gz

3. The folder "openssl-1.0.2p" will be created. Go to the directory and build
	the library files. Commands are given below:

	Commands:
		cd openssl-1.0.2p
		./config shared
		make
 
Steps to build uboot image:
--------------------------
1. Go to directory "atf_LDK4.1.1" and change the cross compiler toolchain path in file "Makefile" based 
   on the toolchain directory in the local machine where uboot source code is getting compiled.
 
   Example:
    CROSS_COMPILE := /tools/toolchain/arm/gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux/bin/aarch64-linux-gnu-
 
2. Go to the directory u-boot-2015.01_le_LDK4.1.1/utils and change the toolchain path(TOOLCHAIN_PATH) in file "common_rules_uboot.mk"
   as per the toolchain directory in the local machine where uboot source code is getting compiled.
	Example: 
		TOOLCHAIN_PATH := /tools/toolchain/arm/gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux/bin
 
3. Go to the directory u-boot-2015.01_le_LDK4.1.1/build. In "Makefile" change the LD_LIBRARY_PATH as per the
   toolchain directory in the local machine where uboot source code is getting compiled.
 
    Example:
        export LD_LIBRARY_PATH=/tools/toolchain/arm/gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux/lib

4. To compile the source code, go to the directory u-boot-2015.01_le_LDK4.1.1/build and give the "make" command.
    Commands:
        cd u-boot-2015.01_le_LDK4.1.1/build
        make
 
5. If compilation is successful, a binary file with name "tnu10112b1.bin" will be created at directory u-boot-2015.01_le_LDK4.1.1/build.
    Output of the build: tnu10112b1.bin
Source: README.txt, updated 2018-09-25