The MPC8313E-RDB board contains a Vitesse VSC7385 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.
=> 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 => or => run run_vscld1 ## Starting application at 0x00040004 ... VSC7385 Version = 0x273850e9 Value in IRAM matches binary, total bytes 0x2000 loaded ## Application terminated, rc = 0x0 =>
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
Speed: 1000, full duplex Using TSEC1 device TFTP from server 172.18.80.174; our IP address is 172.18.80.142 Filename 'ifs-mpc8313rdb.raw'. Load address: 0x200000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ############################## done Bytes transferred = 1483860 (16a454 hex) ## Starting application at 0x00200000 ...
Welcome to QNX Neutrino 6.3.2 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.
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 &
The driver command lines below are specific to the Freescale MPC8313E RDB 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-mpc8313e-rdb -vvvv
devc-ser8250 -e -F -c166000000 -b115200 0xe0004500,0x09 0xe0004600,0x0ARequired binaries:
devf-generic -s 0xFE000000,8MRequired binaries:
pci-mpc83xxRequired binaries:
spi-master -d mpc8349Required binaries:
i2c-mpc5200 -p0xe0003000 -c88000000 -i14 --u1 i2c-mpc5200 -p0xe0003100 -c88000000 -i15 --u0Required binaries:
io-usb -d ehci-8313 ioport=0xe0023100,irq=38 &Required binaries:
io-net -dmpc85xx syspage -ptcpip &Required binaries:
fs-etfs-mpc8313erdb512 -D cs=1Required binaries:
=> tftpboot 200000 image Speed: 1000, full duplex Using TSEC0 device TFTP from server 172.18.80.174; our IP address is 172.18.80.142 Filename 'ifs-mpc8313rdb.raw'. Load address: 0x200000 Loading: Got error 4 Abort => tftpboot 200000 ifs-mpc8313rdb.raw Speed: 1000, full duplex Using TSEC0 device TFTP from server 172.18.80.174; our IP address is 172.18.80.142 Filename 'ifs-mpc8313rdb.raw'. Load address: 0x200000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ############################## done Bytes transferred = 1483860 (16a454 hex) => go 200000 ## Starting application at 0x00200000 ...
Workaround: "procnto-600-smp-instr" kernel can be used to solve this issue.