From: Steven N. <s_j...@ya...> - 2006-12-15 17:29:42
|
--- Warren Seymour <wo...@gm...> wrote: > OK, I successfully installed the toolchain mentioned in a previous post. > > I am attempting to build kernel 2.6.19.1 and having trouble. Using the > NPTL EABI WMMXT toolchain, I am able to successfully compile the > kernel. However, after u-boot extracts the image and attempts to boot > it (ie prints 'Kernel Starting') nothing else hangs. Does your .config match your hardware? > > So, I am trying to build kernel 2.6.19.1 using the > arm-linux-toolchain-bin-12-15-04-driscoll toolchain instead. However, > 2.6.19.1 requires at least binutils 2.16. You definitely want to use gcc-4.1.0 or later for EABI... > > So, I would like to try the older toolchain but with driscoll-binutils > upgraded from 2.14.90 to driscoll-binutils-2.16.92. However, the only > place I can locate this is wrapped up as part of the NPTL EABI WMMXT > toolchain. That binutils is a bit old, you'll want a 2.17 version really, I'm using 2.17.50.0.6 20061020. > > Where did the NPTL EABI WMMXT toolchain come from? How can I go about > assembling it from source? Failing that, what makes driscoll-binutils > different from binutils? I suspect Stanley Cai built that toolchain. With my patch probably! :-) You will be fine with a current mainline binutils. You can build your own toolchain easily with crosstool, I don't know if it contains the iWMMXt patch so I've attached it for you. Personally I use Gentoo which has it's own cross-toolchain support. > > I would like to see if I can run 2.6.19.1 without EABI or WMMXT > optimizations, to see if that is what is causing the problem. Just to be clear EABI and WMMXT are not optimizations when building the kernel. EABI is the ABI the kernel is compiled with and the userspace ABI it then supports (though there is also a backwards compatibility option for OABI userspace support with the EABI kernel). The kernel actually doesn't get optimized for iWMMXt either, but if you are building for a iWMMXt capable target it includes support for managing the save/restore of the WMMX registers over context switches etc. So you should make sure that your kernel is correctly configured for your system, whatever that it is? EABI works OK with a recent toolchain (gcc-4.1.0 and later) though you will want to use a few patches that you'll find in cross-tool that fix a few issues (ASoC audio doesn't build correctly without a gcc patch for example). > > Please, any help would be much obliged. > Regards, > Warren Seymour > Steve ___________________________________________________________ Win tickets to the 2006 FIFA World Cup Germany with Yahoo! Messenger. http://advision.webevents.yahoo.com/fifaworldcup_uk/ |