From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: Hans-Ulrich Schlieben <hu.schlieben@codewrights.de>,
Enrico Joerns <ejo@pengutronix.de>,
"yocto@lists.yoctoproject.org" <yocto@lists.yoctoproject.org>
Cc: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: Re: [yocto] #yocto bootchooser: Cannot get state 'state'
Date: Mon, 20 Jan 2020 16:23:02 +0100 [thread overview]
Message-ID: <cd5008fe-b93f-92c6-8f97-6f7adce32f0e@pengutronix.de> (raw)
In-Reply-To: <AM6PR03MB54938204A7FDEB6C5E93A749FE360@AM6PR03MB5493.eurprd03.prod.outlook.com>
Hello,
On 1/16/20 4:09 PM, Hans-Ulrich Schlieben wrote:
> Hi Ahmad,
>
> Thanks to your Mail I tested with barebox_2017.12.0-phy6.bb (thud used barebox_2017.12.0-phy4.bb) and this works in zeus too.
>
>> According to the state command output under thud, your state is stored on the EEPROM, not the NAND. Look for update-eeprom in your device tree.
>> There should also be an /dev/eeprom0.update-eeprom in barebox.
> That seems right, when working the eeprom is written to on each boot.
> But I could not find any references to *eep* inside barebox in any layer.
Does it come from the phytec git directly? Upstream barebox has this:
https://git.pengutronix.de/cgit/barebox/tree/arch/arm/dts/imx6qdl-phytec-state.dtsi?h=next
I would imagine, yours does to. You can check in the yocto build directory.
(If you have rm_work enabled, you might need RM_WORK_EXCLUDE += "your-barebox-recipe"
in your local.conf)
Also try of_dump /state inside of barebox to see the device tree node.
The reason, you haven't found it in the deploy/ device tree is that barebox modifies
the kernel device tree on loading and adds the state nodes to it.
>> if not, try executing the drvinfo command and see if the driver has probed the EEPROM.
>>>> Looks like the state node is missing in your device tree.
Do you have the state driver enabled? drvinfo should tell you that.
Cheers
Ahmad
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2020-01-20 15:23 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
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 [this message]
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=cd5008fe-b93f-92c6-8f97-6f7adce32f0e@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=ejo@pengutronix.de \
--cc=hu.schlieben@codewrights.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