[meta-freescale] [meta-fsl-ppc] u-boot recipe do_compile fail on master
Ahsan, Noor
Noor_Ahsan at mentor.com
Fri Feb 7 02:45:34 PST 2014
Thanks. It fixed the problem. My boot-format recipe was not correct.
Noor
-----Original Message-----
From: ting.liu at freescale.com [mailto:ting.liu at freescale.com]
Sent: Friday, February 07, 2014 1:13 PM
To: Ahsan, Noor; meta-freescale at yoctoproject.org
Cc: Mahmood, Muzaffar
Subject: RE: [meta-freescale] [meta-fsl-ppc] u-boot recipe do_compile fail on master
> -----Original Message-----
> From: Ahsan, Noor [mailto:Noor_Ahsan at mentor.com]
> Sent: Friday, February 07, 2014 3:48 PM
> To: Liu Ting-B28495; meta-freescale at yoctoproject.org
> Cc: Mahmood, Muzaffar
> Subject: RE: [meta-freescale] [meta-fsl-ppc] u-boot recipe do_compile
> fail on master
>
> Hello,
>
> Sorry this log was incorrect. I sent correct log but it was not able
> to reach mailing list due to size limitations. Anyways following is
> the error we get when we build from master
>
>
> powerpc-linux-gnu-ld.bfd -n -r -o /home/mmahmood/mel/build-
> p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-boot/git-r30/git/P1010RDB-
> PB_SPIFLASH/spl/lib/libgeneric.o /home/mmahmood/mel/build-
> p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-boot/git-r30/git/P1010RDB-
> PB_SPIFLASH/spl/lib/crc32.o /home/mmahmood/mel/build-
> p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-boot/git-r30/git/P1010RDB-
> PB_SPIFLASH/spl/lib/ctype.o /home/mmahmood/mel/build-
> p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-boot/git-r30/git/P1010RDB-
> PB_SPIFLASH/spl/lib/display_options.o /home/mmahmood/mel/build-
> p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-boot/git-r30/git/P1010RDB-
> PB_SPIFLASH/spl/lib/div64.o /home/mmahmood/mel/build-
> p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-boot/git-r30/git/P1010RDB-
> PB_SPIFLASH/spl/lib/errno.o /home/mmahmood/mel/build-
> p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-boot/git-r30/git/P1010RDB-
> PB_SPIFLASH/spl/lib/hashtable.o /home/mmahmood/mel/build-
> p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-boot/git-r30/git/P1010RDB-
> PB_SPIFLASH/spl/lib/linux_string.o /home/mmahmood/mel/build-
> p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-boot/git-r30/git/P1010RDB-
> PB_SPIFLASH/spl/lib/string.o /home/mmahmood/mel/build-
> p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-boot/git-r30/git/P1010RDB-
> PB_SPIFLASH/spl/lib/time.o /home/mmahmood/mel/build-
> p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-boot/git-r30/git/P1010RDB-
> PB_SPIFLASH/spl/lib/vsprintf.o
> make[2]: Leaving directory `/home/mmahmood/mel/build-
> p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-boot/git-r30/git/lib'
> cd
> /home/mmahmood/mel/build-p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-
> boot/git-r30/git/P1010RDB-PB_SPIFLASH/spl/ && powerpc-linux-gnu-ld.bfd
> - n -T /home/mmahmood/mel/build-p1010r/tmp/work/p1010rdb-mel-linux-
> gnuspe/u-boot/git-r30/git/P1010RDB-PB_SPIFLASH/spl/u-boot-spl.lds
> --gc- sections --gc-sections -Bstatic -Ttext 0xD0001000
> arch/powerpc/cpu/mpc85xx/start.o arch/powerpc/cpu/mpc85xx/resetvec.o
> -- start-group arch/powerpc/cpu/mpc85xx/libmpc85xx.o
> arch/powerpc/cpu/mpc8xxx/ddr/libddr.o
> arch/powerpc/cpu/mpc8xxx/lib8xxx.o
> arch/powerpc/lib/libpowerpc.o board/freescale/common/libfreescale.o
> board/freescale/p1010rdb/libp1010rdb.o common/libcommon.o
> drivers/i2c/libi2c.o drivers/mtd/spi/libspi_flash.o
> drivers/serial/libserial.o drivers/spi/libspi.o lib/libgeneric.o
> --end- group -L
> /home/mel/MentorGraphics/Sourcery_CodeBench_for_Power_Embedded/bin/../
> lib /gcc/powerpc-linux-gnu/4.8.1/nof -lgcc -Map u-boot-spl.map -o
> u-boot-spl powerpc-linux-gnu-objcopy --gap-fill=0xff -O binary
> /home/mmahmood/mel/build-p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-
> boot/git-r30/git/P1010RDB-PB_SPIFLASH/spl/u-boot-spl
> /home/mmahmood/mel/build-p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-
> boot/git-r30/git/P1010RDB-PB_SPIFLASH/spl/u-boot-spl.bin
> powerpc-linux-gnu-objcopy -O srec /home/mmahmood/mel/build-
> p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-boot/git-r30/git/P1010RDB-
> PB_SPIFLASH/u-boot
> /home/mmahmood/mel/build-p1010r/tmp/work/p1010rdb-mel-
> linux-gnuspe/u-boot/git-r30/git/P1010RDB-PB_SPIFLASH/u-boot.srec
> make[1]: Leaving directory `/home/mmahmood/mel/build-
> p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-boot/git-r30/git/spl'
> powerpc-linux-gnu-objcopy --gap-fill=0xff -O binary
> /home/mmahmood/mel/build-p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-
> boot/git-r30/git/P1010RDB-PB_SPIFLASH/u-boot /home/mmahmood/mel/build-
> p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-boot/git-r30/git/P1010RDB-
> PB_SPIFLASH/u-boot.bin
> powerpc-linux-gnu-objcopy --gap-fill=0xff --pad-to=0x18000 -I binary
> -O binary /home/mmahmood/mel/build-p1010r/tmp/work/p1010rdb-mel-linux-
> gnuspe/u-boot/git-r30/git/P1010RDB-PB_SPIFLASH/spl/u-boot-spl.bin
> /home/mmahmood/mel/build-p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-
> boot/git-r30/git/P1010RDB-PB_SPIFLASH/spl/u-boot-spl-pad.bin; cat
> /home/mmahmood/mel/build-p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-
> boot/git-r30/git/P1010RDB-PB_SPIFLASH/spl/u-boot-spl-pad.bin
> /home/mmahmood/mel/build-p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-
> boot/git-r30/git/P1010RDB-PB_SPIFLASH/u-boot.bin >
> /home/mmahmood/mel/build-p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-
> boot/git-r30/git/P1010RDB-PB_SPIFLASH/u-boot-with-spl.bin; rm
> /home/mmahmood/mel/build-p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-
> boot/git-r30/git/P1010RDB-PB_SPIFLASH/spl/u-boot-spl-pad.bin
> make -C examples/standalone all
> make -C examples/api all
> make[1]: Entering directory `/home/mmahmood/mel/build-
> p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-boot/git-
> r30/git/examples/api'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/mmahmood/mel/build-
> p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-boot/git-
> r30/git/examples/api'
> make[1]: Entering directory `/home/mmahmood/mel/build-
> p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-boot/git-
> r30/git/examples/standalone'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/mmahmood/mel/build-
> p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-boot/git-
> r30/git/examples/standalone'
> It is a little endian machine.
> Fail to read file
> "/home/mmahmood/mel/build-p1010r/tmp/sysroots/x86_64-
> linux/usr/share/boot_format/config_sram_p1010rdb.dat". Pls check
> whether it exists and verify your read permission.
Please check if the file exist or not.
And also check the boot_format recipe:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-ppc/tree/recipes-bsp/boot-format/boot-format_git.bb
> WARNING: /home/mmahmood/mel/build-p1010r/tmp/work/p1010rdb-mel-linux-
> gnuspe/u-boot/git-r30/temp/run.do_compile.38659:1 exit 251 from
> /home/mmahmood/mel/build-p1010r/tmp/sysroots/x86_64-
> linux/usr/bin/boot_format /home/mmahmood/mel/build-
> p1010r/tmp/sysroots/x86_64-
> linux/usr/share/boot_format/config_sram_p1010rdb.dat
> /home/mmahmood/mel/build-p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-
> boot/git-r30/git/${board}/${UBOOT_SOURCE}.bin -spi
> /home/mmahmood/mel/build-p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-
> boot/git-r30/git/${board}/${UBOOT_TARGET}.bin
> ERROR: Function failed: do_compile (log file is located at
> /home/mmahmood/mel/build-p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-
> boot/git-r30/temp/log.do_compile.38659)
>
> The start of the log file that we have shows that we are using
> P1010RDB- PB_NAND
>
>
> DEBUG: Executing shell function do_compile
> NOTE: make -j64 CROSS_COMPILE=powerpc-linux-gnu-
> CC=powerpc-linux-gnu-gcc
> --sysroot=/home/mmahmood/mel/build-p1010r/tmp/sysroots/p1010rdb
> O=P1010RDB-PB_NAND distclean rm -rf /home/mmahmood/mel/build-
> p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u-boot/git-r30/git/P1010RDB-
> PB_NAND/*
> NOTE: make -j64 CROSS_COMPILE=powerpc-linux-gnu-
> CC=powerpc-linux-gnu-gcc
> --sysroot=/home/mmahmood/mel/build-p1010r/tmp/sysroots/p1010rdb
> O=P1010RDB-PB_NAND P1010RDB-PB_NAND Configuring for P1010RDB-PB_NAND -
> Board: P1010RDB, Options: P1010RDB_PB,NAND
>
> Noor
>
> -----Original Message-----
> From: ting.liu at freescale.com [mailto:ting.liu at freescale.com]
> Sent: Sunday, February 02, 2014 6:44 AM
> To: Ahsan, Noor; meta-freescale at yoctoproject.org
> Cc: Mahmood, Muzaffar
> Subject: RE: [meta-freescale] [meta-fsl-ppc] u-boot recipe do_compile
> fail on master
>
> > -----Original Message-----
> > From: meta-freescale-bounces at yoctoproject.org
> > [mailto:meta-freescale- bounces at yoctoproject.org] On Behalf Of
> > Ahsan, Noor
> > Sent: Thursday, January 30, 2014 5:52 PM
> > To: meta-freescale at yoctoproject.org
> > Cc: Mahmood, Muzaffar
> > Subject: [meta-freescale] [meta-fsl-ppc] u-boot recipe do_compile
> > fail on master
> >
> > Hello,
> >
> > We are building u-boot from master but its do_compile is failing.
> > Kindly help us in order to resolve the issue. Log is attached
> >
> >
> >
> > U-boot recipe is failing on P1010RDB. Log file is attached.
> >
> > ERROR: Function failed: do_compile (log file is located at
> > /home/mmahmood/mel/build-p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u
> > -
> > boot/git-r30/temp/log.do_compile.46367)
> > ERROR: Logfile of failure stored in:
> > /home/mmahmood/mel/build-p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u
> > -
> > boot/git-r30/temp/log.do_compile.46367
> > Log data follows:
> > DEBUG: Executing shell function do_compile
> > NOTE: make -j64 CROSS_COMPILE=powerpc-linux-gnu-
> > CC=powerpc-linux-gnu- gcc
> > --sysroot=/home/mmahmood/mel/build-p1010r/tmp/sysroots/p1010rdb
> > O=P1010RDB_NAND distclean
> > rm -rf
> > /home/mmahmood/mel/build-p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u
> > -
> > boot/git-r30/git/P1010RDB_NAND/*
> > NOTE: make -j64 CROSS_COMPILE=powerpc-linux-gnu-
> > CC=powerpc-linux-gnu- gcc
> > --sysroot=/home/mmahmood/mel/build-p1010r/tmp/sysroots/p1010rdb
> > O=P1010RDB_NAND P1010RDB_NAND
> > make: Nothing to be done for `P1010RDB_NAND'.
> > NOTE: make -j64 CROSS_COMPILE=powerpc-linux-gnu-
> > CC=powerpc-linux-gnu- gcc
> > --sysroot=/home/mmahmood/mel/build-p1010r/tmp/sysroots/p1010rdb
> > O=P1010RDB_NAND all
> > System not configured - see README
>
> Seems that you are not using master branch. Now it's P1010RDB-PB_NAND
> instead of P1010RDB_NAND.
> http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-
> ppc/tree/conf/machine/p1010rdb.conf
>
> > make: *** [all] Error 1
> > ERROR: oe_runmake failed
> > WARNING:
> > /home/mmahmood/mel/build-p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u
> > -
> > boot/git-r30/temp/run.do_compile.46367:1
> > exit 1 from
> > exit 1
> > ERROR: Function failed: do_compile (log file is located at
> > /home/mmahmood/mel/build-p1010r/tmp/work/p1010rdb-mel-linux-gnuspe/u
> > -
> > boot/git-r30/temp/log.do_compile.46367)
> > ERROR: Task 6
> > (/home/mmahmood/mel/meta-fsl-ppc/recipes-bsp/u-boot/u-boot_git.bb,
> > do_compile) failed with exit code '1'
> >
> >
> > Thanks
> > Regards
> > Muzaffar Mahmood
>
>
More information about the meta-freescale
mailing list