Skip to contentSkip to conversation

building tools/env

U-Boot Steve DeLaney 4 participants 4 messages May 25, 2010 – Jul 24, 2012

lore
Share & tools
lore
#0 lore raw

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!

#1 lore raw

Dear Steve DeLaney,

Quoted 4 lines · In message <[email protected]> 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

...

Quoted 1 line

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

Signature · 6 lines
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 <[email protected]>
#2 lore raw
In reply to Steve DeLaney

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

Thanks,

Quoted 47 lines · 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

Signature · 2 lines
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.
#3 lore raw
Quoted 1 line · 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>