wiki3182: NtotrunkFreescaleMpc8536dsTrunkReleasenotes (Version 2) |
Release Notes for the QNX Neutrino 6.4.0 BSP for Freescale MPC8536DS 1.0.0#System requirements#Target system#
Host development system#
Getting Started#Step 1: Connect your hardware#Connect the serial cable to the first serial port of the MPC8536DS 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#
Step 4A: 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 eTSEC1 => setenv ipaddr 172.18.80.231 => setenv serverip 172.18.80.174 => setenv bootfile ifs-mpc8536ds.raw => setenv loadaddr 0x100000 => 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... 9....8....7....6....5....4....3....2....1....done Protected 1 sectors => boot eTSEC1: No link. Speed: 100, full duplex Using eTSEC3 device TFTP from server 172.18.80.174; our IP address is 172.18.80.231 Filename 'ifs-mpc8536ds.raw'. Load address: 0x100000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ######################################################### done Bytes transferred = 4652048 (46fc10 hex) ## Starting application at 0x00100000 ... Welcome to QNX Neutrino 6.4.0 on the Freescale MPC8536DS 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 -s 0xE8000000,128M,,,128k,2,1 -r
flashctl -p/dev/fs0 -l2M -o16M -ve
flashctl -p/dev/fs0p0 -l2M -o16M -vf
slay devf-generic & devf-generic -s 0xE8000000,128M,,,128k,2,1 -r & Summary of driver commands#The driver command lines below are specific to the Freescale MPC8536DS board. See the online docs for each driver for additional command-line options and other details. Note: Some of the following 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. Startup:#Command:startup-mpc8536ds -vvvv
Note:
1) There is a primary clock input SYSCLK (also referred to as the system clock) to the processor, value of which can range from 33MHz - 166 MHz. The actual value is determined by a switch setting on the board (SW3 ( 3:5 ) - default 66 MHz). 2) A CCB clock signal is derived from the above SYSCLK using a ratio defined by another switch setting on the board (SW2 ( 1:4 ) - default 6:1) 3) The CPU core clock is derived from the CCB clock using other switch settings on board (SW10 ( 1:3 ) and SW7 ( 5 )), which detrmine the ratio
(Core_clock: CCB - default 5:2) Now in startup, "clock_rate" variable is used to get the command line option "-t" you are referring as platform_clock. You need to determine the switch setting first (i.e. SW2 ( 1:4 )) and then calculate SYSCLK using CCB printed in Uboot. E.g, if switch setting is (SW2 ( 1:4 ) is default 6:1) , And CCB printed in Uboot is 400Mhz, it derives SYSCLK as 66MHz i.e. 400MHz/6. Serial:#Command:devc-ser8250-mpc8540 -e -c396000000 -b115200 0xFFE04500,26 0xFFE04600,26Required binaries:
Flash(NOR):#Command:devf-generic -s 0xE8000000,128M,,,128k,2,1 -rRequired binaries:
PCI:#Command:pci-mpc8572 -dmpc8572 pex=?Required binaries:
SPI:#Command:spi-master -dmpc8349Required binaries:
I2C:#Command:i2c-mpc8572 -i27 -p0xFFE03000 i2c-mpc8572 -i27 -p0xFFE03100 --u1Required binaries:
USB:#Command:io-usb -d ehci-8349 ioport=0xFFE22100,irq=12,ioport=0xFFE23100,irq=30 &Required binaries:
Ethernet:#Command:io-pkt-v4 -dmpc85xx syspageRequired binaries:
Note:
For more information about io-pkt use the following link, http://community.qnx.com/sf/projects/networking ETFS NAND flash#Command:fs-etfs-mpc8572ds2048 -D addr=ffe05000,cs=2,bfaddr=0xfff00000,syspage -m /fs/etfsRequired binaries:
Note:
For more information about these commands, see the Neutrino Utilities Reference.
|
![]() | Versions | ![]() | Associations | ![]() | Attachments | ![]() | Back Links | ![]() |
||