Hello, all.

I'm a newbie Korean linuxer - specifically to arm linux.

Since I'm working on the embedded linux project for ARM, I have to build cross 
toolchains.

After lots of trouble I've built it successfully with many advices from 

http://inkvine.fluff.org/~chris/arm-tools.html

Yes. I could build the Linux kernel 2.2.14 with patch-rmk4 successfully.

But the vmlinux image was elf-32littlearm format and the evaluation board engineer 
said that I have to build a big-endian image.

So I've fiddled out Makefiles and Rules.make to add  -mbig-endian switch to gcc and 
-EB switch to ld.

And finally got error about arch/arm/lib/extractconstants.pl with objdump output of 
big-endian compiled objects.

I've been reaching big-endian kernel image ( Yes, It's the goal ) ...

But I had a doubt that "Is this kind of things right? If I have a toolchain configured 
to support big-endian default?"

So I returned to web-life, finding any information... then I've got information from 
the web page mentioned at the beginning.

It's the target name.

In "Picking a target name" section from the web page...

Not only arm, but armv4l and armv4b are also target names.

I've tried it on binutils-2.9.5.0.29 first, but got errors like this.

-----------------------------------------------------------
[root@fraser binutils-2.9.5.0.29]# pwd
/home/cross-compiler/object_dir/binutils-2.9.5.0.29
[root@fraser binutils-2.9.5.0.29]# /home/cross-compiler/source_dir/binutils-2.9
.5.0.29/configure --target=armv4b-linux --prefix=/usr/cross-compiler/tool_dir/h
ost/sparc-sun-solaris-for-arm/
Configuring for a sparc-sun-solaris2.6 host.
Invalid configuration `armv4b-linux': machine `armv4b' not recognized
Unrecognized target system name armv4b-linux.
------------------------------------------------------------

What's the point of problem? Are there any patches to support armv4b? Is the word 
"armv4b" badly located?

Please answer.

Thanks in advance. 

Have a nice day.
�{.n�+���n�r���˛���m�b���j�������ݢj�����������n���y��ǥ�{�����G�����+-�����b�������G���G������Z��]��.�Ȩ���

Reply via email to