mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jan Remmet <J.Remmetl@phytec.de>
To: barebox@lists.infradead.org
Subject: Re: [PATCH] libdt: fix detection of eeprom devicepath
Date: Tue, 23 Jun 2015 08:32:00 +0200	[thread overview]
Message-ID: <20150623063159.GA2841@lws-weitzel2@phytec.de> (raw)
In-Reply-To: <55870437.9000102@pengutronix.de>

On Sun, Jun 21, 2015 at 08:36:39PM +0200, Marc Kleine-Budde wrote:
> On 06/19/2015 09:52 AM, Marc Kleine-Budde wrote:
> >> At the end of of_get_devicepath there is a check for eeproms, but then
> >> of_parse_partition looks for a reg property which is in a casse of a i2c
> >> eeprom is the i2c address. This results in a wrong offset.
> > 
> > doh!
> > 
> >> With this patch a i2c eeprom backend works. It's not tested with a mtd device
> >> or a eeprom with a partition layout.
> > 
> > AFAIK on Linux partition layouts are not supported on eeprom devices, as
> > they are not handled by the mtd layer. I'll apply this patch and test on
> > my standard device, which uses a mtd device.
> 
> applied to master.
> 
> Works here with the NAND-partition backend. However udev from
> systemd-220 fails to find NAND-partition while systemd-219 works, no
> matter if your patch is applied or not. Which systemd/udev version are
> you using?
Here I use it in a initramfs with libudev.so.1.6.0, but no running daemon.

Jan

> 
> Marc
> 
> -- 
> Pengutronix e.K.                  | Marc Kleine-Budde           |
> Industrial Linux Solutions        | Phone: +49-231-2826-924     |
> Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
> Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |
> 



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


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

  reply	other threads:[~2015-06-23  6:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1434699697-26688-1-git-send-email-j.remmet@phytec.de>
2015-06-19  7:52 ` Marc Kleine-Budde
2015-06-21 18:36   ` Marc Kleine-Budde
2015-06-23  6:32     ` Jan Remmet [this message]
2015-06-23  6:43       ` Marc Kleine-Budde

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=20150623063159.GA2841@lws-weitzel2@phytec.de \
    --to=j.remmetl@phytec.de \
    --cc=J.Remmet@phytec.de \
    --cc=barebox@lists.infradead.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