[U-Boot-Users] ppc_4xx-ld: u-boot: Not enough room for program headers (allocated 2, need 3)

Wolfgang Denk wd at denx.de
Tue Jan 3 09:21:13 CET 2006

In message <c002eb610601022001u438ce46as at mail.gmail.com> you wrote:
>      Thank you so much for answering my questions i mentioned several days =
> ago.
>     I'm porting u-boot-1.1.4 to Ebedded planet EP405(with ppc 405GPr
> processor) and it bases on a similar board CPCI4052 as you suggested.

Let's keep in mind that similar does not mean the same.

>     #cd ../u-boot-1.1.3/board/esd
>     #mkdir ep405

This is wrong. Don't do this. "board/esd" is for boards  manufactured
by  esd  electronics  only, while the EP405 is by Embedded Planet. So
far we don't have a vendor directory for EP, which means you have  to
place your code in board/

>    then add text content as follow to u-boot-1.1.3/Makefile
>    ep_config:	unconfig
> 	@./mkconfig $(@:_config=) ppc ppc4xx cpci405 esd

Wrong again, as you must provide your own board config file instead of using the cpci405 one.

>   would you please tell me why and how to handle it ?

Clean up above problems first, please.

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
Things that try to look like things often do look  more  like  things
than things. Well-known fact.       - Terry Pratchett, _Wyrd Sisters_

More information about the U-Boot mailing list