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? 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 |
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox