All of lore.kernel.org
 help / color / mirror / Atom feed
From: li yuqian <liyuqian08@outlook.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Compile minnowboard max error
Date: Tue, 14 Apr 2015 04:39:22 +0000	[thread overview]
Message-ID: <COL128-W4123B28CD4C5276B6D6464CAE60@phx.gbl> (raw)
In-Reply-To: <CAPnjgZ3gD2mtuWGY-dA1RxXQM-RzrPobTnJnyK4jQSDY-eWAgg@mail.gmail.com>

Hi Simon
> Can you please put your response below my reply? This thread is all
> over the place....
> 
> This looks right to me. Can you post the entire build output
> somewhere, built with V=1 so I can see everything? There must be
> something different.
> 
> Regards,
> Simon
> 

Thank you, here is output i enabled the ifdtool.c debug 








make -f ./scripts/Makefile.build obj=lib/rsa
  gcc -Wp,-MD,lib/.display_options.o.d  -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/4.9/include -Iinclude  -I./arch/x86/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -DCONFIG_SYS_TEXT_BASE=0xfff00000 -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -Os -fno-stack-protector -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -fno-strict-aliasing -mregparm=3 -fomit-frame-pointer -fno-toplevel-reorder -mpreferred-stack-boundary=2 -fno-dwarf2-cfi-asm -march=i386 -m32 -D__I386__ -Werror -ffunction-sections -fvisibility=hidden -pipe    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(display_options)"  -D"KBUILD_MODNAME=KBUILD_STR(display_options)" -c -o lib/display_options.o lib/display_options.c
   ld.bfd   --emit-relocs -Bsymbolic -Bsymbolic-functions -m elf_i386   -r -o lib/built-in.o lib/rsa/built-in.o lib/lzo/built-in.o lib/libfdt/built-in.o lib/crc7.o lib/crc8.o lib/crc16.o lib/fdtdec_common.o lib/fdtdec.o lib/initcall.o lib/lmb.o lib/ldiv.o lib/md5.o lib/net_utils.o lib/physmem.o lib/qsort.o lib/sha1.o lib/sha256.o lib/strmhz.o lib/tpm.o lib/list_sort.o lib/hashtable.o lib/errno.o lib/display_options.o lib/crc32.o lib/ctype.o lib/div64.o lib/hang.o lib/linux_compat.o lib/linux_string.o lib/string.o lib/time.o lib/uuid.o lib/vsprintf.o 
make -f ./scripts/Makefile.build obj=net
make -f ./scripts/Makefile.build obj=test
make -f ./scripts/Makefile.build obj=test/dm
make -f ./scripts/Makefile.build obj=examples
make -f ./scripts/Makefile.build obj=examples/standalone
  ld.bfd   --emit-relocs -Bsymbolic -Bsymbolic-functions -m elf_i386  --gc-sections -pie --wrap=__divdi3 --wrap=__udivdi3 --wrap=__moddi3 --wrap=__umoddi3 -Bstatic -Ttext 0xfff00000 -o u-boot -T u-boot.lds arch/x86/cpu/start.o --start-group  arch/x86/cpu/built-in.o  arch/x86/lib/built-in.o  board/intel/minnowmax/built-in.o  common/built-in.o  disk/built-in.o  drivers/built-in.o  drivers/dma/built-in.o  drivers/gpio/built-in.o  drivers/i2c/built-in.o  drivers/mmc/built-in.o  drivers/mtd/built-in.o  drivers/mtd/onenand/built-in.o  drivers/mtd/spi/built-in.o  drivers/net/built-in.o  drivers/net/phy/built-in.o  drivers/pci/built-in.o  drivers/power/built-in.o  drivers/power/battery/built-in.o  drivers/power/fuel_gauge/built-in.o  drivers/power/mfd/built-in.o  drivers/power/pmic/built-in.o  drivers/serial/built-in.o  drivers/spi/built-in.o  drivers/usb/eth/built-in.o  drivers/usb/gadget/built-in.o  drivers/usb/host/built-in.o  drivers/usb/musb-new/built-in.o  drivers/usb/musb/built-in.o  drivers/usb/phy/built-in.o  drivers/usb/ulpi/built-in.o  fs/built-in.o  lib/built-in.o  net/built-in.o  test/built-in.o  test/dm/built-in.o --end-group arch/x86/lib/lib.a -Map u-boot.map
  objcopy  --gap-fill=0xff -O srec u-boot u-boot.srec
  objcopy  --gap-fill=0xff -O binary -R .start16 -R .resetvec u-boot u-boot.bin
make -f ./scripts/Makefile.build obj=dts dtbs
make -f ./scripts/Makefile.build obj=arch/x86/dts dtbs
test -e arch/x86/dts/minnowmax.dtb || (						\
echo >&2;							\
echo >&2 "Device Tree Source is not correctly specified.";	\
echo >&2 "Please define 'CONFIG_DEFAULT_DEVICE_TREE'";		\
echo >&2 "or build with 'DEVICE_TREE=<device_tree>' argument";	\
echo >&2;							\
/bin/false)
  cat u-boot.bin dts/dt.dtb > u-boot-dtb.bin
  objcopy  --gap-fill=0xff -O binary -j .start16 -j .resetvec u-boot u-boot-x86-16bit.bin
  ./tools/ifdtool -c -r 0x800000 u-boot.tmp; ./tools/ifdtool -D ./board/intel/minnowmax/descriptor.bin -i ME:./board/intel/minnowmax/me.bin u-boot.tmp; ./tools/ifdtool -f 0:./u-boot.dtb -m 0xfff016d4 -U 0xfff00000:./u-boot.bin -w 0xfffff800:./u-boot-x86-16bit.bin -w 0xfffc0000:./board/intel/minnowmax/"fsp.bin" -w 0xfff90000:./board/intel/minnowmax/"vga.bin" u-boot.tmp; mv u-boot.tmp u-boot.rom
ROM size 8388608
File u-boot.tmp is 0 bytes
ROM size changed to 8388608 bytes
File u-boot.tmp is 8388608 bytes
File ./board/intel/minnowmax/descriptor.bin is 4096 bytes
Writing ./board/intel/minnowmax/descriptor.bin to offset 0
Found Flash Descriptor signature at 0x00000010
File ./board/intel/minnowmax/me.bin is 5238784 bytes
Adding ./board/intel/minnowmax/me.bin as the Intel ME section
File u-boot.tmp is 8388608 bytes
File ./u-boot.bin is 369640 bytes
Writing ./u-boot.bin to offset 0x807fffff
Output file is too small. (8388608 < -2138725401) 807fffff - 5a3e8
Makefile:1004: recipe for target 'u-boot.rom' failed
make: *** [u-boot.rom] Error 1
root@ubuntu:/usr/src/uboot/u-boot# 

 		 	   		  

  reply	other threads:[~2015-04-14  4:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-11 13:48 [U-Boot] Compile minnowboard max error li yuqian
2015-04-11 14:17 ` li yuqian
2015-04-13  6:00   ` li yuqian
2015-04-13 14:44     ` Simon Glass
2015-04-14  1:32       ` li yuqian
2015-04-14  2:14         ` Simon Glass
2015-04-14  4:39           ` li yuqian [this message]
2015-04-17 14:41             ` Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=COL128-W4123B28CD4C5276B6D6464CAE60@phx.gbl \
    --to=liyuqian08@outlook.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.