mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* barebox state is not fixed up into kernel-device-tree
@ 2018-11-04 22:39 Patrick Boettcher
  2018-11-05  8:28 ` Ulrich Ölmann
  0 siblings, 1 reply; 7+ messages in thread
From: Patrick Boettcher @ 2018-11-04 22:39 UTC (permalink / raw)
  To: Barebox List

Hi,

I'm using a device-state (for bootchooser) which is stored in an eeprom.

Works fine from within barebox - read and write.

Userspace does not see the state:

  Neither /aliases/state nor /state found

The displayed device-tree when booting with 'boot -v -v <name>' does
not contain the state-entry.

However, there is a warning of a failed fixup:

  Failed to fixup node in of_state_fixup+0x1/0x1ac: No such device

Could it be that the eeprom-alias is missing? I'm still learning
device-tree and stuff and I'm not yet entirely sure how everything is
related.

The partition is created within a 

  &eeprom {
     [..]
  }

section and eeprom is defined as 

  eeprom: eeprom@52 {

  }

(I added the 'eeprom: '- name/alias)

Where am I missing the link?

best regards,
--
Patrick.

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-11-06  5:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-04 22:39 barebox state is not fixed up into kernel-device-tree Patrick Boettcher
2018-11-05  8:28 ` Ulrich Ölmann
2018-11-05  8:41   ` Patrick Boettcher
2018-11-05  9:20     ` Patrick Boettcher
2018-11-06  5:42       ` Ulrich Ölmann
2018-11-05  9:26     ` Ulrich Ölmann
2018-11-05 18:21       ` Patrick Boettcher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox