public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Xiangfu Liu <xiangfu@openmobilefree.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] question about example/standalone/mips.lds
Date: Tue, 20 Jul 2010 22:28:36 +0800	[thread overview]
Message-ID: <4C45B294.5030901@openmobilefree.net> (raw)
In-Reply-To: <20100720093702.839AA11D94C@gemini.denx.de>

Hi

sorry I misunderstand something. I download the ppc-2008-04-01.iso
and run "./MAKEALL" without any argument. that why it compile 300+ boards.
I should read MAKEALL more carefully.

now I am downloading "mips-2007-01-21.iso".

my board is mips EL system.
is that mean when I run "MAKEALL" I just need add mips_el?? like this one[1]

another question:
I found this in "MAKEALL":
LIST_au1xx0_el="        \
         dbau1550_el     \
         pb1000          \
"
it shows that those two boards are Endianess Little System
but in board/pb1x00/u-boot.lds , board/dbau1x00/u-boot.lds line:27[2]
show that those two boards are both BE system?
is there something wrong or I misunderstand something

thanks for all your reply.


[2]
OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", "elf32-tradbigmips")

[1]
CROSS_COMPILE=mipsel-openwrt-linux- BUILD_DIR=../u-boot-build MAKEALL_LOGDIR=../u-boot-log ./MAKEALL mips_el

On 07/20/2010 05:37 PM, Wolfgang Denk wrote:
> Dear Xiangfu Liu,
>
> In message<4C453325.4080003@openmobilefree.net>  you wrote:
>>
>> which compiler in ELDK if for the mips_el system?
>
> GCC, of course :-)
>
>> I guess there are some different between ELDK cross compiler
>> and OpenWrt cross compiler.
>> so I want try ELDK cross compiler with my board.
>
> You can download the installation image at
> ftp://ftp.denx.de/pub/eldk/4.1/mips-linux-x86/iso/mips-2007-01-21.iso
>
>> by the way, here[2] is the error message with OpenWrt's
>> cross compiler.
> ...
>> mipsel-openwrt-linux-ld -g -Ttext 0x80200000 -T mips.lds \
>> 			-o hello_world -e hello_world hello_world.o libstubs.a \
>> 			-L/home/xiangfu/workspace/PanGu/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/lib/gcc/mipsel-openwrt-linux-uclibc/4.3.3 -lgcc
>> mipsel-openwrt-linux-ld: hello_world.o: compiled for a little endian system and target is big endian
>
> Well, the "el" in "mipsel-..." mean "Endianess Little".
>
> You cannot use these tools to build code for a BE system.
>
> Best regards,
>
> Wolfgang Denk
>


-- 
Best Regards
Xiangfu Liu
http://www.openmobilefree.net

  reply	other threads:[~2010-07-20 14:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-19  3:47 [U-Boot] question about example/standalone/mips.lds "Xiangfu Liu(刘向富)"
2010-07-19 17:51 ` Wolfgang Denk
2010-07-20  5:24   ` Xiangfu Liu
2010-07-20  9:37     ` Wolfgang Denk
2010-07-20 14:28       ` Xiangfu Liu [this message]
2010-07-20 15:29       ` Andrew Dyer
2010-07-21 10:19         ` Xiangfu Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C45B294.5030901@openmobilefree.net \
    --to=xiangfu@openmobilefree.net \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox