BEE2 Reference Designs


  1. BEE2 Reference Designs
    1. Retrieving Reference Designs
    2. Preparing Compact Flash Cards for Booting
    3. Minimal Linux Reference Design
      1. Booting Linux Reference
      2. Builing Linux Reference

One of the easiest ways to learn how to use the BEE2 and how to design for the BEE2 is to use and examine reference designs. This page lists several reference designs provided with the board support package that are designed to utilize all of the features unique to the BEE2 board.

The following reference designs are included:

Retrieving Reference Designs


All reference base systems are available in either binary or source form. To download a pre-compiled binary of a specific base system, visit the Bee2Binaries page.

To get a copy of the reference design in source form, visit the BEE2 homepage and download the reference source package (you will also probably need the repository and linuxppc-2.4 source packages as well).

Preparing Compact Flash Cards for Booting


Detailed instructions for preparing a CompactFlash for configuration files (ACE files) and for use as a Linux root filesystem can be found in the Bee2Binaries page.

It is also recommended that you setup your CF card with the Default Boot Compact Flash files found on the binaries page. This configuration allows you to easily boot your own design, a "failsafe" Linux design, and the test-suite just by changing a configuration jumper (see Bee2Setup for more information).

Minimal Linux Reference Design


Booting Linux Reference


Hardware Requirements

For more information on specific part numbers and instructions for connecting the BEE2, see the Bee2Setup page.

Instructions

  1. Prepare CompactFlash card via the instructions found on the Bee2Binaries page. Use the instructions on Bee2DebianRootFs to prepare the CF card for a Linux root filesystem, or skip it if you plan to use NFS to mount the root.

    1. We recommend using the Default Boot Compact Flash files as the base for your configuration partition since they allow you quick access to a "failsafe" boot and the test-suite.

    2. To prepare a root filesystem, follow the instructions in Bee2DebianRootFs to boot from the CF card, or from Bee2DebianRootNfs to boot from a NFS mount (this is preferred since it is much faster).

  2. Prepare your board for booting Linux. Follow the instructions found in Bee2LinuxConfig to setup the EEPROM configuration strings.

  3. Download binary of Linux reference design from Bee2Binaries page and install it on the configuration partition of the CF card. You will need the system.ace file.

    1. If you are using the Default Boot Compact Flash setup, you will need to copy the ace file to /MNT/POINT/cf/standard/standard.ace

    2. If you are just using an empty configuration partition, simply copy the file to /MNT/POINT/system.ace

  4. Connect RS232 serial cable to BEE2 and PC and setup terminal emulation program.

    1. Use the following settings: Baud rate = 115200, 8-bit data, no parity, 1 stop bit, no flow control.

  5. (Optional) Connect a LCD monitor via an HDMI to DVI connector. The default system uses the frame buffer and the boot messages will show up when booting.

  6. Apply power to board. As always, before powering on make sure the supply is set to 5V, and if it is a current limited supply, it is a good idea to current limit to ~30A for this configuration.

Builing Linux Reference


  1. Download source packages reference, repository, and linuxppc-2.4 (instructions for downloading can be found in Bee2Cvs page).

    1. Prepare the reference by entering reference/XPS_Ctrlfpga_linux and running ./symlinks.sh /PATH/TO/repository to create pcore symlinks.

  2. Generate the hardware bitstream by running xps -nw system.xmp and then type run init_bram

  3. Generate the software BSP by running run libs from within Platform Studio. Copy the generated BSP files to the linux source tree by running:

    • cp -a ppc405_0/libsrc/linux_mvl31_v1_01_a/* /PATH/TO/linuxppc-2.4

  4. Build the Linux kernel and generate the ACE file (detailed instructions are available on Bee2LinuxKernel).