[Armadillo:04237] Linux上への開発環境のインストール方法をお教えください。

森 洋久 email@hidden
2009年 5月 4日 (月) 15:49:35 JST


メーリングリスト参加者御中

森洋久と申します。私の属するチームの要請で、Armadillo-220 
を利用初めまして、その開発環境を手持ちのTurbolinux上に 
インストールしようと考えています。いろいろなエラーが続出し、 
どうも、なにをやって良いのやら分からなくなっています。問題を 
整理するために、少々根本的な質問から始めますが、どうかお許し 
くださり、お教えいただければ有り難いです。

チームの同僚から手渡されたCD-ROMが

CD-ROM1 Armadillo-200シリーズ version 20071116
CD-ROM2 ATDE2 Version 20071018

という二つのものがあります。まあ、購入時のキット全体を見てい 
ないので、なにか足りないものがあるのかもしれませんが....。

1.
まず最初に、そもそも、Armadilloの開発環境はWinまたは 
debian linux以外では使っては行けないのでしょうか。redhat系や 
turbolinuxでは動作は保証できないと考えた方が良いでしょうか。 
もしそうだとしたならば、(Linuxにこだわる事情もあるの 
で)まず私がやるべきはdebianを準備することということに 
なります。

2.
もし、turbolinuxでも動作可能であるということでしたら、 
次の質問に参ります。
まず最初に、CD-ROM1にあるマニュアル atmark- 
dist_developers_guide_ja-1.0.2.pdf の手順をもとにインストー 
ルを進めようと考えたのですが、ここから始めるのは正しいでしょうか。

3.
ここから始めるのが正しいとした場合、以下のようにマニュアルに 
沿ってやったのですが、問題が発生しています。このやり方は正し 
いのでしょうか。

p.4ページの操作
3.2. ソースコードアーカイブの展開
はCD-ROM1にあるものを展開しました。
うまくいきました。LinuxカーネルはCD-ROM1内にな 
かった様子なのでホームページよりダウンロードしました。
http://armadillo.atmark-techno.com/filebrowser/armadillo-220/source/kernel

よりのもので、
結果以下のようになります。

$ ls
atmark-dist-20090318/        linux-2.6.12.3-a9-17/        source/
atmark-dist-20090318.tar.gz  linux-2.6.12.3-a9-17.tar.gz
$

linuxカーネルソースコードの設定

$ cd atmark-dist-20090318
$ ln -s ../linux-2.6.12.3-a9-17 linux-2.6.x

3.3. 設定

$ make config
.....

詳しいアウトプットは省略しますが、以下のようにセッティングし 
ました。

Vendor = AtmarkTechno
AtmarkTechno Products = Armadillo-220.Base
Cross-dev = arm
Libc Version = None
Default all settings = y
Customize Kernel Settings = n
Customize Vendor/User Settings  = n
Update Default Vendor Settings  = n

ここでまず一つ質問ですが、マニュアルには、Cross-devとい 
う設定がありません。上記armにしてみましたが正しいでしょ 
うか。

3.4. ビルド

$ make all
make ARCH=arm CROSS_COMPILE=arm-linux- -C linux-2.6.x  || exit 1
make[1]: Entering directory `/home/joshua/proj/armadillo/cdrom-version/ 
linux-2.6.12.3-a9-17'
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  SYMLINK include/asm -> include/asm-arm
  SPLIT   include/linux/autoconf.h -> include/config/*
  CC      scripts/mod/empty.o
  HOSTCC  scripts/mod/mk_elfconfig
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
scripts/mod/sumversion.c: In function 'parse_file':
scripts/mod/sumversion.c:260: warning: pointer targets in passing  
argument 1 of 'grab_file' differ in signedness
scripts/mod/sumversion.c:277: warning: pointer targets in passing  
argument 1 of 'parse_string' differ in signedness
scripts/mod/sumversion.c:283: warning: pointer targets in passing  
argument 1 of 'parse_comment' differ in signedness
scripts/mod/sumversion.c: In function 'parse_source_files':
scripts/mod/sumversion.c:335: warning: pointer targets in  
initialization differ in signedness
scripts/mod/sumversion.c:344: warning: pointer targets in passing  
argument 1 of 'strlen' differ in signedness
scripts/mod/sumversion.c:357: warning: pointer targets in passing  
argument 1 of 'parse_file' differ in signedness
scripts/mod/sumversion.c: In function 'strip_rcs_crap':
scripts/mod/sumversion.c:465: warning: pointer targets in passing  
argument 1 of 'strlen' differ in signedness
scripts/mod/sumversion.c:465: warning: pointer targets in passing  
argument 1 of 'strlen' differ in signedness
scripts/mod/sumversion.c:465: warning: pointer targets in passing  
argument 1 of '__builtin_strcmp' differ in signedness
scripts/mod/sumversion.c:465: warning: pointer targets in passing  
argument 1 of 'strlen' differ in signedness
scripts/mod/sumversion.c:465: warning: pointer targets in passing  
argument 1 of '__builtin_strcmp' differ in signedness
scripts/mod/sumversion.c:465: warning: pointer targets in passing  
argument 1 of '__builtin_strcmp' differ in signedness
scripts/mod/sumversion.c:465: warning: pointer targets in passing  
argument 1 of '__builtin_strcmp' differ in signedness
scripts/mod/sumversion.c:465: warning: pointer targets in passing  
argument 1 of 'strncmp' differ in signedness
scripts/mod/sumversion.c:469: warning: pointer targets in passing  
argument 1 of 'strlen' differ in signedness
scripts/mod/sumversion.c:469: warning: pointer targets in passing  
argument 1 of 'strlen' differ in signedness
scripts/mod/sumversion.c:469: warning: pointer targets in passing  
argument 1 of 'strlen' differ in signedness
scripts/mod/sumversion.c:485: warning: pointer targets in passing  
argument 1 of 'strlen' differ in signedness
scripts/mod/sumversion.c:486: warning: pointer targets in passing  
argument 1 of 'strlen' differ in signedness
scripts/mod/sumversion.c: In function 'maybe_frob_rcs_version':
scripts/mod/sumversion.c:496: warning: pointer targets in passing  
argument 1 of 'strip_rcs_crap' differ in signedness
  HOSTLD  scripts/mod/modpost
  HOSTCC  scripts/kallsyms
scripts/kallsyms.c: In function 'read_symbol':
scripts/kallsyms.c:163: warning: pointer targets in assignment differ  
in signedness
scripts/kallsyms.c:164: warning: pointer targets in passing argument 1  
of 'strcpy' differ in signedness
scripts/kallsyms.c: In function 'symbol_valid':
scripts/kallsyms.c:210: warning: pointer targets in passing argument 1  
of 'strlen' differ in signedness
scripts/kallsyms.c:210: warning: pointer targets in passing argument 1  
of '__builtin_strcmp' differ in signedness
scripts/kallsyms.c:210: warning: pointer targets in passing argument 1  
of 'strlen' differ in signedness
scripts/kallsyms.c:210: warning: pointer targets in passing argument 1  
of '__builtin_strcmp' differ in signedness
scripts/kallsyms.c:210: warning: pointer targets in passing argument 1  
of '__builtin_strcmp' differ in signedness
scripts/kallsyms.c:210: warning: pointer targets in passing argument 1  
of '__builtin_strcmp' differ in signedness
scripts/kallsyms.c:211: warning: pointer targets in passing argument 1  
of 'strlen' differ in signedness
scripts/kallsyms.c:211: warning: pointer targets in passing argument 1  
of '__builtin_strcmp' differ in signedness
scripts/kallsyms.c:211: warning: pointer targets in passing argument 1  
of 'strlen' differ in signedness
scripts/kallsyms.c:211: warning: pointer targets in passing argument 1  
of '__builtin_strcmp' differ in signedness
scripts/kallsyms.c:211: warning: pointer targets in passing argument 1  
of '__builtin_strcmp' differ in signedness
scripts/kallsyms.c:211: warning: pointer targets in passing argument 1  
of '__builtin_strcmp' differ in signedness
scripts/kallsyms.c:212: warning: pointer targets in passing argument 1  
of 'strlen' differ in signedness
scripts/kallsyms.c:212: warning: pointer targets in passing argument 1  
of '__builtin_strcmp' differ in signedness
scripts/kallsyms.c:212: warning: pointer targets in passing argument 1  
of 'strlen' differ in signedness
scripts/kallsyms.c:212: warning: pointer targets in passing argument 1  
of '__builtin_strcmp' differ in signedness
scripts/kallsyms.c:212: warning: pointer targets in passing argument 1  
of '__builtin_strcmp' differ in signedness
scripts/kallsyms.c:212: warning: pointer targets in passing argument 1  
of '__builtin_strcmp' differ in signedness
scripts/kallsyms.c:217: warning: pointer targets in passing argument 1  
of 'strstr' differ in signedness
scripts/kallsyms.c:221: warning: pointer targets in passing argument 1  
of 'strlen' differ in signedness
scripts/kallsyms.c:221: warning: pointer targets in passing argument 1  
of '__builtin_strcmp' differ in signedness
scripts/kallsyms.c:221: warning: pointer targets in passing argument 1  
of 'strlen' differ in signedness
scripts/kallsyms.c:221: warning: pointer targets in passing argument 1  
of '__builtin_strcmp' differ in signedness
scripts/kallsyms.c:221: warning: pointer targets in passing argument 1  
of '__builtin_strcmp' differ in signedness
scripts/kallsyms.c:221: warning: pointer targets in passing argument 1  
of '__builtin_strcmp' differ in signedness
  SYMLINK include/asm-arm/arch -> include/asm-arm/arch-ep93xx
  CC      arch/arm/kernel/asm-offsets.s
In file included from include/asm/thread_info.h:15,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from arch/arm/kernel/asm-offsets.c:13:
include/asm/fpstate.h:88: warning: unnamed struct/union that defines  
no instances
include/asm/fpstate.h:92: warning: unnamed struct/union that defines  
no instances
  CHK     include/asm-arm/constants.h
  UPD     include/asm-arm/constants.h
  Generating include/asm-arm/mach-types.h
  CC      init/main.o
In file included from include/asm/thread_info.h:15,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from include/linux/module.h:10,
                 from init/main.c:16:
include/asm/fpstate.h:88: warning: unnamed struct/union that defines  
no instances
include/asm/fpstate.h:92: warning: unnamed struct/union that defines  
no instances
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
In file included from include/asm/thread_info.h:15,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from include/linux/module.h:10,
                 from init/version.c:10:
include/asm/fpstate.h:88: warning: unnamed struct/union that defines  
no instances
include/asm/fpstate.h:92: warning: unnamed struct/union that defines  
no instances
  CC      init/do_mounts.o
In file included from include/asm/thread_info.h:15,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from include/linux/module.h:10,
                 from init/do_mounts.c:1:
include/asm/fpstate.h:88: warning: unnamed struct/union that defines  
no instances
include/asm/fpstate.h:92: warning: unnamed struct/union that defines  
no instances
  CC      init/do_mounts_rd.o
In file included from include/asm/thread_info.h:15,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/wait.h:25,
                 from include/linux/fs.h:205,
                 from init/do_mounts_rd.c:3:
include/asm/fpstate.h:88: warning: unnamed struct/union that defines  
no instances
include/asm/fpstate.h:92: warning: unnamed struct/union that defines  
no instances
  CC      init/do_mounts_initrd.o
In file included from include/asm/thread_info.h:15,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/syscalls.h:57,
                 from include/asm/unistd.h:528,
                 from include/linux/unistd.h:9,
                 from init/do_mounts_initrd.c:2:
include/asm/fpstate.h:88: warning: unnamed struct/union that defines  
no instances
include/asm/fpstate.h:92: warning: unnamed struct/union that defines  
no instances
  LD      init/mounts.o
  CC      init/initramfs.o
In file included from include/asm/thread_info.h:15,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/wait.h:25,
                 from include/linux/fs.h:205,
                 from init/initramfs.c:2:
include/asm/fpstate.h:88: warning: unnamed struct/union that defines  
no instances
include/asm/fpstate.h:92: warning: unnamed struct/union that defines  
no instances
  CC      init/calibrate.o
In file included from include/asm/thread_info.h:15,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from init/calibrate.c:7:
include/asm/fpstate.h:88: warning: unnamed struct/union that defines  
no instances
include/asm/fpstate.h:92: warning: unnamed struct/union that defines  
no instances
  LD      init/built-in.o
  HOSTCC  usr/gen_init_cpio
  CHK     usr/initramfs_list
  UPD     usr/initramfs_list
  CPIO    usr/initramfs_data.cpio
  GZIP    usr/initramfs_data.cpio.gz
  AS      usr/initramfs_data.o
usr/initramfs_data.S: Assembler messages:
usr/initramfs_data.S:29: Error: Unknown pseudo-op:  `.incbin'
make[2]: *** [usr/initramfs_data.o] Error 1
make[1]: *** [usr] Error 2
make[1]: Leaving directory `/home/joshua/proj/armadillo/cdrom-version/ 
linux-2.6.12.3-a9-17'
make: *** [linux] Error 1
$


という形で停止します。さてどうしたものでしょうか。

森 ひろひさ








armadillo メーリングリストの案内