Project Home
Project Home
Wiki
Wiki
Project Information
Project Info
wiki4141: Nto640TiOmapL138EvmTrunkReleasenotes (Version 3)


Release Notes for the QNX Neutrino 6.4.0 BSP for TI OMAP-L138 EVM#

1.System Requirements#

Target Requirements
  1. QNX Neutrino RTOS 6.4.0
  2. Board version: TI OMAP-L138 EVM
  3. L138 processor
  4. 64MB DDR SDRAM
  5. 8 MB SPI flash

Host Requirements

  1. QNX Momentics 6.4.0
  2. Terminal emulation program (Qtalk, Momentics IDE Terminal, tip, HyperTerminal, etc.)
  3. RS-232 serial port and serial cable, or a USB-to-serial cable
  4. Ethernet link

2.Getting Started#

2.1 Building 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.

2.2 Connect your Hardware#

Connect the serial cable to the serial port of the TI OMAP L138 EVM board to the serial port of your host machine. There is 1 serial port on TI OMAP L138 EVM board. Usually you should see some Uboot output on the console when you connect cable to the correct port.

The correct terminal settings of the program handling serial connection should be:

baudrate 115200
data 8 bit
parity none
stop 1bit
flow control none

2.3 Setup you environment#

1. Power on your target. You should see the u-boot output on your console. 2. Connect an ethernet cable to the Baseboard's port.

3. Boot the IFS image#

You can use TFTP download to transfer an OS image to the board, as described below.

3.1 Boot via tftp#

This method requires that you put the raw image generated by BSP (by default at $BSP_ROOT/images/ifs-omapl138.raw) to a TFTP server. This server must be reachable via board and preferably should be on the same LAN. As soon as u-boot starts, press any key so that u-boot stops and doesnt boot the prebuild linux kernel. Configure u-boot parameters as follows:

=> setenv ipaddr 10.90.74.214
=> setenv serverip 10.90.74.42
=> setenv bootfile ifs-omapl138.raw
=> setenv loadaddr 0xC0008000
=> setenv bootcmd 'tftpboot $loadaddr $bootfile; go $loadaddr'
=> setenv bootdelay 2
=> saveenv
Saving Environment to SPI Flash...
Erasing SPI flash...Writing to SPI flash...done
=> boot

At this point, you should see output similar to this when it finishes downloading:

## Starting application at 0xC0008000 ...
Welcome to QNX Neutrino on a TI OMAP L138 Platform
#

Congratulations! QNX 6.4.0 kernel is running on your system. You can test the OS simply by executing any shell builtin command or any command residing within the OS image (e.g. ls). Once the initial image is running, you can update the OS image using the network and flash drivers. Still the network and flash drivers need to be supported for the TI OMAP L138 EVM board.


7. Driver Command Summary#

Component Buildfile Command Required Binaries Required Libraries Source Location
Startup startup-p2020rdb -v -c0xFFE00000 -t50000000 -D0xffe04500 startup-p2020rdb libstartup.a src/hardware/startup/boards/p2020rdb
Serial devc-ser8250 -e -c600000000 -b115200 0xffe04500,25
waitfor /dev/ser1
reopen /dev/ser1
devc-ser8250 none src/hardware/devc
I2C i2c-mpc8572 -i26 -p0xffe03000 --u0 (for controller 1)
i2c-mpc8572 -i26 -p0xffe03100 --u1 (for controller 2)
i2c-mpc8572 none src/hardware/i2c/mpc8572
Network io-pkt-v4-hc -dmpcsec -p tcpip-v6 ipsec -dmpc85xx mac=00112233AABB,emu_phy=0 io-pkt-v4-hc
ifconfig
devnp-mpc85xx.so /src/hardware/devnp
SPI rtc -v ds3232 /dev/i2c0
rtc -s -v ds3232 /dev/i2c0
rtc
date
libutil.a
libutilS.a
/src/utils/r/rtc

Network#

To start network driver without encryption, run:

io-pkt-v4-hc -dmpcsec -p tcpip-v6 ipsec -dmpc85xx mac=00112233AABB,emu_phy=0

you should see following output when you run ifconfig


# ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33192
        inet 127.0.0.1 netmask 0xff000000
tsec0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        capabilities rx=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
        capabilities tx=0
        enabled=0
        address: 00:11:22:33:aa:bb
        media: Ethernet none
tsec1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        capabilities rx=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
        capabilities tx=0
        enabled=0
        address: 00:11:22:33:aa:bc
        media: Ethernet none
tsec2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        capabilities rx=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
        capabilities tx=0
        enabled=0
        address: 00:11:22:33:aa:bd
        media: Ethernet none

To bring a network interface up, type following command

ifconfig tsec0 10.90.74.214/24 up

Here 10.90.74.214 is the IP address assign to your target and 24 is the netmask bits (i.e. 255.255.255.0) The LEDs of the RJ45 ports corresponding to an enabled interface shall glow periodically. This can be used to identify the correct port corresponding to each tsec.

Known Issues for This BSP#




Active Tab Versions Inactive Tab - left sideAssociations Inactive Tab - left sideAttachments Inactive Tab - left sideBack LinksInactive Tab - right side  
    Version From To Version Comment Created By
    Version 34 This readme is also for AM1808 Sojan James  -  06/28/2010
    Version 33 SATA AHCI source code related update Ganesh Kumar(deleted)  -  06/02/2010
    Version 32 added dma library as a requirement for spi driver Vibi Sreenivasan(deleted)  -  05/31/2010
    Version 31 updated the spi driver option Krishna Reddy  -  05/20/2010
    Version 30 fixed the wrong driver name for spi Vibi Sreenivasan(deleted)  -  05/18/2010
    Version 29 Updated the Command line option for startup Krishna Reddy  -  05/13/2010
    Version 28 Ranjan Kumar Dash(deleted)  -  05/12/2010
    Version 27 updated the known issues. Krishna Reddy  -  05/10/2010
    Version 26 Graphics driver support added for the OMAPL138 EVM BSP Krishna Reddy  -  05/10/2010
    Version 25 Updated the Graphics support Krishna Reddy  -  05/10/2010
    Version 24 Added mmcsd support Vibi Sreenivasan(deleted)  -  05/10/2010
    Version 23 Ganesh Kumar(deleted)  -  05/10/2010
    Version 22 SATA support added in Driver command summary Ganesh Kumar(deleted)  -  05/10/2010
    Version 21 USB 2.0 Driver is updated. Ranjan Kumar Dash(deleted)  -  04/22/2010
    Version 20 Updated the notes for NOR flash driver Krishna Reddy  -  03/31/2010
    Version 19 updated the release notes with DSPLink and NOR flash Krishna Reddy  -  03/31/2010
    Version 18 Updated the devn driver name Ganesh Kumar(deleted)  -  03/26/2010
    Version 17 Updated the Release notes for RTC and NAND Krishna Reddy  -  03/17/2010
    Version 16 changed startup & usb command in release according to the build file Vibi Sreenivasan(deleted)  -  03/15/2010
    Version 15 Nilanjan Roychowdhury(deleted)  -  03/14/2010
    Version 14 Network driver flood ping PR updated in Release notes Ganesh Kumar(deleted)  -  03/04/2010
    Version 13 updating USB Driver Commands Ranjan Kumar Dash(deleted)  -  03/03/2010
    Version 12 Vibi Sreenivasan(deleted)  -  03/03/2010
    Version 11 Adding Release notes for USB Driver Ranjan Kumar Dash(deleted)  -  03/03/2010
    Version 10 Ethernet port connected to RMII interface up on the UI board Krishna Reddy  -  03/02/2010
    Version 9 Added RTC to the Release notes Krishna Reddy  -  03/02/2010
    Version 8 Startup and Serial are updated Krishna Reddy  -  02/16/2010
    Version 7 Ganesh Kumar(deleted)  -  02/16/2010
    Version 6 Updating i2c driver command Ranjan Kumar Dash(deleted)  -  02/16/2010
    Version 5 updated spi driver invocation for interface 0 & 1 Vibi Sreenivasan(deleted)  -  02/16/2010
    Version 4 Nilanjan Roychowdhury(deleted)  -  02/16/2010
    Version 3 Nilanjan Roychowdhury(deleted)  -  02/16/2010
    Version 2 Krishna Reddy  -  02/05/2010
    Version 1 Nilanjan Roychowdhury(deleted)  -  02/05/2010