4

Programming Mode

 

 

Programming the uC68VZ328

There are two methods of reprogramming the flash of the dimmPCI. The first (and preferred) method uses a program named ‘loader’ run on the Dragonball VZ to read a flash image from a networked file system (usually an nfs share on the development platform).

When a network file system is unreachable, as is the case when the kernel has been corrupted, the second method uses a program named ‘oops’ run on the development platform to communi- cate via a serial port with the Dragonball VZ that is running in bootstrap mode. For more detailed information about oops, refer to appendix D6. Appendix D6 includes details about how oops works, the purpose of files that are used with oops, and command-line options.

loader

To use ‘loader’, the following steps must be followed:

1.Mount the network file system that contains the new kernel file. For the purposes of this example, we will assume an nfs share ‘/nfs_share’ exists on the server at 192.168.10.1:

mount -t nfs 192.168.10.1:/nfs_share /mnt cd /mnt

2.The nfs share ‘/nfs_share’ should contain the program ‘loader’ and the new kernel file ‘imagez.bin’. The ‘loader’ program can be found in the ‘/opt/boottools/loader’ directory while the ‘imagez.bin’ file can be created in the ‘/opt/fs’ directory’.

loader kernel.bin

3.The loader program will identify the type and location of the flash device, and then load the kernel image and display the size of the image, which should be between 800,000 and 1,000,000 bytes.

4.The loader program will prompt before proceeding (‘yes’, all lower case, must be entered to confirm programming the flash).

www.amctechcorp.com

43

Page 43
Image 43
AMC software manual Programming the uC68VZ328, Loader