From: Hans-Ulrich Schlieben <hu.schlieben@codewrights.de>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>,
Enrico Joerns <ejo@pengutronix.de>
Cc: "yocto@lists.yoctoproject.org" <yocto@lists.yoctoproject.org>,
"barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: RE: [yocto] #yocto bootchooser: Cannot get state 'state'
Date: Tue, 21 Jan 2020 18:28:15 +0000 [thread overview]
Message-ID: <DB8PR03MB54985379C7F9387F160929E7FE0D0@DB8PR03MB5498.eurprd03.prod.outlook.com> (raw)
In-Reply-To: <1c275d4d-cf23-caf5-072e-2517080950c1@pengutronix.de>
Hi Ahmad,
> git clone https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.pengutronix.de%2Fgit%2Fbarebox&data=01%7C01%7Chu.schlieben%40codewrights.de%7C5fdd291346554b1d5e3d08d79dbdda2b%7C0974af9b352b437cb606e9f242c0c227%7C0&sdata=L8WAZYdcm0kjTNZG8OFnedXXyG3DHyIHx1r4gh%2B%2FC%2BI%3D&reserved=0
> cd barebox
> cp $your_barebox_config_in_yocto .config
> make -j$(nproc) CROSS_COMPILE=/path/to/your/yocto/toolchain/bin/arm-$your_vendor-linux-gnueabihf- ARCH=arm
I tried to build the barebox sources but got the following error:
$ make -j$(nproc) CROSS_COMPILE=/path/to/your/yocto/toolchain/bin/arm-$your_vendor-linux-gnueabihf- ARCH=arm
make: /path/to/your/yocto/toolchain/bin/arm--linux-gnueabihf-gcc: Kommando nicht gefunden
LEX scripts/kconfig/lexer.lex.c
/bin/sh: 1: flex: not found
make[2]: *** [scripts/Makefile.lib:194: scripts/kconfig/lexer.lex.c] Fehler 127
make[2]: *** Es wird auf noch nicht beendete Prozesse gewartet....
YACC scripts/kconfig/parser.tab.h
/bin/sh: 1: bison: not found
make[2]: *** [scripts/Makefile.lib:208: scripts/kconfig/parser.tab.h] Fehler 127
make[1]: *** [/opt/apps/zeus/barebox/barebox/Makefile:422: syncconfig] Fehler 2
make: *** [Makefile:463: include/config/auto.conf.cmd] Fehler 2
Is the .config file wrong? I copied it from the barebox folder where I built barebox 2017 version.
> under images/ you will have the barebox images. You can get that onto your device using a SD-Card, imx-usb-loader, tftp ... etc.
When the build succeeds where or how to put the image on the sdcard?
By the way, which image is it there a lots of images in the ./image folder and there is none named imx6qdl? There are some named imx6dl and one imx6q.
>
> If you want to do it in Yocto, there are meta-ptx and meta-barebox that have more recent barebox versions.
Tomorrow I will try too, to build the upstream version using yocto.
Thank you so much.
Best Regards
hu
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2020-01-21 18:28 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <r276.1579090214262888471.6UJY@lists.yoctoproject.org>
2020-01-15 13:02 ` Enrico Joerns
2020-01-15 13:26 ` Hans-Ulrich Schlieben
2020-01-15 13:38 ` Ahmad Fatoum
2020-01-15 13:39 ` Ahmad Fatoum
2020-01-15 14:25 ` Hans-Ulrich Schlieben
2020-01-15 14:36 ` Ahmad Fatoum
2020-01-15 14:47 ` Enrico Joerns
2020-01-16 15:13 ` Hans-Ulrich Schlieben
2020-01-20 15:31 ` Ahmad Fatoum
2020-01-21 18:28 ` Hans-Ulrich Schlieben [this message]
2020-01-21 20:18 ` Ahmad Fatoum
2020-01-22 17:59 ` Robert Berger@yocto.user
2020-01-23 15:30 ` Hans-Ulrich Schlieben
2020-01-23 15:36 ` Ahmad Fatoum
2020-01-23 16:11 ` Hans-Ulrich Schlieben
2020-01-23 16:17 ` Ahmad Fatoum
2020-01-23 16:31 ` Hans-Ulrich Schlieben
2020-01-16 15:09 ` Hans-Ulrich Schlieben
2020-01-20 15:23 ` Ahmad Fatoum
2020-01-21 17:51 ` Hans-Ulrich Schlieben
2020-01-21 20:21 ` Ahmad Fatoum
2020-01-23 15:37 ` Hans-Ulrich Schlieben
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=DB8PR03MB54985379C7F9387F160929E7FE0D0@DB8PR03MB5498.eurprd03.prod.outlook.com \
--to=hu.schlieben@codewrights.de \
--cc=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=ejo@pengutronix.de \
--cc=yocto@lists.yoctoproject.org \
/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