Page 4

Epson Research and Development

 

Vancouver Design Center

 

 

Building a UGL v1.2 Display Driver

The following instructions produce a bootable disk that automatically starts the UGL demo software. These instructions assume that the Wind River Tornado platform is correctly installed.

Note

For the example steps where the drive letter is given as “x:”. Substitute “x” with the drive letter that your development environment is on.

1.Create a working directory and unzip the UGL display driver into it.

Using a command prompt or GUI interface create a new directory (e.g. x:\13504).

Unzip the file 13504ugl.zip to the newly created working directory. The files will be unzipped to the directories “x:\13504\8bpp” and “x:\13504\16bpp”.

2.Configure for the target execution model.

This example build creates a VxWorks image that fits onto and boots from a single floppy diskette. In order for the VxWorks image to fit on the disk certain modifica- tions are required.

Replace the file “x:\Tornado\target\config\pcPentium\config.h” with the file “x:\13504\8bpp\File\config.h” (or “x:\13504\16bpp\File\config.h”). The new config.h file removes networking components and configures the build image for booting from a floppy disk.

Note

Rather than simply replacing the original config.h file, rename it so the file can be kept for reference purposes.

3.Build a boot ROM image.

From the Tornado tool bar, select Build -> Build Boot ROM. Select “pcPentium” as the BSP and “bootrom_uncmp” as the image.

4.Create a bootable disk (in drive A:).

From a command prompt in the directory “x:\Tornado\target\config\pcPentium” type mkboot a: bootrom_uncmp

5.If necessary, generate a new mode0.h configuration file.

The file mode0.h contains the register values required to set the screen resolution, col- or depth (bpp), display type, active display (LCD/CRT), etc. The mode0.h, included with the drivers, sets the display for 640x480 60 Hz output to a CRT display.

If this setting is inappropriate then mode0.h must be regenerated. The configuration program 13504DCFG can be used to build a new mode0.h file. If building for 8 bpp, place the new mode0.h file in “x:\13504\8bpp\File”. If building for 16 bpp, place the new mode0.h file in “x:\13504\16bpp\File”.

S1D13504

Wind River UGL v1.2 Display Drivers

X19A-E-003-02

Issue Date: 01/02/01

Page 304
Image 304
Epson S1D13504 manual Building a UGL v1.2 Display Driver