Skip to contentSkip to conversation

PCI405 doesn't build anymore

U-Boot Stefan Roese 2 participants 2 messages Nov 21, 2008

lore
Share & tools
lore
#0 lore raw

Hi Matthias,

I just noticed that PCI405 doesn't build anymore in the current U-Boot repository (main and ppc4xx):

[stefan at kubuntu u-boot-ppc4xx (master)]$ ./MAKEALL PCI405 Configuring for PCI405 board...
ppc_4xx-objcopy: u-boot.bin: Bad value
ppc_4xx-objcopy: u-boot.bin: Bad value
make: *** [u-boot.bin] Error 1

I tracked it down to this commit:

commit 49c3a861d11735838f1f1b11999ce433006dc919

Author: Kumar Gala <[email protected]>
Date:   Tue Oct 21 17:25:45 2008 -0500

bootm: Add subcommands

Add the ability to break the steps of the bootm command into several
subcommands: start, loados, ramdisk, fdt, bdt, cmdline, prep, go.

This allows us to do things like manipulate device trees before they are passed to a booting kernel or setup memory for a secondary core in multicore situations.

Not all OS types support all subcommands (currently only start, loados, ramdisk, fdt, and go are supported).

The only thing I can think of causing this build problem right now, is that the image size is too big now. Please take a look at it and send a patch to fix this problem if possible.

Thanks.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================

#1 lore raw

Hi Stefan,

you are right. U-Boot has grown a little bit and for PCI405 it blasted the 192k limit. I cannot just increase the U-Boot size for this board, so I removed some unneeded code and features. I need to do
some more testing with the stripped down configuration.

I will post a patch at the beginning of next week.

Matthias

Quoted 11 lines

Hi Matthias,

I just noticed that PCI405 doesn't build anymore in the current U-Boot repository (main and ppc4xx):

[stefan at kubuntu u-boot-ppc4xx (master)]$ ./MAKEALL PCI405 Configuring for PCI405 board...
ppc_4xx-objcopy: u-boot.bin: Bad value
ppc_4xx-objcopy: u-boot.bin: Bad value
make: *** [u-boot.bin] Error 1