Download SPARC/CPU-5V Technical Reference Manual
Transcript
SPARC CPU-5V Technical Reference Manual OpenBoot command select-flash. fill-flash ( dest-addr count pattern — ) fills the selected flash memory beginning at destaddr with a particular pattern. The number of bytes to be programmed in the flash memory is given by count. erase-flash ( device-number — ) erases a flash memory device identified by its devicenumber. The devices are numbered beginning from zero (0). c!-flash ( byte addr — ) stores the byte at the location within the selected flash memory identified by addr. w!-flash ( half-word addr — ) stores the half-word (16 bits) at the location within the selected flash memory identified by addr. l!-flash ( word addr — ) stores the word (32 bits) at the location within the selected flash memory identified by addr. The USER flash memory is prepared for programming by: ok select-flash USER USER flash memory is selected for programming Flash memory programming window at $ffe98000 size 512 Kbyte 512 Kbyte BOOT flash memory is available at $ffe58000. 2048 Kbyte USER flash memory is available. ok As shown above, the word select-flash informs the user that the USER flash memory has been made accessible through the flash memory programming window. It displays the base address (virtual address) of the window and its size. The total amount of the available BOOT flash memory and USER flash memory is displayed, too. After the USER flash memory has been prepared for programming, all commands described above operate on the USER flash memory. And the BOOT flash memory is only read and programmed by these commands when the BOOT flash memory has been prepared for these operations by: ok select-flash BOOT BOOT flash memory is selected for programming Flash memory programming window at $ffe98000 size 512 Kbyte 512 Kbyte BOOT flash memory is available at $ffe58000. 2048 Kbyte USER flash memory is available. ok To read data from the selected flash memory — in the current context from the USER flash memory — the command flash>move is used as follows: ok flash-va h# 10.0000 h# 20.0000 flash>move ok FORCE COMPUTERS Page 175