[crisos] SDK make problems: gdb, crypto/tgr192.c |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/crisos Archives
]
- To: crisos@xxxxxxxxxxxxxxxxxxx
- Subject: [crisos] SDK make problems: gdb, crypto/tgr192.c
- From: Mike Hamer <mike.hamer@xxxxxxxxx>
- Date: Thu, 5 Mar 2009 17:05:07 +0900
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=+HDwGAAnWVrldym46PG23tcaTPPs2PChj3Rz26QXAVU=; b=jkIhsdFbJpfQ9q/UZfOq6pfvbcM47NBzIBg8cFNridhGxP6Rr9SNX2AXOJADMWXPqZ Qg/yg0/ZwmiJJ5Mu7df5BZFPjpYMRSlcj1KRZ8F9cJyMNJS88cq1qL88qiMMTLfXcW4+ f3fA1jDjrdQ5SrhVp83yaSyvsNd2FL48xYYLY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=Wiu8Q4aA+Ar0gS2BEWtRZibD7P7bx05p0NJ5u7ysGqDKcNejZIU4GHsdrWChLFj+d8 oe4X7tEK6JfwoWAU9VlU0uCVVTMJnhyvpTc5EKE8Pj51ZtuBjRyr+B/foJCyS1+kJ/Bg hnJdpp09/js9ia8dRdSFmE1urtwx6tm49urxE=
Dear All,
I've been playing around with the foxboard for the past month,
currently running it on the prebuilt CrisOs firmware. I am very
pleased that python was a prebuilt package installable using ipkg.
I need to start using the GPIO and I2C pins for the next stage in my
project, so I have been trying to compile the SDK.
My workflow goes something along the lines of
# cd Fox/CrisOs/darwinfox
# svn up
(check for patch upgrades)
# make update
(update openwrt trunk)
# make menuconfig
(select some options, modules and libraries)
# make verbose
I have had a few problems with the make process, the first of which
was GDB not supporting cris. I removed it from the development
toolchain, hence it does not cause a compilation problem.
Among other compilation errors (which I have resolved through
different package selection), I am currently stuck on:
CC [M] crypto/tgr192.o
crypto/tgr192.c: In function 'tgr192_round':
crypto/tgr192.c:417: error: unrecognizable insn:
(insn 222 118 223 2 crypto/tgr192.c:414 (set (reg/f:SI 9 r9 [95])
(plus:SI (symbol_ref:SI ("sbox4") [flags 0x2] <var_decl
0x40738bb0 sbox4>)
(reg:SI 9 r9 [92]))) -1 (nil))
crypto/tgr192.c:417: internal compiler error: in extract_insn, at recog.c:1990
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[7]: *** [crypto/tgr192.o] Error 1
make[6]: *** [crypto] Error 2
make[6]: Leaving directory
`/home/mike/Fox/CrisOs/darwinfox/openwrt/build_dir/linux-etrax/linux-2.6.25.20'
make[5]: *** [/home/mike/Fox/CrisOs/darwinfox/openwrt/build_dir/linux-etrax/linux-2.6.25.20/.modules]
Error 2
make[5]: Leaving directory
`/home/mike/Fox/CrisOs/darwinfox/openwrt/target/linux/etrax'
make[4]: *** [compile] Error 2
make[4]: Leaving directory
`/home/mike/Fox/CrisOs/darwinfox/openwrt/target/linux'
make[3]: *** [target/linux/compile] Error 2
make[3]: Leaving directory `/home/mike/Fox/CrisOs/darwinfox/openwrt'
make[2]: *** [/home/mike/Fox/CrisOs/darwinfox/openwrt/staging_dir/target-cris_uClibc-0.9.30/stamp/.target_compile]
Error 2
make[2]: Leaving directory `/home/mike/Fox/CrisOs/darwinfox/openwrt'
make[1]: *** [world] Error 2
make[1]: Leaving directory `/home/mike/Fox/CrisOs/darwinfox/openwrt'
make: *** [verbose] Error 2
This package does not appear to be selected in the menuconfig or
kernel_menuconfig, however it is still compiled, and causing problems.
Has anyone else had this problem? If so, could you please point me in
the right direction.
Also - just out of interest - is it possible to access the GPIO
devices (/dev/gpioa, etc) from the prebuilt image using python?
Cheers,
Mike
---
CrisOs mailing list
Official multi-language http://www.crisos.org/ mailing list
For unsubscribe send empty mail to: crisos-request@xxxxxxxxxxxxxxxxxxx with subject unsubscribe.