鎴戜篃鏄垵瀛﹁咃紝鏍規嵁wabcon2003-12-27鐨勬暀紼?a target=_blank>鍦╒MWare涓婂畨瑁匳xWorks鎿嶄綔緋葷粺錛堝師鏂囨壘涓嶅埌浜嗭級錛岀敓鎴愮殑bootrom鍦╒Mware涓姞杞藉嚭鐜?
(tBoot): sysNvRamGet:open failed
Attached TCP/IP interface to lnPci0.鍋滃湪榪欓噷涓嶅姩浜嗐?br>鍏堣鏄嶵CP/IP閿欒錛屼富瑕佹槸娌℃湁灝嗙綉緇滈┍鍔ㄧ▼搴忓姞鍏ootrom涓?br>瑙e喅鍔炴硶錛?br>鍏堝皢浠嶢MD涓嬭澆鐨勭綉鍗¢┍鍔ㄤ腑鐨刲n97xEnd.h鍜宭n97xEnd.c澶嶅埗鍒皃cPentium鐩綍涓紝鐒跺悗淇敼pcPentium涓殑Makefile鏂囦歡
灝哅ACH_EXTRA = 鏀逛負MACH_EXTRA = ln97xEnd.o
鐒跺悗緙栬瘧鐢熸垚bootrom銆傛鏃跺鏋滃悗闈㈢殑鎿嶄綔閮芥紜紝boot宸茬粡鍙互鎴愬姛浜嗐?/font>
open failed閿欒涓嶅獎鍝峛oot錛屼絾鏄湁緗戝弸鍙嶅簲浼氬獎鍝嶅埌浠ュ悗鐨勫紑鍙戯紝浠ュ悗榪樻槸搴旇瑙e喅鎺夈傝В鍐崇殑鏂規硶涔熷緢綆鍗曪紝灝辨槸淇敼config.h鏂囦歡灝?br>#define SYS_WARM_TYPE SYS_WARM_FD 鏀逛負
#define SYS_WARM_TYPE SYS_WARM_BIOS
Build Boo ROM鐨勬椂鍊欎笉鏀寔C++璇硶錛屽嵆//鐨勬敞閲婄涓嶈兘琚紜В鏋愩?br>鐜鍙橀噺鐨勮緗彧鏄復鏃剁殑錛屽叧闂帶鍒跺彴涔嬪悗闇瑕侀噸鏂拌緗幆澧冨彉閲忋?br>mkboot a: bootrom 鍦╝:鍚庨潰鏈変釜絀烘牸銆?/p>
灝辮繖涔堝浜嗭紝嬈㈣繋澶у鍜屾垜浜ゆ祦銆侶ave Fun錛?br>鈥斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺?br> 榪欎釜闂鐩鎬俊寰堝浜轟細閬囧埌錛屽氨鏀捐繖閲屽笇鏈涙湁浜哄彲浠ユ煡鍒板惂錛佽繕鏈変笂闈?font color=#f20000>(tBoot): sysNvRamGet:open failed榪欎釜闂銆傜洿鎺ュ湪紓佺洏涓婂緩绔嬩竴涓互“nvram.txt” 鍛藉悕鐨則xt鏂囦歡灝眔k浜嗐傚鏋滀綘鎯崇煡閬撲負浠涔堬紝閭e氨鐪嬩笅闈㈢殑鎻忚堪錛屽浗闄呭弸浜哄啓鐨勩?br>> Hi,
>
> I am using VxWorks 5.5 for target machine Pentium II. When the system
> boots up, VxWorks gives a message as:
>
> 0x2a7a8c(tBoot): sysNvRamGet: open failed
Second attempt:
now I see what is going on. The very first time after building the
boot diskette, the file nvram.txt with the boot parameters, is not
there yet. So this system call tries to open this file and fails.
After you supply the boot parameters by hand, they are written to this
file, and the next time you boot after that, the error message should
not happen.
So, this error message should not cause any problems.
Mark Galecki