古谷/研究
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
[[古谷]]
*研究 [#a5758a0b]
#contents
q
*nios [#i9dedab1]
9/7メモ~
アセンブラコード~
795000psより~
alt_irq_handler 213c → 2104 への無限ループ中~
途中の2130でcallr r3 によりhandle_pio_0_interruptsがよばるが~
これは何事もないかのように抜ける~
***fmpコンパイルについて [#f013c05d]
2010/9/25~
コンパイル時に下記のようなエラー発生~
[s1150084@zxp028 obj]$ make depend~
if ! [ -f Makefile.depend ]; then \
rm -f kernel_cfg.timestamp kernel_cfg.c kernel_cfg.h ; \
rm -f cfg1_out.c cfg1_out.o cfg1_out cfg1_out.syms cfg1_out.srec; \
rm -f makeoffset.s offset.h; \
fi
rm -f Makefile.depend
nios2-elf-gcc -S -mno-hw-mulx -Wall -g -O2 -I. -I../include -I../arch -I..
-I../target/nios2_dev_gcc -I../arch/nios2_gcc -DALLFUNC -I../kernel ../target/nios2_dev_gcc/makeoffset.c
In file included from ../target/nios2_dev_gcc/target_sil.h:68,
from ../include/sil.h:71,
from ../arch/nios2_gcc/nios2.h:48,
from ../arch/nios2_gcc/prc_pcb.h:47,
from ../target/nios2_dev_gcc/target_pcb.h:56,
from ../kernel/pcb.h:47,
from ../kernel/kernel_impl.h:108,
from ../arch/nios2_gcc/prc_makeoffset.c:43,
from ../target/nios2_dev_gcc/makeoffset.c:44:
../arch/nios2_gcc/prc_sil.h: In function `TOPPERS_sil_loc_spn':
../arch/nios2_gcc/prc_sil.h:186: error:
`TOPPERS_SIL_MUTEX_BASE' undeclared (first use in this function)
../arch/nios2_gcc/prc_sil.h:186: error: (Each undeclared identifier is reported only once
../arch/nios2_gcc/prc_sil.h:186: error: for each function it appears in.)
../arch/nios2_gcc/prc_sil.h: In function `TOPPERS_sil_unl_spn':
../arch/nios2_gcc/prc_sil.h:211: error: `TOPPERS_SIL_MUTEX_BASE' undeclared (first use in this function)
make: *** [makeoffset.s] エラー 1
とりあえず、後日../arch/nios2_gcc/直下にあるprc_sil.hに~
#define TOPPERS_SIL_MUTEX_BASE ベースアドレス
追加してみる~
nios2_dev_3c25とnios2_dev_3c125どっちの値を入れるかの吟味も明日に
----
終了行:
[[古谷]]
*研究 [#a5758a0b]
#contents
q
*nios [#i9dedab1]
9/7メモ~
アセンブラコード~
795000psより~
alt_irq_handler 213c → 2104 への無限ループ中~
途中の2130でcallr r3 によりhandle_pio_0_interruptsがよばるが~
これは何事もないかのように抜ける~
***fmpコンパイルについて [#f013c05d]
2010/9/25~
コンパイル時に下記のようなエラー発生~
[s1150084@zxp028 obj]$ make depend~
if ! [ -f Makefile.depend ]; then \
rm -f kernel_cfg.timestamp kernel_cfg.c kernel_cfg.h ; \
rm -f cfg1_out.c cfg1_out.o cfg1_out cfg1_out.syms cfg1_out.srec; \
rm -f makeoffset.s offset.h; \
fi
rm -f Makefile.depend
nios2-elf-gcc -S -mno-hw-mulx -Wall -g -O2 -I. -I../include -I../arch -I..
-I../target/nios2_dev_gcc -I../arch/nios2_gcc -DALLFUNC -I../kernel ../target/nios2_dev_gcc/makeoffset.c
In file included from ../target/nios2_dev_gcc/target_sil.h:68,
from ../include/sil.h:71,
from ../arch/nios2_gcc/nios2.h:48,
from ../arch/nios2_gcc/prc_pcb.h:47,
from ../target/nios2_dev_gcc/target_pcb.h:56,
from ../kernel/pcb.h:47,
from ../kernel/kernel_impl.h:108,
from ../arch/nios2_gcc/prc_makeoffset.c:43,
from ../target/nios2_dev_gcc/makeoffset.c:44:
../arch/nios2_gcc/prc_sil.h: In function `TOPPERS_sil_loc_spn':
../arch/nios2_gcc/prc_sil.h:186: error:
`TOPPERS_SIL_MUTEX_BASE' undeclared (first use in this function)
../arch/nios2_gcc/prc_sil.h:186: error: (Each undeclared identifier is reported only once
../arch/nios2_gcc/prc_sil.h:186: error: for each function it appears in.)
../arch/nios2_gcc/prc_sil.h: In function `TOPPERS_sil_unl_spn':
../arch/nios2_gcc/prc_sil.h:211: error: `TOPPERS_SIL_MUTEX_BASE' undeclared (first use in this function)
make: *** [makeoffset.s] エラー 1
とりあえず、後日../arch/nios2_gcc/直下にあるprc_sil.hに~
#define TOPPERS_SIL_MUTEX_BASE ベースアドレス
追加してみる~
nios2_dev_3c25とnios2_dev_3c125どっちの値を入れるかの吟味も明日に
----
ページ名: