All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jerry Van Baren <gerald.vanbaren@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] dts to dtb generation
Date: Fri, 12 Dec 2008 11:44:09 -0500	[thread overview]
Message-ID: <494294D9.4010608@ge.com> (raw)
In-Reply-To: <20081212161435.A9492BE4078@ws1-9.us4.outblaze.com>

Marco Ant?nio Possamai wrote:
> 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:

Good.

> BISON dtc-parser.tab.c
>  DEP dtc-parser.tab.c
>  LEX dtc-lexer.lex.c
> make: flex: Command not found

Bad.  You are done at this point.

[snip]

> 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

Hi Marco,

You are missing the flex package, and thus the "flex" command, on your 
system.  Flex is a lexical parser (classic name "lex").

You didn't say what your host's distribution is.  If it is debian, you 
need to install the flex package.  RH/SuSE may name their package 
differently (probably not).
<http://packages.debian.org/search?keywords=flex&searchon=names&suite=all&section=all>

Best regards,
gvb

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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-12 16:14 [U-Boot] dts to dtb generation Marco Antônio Possamai
2008-12-12 16:44 ` Jerry Van Baren [this message]
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=494294D9.4010608@ge.com \
    --to=gerald.vanbaren@ge.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.