/rhino

RHINO - Reconfigurable Hardware Interface for computatioN and radiO

Primary LanguageC

     _____                 
    (, /   ) /)   ,        
      /__ / (/     __   ___
   ) /   \_ / )__(_/ (_(_) 
  (_/                      
       Reconfigurable Hardware Interface
          for computatioN and radiO
          
  ========================================
        http://www.rhinoplatform.org
  ========================================

Prerequisites
-------------

This guide assumes that a cross-compilation toolchain is available in the current path.
The free CodeSourcery G++ LITE toolchain (ARM GNU/Linux 2009q1) can be downloaded from the following URL: http://www.codesourcery.com/sgpp/lite/arm/portal/package4573/public/arm-none-linux-gnueabi/arm-2009q1-203-arm-none-linux-gnueabi.bin

1. Building x-loader
--------------------

$ cd x-loader
$ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm rhino_config
$ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm
$ ../utils/sign-gp/signGP x-load.bin
$ cp x-load.bin.ift MLO

2. Building u-boot
------------------

$ cd u-boot
$ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm distclean
$ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm rhino_config
$ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm

Note: If necessary, the board revision can be set with the REV environment variable, e.g.
$ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm rhino_config REV=1.0


3. Building borph
-----------------

$ cd borph
$ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm rhino_defconfig
$ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm uImage modules
$ make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm INSTALL_MOD_PATH=<root_filesystem_dir> modules_install

4. Installing onto the board
----------------------------

Follow the instructions on the wiki at https://github.com/brandonhamilton/rhino/wiki/Software-Setup