Table 3-1 User Flash Node Properties; User Flash Driver; Openboot Prom Device Tree And Properties - Sun Microsystems Netra CP2500 Programming Manual

For the solaris operating system
Table of Contents

Advertisement

User Flash Driver

The uflash is the device driver for the flash PROM device on the Netra CP2500.
Access to the driver is carried out through open, read, write, pread, pwrite and
ioctl system interfaces.
On the Netra CP2500, one device is supported. There is one logical device file for the
physical device that can be accessed from applications. Users can use this device for
storing applications and data.
An instance of the driver is loaded for the device. The driver blocks any reads to the
device while a write is in progress. Multiple, concurrent reads can go through to the
same device at the same time. Writes to a device occur one at a time. All read and
write operations are supported at this time.
The device also supports erase and lock features. Applications can use them through
the IOCTL interface. The device is divided into logical blocks. Applications that
issue these operations also supply a block number or a range of blocks that are a
target of these operations. Locks are preserved across reboots. Locking a block
prevents an erase or write operation on that block.

OpenBoot PROM Device Tree and Properties

This section provides information on the user flash OpenBoot PROM device node
and its properties.
The user flash OpenBoot PROM device node is
/pci@1e,600000/isa@7/flashprom@2,0.
See
TABLE 3-1
TABLE 3-1
Property
sunw,location
system-banks
flash-banks
write-window
boot-banks
boot-window
44
Netra CP2500 Board Programming Guide • March 2007
for the user flash node properties.
User Flash Node Properties
Description/Value
U38
00 00 00 00 00 00 00 01 00 00 00 02 00 00 00 03
00 00 00 00 00 00 00 1f
00 08 00 00 00 08 00 00
00 00 00 00 00 00 00 02 00 00 00 04 00 00 00 06
00 00 00 00 00 08 00 00

Advertisement

Table of Contents
loading

Table of Contents