From: John Jeffers <jjeffers@lufkin.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] u-boot-v2
Date: Tue, 20 Jan 2009 18:18:37 -0600 [thread overview]
Message-ID: <497669DD.7060606@lufkin.com> (raw)
Hi
If I use for u-boot-v2
#ln -s arm cross_arch
#ln -s
/opt/arm-v5te-linux-gnueabi/gcc-4.1.2-glibc-2.5-binutils-2.17-kernel-2.6.18/arm-v5te-linux-gnueabi/bin
\ cross_compile
During make menuconfig the arm is not picked up as the architecture. I
appear to get sandbox.
Obviously I am not telling the menuconfig to use my architecture.
Perhap the /board is more appropriate.'
Regards John
For u-boot-v2 we are instructed:
U-Boot uses the Linux kernel's build system. It consists of two parts:
the makefile infrastructure (kbuild), plus a configuration system
(kconfig). So building U-Boot is very similar to building the Linux kernel.
For the examples below, we use the User Mode U-Boot implementation,
which is a port of U-Boot to the Linux userspace. This makes it possible
to test drive the code without having real hardware. So for this test
scenario, ARCH=sandbox is the valid architecture selection. This
currently only works on ia32 hosts and partly on x86-64.
Selection of the architecture and the cross compiler can be done in two
ways. You can either specify it using the environment variables ARCH and
CROSS_COMPILE, or you can create the soft links cross_arch and
cross_compile pointing to your architecture and compiler. For
ARCH=sandbox we do not need a cross compiler so it is sufficient to
specify the architecture:
# ln -s sandbox cross_arch
In order to configure the various aspects of U-Boot, start the U-Boot
configuration system:
# make menuconfig
next reply other threads:[~2009-01-21 0:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-21 0:18 John Jeffers [this message]
2009-01-21 3:13 ` [U-Boot] u-boot-v2 Nishanth Menon
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=497669DD.7060606@lufkin.com \
--to=jjeffers@lufkin.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.