wiki2922: Nto640FreescaleI.mx31Pdk1.0.0Releasenotes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Release Notes for the QNX Neutrino 6.4.0 BSP for Freescale i.MX31 PDK 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.Memory layout
The interrupt vector table can be found in the buildfile located at src/hardware/startup/boards/mx31pdk/build
Getting Started#Starting Neutrino#Step 1: Build the BSP Copy or transfer the IFS image into your tftp server's directory.
Step 2: Connect your hardware
On your host machine, start your favorite terminal program with these settings:
Then, apply power to the target. You should see output similar to the following: ... Read from 0x07ee0000-0x07f00000 at 0xed100000: . ... Read from 0x07ed3000-0x07ed4000 at 0xed11f000: . PMIC ID: 0x0000009b [Rev: 3.3] Clock input is 26 MHz LAN92xx Driver version 1.0 SMSC LAN9217: ID = 0x117a0000 Ethernet eth0: MAC address 00:04:9f:00:89:cb IP: 10.42.103.136/255.255.255.0, Gateway: 10.42.96.1 Default server: 10.42.101.3 RedBoot(tm) bootstrap and debug environment [ROMRAM] Non-certified release, version FSL 200740 - built 10:58:22, Oct 29 2007 Platform: Freescale (i.MX) MX31 3DS (Freescale i.MX31 based) PASS 2.0 [x32 DDR] Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc. RAM: 0x00000000-0x07f00000, [0x00013ee0-0x07ed1000] available FLASH: 0xe0000000 - 0xed120000, 1673 blocks of 0x00020000 bytes each. == Executing boot script in 1.000 seconds - enter ^C to abort RedBoot> Step 3: Setup the environment At the RedBoot prompt, issue the fconfig command to change the current environment. The current configurations will be displayed; change the configuration if you want. Run script at boot: false Use BOOTP for network configuration: false Gateway IP address: 10.42.121.2 Local IP address: 10.42.121.185 Local IP address mask: 255.255.255.0 Default server IP address: 10.42.121.2 Board specifics: 0 Console baud rate: 115200 Set eth0 network hardware address [MAC]: false GDB connection port: 9000 Force console for special debug messages: false Network debug at boot time: false Step 4: Boot the IFS image Once the above setup is complete, you can run the load command at the RedBoot prompt to download the image: load -r -b 0x00100000 –h <TFTP server IP> /<TFTP server directory>/mx31pdk.raw RedBoot will display the follow message and start downloading the boot image: Using default protocol (TFTP) If the image is successfully loaded RedBoot will display: Raw file loaded 0x00100000-0x002300d3, assumed entry at 0x00100000 Type run to jump to startup and boot the IFS image. You should see the QNX Neutrino welcome message on your terminal screen: Welcome to Neutrino on the i.MX31PDK (ARM 1136 core) Board You can test the OS simply by executing any shell builtin command or any command residing within the OS image (e.g. ls).
Driver Command Summary#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. USB, Graphics and Audio have addtional details: USB#USB can be run on the USB HOST ULPI Interface (HS).
The USB host port is j4. You will want to include class drivers, such as devb-umass in order to make use of attached USB devices. Graphics:#The startup must be started with the following options: startup-mx31pdk -v -r0x86000000,0x02000000,1 To start the driver. mx31pdk_lcd_init io-display -dvid=0,did=0 Note:
Required Config Files:
The /etc/system/config/display.conf configuration file describes the graphics memory interface settings. It should contain the following for a 480x640 resolution: device { drivername=imx31 vid=0 did=0 modeopts=/etc/system/config/imx31.conf display { xres=480 yres=640 refresh=60 pixel_format=rgb565 } } } Audio #
Note:
Only playback is supported The sdma configuration utility, mx31_dma_cfg -c, should be launched before starting io-audio. The stereo output jack is located at J19 on the Personality Board.
Known Issues for This BSP#
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() | Versions | ![]() | Associations | ![]() | Attachments | ![]() | Back Links | ![]() |
||