From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 35FEAE007B5; Tue, 29 Jul 2014 17:31:48 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [173.203.187.115 listed in list.dnswl.org] X-Greylist: delayed 492 seconds by postgrey-1.32 at yocto-www; Tue, 29 Jul 2014 17:31:38 PDT Received: from smtp115.iad3a.emailsrvr.com (smtp115.iad3a.emailsrvr.com [173.203.187.115]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id B2661E003FA for ; Tue, 29 Jul 2014 17:31:38 -0700 (PDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp23.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id 442F2280372 for ; Tue, 29 Jul 2014 20:23:25 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp23.relay.iad3a.emailsrvr.com (Authenticated sender: cobrien-AT-cornet.com) with ESMTPSA id 2AC82280366 for ; Tue, 29 Jul 2014 20:23:25 -0400 (EDT) X-Sender-Id: cobrien@cornet.com Received: from [192.168.0.120] (wsip-70-191-150-81.dc.dc.cox.net [70.191.150.81]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA) by 0.0.0.0:587 (trex/5.2.10); Wed, 30 Jul 2014 00:23:25 GMT Message-ID: <53D83AFC.3060809@cornet.com> Date: Tue, 29 Jul 2014 20:23:24 -0400 From: Cary O'Brien User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 SeaMonkey/2.23 MIME-Version: 1.0 To: meta-freescale@yoctoproject.org Subject: Custom u-boot machine, linker errors lost. X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jul 2014 00:31:48 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit We are just starting out with QorIQ processors and Yocto, I hope this is the right place to ask questions. We have a board that uses the p1022 processor. I created a layer that defines our own u-boot machine based on p1022ds files in Yocto 1.6. Unchanged, it compiles and generates a u-boot.bin in tmp/deploy/images. However, I need to adjust the config and some of the files, since there are differences with the hardware. The PROBLEM is that if I make a change, the bitbake u-boot process progresses to a link step creating arch/powerpc/cpu/mpc85xx/built-in.o, which fails, probably because I have a missing function, but There is No Error Message Anywhere.. Not with -v, not with -D -D, not looking in the log file. It just says: | make: *** [CTI_NED_V1_NAND] Error 2 | ERROR: oe_runmake failed But no error message can be found anywhere. What is perplexing is that I can go into the devshell bitbake -c devshell u-boot cd and run the exact same ld command, and it runs and creates the right build-in.o. Is there some sort of limit to the size of shell commands that bitbake (or oe_runmake) can handle? Any reason a link would fail in bitbake but run stand-alone? Any insight is appreciated. Thanks, -- cary cobrien@cornet.com