Installation Axis SDK on Debian Sarge

jean Huens, jean@huens.be, april 2 2006

Follow instructions on http://www.acmesystems.it/index.php/Installing_the_Axis_SDK

Download and install debian packages

Attention pmake installs two tools mkdep and pmake which are also available as debian packages. If you did install these as Debian packages you will need to check wther you need the Axis or Debian versions.

I did install the Axis version

flater:/home/jean/src/axis# dpkg -i pmake_1.98-3_i386.deb
Selecting previously deselected package pmake.
(Reading database ... 84680 files and directories currently installed.)
Unpacking pmake (from pmake_1.98-3_i386.deb) ...
Setting up pmake (1.98-3) ...
flater:/home/jean/src/axis#
You now have two new commands /usr/bin/pmake and /usr/bin/mkdep.
The package cris-dist_1.63-1_i386.deb installs in /usr/local:
later:/home/jean/src/axis# dpkg -i cris-dist_1.63-1_i386.deb
Selecting previously deselected package cris-dist.
(Reading database ... 84709 files and directories currently installed.)
Unpacking cris-dist (from cris-dist_1.63-1_i386.deb) ...
Setting up cris-dist (1.63-1) ...

flater:/home/jean/src/axis#
To use these tools you need to add /usr/local/cris/bin to your PATH.

Compile and test a simple application

Now I guess you have enough tools to compile and test a simple application.

TOBEDONE

Install Kernel distributions and tools

-rw-r--r--  1 jean jean 111707916 Apr  2 10:11 devboard-R2_01-distfiles.tar.gz
-rw-r--r--  1 jean jean     53070 Apr  2 10:06 devboard-R2_01.tar.gz
 
These tar files form the kernel source distribution

Install in a directory:
flater:/home/jean/src/axis# tar ztvf devboard-R2_01.tar.gz | more
drwxr-xr-x karljope/axusers 0 2005-09-23 10:51:17 devboard-R2_01/
drwxr-xr-x karljope/axusers 0 2005-09-23 10:51:17 devboard-R2_01/fox/
-rw-r--r-- karljope/axusers 23954 2005-09-20 15:24:22 devboard-R2_01/fox/kernelconfig
-rw-r--r-- karljope/axusers 2527 2005-09-20 15:23:16 devboard-R2_01/fox/defconfig
....
jean@flater:~/axis$ tar zxvf ~/src/axis/devboard-R2_01-distfiles.tar.gz
distfiles/
distfiles/packages-devices-scsi-R1_0_0.tar.gz.md5
distfiles/packages-os-linux-2.6-R1_1_3.tar.gz
distfiles/packages-initscripts-libupnp-R1_0_5.tar.gz.md5
distfiles/packages-param-init-devboard_82-R1_0_0.tar.gz
distfiles/libs-termcap-R1_0_7.tar.gz.md5
distfiles/packages-initscripts-respawnd-R1_0_1.tar.gz.md5
distfiles/packages-initscripts-sysklogd-R1_2_1.tar.gz
distfiles/configure-files-devboard-AC_common-tag--devboard-R2_01.tar.gz.md5
distfiles/configure-files-devboard-AC_common-tag--devboard-R2_01.tar.gz
distfiles/apps-libupnp-basic_device-R1_0_2.tar.gz
distfiles/packages-scripts-ctrl_btn-common-R1_0_1.tar.gz
...
jean@flater:~/axis$ cd devboard-R2_01/
jean@flater:~/axis/devboard-R2_01$ ln -s ../distfiles
jean@flater:~/axis/devboard-R2_01$ ./install
*** Install script for Axis Developer Board/Device Server SDK ***
==================================================================
* Unpacking "distfiles/tools-build-R2_12_4.tar.gz"... done
* Unpacking "distfiles/configure-files-devboard-devboard-tag--devboard-R2_01.tar.gz"... done
* Unpacking "distfiles/configure-files-common-common-tag--devboard-R2_01.tar.gz"... done
* Unpacking "distfiles/configure-files-common-AC_common-tag--devboard-R2_01.tar.gz"... done
* Unpacking "distfiles/configure-files-devboard-AC_common-tag--devboard-R2_01.tar.gz"... done
* Unpacking "distfiles/configure-files-devboard-AC_general-tag--devboard-R2_01.tar.gz"... done
* Unpacking "distfiles/configure-files-devboard-AC_network-tag--devboard-R2_01.tar.gz"... done
* Unpacking "distfiles/configure-files-devboard-AC_web-tag--devboard-R2_01.tar.gz"... done
* Generating "Makefile"... done

Select wich product to use. This selection will affect which
configuration files the SDK will use. Select the product in
the list below that closest resemblels your product.

Alternatives:
1. devboard_82+ - "Axis Developer Board 82+/83+"
2. devboard_82 - "Axis Developer Board 82/83"
3. devboard_lx - "Axis Developer Board LX"
4. devboard_lx_ide - "Axis Developer Board LX IDE"
5. fox - "FOX BOARD by ACME systems (www.acmesystems.it) with MCM4+16"
6. mcm_2_8 - "Custom designs with MCM2+8, no additional memory"
7. mcm_4_16 - "Custom designs with MCM4+16, no additional memory"
* Specify product (default: 1. devboard_82+): 5

Configured for: fox - Install complete

+-------------------------------------------------------------+
| To setup product (Next step): |
| |
| Optional Required |
| --------------- ---------------------- |
| 1. 2. 3. |
| make config --> ./configure --> make |
| make menuconfig |
| make xconfig |
| |
| If the configuration step is skipped (the first step) the |
| default configuration will be used when building the image. |
| |
| Use ./configure --help for more information about |
| configure options. |
+-------------------------------------------------------------+
jean@flater:~/axis/devboard-R2_01$ ./configure --help
### Selected product: "fox" ###
Usage: ./configure [option]...
Options are:
--disable-compiler-check Disable compiler check.
--disable-fetch Do not download anything, just generate the
makefile.
--disable-integrity-check Do not (download MD5 and) check integrity for
fetched files and packages.
--disable-output Do not generate the makefile, just download files
and packages.
--disable-reexec Do not re-execute. Disables the conditional_reexec
function.
-f [RE], --force-fetch[=RE]
Download files and packages matching the (egrep)
regular expression RE, even those that already
exists in the local tree. If RE is omitted, all
files and packages will be downloaded.
-h, --help Display this help and exit.
--ignore-cvs-revisions All revision information will be ignored when
checking out files and packages from CVS.
--no-color Do not use terminal colors.
--no-spinner Do not show the progress spinner.
-p, --pretend Pretend to fetch files and packages and to
generate the makefile. Included files may be
downloaded, but the local tree will not be
modified.
-u [RE], --update[=RE] Update files and packages matching the (egrep)
regular expression RE to the revisions specified
in the configure script. If RE is omitted, all
files and packages will be updated.
-v, --verbose Print verbose information.
--with-buildtype=BT Set buildtype to BT. Overrides the buildtype
function.
jean@flater:~/axis/devboard-R2_01$ ./configure
### Selected product: "fox" ###
* Using previously fetched packages... done
* Unpacking "distfiles/modules-rules.build_modules-R1_0_4.tar.gz"... done
* Using compiler "/usr/local/cris/bin/cris-axis-linux-gnu-gcc" (revision "R63").
* Unpacking "distfiles/packages-romfs_meta-common-R1_0_1.tar.gz"... done
* Unpacking "distfiles/os-linux-tag--devboard-R2_01.tar.gz"... done
* Unpacking "distfiles/packages-os-linux-2.4-R1_0_2.tar.gz"... done
* Unpacking "distfiles/libs-libfdipc-R1_0_7.tar.gz"... done
* Unpacking "distfiles/packages-filesystem-R1_2_1.tar.gz"... done
* Unpacking "distfiles/packages-base-files-R1_2_0.tar.gz"... done
* Unpacking "distfiles/packages-initscripts-common-R2_10_3.tar.gz"... done
* Unpacking "distfiles/apps-sys-utils-start-stop-daemon-IR1_9_18-1.tar.gz"... done
* Unpacking "distfiles/apps-sys-utils-respawnd-R1_3_1.tar.gz"... done
* Unpacking "distfiles/packages-initscripts-respawnd-R1_0_1.tar.gz"... done
* Unpacking "distfiles/packages-initscripts-factorydefault-R2_1_1.tar.gz"... done
* Unpacking "distfiles/packages-scripts-ctrl_btn-common-R1_0_1.tar.gz"... done
* Unpacking "distfiles/packages-initscripts-issue-R2_0_2.tar.gz"... done
* Unpacking "distfiles/packages-initscripts-mountall-R1_0_1.tar.gz"... done
* Unpacking "distfiles/packages-initscripts-var-R2_0_1.tar.gz"... done
* Unpacking "distfiles/packages-initscripts-mac-R2_0_2.tar.gz"... done
* Unpacking "distfiles/packages-initscripts-urandom-R1_0_0.tar.gz"... done
* Unpacking "distfiles/packages-initscripts-hostname-R2_1_1.tar.gz"... done
* Unpacking "distfiles/packages-initscripts-resolv-R1_2_2.tar.gz"... done
* Unpacking "distfiles/packages-initscripts-statusled-R1_0_1.tar.gz"... done
* Unpacking "distfiles/packages-initscripts-net-R1_5_5.tar.gz"... done
* Unpacking "distfiles/apps-ethtool-R1_0_3.tar.gz"... done
* Unpacking "distfiles/packages-initscripts-net.lo-R1_2_0.tar.gz"... done
* Unpacking "distfiles/packages-initscripts-net.eth0-static-R1_0_0.tar.gz"... done
* Unpacking "distfiles/packages-devices-standard-R1_3_0.tar.gz"... done
* Unpacking "distfiles/packages-devices-axis-2.4-R1_0_10.tar.gz"... done
* Unpacking "distfiles/libs-gcc-R1_1_0.tar.gz"... done
* Unpacking "distfiles/apps-bootblocktool-R1_1_2.tar.gz"... done
* Unpacking "distfiles/apps-init-R1_3_6.tar.gz"... done
* Unpacking "distfiles/apps-flash-R1_3_14.tar.gz"... done
* Unpacking "distfiles/apps-vftpd-R1_2_2.tar.gz"... done
* Unpacking "distfiles/packages-initscripts-vftpd-R1_2_1.tar.gz"... done
* Unpacking "distfiles/apps-sys-utils-sysklogd-R1_0_3.tar.gz"... done
* Unpacking "distfiles/packages-initscripts-sysklogd-R1_2_1.tar.gz"... done
* Unpacking "distfiles/apps-utils-eraseflash-R1_0_6.tar.gz"... done
* Unpacking "distfiles/apps-utils-readbits-R1_2_0.tar.gz"... done
* Unpacking "distfiles/apps-utils-setbits-R1_0_1.tar.gz"... done
* Unpacking "distfiles/apps-utils-statusled-R1_1_0.tar.gz"... done
* Unpacking "distfiles/packages-scripts-set_led-default-R1_0_3.tar.gz"... done
* Unpacking "distfiles/packages-shell-ash-profile-common-R1_0_2.tar.gz"... done
* Unpacking "distfiles/packages-shell-ash-profile-prompt-R1_0_1.tar.gz"... done
* Unpacking "distfiles/libs-libunittest-R1_0_1.tar.gz"... done
* Unpacking "distfiles/tools-test-unit-R1_0_1.tar.gz"... done
* Unpacking "distfiles/libs-libchecktest-R1_0_1.tar.gz"... done
* Unpacking "distfiles/tools-test-check-R1_0_4.tar.gz"... done
* Unpacking "distfiles/tools-test-function-R1_0_0.tar.gz"... done
* Unpacking "distfiles/packages-param-syslog-development-R1_1_0.tar.gz"... done
* Unpacking "distfiles/packages-apps-vftpd-flash_only-R1_1_0.tar.gz"... done
* Unpacking "distfiles/packages-scripts-set_led-development-R1_1_0.tar.gz"... done
* Unpacking "distfiles/packages-param-init-devboard_82-R1_0_0.tar.gz"... done
* Unpacking "distfiles/packages-initscripts-fsupgrade-jffs2-network-only-R1_0_0.tar.gz"... done
* Unpacking "distfiles/packages-scripts-start_ok-R1_0_0.tar.gz"... done
* Unpacking "distfiles/packages-apps-shells-dash-readline-R1_0_4.tar.gz"... done
* Unpacking "distfiles/libs-readline-R1_0_6.tar.gz"... done
* Unpacking "distfiles/libs-termcap-R1_0_7.tar.gz"... done
* Unpacking "distfiles/apps-shells-dash-IR0_4_17-5.tar.gz"... done
* Unpacking "distfiles/packages-apps-busybox-devboard-R1_1_4.tar.gz"... done
* Unpacking "distfiles/apps-busybox-IR1_00-8.tar.gz"... done
* Unpacking "distfiles/apps-sftpclient-R1_2_1.tar.gz"... done
* Unpacking "distfiles/apps-smtpclient-R1_2_5.tar.gz"... done
* Unpacking "distfiles/apps-editors-easyedit-R1_0_4.tar.gz"... done
* Unpacking "distfiles/apps-iptables-IR1_2_7a-3.tar.gz"... done
* Unpacking "distfiles/apps-ppp-2.4-R2_0_5.tar.gz"... done
* Unpacking "distfiles/apps-utelnetd-R1_1_0.tar.gz"... done
* Unpacking "distfiles/packages-initscripts-utelnetd-R1_1_1.tar.gz"... done
* Unpacking "distfiles/apps-crypto-dropbear-IR0_46-1.tar.gz"... done
* Unpacking "distfiles/packages-initscripts-dropbear-R1_0_0.tar.gz"... done
* Unpacking "distfiles/apps-crypto-openssl-IR0_9_7f-1.tar.gz"... done
* Unpacking "distfiles/apps-crypto-stunnel-IR3_26-6.tar.gz"... done
* Unpacking "distfiles/packages-initscripts-stunnel-https-boa-R1_0_4.tar.gz"... done
* Unpacking "distfiles/apps-web-boa-IR0_94_14rc20-16.tar.gz"... done
* Unpacking "distfiles/packages-web-apps-cgiprg-releaseinfo-R1_0_3.tar.gz"... done
* Unpacking "distfiles/packages-web-local_dir-R1_0_3.tar.gz"... done
* Unpacking "distfiles/packages-web-pics-axislogo-R1_0_4.tar.gz"... done
* Unpacking "distfiles/packages-web-directories-R1_0_4.tar.gz"... done
* Unpacking "distfiles/packages-initscripts-boa-R1_3_0.tar.gz"... done
* Unpacking "distfiles/packages-param-boa-development-R1_1_1.tar.gz"... done
* Unpacking "distfiles/apps-editors-editcgi-R1_0_10.tar.gz"... done
* Unpacking "distfiles/packages-web-apps-editors-editcgi-R1_0_3.tar.gz"... done
* Unpacking "distfiles/packages-web-devboard-index-fox-R1_0_0.tar.gz"... done
* Unpacking "distfiles/packages-devices-scsi-R1_0_0.tar.gz"... done
* Unpacking "distfiles/packages-devices-ttyusb-R1_0_0.tar.gz"... done
* Generating "Makefile"... done
jean@flater:~/axis/devboard-R2_01$ make
make init_env
make[1]: Entering directory `/home/jean/axis/devboard-R2_01'
Creating init_env... done
Source it to export environment variables.
make[1]: Leaving directory `/home/jean/axis/devboard-R2_01'
make tools
make[1]: Entering directory `/home/jean/axis/devboard-R2_01'
make -C tools/build install
make[2]: Entering directory `/home/jean/axis/devboard-R2_01/tools/build-R2_12_4'
make -C ccdv install BINDIR="/home/jean/axis/devboard-R2_01/tools/build-R2_12_4/bin" LIBDIR="/home/jean/axis/devboard-R2_01/tools/build-R2_12_4/lib"
make[3]: Entering directory `/home/jean/axis/devboard-R2_01/tools/build-R2_12_4/ccdv'
gcc -Wall -Wshadow -I/home/jean/axis/devboard-R2_01/target/host/include -O0 -g -fno-omit-frame-pointer -L/home/jean/axis/devboard-R2_01/target/host/lib -Wl,-rpath-link,/home/jean/axis/devboard-R2_01/target/host/lib ccdv.c -o ccdv
install -p -d /home/jean/axis/devboard-R2_01/tools/build-R2_12_4/bin
install -p -m 0755 ccdv @ccdv /home/jean/axis/devboard-R2_01/tools/build-R2_12_4/bin
make[3]: Leaving directory `/home/jean/axis/devboard-R2_01/tools/build-R2_12_4/ccdv'
make -C scripts install BINDIR="/home/jean/axis/devboard-R2_01/tools/build-R2_12_4/bin" LIBDIR="/home/jean/axis/devboard-R2_01/tools/build-R2_12_4/lib"
make[3]: Entering directory `/home/jean/axis/devboard-R2_01/tools/build-R2_12_4/scripts'
install -p -d /home/jean/axis/devboard-R2_01/tools/build-R2_12_4/bin
install -p -m 0755 arpping axls.pl axrequires boot_argus boot_elinux boot_linux boot_etraxfs buildsrccompiler-version convertcomments.pl cris-sym-tab cvs_diff cvs_log cvs2cl.pl diff_prodspec find-needed-shlibs.pl fix_cvsroot gcc_cris gen_log genindex init_env_elinux.pl install_elinux ksymoops-cris meta_name2nbr mke2fs_elinux mkfdscript mknod_elinux mkprod mkptable mkswinfo multiflash optlibs padflashimage prodspec.pm prodspec2configure remotecmd sort-cl-args strrpl.pl /home/jean/axis/devboard-R2_01/tools/build-R2_12_4/bin
ln -sfn gcc_cris /home/jean/axis/devboard-R2_01/tools/build-R2_12_4/bin/arm_linux_gcc
make[3]: Leaving directory `/home/jean/axis/devboard-R2_01/tools/build-R2_12_4/scripts'
make -C aconfig install BINDIR="/home/jean/axis/devboard-R2_01/tools/build-R2_12_4/bin" LIBDIR="/home/jean/axis/devboard-R2_01/tools/build-R2_12_4/lib"
make[3]: Entering directory `/home/jean/axis/devboard-R2_01/tools/build-R2_12_4/aconfig'
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status

>> Unable to find the Ncurses libraries.
>>
>> You must have Ncurses installed in order
>> to use 'make menuconfig'
>>
>> Maybe you want to try 'make config', which
>> doesn't depend on the Ncurses libraries.

make[3]: *** [ncurses] Error 1
make[3]: Leaving directory `/home/jean/axis/devboard-R2_01/tools/build-R2_12_4/aconfig'
make[2]: *** [aconfig] Error 2
make[2]: Leaving directory `/home/jean/axis/devboard-R2_01/tools/build-R2_12_4'
make[1]: *** [tools] Error 2
make[1]: Leaving directory `/home/jean/axis/devboard-R2_01'
make: *** [everything] Error 2
jean@flater:~/axis/devboard-R2_01$

Problem is that some makefiles check on /usr/include/curses.h to decide where ncurses lib can be found. The curses.h file comes with the libncurses5-dev package which was not installed. After installation, and with PATH=/usr/local/cris/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games
the make command does a lot of things but ends with:
cc -Wall -Wshadow -I/home/jean/axis/devboard-R2_01/target/host/include -O0 -g -fno-omit-frame-pointer  -O2 -I.  -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1  -c ./optimize.c
optimize.c: In function `intern_blocks':
optimize.c:1669: warning: declaration of `done' shadows a global declaration
optimize.c:65: warning: shadowed declaration is here
gcc -Wall -Wshadow -I/home/jean/axis/devboard-R2_01/target/host/include -O0 -g -fno-omit-frame-pointer -O2 -I. -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1 -c ./nametoaddr.c
gcc -Wall -Wshadow -I/home/jean/axis/devboard-R2_01/target/host/include -O0 -g -fno-omit-frame-pointer -O2 -I. -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1 -c ./etherent.c
gcc -Wall -Wshadow -I/home/jean/axis/devboard-R2_01/target/host/include -O0 -g -fno-omit-frame-pointer -O2 -I. -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1 -c ./savefile.c
gcc -Wall -Wshadow -I/home/jean/axis/devboard-R2_01/target/host/include -O0 -g -fno-omit-frame-pointer -O2 -I. -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1 -c ./bpf_filter.c
gcc -Wall -Wshadow -I/home/jean/axis/devboard-R2_01/target/host/include -O0 -g -fno-omit-frame-pointer -O2 -I. -Ilinux-include -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1 -c ./bpf_image.c
lex -t scanner.l > $$.scanner.c; mv $$.scanner.c scanner.c
/bin/sh: line 1: lex: command not found
yacc -d grammar.y
make[4]: yacc: Command not found
make[4]: *** [grammar.c] Error 127
make[4]: Leaving directory `/home/jean/axis/devboard-R2_01/tools/build-R2_12_4/e100boot/libpcap-0.4'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/jean/axis/devboard-R2_01/tools/build-R2_12_4/e100boot'
make[2]: *** [install_e100boot] Error 2
make[2]: Leaving directory `/home/jean/axis/devboard-R2_01/tools/build-R2_12_4'
make[1]: *** [tools] Error 2
make[1]: Leaving directory `/home/jean/axis/devboard-R2_01'
make: *** [everything] Error 2
jean@flater:~/axis/devboard-R2_01
We need lex and yacc...

apt-get install bison
apt-get install flex
To complie the kernel:
jean@flater: /home/jean/axis/devboard-R2_01^Gjean@flater:~/axis/devboard-R2_01$ export PATH=/usr/local/cris/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games
jean@flater: /home/jean/axis/devboard-R2_01^Gjean@flater:~/axis/devboard-R2_01$ make
make init_env
make[1]: Entering directory `/home/jean/axis/devboard-R2_01'
make[1]: `init_env' is up to date.
make[1]: Leaving directory `/home/jean/axis/devboard-R2_01'
make tools
make[1]: Entering directory `/home/jean/axis/devboard-R2_01'
make -C tools/build install
make[2]: Entering directory `/home/jean/axis/devboard-R2_01/tools/build-R2_12_4'
make -C ccdv install BINDIR="/home/jean/axis/devboard-R2_01/tools/build-R2_12_4/bin" LIBDIR="/home/jean/axis/devboard-R2_01/tools/build-R2_12_4/lib"
make[3]: Entering directory `/home/jean/axis/devboard-R2_01/tools/build-R2_12_4/ccdv'
install_elinux -p -d /home/jean/axis/devboard-R2_01/tools/build-R2_12_4/bin
install_elinux -p -m 0755 ccdv @ccdv /home/jean/axis/devboard-R2_01/tools/build-R2_12_4/bin
make[3]: Leaving directory `/home/jean/axis/devboard-R2_01/tools/build-R2_12_4/ccdv'
make -C scripts install BINDIR="/home/jean/axis/devboard-R2_01/tools/build-R2_12_4/bin" LIBDIR="/home/jean/axis/devboard-R2_01/tools/build-R2_12_4/lib"
make[3]: Entering directory `/home/jean/axis/devboard-R2_01/tools/build-R2_12_4/scripts'
install_elinux -p -d /home/jean/axis/devboard-R2_01/tools/build-R2_12_4/bin
install_elinux -p -m 0755 arpping axls.pl axrequires boot_argus boot_elinux boot_linux boot_etraxfs buildsrc compiler-version convertcomments.pl cris-sym-tab cvs_diff cvs_log cvs2cl.pl diff_prodspec find-needed-shlibs.pl fix_cvsroot gcc_cris gen_log genindex init_env_elinux.pl install_elinux ksymoops-cris meta_name2nbr mke2fs_elinux mkfdscript mknod_elinux mkprod mkptable mkswinfo multiflash optlibs padflashimage prodspec.pm prodspec2configure remotecmd sort-cl-args strrpl.pl /home/jean/axis/devboard-R2_01/tools/build-R2_12_4/bin
ln -sfn gcc_cris /home/jean/axis/devboard-R2_01/tools/build-R2_12_4/bin/arm_linux_gcc
make[3]: Leaving directory `/home/jean/axis/devboard-R2_01/tools/build-R2_12_4/scripts'
make -C aconfig install BINDIR="/home/jean/axis/devboard-R2_01/tools/build-R2_12_4/bin" LIBDIR="/home/jean/axis/devboard-R2_01/tools/build-R2_12_4/lib"
make[3]: Entering directory `/home/jean/axis/devboard-R2_01/tools/build-R2_12_4/aconfig'
install_elinux -p -d /home/jean/axis/devboard-R2_01/tools/build-R2_12_4/bin
...
install_elinux -p -d /home/jean/axis/devboard-R2_01/target/cris-axis-linux-gnu/usr/html/incl
echo "FOX board by Acme Systems srl (brown_1_0) release 2.01" > /home/jean/axis/devboard-R2_01/target/cris-axis-linux-gnu/usr/html/incl/version.shtml
echo "JFFSID=\"2.01\"" > /home/jean/axis/devboard-R2_01/target/cris-axis-linux-gnu/etc/release
install_elinux -p -d /home/jean/axis/devboard-R2_01/target/cris-axis-linux-gnu/usr/etc/defaultfiles
echo "JIMAGEID=\"2.01\"" \
> /home/jean/axis/devboard-R2_01/target/cris-axis-linux-gnu/usr/etc/defaultfiles/jimageid
install_elinux -p -m 0644 \
"fstab" "/home/jean/axis/devboard-R2_01/target/cris-axis-linux-gnu/etc/"
install_elinux -p -d /home/jean/axis/devboard-R2_01/target/cris-axis-linux-gnu/usr/share/axis-release
ln -sfn dash /home/jean/axis/devboard-R2_01/target/cris-axis-linux-gnu/bin/sh
Making tar file of /home/jean/axis/devboard-R2_01/target/cris-axis-linux-gnu/var/
var/
var/lib/
var/log/
var/run/
var/run/utmp
var/state/
var/tmp/
var/empty/
make[1]: Leaving directory `/home/jean/axis/devboard-R2_01'
make images
make[1]: Entering directory `/home/jean/axis/devboard-R2_01'
Creating new ptablespec... done
Making jffs2 of /home/jean/axis/devboard-R2_01/target/cris-axis-linux-gnu/mnt/flash
install_elinux -p -p -m 0644 flash2.img /home/jean/axis/devboard-R2_01/target/cris-axis-linux-gnu/usr/etc/defaultfiles/jimage
Including needed shared library files
Converting names to numbers in meta files
Making cramfs of /home/jean/axis/devboard-R2_01/target/cris-axis-linux-gnu/
Using a blocksize of 8192 bytes.
Using meta file(s) named "romfs_meta.txt".
Directory data: 8944 bytes
Everything: 2232 kilobytes
Edition timestamp: 1145734174 = Sat Apr 22 21:29:34 2006

Super block: 76 bytes
CRC: be60a39f
warning: gids truncated to 8 bits (this may be a security concern)
cat vmlinux.bin rootfs.img > kimage
cat /home/jean/axis/devboard-R2_01/os/linux/arch/cris/boot/rescue/rescue.bin \
> rescue.img
padflashimage 0x010000 rescue.img
**** Adding 64828 $ff-bytes as alignment to get 65536 (0x010000)
echo -n > flash1.img
mkptable -a crisv10 -d -f ptable_dummy.img ptablespec
cat ptable_dummy.img vmlinuz rootfs.img > flash1.img
padflashimage 0x350000 flash1.img
**** Adding 490192 $ff-bytes as alignment to get 3473408 (0x350000)
mkptable -a crisv10 -v -f ptable.img ptablespec

Creating partition table ...

Ignoring rescue

Check flash1 0x350000 ro kernel flash1.img
partition starts at 0
partition size is 3473408
partition checksum is 515389320

Check flash2 0x0a0000 rw jffs2 flash2.img
partition starts at 3473408
partition size is 655360
partition checksum is 161176048

partition table csum size is 68, sum is 2037
Updated branch-skip offset to 88
rm ptable_dummy.img
cat ptable.img vmlinuz rootfs.img > flash1.img
padflashimage 0x350000 flash1.img
**** Adding 490192 $ff-bytes as alignment to get 3473408 (0x350000)
Creating fimage
cat rescue.img flash1.img flash2.img > fimage
Adding hardware ID "1.00" to fimage
Adding checksum "693147112" to fimage
make[1]: Leaving directory `/home/jean/axis/devboard-R2_01'
jean@flater: ~/axis/devboard-R2_01$