From: Cary O'Brien <cobrien@cornet.com>
To: meta-freescale@yoctoproject.org
Subject: Custom u-boot machine, linker errors lost.
Date: Tue, 29 Jul 2014 20:23:24 -0400 [thread overview]
Message-ID: <53D83AFC.3060809@cornet.com> (raw)
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
reply other threads:[~2014-07-30 0:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=53D83AFC.3060809@cornet.com \
--to=cobrien@cornet.com \
--cc=meta-freescale@yoctoproject.org \
/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.