I tried to compile u-boot: (inside scratchbox1, with stock tools)
Code: git clone git://gitorious.org/u-boot-shr/u-boot.git cd u-boot git checkout origin/pali fakeroot dpkg-buildpackage
git clone git://gitorious.org/u-boot-shr/u-boot.git cd u-boot git checkout origin/pali fakeroot dpkg-buildpackage
a) Build-Depends: kernel-bootimg Where to get this package? Workaround: place zImage to the /boot/zImage-2.6.28-omap1
b) Code: debian/u-boot-tools/usr/bin/u-boot-gen-combined debian/u-boot-bootimg/boot/u-boot-2012.04-2.bin uImage combined.bin U-Boot binary is too big (actual size 262580, max size 262144) Before "objcopy --gap-fill=0xff -O binary", it's size is 985157.
debian/u-boot-tools/usr/bin/u-boot-gen-combined debian/u-boot-bootimg/boot/u-boot-2012.04-2.bin uImage combined.bin U-Boot binary is too big (actual size 262580, max size 262144)
---- With gcc-4.6 and ld2.22 couple warnings: board.c:49:13: warning: 'omap3_invalidate_l2_cache_secure' declared 'static' but never defined [-Wunused-function] board.c:393:13: warning: 'omap3_update_aux_cr' defined but not used [-Wunused-function]
sizes: 1002559 debian/build/nokia_rx51/u-boot 250028 debian/build/nokia_rx51/u-boot.bin -> fits.