wiki2967: Nto640FreescaleMpc8313eRdbTrunkReleasenotes (Version 15) | ||||||||||||||||||||||||||||||||||||||||||||||||||
Release Notes for the QNX Neutrino 6.4.0 BSP for Freescale MPC8313E RDB 1.0.0#System requirements#Target system#
Host development system#
Getting Started#Step 1: Connect your hardware#1.Connect the serial cable to the first serial port of the MPC8313E RDB board to the first serial port of your host machine (e.g. ser1 on a Neutrino host).
Step 2: Build the BSP#You can build a BSP OS image from the source code or the binary components contained in a BSP package. For instructions about building a BSP OS image, please refer to the chapter Working with a BSP in the Building Embedded Systems manual.Step 3: Transfer the OS image to the target using the ROM monitor#On your host machine, start your favorite terminal program with these settings:
Step 4: Setting up the environment#
The MPC8313E-RDB REVC board contains eTSEC0:five 10/100/100 BaseT RJ-45 interface using Vitesse VSC7385 L2 switch and eTSEC1: one 10/100/100 BaseT RJ-45 interface using Marvell 88E1111 PHY( lower-right-most is TSEC1, other five are eTSEC0). Step 4A: Loading the Firmware for Vitesse VSC7385 L2 switch#The MPC8313E-RDB board contains a Vitesse VSC7385 L2 switch connected to TSEC0 device. This switch essentially requires to load/execute a Vitesse firmware before booting any OS on the MPC8313E-RDB platform, in order to be able to use TSEC0. This firmware comes factory preloaded on MPC8313E-RDB board's NOR flash. U-Boot 1.3.0 (Dec 22 2008 - 11:19:29) MPC83XX Reset Status: CPU: e300c3, MPC8313E, Rev: 21 at 333.333 MHz, CSB: 166 MHz Board: Freescale MPC8313ERDB I2C: ready DRAM: 128 MB FLASH: 8 MB NAND: 32 MiB In: serial Out: serial Err: serial Net: TSEC0, TSEC1 [PRIME] Hit any key to stop autoboot: 0 => => cp.b fe710000 40000 11000; go 40004 ## Starting application at 0x00040004 ... VSC7385 Version = 0x273850e9 Value in IRAM matches binary, total bytes 0x2000 loaded ## Application terminated, rc = 0x0 => Step 4B: TFTP download#This method requires a raw image, which the buildfile creates by default. On your target, type the following, filling in the appropriate IP addresses and ifs file: => setenv ethact TSEC1 => setenv ipaddr 172.18.80.142 => setenv serverip 172.18.80.174 => setenv bootfile ifs-mpc8313rdb.raw => setenv loadaddr 0x200000 => setenv bootcmd 'tftpboot $loadaddr $bootfile; go $loadaddr' => setenv bootdelay 2 => saveenv Saving Environment to Flash... Un-Protected 1 sectors Erasing Flash... . done Erased 1 sectors Writing to Flash... done Protected 1 sectors => boot
Note:
If connect eTSEC1 to download, please use "setenv ethact TSEC0" .If connect eTSEC2 to download, please use "setenv ethact TSEC1" . At this point you should see the ROM monitor download the boot image, indicated by a series of number signs. You'll also see output similar to this when it completes downloading: Speed: 100, full duplex Using TSEC1 device TFTP from server 10.42.97.136; our IP address is 10.42.104.42 Filename '/root/tmp/images/ifs-8313rdb.raw'. Load address: 0x200000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ############################## done Bytes transferred = 1483860 (16a454 hex) ## Starting application at 0x00200000 ... Welcome to QNX Neutrino 6.4.0 on the Freescale MPC8313E RDB board Once the initial image is running, you can update the OS image using the network and flash drivers. For sample command lines, please see the " Driver Command Summary" section. Creating a flash partition#
devf-generic -s0xFE000000,8M
flashctl -p/dev/fs0 -l1M -o5M -ve
flashctl -p/dev/fs0p0 -l1M -o5M -vf
slay devf-generic & devf-generic -s0xFE000000,8M & Summary of driver commands#The following table summarizes the commands to launch the various drivers.
Some of the drivers are commented out in the default buildfile. To use the drivers in the target hardware, you'll need to uncomment them in your buildfile, rebuild the image, and load the image into the board. Ethernet:#For eTSEC0:five 10/100/100 BaseT RJ-45 interface using Vitesse VSC7385 L2 switch Note: before using tftpboot download image, should run "cp.b fe710000 40000 11000; go 40004" in uboot.
Command: io-pkt-v4 -dmpc85xx pci=0,syspage,emu_phy=0,irq_tx=32,irq_rx=33,irq_err=34 -ptcpip For eTSEC1: one 10/100/100 BaseT RJ-45 interface using Marvell 88E1111 PHY.
Command: io-pkt-v4 -d mpc85xx pci=1,ioport=0xe0025000,irq_tx=35,irq_rx=36,irq_err=37
Note:
The latest sources for devnp-mpc85xx.so is available from the networking project.
Known issues for this BSP# |
||||||||||||||||||||||||||||||||||||||||||||||||||