u-boot-2011.09@gcc-4.6
gcc-4.4でしかまだ試していないので、gcc-4.6で再挑戦です。
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/landiskw1/uboot/u-boot-2011.09/include -idirafter /home/landiskw1/uboot/u-boot-2011.09/include2 -idirafter /home/landiskw1/uboot/u-boot-2011.09/include -I /home/landiskw1/uboot/u-boot-2011.09/lib/libfdt -I /home/landiskw1/uboot/u-boot-2011.09/tools -DCONFIG_SYS_TEXT_BASE=0x8FFA0000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -pedantic -o img2srec.o img2srec.c -c gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/landiskw1/uboot/u-boot-2011.09/include -idirafter /home/landiskw1/uboot/u-boot-2011.09/include2 -idirafter /home/landiskw1/uboot/u-boot-2011.09/include -I /home/landiskw1/uboot/u-boot-2011.09/lib/libfdt -I /home/landiskw1/uboot/u-boot-2011.09/tools -DCONFIG_SYS_TEXT_BASE=0x8FFA0000 -DUSE_HOSTCC -D__KERNEL_STRICT_NAMES -pedantic -o img2srec img2srec.o strip img2srec make[1]: *** No rule to make target `/usr/lib/gcc/sh4-linux-gnu/4.4.6/include/stddef.h', needed by `crc32.o'. Stop. make[1]: Leaving directory `/home/landiskw1/uboot/u-boot-2011.09/tools' make: *** [tools] Error 2
cleanと再コンフィグしているんですが、なぜかgcc-4.4.6のヘッダファイルを参照していますね。
今はgcc-4.6のみなので、gcc-4.4も入れてみます。
make clean後、再コンフィグしてビルドします。
無事usl-5p版のu-boot.binが出来ました。u-boot_usl5p.binにリネームします。
今度はlandisk版のビルドです。コンフィグして無事ビルド完了です。u-boot_landisk.binにリネームします。
最後にパッチファイルと上記バイナリを合わせて圧縮し、アップしました。http://www42.tok2.com/home/forester3/uboot/u-boot_2011.09_landisk.tar.gz
テストは次回ということで〜