Release Notes for the QNX Neutrino 6.4.0 BSP for Freescale MPC5121e ADS 1.0.0#

System requirements#

Target system#

Host development system#


System layout#

The tables below depict the memory layout for the image and for the flash.

ItemAddress
OS image loaded at:0x80200000
OS image begins execution at:0x80200000
NOR Flash base address0xfc000000
NAND Flash base address0x40000000


Getting Started#



Step 1: Connect your hardware#

Note:
If you have a Neutrino host with a <em>serial</em> mouse,you may have to move it to the second serial port on your host, because some terminal programs require the first serial port.

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.

Step 3: Transfer the OS image to the target#

1. On your host machine, start your favorite terminal program with these settings:

2.Apply power to the board.

3.Configure the board for a TFTP transfer.

>setenv ipaddr <ipaddress>
>setenv serverip <serverip>
>setenv netmask <netmask>
>setenv bootfile ads5121e.raw
>saveenv

4.Copy the image from your host to the target using this command:

tftpboot 0x200000 
go 0x200000

You should now see the Neutrino welcome message on your terminal screen:

Welcome to QNX Neutrino 6.4.0 on the Freescale ADS5121e board

You can now test the OS simply by executing any shell builtin command or any command residing within the OS image(e.g. ls).

Creating a flash partition#



1. Enter the following command to start the flash filesystem driver:

      devf-mgt5200 -s0xfc000000,64M -r
2.To prepare the area for the partition, enter the following command:
      flashctl -p/dev/fs0 -o7m -l50m -ve

3. Format the partition:

      flashctl -p/dev/fs0p0 -o7m -l50m -vf 
4. Slay, then restart the driver:
      slay devf-mgt5200
      devf-mgt5200 -s0xfc000000,64M -r
You should now have a /fs0p0 directory where you can copy files to.

Driver Command Summary#

The driver command lines below are specific to the freescale MPC5121e ADS reference board.See the online docs for each driver for additional command-line options and other details.

Serial#

Command:
      devc-sermpc512x -c 66000000 -b 115200 -p 3 -e -F -S -x 40
Note:
For MPC5121e ADS HW Rev 2D and later, the clock frequency is 66MHz; For MPC5121e ADS HW Rev 2, the clock frequency is 99MHz

Required libraries:

CAN#

Command:
      dev-can-mpc5121 -u 0 can0
Required libraries:

PCI#

Command:
      pci-mpc5121
Required libraries:

Network#

Command:
      io-pkt-v4 -d mpc5121 mac=662200043039 verbose -ptcpip
Required libraries:

NOR Flash#

Command:
      devf-mgt5200 -s0xfc000000,64M -r
Required libraries:

NAND Flash#

Command:
      fs-etfs-mpc5121-e -m /fs/etfs
      fs-etfs-mpc5121 -m /fs/etfs
Required libraries:

USB#

Command:
      io-usb -d ehci-mpc512x ioport=0x80004000,irq=44,verbose=1 -vvv &
Note:
Please use the mini-ATX power supply and remove P1 jumper to obtain the enough power for USB, otherwise the system may reset unexpected.

Required libraries:

SPI#

Command:
      spi-master -d mpc5121
Required libraries:

Audio AC97#

Command:
      io-audio -d mpc512x 
Note:
DMA mutex infrastructure need to be created before starting this driver.

Required libraries and binaries:

Audio I2S#

Command:
      io-audio -d mpc5121_i2s 
Note:
DMA mutex infrastructure need to be created before starting this driver.

Required libraries and binaries:

I2C#

Command:
      i2c-mpc5200 -o1 -p0x8001700 -c100000000 -i9
Required libraries:

Graphics#

Command:
      io-display -dvid=0,did=0
Required libraries:

EIDE Block#

Command:
PIO mode:
      devb-eide-mpc5121 eide nobmstr

DMA mode:
      devb-eide-mpc5121
Required libraries:

DMA Mutex#

Command
      mpc512x_dma_cfg -c 
Required libraries and binaries:

RTC#

Command:
      rtc m41t6x 
      rtc -s m41t6x 
Note:
The rtc command must be run after the I2C driver is active

Required binaries:


Known issues for this BSP#