From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Lange Date: Thu, 06 Apr 2006 22:31:24 +0200 Subject: [U-Boot-Users] Re: Compiled system and target board mismatched while make U-boot image.. In-Reply-To: <20060406.215548.78707110.ito@mlb.co.jp> References: <015a01c65958$4151ecc0$8873608c@11088002601> <4434D97A.6070701@corelatus.se> <20060406.215548.78707110.ito@mlb.co.jp> Message-ID: <44357A9C.8010907@corelatus.se> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de ito at mlb.co.jp wrote: >> Use dbau1550 for big endian version. >> >> Use dbau1550_el for little endian version. >> >> Your toolchain is little endian. > > No. I think problems are in linker script. > > I use sdelinux-5.03.06-1 (gcc-2.96) and gcc-3.3.4 from uClibc toolchain. > both compiler needs to apply attached changes. > > Maybe your compiler can generate a file for little-endian code to big-endian > binary format. but sdelinux or uClibc toolchain are not. > > Please report If your compiler does not have problems with this patch, > if it is noproblem, consider to marge this. > support at denx.de > > What I change is: > remove OUTPUT_FORMAT: It will use default format. > remove -EL or -EB : It will use toolchain default. This is not a dbau1550 question IMHO. It is an endian question for mips platforms and I am not qualified to determine if it is correct or not. I use big endian and ELDK ;-) Wolfgang? Regards, /Thomas