beautypg.com

Booting vxworks – Artesyn MVME2500 VxWorks 6.8 User Guide (April 2014) User Manual

Page 17

background image

Booting VxWorks

MVME2500 VxWorks 6.8 User Guide (6806800L66C)

17

setenv vxbootargs 'motetsec(0,0)10.130.101.216:vxWorks

h=10.130.101.216 e=10.130.101.206:ffffff00 u=vxworks

pw=vxworks f=0x80’

Parameters description:
motetsec(0,0)

: Ethernet interface 0 on cpu 0

10.130.101.216

: Host Machine IP

10.130.101.206

: Board IP

ffffff00

: Netmask

u=vxworks

: Username on host machine

p=vxworks

: Password for the above user in host machine

f=0x80

: File Transfer Protocol (FTP)

5. Initialize SPI Flash0 device:

sf probe 0

Note: To initialize SPI Flash 1, set the command as below:

sf probe 1

6. To erase SPI Flash memory region:

sf erase 0x200000 0x300000

Note: Maximum space available in SPI Flash for VxWorks image is 5MB (0x500000). Here it
is assumed that the VxWorks image size is less than 3MB(0x300000). If the VxWorks image
size is more than 3MB, then you can change the image size here accordingly.

7. Load the VxWorks image from network to the memory location (0x1000000):

tftpboot VxWorks.st

8. Write to SPI Flash 0 device at location (0x200000) from memory location(0x1000000):

sf write 0x1000000 0x200000 0x300000

Note: VxWorks image is loaded permanently to SPI flash 0. To load Vxworks image use SPI
Flash device from next time.

9. To boot directly from SPI Flash follow below steps:

a. Initialize SPI Flash0 device

sf probe 0

Note: To initialize SPI Flash 1, set the command as below:

sf probe 1