public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] building tools/env
@ 2010-05-25 14:36 Steve DeLaney
  2010-05-25 17:46 ` Wolfgang Denk
  2012-07-24 15:23 ` Nickos
  0 siblings, 2 replies; 4+ messages in thread
From: Steve DeLaney @ 2010-05-25 14:36 UTC (permalink / raw)
  To: u-boot


hi there, I'm attempting to build u-boot 1.1.1 tools/env
and the build is failed.  Any ideas on best way to enable it in the 
build.  Here's what I did so far

first, update tools/Makefile

TOOLSUBDIRS = env

then

top level build
make clobber mrproper
make octeon_cn3010_evb_hs5_config
make all

the build in tools/env fails due to missing include files
linux/mtd/mtd.h
zlib.h

add to tools/env/Makefile

CPPFLAGS += ../../include

and include CPPFLAGS here:

fw_printenv :  $(SOURCES) $(HEADERS)
    $(CROSS_COMPILE)gcc -Wall $(CPPFLAGS) -DUSE_HOSTCC $(SOURCES) -o 
fw_printenv

 but this leads to build error on definitions of uint32_t, phys_addr_t 
and erase_info_t

Any ideas on preferred way to build tools/env?

thanks in advance!

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

* [U-Boot] building tools/env
  2010-05-25 14:36 [U-Boot] building tools/env Steve DeLaney
@ 2010-05-25 17:46 ` Wolfgang Denk
  2012-07-24 15:23 ` Nickos
  1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2010-05-25 17:46 UTC (permalink / raw)
  To: u-boot

Dear Steve DeLaney,

In message <4BFBE07B.7020309@yahoo.com> you wrote:
> 
> hi there, I'm attempting to build u-boot 1.1.1 tools/env
> and the build is failed.  Any ideas on best way to enable it in the 
> build.  Here's what I did so far
...
> make octeon_cn3010_evb_hs5_config

U-Boot 1.1.1 is pehistoric - it is more than 6 years old. And Octeon
is only supported in out-of-tree ports, the patches are not available
to the community.

Don't expect that anybody in the community is able to help you with
that - please contact Cavium technical support and ask them what to
do.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
C++ was an interesting and valuable experiment, but we've learned its
lessons and it's time to move on.
                            - Peter Curran in <DCqM4z.BxB@isgtec.com>

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

* [U-Boot] building tools/env
  2010-05-25 14:36 [U-Boot] building tools/env Steve DeLaney
  2010-05-25 17:46 ` Wolfgang Denk
@ 2012-07-24 15:23 ` Nickos
  2012-07-24 17:44   ` Mike Frysinger
  1 sibling, 1 reply; 4+ messages in thread
From: Nickos @ 2012-07-24 15:23 UTC (permalink / raw)
  To: u-boot


Had you find a solution to your problem. I have the same problem.

Thanks,



steverino2 wrote:
> 
> 
> hi there, I'm attempting to build u-boot 1.1.1 tools/env
> and the build is failed.  Any ideas on best way to enable it in the 
> build.  Here's what I did so far
> 
> first, update tools/Makefile
> 
> TOOLSUBDIRS = env
> 
> then
> 
> top level build
> make clobber mrproper
> make octeon_cn3010_evb_hs5_config
> make all
> 
> the build in tools/env fails due to missing include files
> linux/mtd/mtd.h
> zlib.h
> 
> add to tools/env/Makefile
> 
> CPPFLAGS += ../../include
> 
> and include CPPFLAGS here:
> 
> fw_printenv :  $(SOURCES) $(HEADERS)
>     $(CROSS_COMPILE)gcc -Wall $(CPPFLAGS) -DUSE_HOSTCC $(SOURCES) -o 
> fw_printenv
> 
>  but this leads to build error on definitions of uint32_t, phys_addr_t 
> and erase_info_t
> 
> Any ideas on preferred way to build tools/env?
> 
> thanks in advance!
> 
> 
> 
> 
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
> 
> 

-- 
View this message in context: http://old.nabble.com/-U-Boot--building-tools-env-tp28669277p34205899.html
Sent from the Uboot - Users mailing list archive at Nabble.com.

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

* [U-Boot] building tools/env
  2012-07-24 15:23 ` Nickos
@ 2012-07-24 17:44   ` Mike Frysinger
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger @ 2012-07-24 17:44 UTC (permalink / raw)
  To: u-boot

On Tuesday 24 July 2012 11:23:03 Nickos wrote:
> Had you find a solution to your problem. I have the same problem.

this thread (and the source he was using) are ancient.  please start a new 
thread describing *your* setup and the problems you're seeing.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120724/915229a5/attachment.pgp>

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

end of thread, other threads:[~2012-07-24 17:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-25 14:36 [U-Boot] building tools/env Steve DeLaney
2010-05-25 17:46 ` Wolfgang Denk
2012-07-24 15:23 ` Nickos
2012-07-24 17:44   ` Mike Frysinger

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