Name | Modified | Size | Downloads / Week |
---|---|---|---|
README.txt | 2021-07-08 | 3.3 kB | |
ICX7150-v1.0.0-uboot.tar.gz | 2021-07-08 | 15.4 MB | |
Totals: 2 Items | 15.4 MB | 0 |
Steps to build ICX7150 uboot image: ----------------------------------- 1. Copy the file "ICX7150-v1.0.0-uboot.tar.gz" to your local linux machine. 2. Uncompress the uboot source files. Command is given below: tar xvzf ICX7150-v1.0.0-uboot.tar.gz 3. A directory "u-boot-2016.01" will be created. 4. Go to the directory "u-boot-2016.01" and you will find a the patch file "ICX7150-v1.0.0-uboot.patch". cd u-boot-2016.01 5. Now apply the patch file "ICX7150-v1.0.0-uboot.patch". This patch file contains the ICX7150 specific code changes done by Arris. Command: patch -p1 < ICX7150-v1.0.0-uboot.patch Uboot Soruce Files: ------------------- Uboot source files are present in the following two directories and keep them at the same directory level: - u-boot-2016.01 Supported ICX Platform: ------------------- - ICX7150 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: armbe-buildroot-linux-glibc_LDK3.8 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/ Alternatively the toolchain can be downloaded from the below location: https://sourceforge.net/projects/icx7250.arris/files/armbe-buildroot-linux-glibc_LDK3.8.tar.gz/download please note that the toolchain has to be installed in the /tools directory. Make sure this toolchain is availble in the build machine before proceeding to the next step. Steps to build uboot image: -------------------------- 1. Go to the UBOOT_SRC directory(i.e. u-boot-2016.01) and go into the bash shell and generate the .config file using the following command. make -C $(pwd) distclean make -C $(pwd) bcm956160k_defconfig 2. In the bash shell, export the below variables. This should be done from UBOOT_SRC directory. Example: export ARCH=ARM_BE export CROSS_COMPILE=/tools/toolchain/arm/armbe-buildroot-linux-glibc_LDK3.8/usr/bin/armeb-buildroot-linux-gnueabi- export LD_LIBRARY_PATH=/tools/toolchain/arm/armbe-buildroot-linux-glibc_LDK3.8/usr/lib export VER_TYPE=10.1.20devT225 export LABEL1=mnz10120dev export IMAGE_NAME=mnz10120dev.bin export BIN_DIR=$(pwd) 3. To compile the source code, give the "make" command in the bash prompt. Commands: make all -j24 4. If compilation is successful, a binary file with name "mnz10120dev.bin" will be created at directory . Output of the build: mnz10120dev.bin 5. To perform clean operation and remove the binary files, perform the below steps in the UBOOT_SRC directory in the bash shell. Commands: make -C $(pwd) distclean make -C $(pwd) O=./build-output distclean rm *.bin