All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Marco Antônio Possamai" <marco.possamai@mail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] dts to dtb generation
Date: Fri, 12 Dec 2008 13:14:35 -0300	[thread overview]
Message-ID: <20081212161435.A9492BE4078@ws1-9.us4.outblaze.com> (raw)

Hello, all.

I need to get my device-tree blob done, in order to pass it along with
the image I've created (bootm command). I'm kind of new on the dtb
concept and I'm not sure if I'm doing it right. Have read some stuff
about it, though.

What I got is that I have to generate a .dtb out of this source file
(lite5200b.dts). But I can't get my dtc to work.

I've downloaded the latest version
(http://jdl.com/software/dtc-latest.tgz) and done the make command, but
it points some errors during building. Check the snippet:

...

BISON dtc-parser.tab.c
 DEP dtc-parser.tab.c
 LEX dtc-lexer.lex.c
make: flex: Command not found
 DEP checks.c
 DEP srcpos.c
 DEP treesource.c
 DEP livetree.c
 DEP data.c
 DEP fstree.c
 DEP flattree.c
 DEP dtc.c
 LEX dtc-lexer.lex.c
make: flex: Command not found
CHK version_gen.h
UPD version_gen.h
 DEP dtc.c
 LEX dtc-lexer.lex.c
make: flex: Command not found
CHK version_gen.h
 CC dtc.o
...

And after the 'make install' command it reports the same 'flex: Command
not found':

LEX dtc-lexer.lex.c
make: flex: Command not found
CHK version_gen.h

I've visited the http://www.embeddedlinuxprimer.com/dtc for the howto
steps.

Well, I guess it didn't complete the install, the console bashes the dtc
as 'not found'.

I'm aware there must be some small detail I must be missing in order to
get it right, but I'd really appreciate a pointer here.


Thanks for the attention.


Marco Ant?nio Possamai

Universidade Federal de Santa Catarina

P.S: I'm also aware this is possibly not the right mailing list to ask about device-tree compilers... but I haven't found one specific for it. Sorry for the inconvenience.

-- 
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com

             reply	other threads:[~2008-12-12 16:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-12 16:14 Marco Antônio Possamai [this message]
2008-12-12 16:44 ` [U-Boot] dts to dtb generation Jerry Van Baren
2008-12-12 16:48 ` Detlev Zundel

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=20081212161435.A9492BE4078@ws1-9.us4.outblaze.com \
    --to=marco.possamai@mail.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.