In message <20121208123830.gm24...@pengutronix.de> Sascha Hauer wrote:
> On Sat, Dec 08, 2012 at 12:15:03PM +0100, Sascha Hauer wrote:
> > On Sat, Dec 08, 2012 at 09:58:52AM +0800, 张忠山 wrote:
> > > According the match logic in function mdio_bus_match
> > > generic phy driver matchs nothing.
> >
> >
Hi Sascha,
Fixed all the issues you mentioned.
> Please try and ubiformat nonexisting files and non mtd devices and see
> what happens. I have the feeling these are untested right now.
All cases bail out:
barebox@Phytec phyCORE-i.MX35:/ ubiformat /dev/ram0
libmtd: error!: MEMGETINFO ioctl reque
On Sat, Oct 27, 2012 at 10:11:48PM +0200, Jean-Christophe PLAGNIOL-VILLARD
wrote:
> On 12:16 Fri 26 Oct , Wolfram Sang wrote:
> > Based on mtd-utils and stripped down to needed functionality and
> > reworked to barebox interfaces.
> based on which verison of libmtd?
1.4.5 since this is the ne
> > @@ -137,6 +168,9 @@ int mtd_ioctl(struct cdev *cdev, int request, void *buf)
> > dev_dbg(cdev->dev, "MEMSETBADBLOCK: 0x%08llx\n", *offset);
> > ret = mtd->block_markbad(mtd, *offset);
> > break;
> > + case MEMERASE:
> > + ret = mtd_erase(cdev, ei