You are on page 1of 2

README:

Note: The 'vtysh' feature is not used in zebra and 'vtysh' is not linked to read
line, therefore "readline" code is not provided inside the publication package.
1. Build environment.
1.1 Ubuntu 9.10 (Linux kernel 2.6.31-14-generic) on x86 machine
1.2 Compiling tool version: gcc 4.4.1, GNU Make 3.81
1.3 If Ubuntu 9.10 was installed for the first time, you need to execute the f
ollowing commands:
$ sudo -s
Get root permission
# sed -i 's/us.archive.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/source
s.list
# apt-get update
Update ubuntu apt-get. Discontinued versions of Ubuntu are mirrored under "h
ttp://old-releases.ubuntu.com/ubuntu/"
# unlink /bin/sh
# ln -s /bin/bash /bin/sh
# apt-get install g++
# apt-get install ncurses-dev
# apt-get install bison
# apt-get install flex
# apt-get install zlib1g-dev
# apt-get install exuberant-ctags
# apt-get install gettext
# apt-get install texinfo
# apt-get install patch
# apt-get install intltool
# apt-get install gobject-introspection-glib-2.0
2. Put X1000_v1.0.01.004.tgz to a directory such as /home/X1000, then extract X1
000_v1.0.01.004.tgz file.
# cd /home/X1000/
# tar zxvf X1000_v1.0.01.004.tgz
In order to Build firmware image, you need to install toolchain binaries in ad
vance.
2.1 Install the toolchain into your environment:
# cd X1000_v1.0.01.004/toolchains
# tar zxvf uclibc-crosstools-gcc-4.4.2-1.tgz
# mkdir /opt/toolchains
# cp uclibc-crosstools-gcc-4.4.2-1 /opt/toolchains/ -a
2.2 Building Firmware Image (You must have root permission):
# cd X1000_v1.0.01.004/
# make PROFILE=CiscoX1000
It will generate the FW_X1000_ANNEX_A_v1.0.01.004.bin under X1000_v1.0.01.00
4/images/ folder.
3. BUILDING GNU Toolchain(You must have the root permission):
3.1 Building toolchain
# cd X1000_v1.0.01.004/toolchains/
# tar zxvf uclibc-crosstools-gcc_src-4.4.2-1.tgz
# cd buildroot-4.4.2-1/
# make
Everything will start automatically and all of the excutable packages will b
e put on /opt/toolchains/uclibc-crosstools-gcc-4.4.2-1/

You might also like