玄人志向 玄箱12 (902レス)
上下前次1-新
抽出解除 必死チェッカー(本家) (べ) 自ID レス栞 あぼーん
408(1): masami [] 2012/04/27(金) 16:04:10.26 ID:E6dnEu5G(1/6) AAS
どなたか助けて下さい・・・・・・。(その1)
『しがないSEの独り言』さんのHP http://qqkeipp.seesaa.net/article/156676647.html
を参考にさせて頂いて、jtagツール作成に挑戦しています。
ソースファイルは、http://www.genbako.com/jtag/よりjtagdir.tgzを有り難く頂いたものをコンパイル
すると、cygwin環境でコンパイルエラーが発生し先に進みません。
どなたか修正箇所・パッチ等ご教授願えないでしょうか。
<経過>
玄箱HGのu-boot 2010.03オリジナル版で、EMモードでもブート出来るようにしようと、
foonas-emを入れようとして、flash書き込みタイムオーバーで失敗したため
玄箱HGのbootcodeを破壊し、立ち上がらなくなりました。
参考にしたURL http://mizupc8.bio.mie-u.ac.jp/pukiwiki/index.php?LinkStation%2FTeraStation%2F%E7%8E%84%E7%AE%B1%2FPPC%2FU-Boot
http://foonas.org/index.php/Foonas-em:Install-lsppc
409: masami [] 2012/04/27(金) 16:06:34.45 ID:E6dnEu5G(2/6) AAS
どなたか助けて下さい(続き)・・・・・・。(その2)
立ち上げ時の状況
U-Boot 2010.03 ( 4月 14 2012 - 17:23:42) LinkStation HG / KuroBox HG
CPU: MPC8245 Revision 1.4 at 262.144 MHz: 16 kB I-Cache 16 kB D-Cache
DRAM: 128 MB
FLASH: 4 MB
00 0b 10ec 8169 0200 ff
00 0c 1095 0680 0101 ff
00 0e 1033 0035 0c03 ff
00 0e 1033 0035 0c03 ff
00 0e 1033 00e0 0c03 ff
この状態が永久に続く。pingは帰ってくるので途中以降が破壊(ERASEしたため)
されている模様。
410: masami [] 2012/04/27(金) 16:07:43.92 ID:E6dnEu5G(3/6) AAS
どなたか助けて下さい(続き)・・・・・・。(その3)
<jtagツールに挑戦でjtagをgccでコンパイル>
2006年のソースファイルを最新のjygwin環境下のgccでコンパイルしているためか
WARNING、マクロの未定義エラー等でコンパイル不可能です。
okayasu@epson ~
$ cd okayasu
okayasu@epson ~/okayasu
$ tar zxf jtagdir.tgz * 解凍
okayasu@epson ~/okayasu
$ cd include
okayasu@epson ~/okayasu/include
$ ./autogen.sh * ヘッダーの処理
Running aclocal ...
Running automake ...
Makefile.am:98: GENERATE_STDINT_H does not appear in AM_CONDITIONAL
Makefile.am:96: nodist_openwinceinc_HEADERS was already defined in condition TRUE, which implies condition GENERATE_STDINT_H_TRUE
nodist_openwinceinc_HEADERS (User, where = Makefile.am:96) +=
{
TRUE => \
owce-stdint.h
}
Running autoconf ...
411: masami [] 2012/04/27(金) 16:08:35.24 ID:E6dnEu5G(4/6) AAS
どなたか助けて下さい(続き)・・・・・・。(その4)
Now running ./configure script...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
|
|
|
checking for stdint.h... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting
config.status: executing depfiles commands
config.status: executing owce-stdint.h commands
config.status: creating owce-stdint.h : _INCLUDE_OWCE_STDINT_H
Type `make` to build include...
*************************************************************************************
WARNINGが出力される。『Makefile.in』での設定がおかしいか? WARNINGだから無視か?
*************************************************************************************
412: masami [] 2012/04/27(金) 16:09:26.39 ID:E6dnEu5G(5/6) AAS
どなたか助けて下さい(続き)・・・・・・。(その5)
okayasu@epson ~/okayasu/include
$ make install
make[1]: ディレクトリ `/home/okayasu/include' に入ります
make[1]: `install-exec-am' に対して行うべき事はありません.
/bin/sh ./tools/mkinstalldirs /usr/local/include/openwince
/home/okayasu/include/tools/install-sh -c -m 644 common.h /usr/local/include/openwince/common.h
/home/okayasu/include/tools/install-sh -c -m 644 cexcept.h /usr/local/include/openwince/cexcept.h
/home/okayasu/include/tools/install-sh -c -m 644 arm/arm.h /usr/local/include/openwince/arm/arm.h
|
|
/home/okayasu/include/tools/install-sh -c -m 644 std/mic.h /usr/local/include/openwince/std/mic.h
/bin/sh ./tools/mkinstalldirs /usr/local/include/openwince
/usr/bin/install -c -m 644 owce-stdint.h /usr/local/include/openwince/owce-stdint.h
make[1]: ディレクトリ `/home/okayasu/include' から出ます
okayasu@epson ~/okayasu/include
$ cd ../jtag
413(1): masami [] 2012/04/27(金) 16:10:08.62 ID:E6dnEu5G(6/6) AAS
どなたか助けて下さい(続き)・・・・・・。(その6)
okayasu@epson ~/okayasu/jtag
$ ./autogen.sh * 本チャンのコンパイル
autoreconf-2.68: Entering directory `.'
autoreconf-2.68: running: autopoint --force
Copying file tools/mkinstalldirs
autoreconf-2.68: running: aclocal -I m4 --output=aclocal.m4t
autoreconf-2.68: `aclocal.m4' is unchanged
autoreconf-2.68: configure.ac: tracing
configure.ac:66: warning: AC_CACHE_VAL(openwince_includes_path, ...): suspicious cache-id, must contain _cv_ to be cached
/usr/src/packages/autoconf/26/autoconf2.5-2.68-1/src/autoconf-2.68/lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
/usr/src/packages/autoconf/26/autoconf2.5-2.68-1/src/autoconf-2.68/lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
configure.ac:66: the top level
autoreconf-2.68: configure.ac: adding subdirectory libbrux to autoreconf
autoreconf-2.68: Entering directory `libbrux'
autoreconf-2.68: running: aclocal --output=aclocal.m4t
aclocal: macro `AM_PROG_MKDIR_P' required but not defined
aclocal: macro `AM_PROG_MKDIR_P' required but not defined
autoreconf-2.68: aclocal failed with exit status: 1
autoreconf failed.
okayasu@epson ~/okayasu/jtag
WARNINGやら、マクロ`AM_PROG_MKDIR_P'が必要なのに定義なし等でこける。
上下前次1-新書関写板覧索設栞歴
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ AAサムネイル
ぬこの手 ぬこTOP 1.409s*