From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Fri, 12 Dec 2008 11:44:09 -0500 Subject: [U-Boot] dts to dtb generation In-Reply-To: <20081212161435.A9492BE4078@ws1-9.us4.outblaze.com> References: <20081212161435.A9492BE4078@ws1-9.us4.outblaze.com> Message-ID: <494294D9.4010608@ge.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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). Best regards, gvb