public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Pink Boy <dasfoo@yahoo.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Problem building fw_printenv un u-boot 1.3.4
Date: Tue, 2 Dec 2008 17:38:49 -0800 (PST)	[thread overview]
Message-ID: <565934.6670.qm@web31815.mail.mud.yahoo.com> (raw)
In-Reply-To: <284633.10690.qm@web31801.mail.mud.yahoo.com>


So still doing some hacking trying to build this and wondering if
either u-boot-1.3.4 is busted, or the instructions are wrong.

Poking about it looks like fw_printenv needs some kernel headers
in order to build correctly.  Specifically I believe it needs
include/mtd/mtd-user.h

On my system I was able to build it manually using 

armv4l-uclibc-gcc -Wall -DUSE_HOSTCC -I/home/tu/workspaces/AccessPoint/Kernel/include/ -I/home/tu/workspaces/uboot/u-boot-1.3.4/tools crc32.c  fw_env.c  fw_env_main.c -o fw_printenv

Where /home/tu/workspaces/AccessPoint/Kernel/include/ is the 
location of my embedded kernels header files.

Note sure it it works or not.  When I run it I get the following
error.

Cannot parse config file: No such file or directory 

Mr Foo

  reply	other threads:[~2008-12-03  1:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-02  0:20 [U-Boot] pci booting 460ex seems to hang at tlb entries Ayman M. El-Khashab
2008-12-02  3:03 ` [U-Boot] Problem building fw_printenv un u-boot 1.3.4 Pink Boy
2008-12-03  1:38   ` Pink Boy [this message]
2008-12-03 11:45     ` Wolfgang Denk
2008-12-03 21:08       ` Pink Boy

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=565934.6670.qm@web31815.mail.mud.yahoo.com \
    --to=dasfoo@yahoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox