After the cross compiler installation the developmentinfrastructure from Axis needs to be installed. Download at AXIS Software Distribution the install package and the distribution files. Unpack both achives in one directory.

Follow the installation instructions.

tar -xvfz devboard-R2_01.tar.gz tar -xvfz devboard-R2_01-distfiles.tar.gz cd devboard-R2_01 ln -s ../distfiles

Run install: type ./install

Do you want to copy distfiles now ? n because thy are downloaded allready (see ln)

output:
... some stuff
"... 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: 2. devboard_82+): 

 Configured for: devboard_82+ - 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.                                          |
 +-------------------------------------------------------------+

Run ./configure in devboard-R2_01.

It is mandatory to know the root password to run etrax100boot!!!!!!!!!!

Run make.

First attempt ended in:
a looooooooooooooooot of stuff
.....
rm -rf obj
mkdir obj
touch setup-stamp
cd /share/home/marc/hades_ETRAX/devboard-R2_01/apps/shells/dash/dash; \
MAKEOBJDIR='/share/home/marc/hades_ETRAX/devboard-R2_01/packages/apps/shells/dash/readline-R1_0_4/obj' MAKEFLAGS= pmake \
        CC:='  gcc-cris  -isystem /share/home/marc/hades_ETRAX/devboard-R2_01/target/cris-axis-linux-gnu/include -mlinux -mno-mul-bug-workaround' \
        CFLAGS:='-Wall -Wshadow -O2 -g  -DUSE_READLINE -DBSD=1 -DSMALL -D_GNU_SOURCE \
        -DGLOB_BROKEN -DHAVE_VASPRINTF=1 -DIFS_BROKEN \
        -D__COPYRIGHT\(x\)= -D__RCSID\(x\)= -D_DIAGASSERT\(x\)=' \
        LDFLAGS:=' -L/share/home/marc/hades_ETRAX/devboard-R2_01/target/cris-axis-linux-gnu/lib -Wl,-rpath-link,/share/home/marc/hades_ETRAX/devboard-R2_01/target/cris-axis-linux-gnu/lib' LDADD:='-lreadline -ltermcap' \
        YACC:=bison
/bin/sh: pmake: command not found
make[2]: *** [all] Error 127
make[2]: Leaving directory `/share/home/marc/hades_ETRAX/devboard-R2_01/packages/apps/shells/dash/readline-R1_0_4'
make[1]: *** [install-recurse] Error 1
make[1]: Leaving directory `/share/home/marc/hades_ETRAX/devboard-R2_01'
make: *** [everything] Error 2

No idea why they are using pmake. It is not included in any modern Linux I know... At ACME systems one find another howto install the SDK. Download the pmake version fom there. Or here:

boot_linux -i kimage -d eth1
note -d (device) is needed if there are two Ethernet interfaces on the Computer used for development. eth0 is the default for boot_linux.

note boot_linux needs root privileges becouse of: wink
Feb 21 15:37:27 lxdv18 kernel: device eth1 entered promiscuous mode
Feb 21 15:37:35 lxdv18 kernel: device eth1 left promiscuous mode

Kernel Configuration:
────────────────────────────────────────────────────────────┐ │
  │ │          (Etrax-100-LX-v2) Processor type                           │ │
  │ │          (16) DRAM size (dec, in MB)                                │ │
  │ │          (2) Buswidth of flash in bytes                             │ │
  │ │          (0) FLASH1 size (dec, in MB. 0 = Unknown) (NEW)            │ │
  │ │          (None) Product LED port                                    │ │
  │ │          (Serial-0) Product debug-port                              │ │
  │ │          (Serial-0) Product rescue-port                             │ │
  │ │          (9aa6) R_WAITSTATES                                        │ │
  │ │          (004) R_BUS_CONFIG                                         │ │
  │ │          [*] SDRAM support                                          │ │
  │ │          (09603636)   R_SDRAM_CONFIG                                │ │
  │ │          (80608002)   R_SDRAM_TIMING                                │ │
  │ │          (0e) R_PORT_PA_DIR                                         │ │
  │ │          (00) R_PORT_PA_DATA                                        │ │
  │ │          (00) R_PORT_PB_CONFIG                                      │ │
  │ │          (ff) R_PORT_PB_DIR                                         │ │
  │ │          (00) R_PORT_PB_DATA                                        │ │
  │ │          [ ] Software Shutdown Support        

-- MarcRStockmeier - 21 Feb 2006
Topic revision: r4 - 2006-03-06, MarcRStockmeier - This page was cached on 2024-04-17 - 00:27.

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback | Legal notice | Privacy Policy (german)