[U-Boot-Users] questions booting Linux on a mpc8247

Wolfgang Denk wd at denx.de
Thu May 11 09:24:55 CEST 2006


In message <4462ACC9.8060206 at code4fun.us> you wrote:
> 
> I can load the image via TFTP, but it hangs when I try to
> run bootm. I searched in Google, but I couldn't find anything

Maybe reading the FAQ helps?

See http://www.denx.de/wiki/view/DULG/LinuxUncompressingError

> related to what I'm seeing so I'm hoping I can get some help
> from the u-boot community. What I see here is that u-boot gets
> a 0x200 exception because it is trying to load the ram disk
> image to memory out of range. My board has 128M of memory. Here
> is a snippet:

Yes, this is a consequence of the image overwriting itself.

> I also have a question regarding tool chain. I am using uClibC's
> buildroot to build a compiler toolchain. At the moment, I am using
> gcc 3.4.2 and Linux 2.4.31. I tried using gcc 4.0.2 initially, but
> I had a problem with it trying to generate the proper code for
> building u-boot. It appears that u-boot is using register r29 as
> a global pointer and we had the following code in
> ./cpu/mpc8260/cpu_init.c:

Please use current U-Boot code, where such issues have been fixed.

> Is anyone using gcc 4.x to build? I reverted to gcc 3.4.2 just to

Yes, we do. ELDK 4.0 uses gcc-4.0, and this works fine.

> Is there anyone doing embedded PPC development based on 2.6 kernel and
> gcc 4.x? I sure would like to hear your inputs.

ELDK-4.0 is based on a 2.6 kernel, and includes support for a  couple
of MPC82xx boards.

> Lastly, is there anyone working on a TIPC implementation in u-boot?

No. U-Boot isa boot loader, not an OS.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Software entities are more complex for their size  than  perhaps  any
other human construct because no two parts are alike. If they are, we
make  the  two  similar parts into a subroutine -- open or closed. In
this respect, software  systems  differ  profoundly  from  computers,
buildings, or automobiles, where repeated elements abound.
                                                   - Fred Brooks, Jr.




More information about the U-Boot mailing list