BACKRUSH  À¯´Ð½º¸í·É  ´ÙÀ½  ÀÚ·á½Ç  Ascii Table   ¿ø°ÝÁ¢¼Ó  ´Þ·Â,½Ã°£   ÇÁ·Î¼¼½º   ½©
ÁöÇÏö³ë¼±   RFC¹®¼­   SUN FAQ   SUN FAQ1   C¸Þ´º¾ó   PHP¸Þ´º¾ó   ³Ê±¸¸®   ¾Æ½ºÅ°¿ùµå ¾ÆÀÌÇǼ­Ä¡

±Û¾´ÀÌ: sys NVRAM(OK_mod Command) Á¶È¸¼ö: 7303


NVRAM(OK_mod Command)
printenv ; ÇöÀç ¼³Á¤µÇ¾î ÀÖ´Â ½Ã½ºÅÛ È¯°æÄ¡¸¦ º¸¿©ÁØ´Ù.
setenv ; ȯ°æ¼³Á¤
module-info ; CPU Clock Speed
probe-scsi ; ÇöÀç Á¢¼ÓµÇ ÀÖ´Â SCSI DEVICEµéÀÌ ¿­°ÅµÈ´Ù.
(probe-scsi-all)
words ; ok ¸ðµå ¿¡¼­ÀÇ ¸í·É¾î ¿­¶÷
boot -a ; Interactive boot option
help diag ; ¸Þ¸ð¸®,Ç÷ÎÇǵå¶óÀ̺ê,Äɽ¬¸Þ¸ð¸® µî. Test ¸í·É¾î »ç¿ë¹ýÀ» º¸¿©ÁØ´Ù
ok test-memory -> ¸Þ¸ð¸® ÀÌ»ó À¯¹« È®ÀÎ ÇÒ¶§
ok _ -> ÀÌ»ó ¾ø´Ù¸é prompt¸¸ ³ªÅ¸³ª°í, ·¥ÀÇ ¹èÄ¡¿¡ ¹®Á¦°¡ ÀÖ´Ù¸é align error
¸Þ½ÃÁö °¡ ³ªÅ¸³­´Ù.
TOD °ü·Ã ERROR ; F-E-Handbook Vol I --> CPU-131
ok copy-clock-tod-to-io-boards
ok (ioboard# in hex) copy-io-board-tod-to-clock-tod

* È­¸é resolution º¯°æÇÒ ¶§ : setenv output-device screen:r1024x768x76
* Center2000¿¡¼­ model-100_type array »óÅ¿¡¼­ÀÇ BOOT_DEVICE ¼³Á¤Ä¡
ok setenv boot-device /io-unit@f,e0200000/sbi@0,0/SUNW,soc@0,0/SUNW
,pln@a0000000,78c8d4/SUNW,ssd
---+---
+-> arrayÀÇ serial_number
; array A tray 1 ¹ø° disk

OK mode»ó¿¡¼­ banner ¹× logoº¯°æ
[bannerº¯°æ]
¿¹¸¦ µé¾î bannner¸¦ "This is my computer" À̶óÇÏÀÚ.
¸ÕÀú ok prompt mode Áï forth command mode·Î µé¾î°¡¼­
ok setenv oem-barner This is my computer
oem-banner = This is my computer banner
ok setenv oem-banner? true
oem-banner?= true
ok
¶Ç´Â OS»ó¿¡¼­
test# eeprom "oem-banner=This is my computer"
test# eeprom "oem-banner?=true"

[logoÁ¦ÀÛ]
ok prompt mode to command¸¦ ÀÌ¿ëÇÏ¿© logo¸¦ º¯°æÇÒ ¼ö ÀÖÀ¸³ª,
º¸Åë forth language°¡ Àͼ÷ÇÏÁö ¾ÊÀ¸¹Ç·Î ´ÙÀ½Àº OS»ó¿¡¼­ º¯°æÇÏ´Â ¿¹Á¦¸¸ »ìÆ캸ÀÚ.
NVRAM»óÀÇ oem-logo°ªÀº 512 byte array(4096 bits 64x64)ÀÌ´Ù.
°¢ bit´Â ¿ìÃø»ó´ÜÀ» ±âÁØÀ¸·ÎÇÑ ÇÑ pixcelÀ» controlÇÑ´Ù.
array´Â hexedicimal°ªÀ¸·Î ÀúÀåµÇ°í printenv¸¦ »ç¿ëÇÏ´Â °ÍÀº óÀ½ 8 byte¸¦ º¸¿©ÁÙ °ÍÀÌ´Ù.

1. openwindow¿¡¼­icon editor¸¦ ÀÌ¿ëÇÏ¿© 64x64 iconÀ» »ý¼ºÇÑ ÈÄ file·Î save.
2. ¿¹¸¦ µé¾î ¸¸µé¾îÁø icon fileÀÌ my.logo¶ó ÇÏÀÚ.
# eeprom "oem-logo=my.logo" /* my.logo¸¦ NVRAM array¿¡ save */
# eeprom "oem-logo?=true"
3.systemÀ» haltÇÑ ÈÄ ok prompt¿¡¼­ banner command¸¦ ¼öÇàÇÏ¸é ¹Ù²Ù¾îÁø logo¸¦ È®ÀÎÇÒ ¼ö ÀÖ´Ù.


NVRAM °ª º¯°æ
1) Host-ID¶õ ½Ã½ºÅÛ¸¶´Ù °¢±â ´Ù¸¥ Serial No.¸¦ ÀǹÌÇϴµ¥, ÀÌ Host-ID¸¦ ¼öÁ¤ÇÏ´Â ÀÌÀ¯´Â
license¸¦ ¿ä±¸Çϴ ƯÁ¤ S/W»ç¿ë½Ã Host-ID¸¦ CheckÇÏ¿© Host-ID°¡ ¼­·Î ÀÏÄ¡ÇÏ¿©¾ß¸¸ ºñ·Î¼Ò
¼öÇàµÇ±â ¶§¹®ÀÌ´Ù.(È£½ºÆ® ¸¶´Ù license¸¦ checkÇÏ´Â deamonÀÌ ¼öÇàµÇ°í ÀÖÀ» °ÍÀÌ´Ù)
2) Booting µµÁß¿¡ break-key(STOP+A)¸¦ ´©¸£°í n À» Ãļ­ ok mode·Î µé¾î°£´Ù.
ÀÌ »óÅ°¡ NVRAM ¼öÁ¤°¡´É»óÅ ÀÌ´Ù.
3) NVRAMÀÇ ³»¿ëÀ» »ìÆ캻´Ù.
ok .idprom


Format/Type: 1 54 Ethernet: 8 0 20 2 8f 26 Date: 0 0 0 0

Serial: 00 14 20 Checksum: ed Reserved: a5 a5 a5 a5 a5 a5 a5 a5 . . .

¿©±â¼­ ÇöÀçÀÇ Host-ID´Â "54 00 14 20"ÀÌ´Ù. Áï Type¿Í SerialÀÇ °ªÀÌ´Ù.
+ + +
4) ¿©±â¼­ Host-IDÀÇ °ªÀ» "5200fc7d"·Î º¯°æÇÑ´Ù.

ok 52 1 mkp : 1¹øÁöÀÇ ³»¿ë º¯°æ
ok 00 c mkp : c¹øÁöÀÇ ³»¿ë º¯°æ
ok fc d mkp : d¹øÁöÀÇ ³»¿ë º¯°æ
ok 7d e mkp : e¹øÁöÀÇ ³»¿ë º¯°æ
ok .idprom : NVRAMÀÇ º¯°æ ³»¿ë È®ÀÎ

Format/Type: 1 52 Ethernet: 8 0 20 2 8f 26 Date: 0 0 0 0
Serial: 0 fc 7d Checksum: 04 Reserved: a5 a5 a5 a5 a5 a5 a5 a5 . . .

ok 1 52 8 0 20 2 8f 26 0 0 0 0 0 fc 7d : ¡­ ±îÁö ³ª¿­. -+Checksum
ok xor xor xor xor xor xor xor xor xor xor xor xor xor xor (14°³) -+

ok .s : checksum°ª È®ÀÎ
ok xx : checksum°ª
ok xx f mkp : ¹øÁöÀÇ checksum°ª º¯°æ
ok .idprom : NVRAMÀÇ ³»¿ë º¯°æ¿©ºÎ È®ÀÎ

Format/Type: 1 52 Ethernet: 8 0 20 2 8f 26 Date: 0 0 0 0
Serial: 0 fc 7d Checksum: xx Reserved: a5 a5 a5 a5 a5 a5 a5 a5 . . .

ok reset
rebooting......

* machine type À» ¹Ì¸® ¾Ë°í ÀÖ¾î¾ß ¹øÁöÀÇ °ªÀ» ¿Ã¹Ù·Î º¯°æÇÒ¼ö ÀÖ´Ù.
ex) ss1+ 64XXXX
ss2 72XXXX 72°¡ machine type ÀÌ µÈ´Ù.


°ü·Ã±Û : ¾øÀ½ ±Û¾´½Ã°£ : 2002/05/12 17:06 from 61.82.164.84

  anonymous ftp ¸ñ·Ïº¸±â »õ±Û ¾²±â Áö¿ì±â ÀÀ´ä±Û ¾²±â ±Û ¼öÁ¤ CRON  
BACKRUSH  À¯´Ð½º¸í·É  ´ÙÀ½  ÀÚ·á½Ç  Ascii Table   ¿ø°ÝÁ¢¼Ó  ´Þ·Â,½Ã°£   ÇÁ·Î¼¼½º   ½©
ÁöÇÏö³ë¼±   RFC¹®¼­   SUN FAQ   SUN FAQ1   C¸Þ´º¾ó   PHP¸Þ´º¾ó   ³Ê±¸¸®   ¾Æ½ºÅ°¿ùµå ¾ÆÀÌÇǼ­Ä¡