public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] u-boot-v2
@ 2009-01-21  0:18 John Jeffers
  2009-01-21  3:13 ` Nishanth Menon
  0 siblings, 1 reply; 2+ messages in thread
From: John Jeffers @ 2009-01-21  0:18 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-21  3:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-21  0:18 [U-Boot] u-boot-v2 John Jeffers
2009-01-21  3:13 ` Nishanth Menon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox