simple ubi reader

Marek Skuczynski mareksk7 at gmail.com
Sun Nov 28 08:33:48 EST 2010


Vladimir,
> But may be you know some simpler code performing ubi read. It looks to
> me rather complicated to cut out from u-boot, and even from barebox -
> code responsible only for ubi read dropping mtd staff.

Unfortunately, I don't know any simpler implementation of UBI driver.
However, I know that reading of an UBI volume content is not so
difficult to implement.
This should take about 2 days, which may be faster than adapting any
existing implementation.

Good luck,
  Marek

> Regards,
> Vladimir
>
> -----Original Message-----
> From: Marek Skuczynski [mailto:mareksk7 at gmail.com] 
> Sent: Sunday, November 28, 2010 12:29 PM
> To: Vladimir Khmelnitsky
> Cc: linux-mtd at lists.infradead.org
> Subject: Re: simple ubi reader
>
> Hi Vladimir,
>> I need to write bootloader which should read its second stage binary
>> from ubi volume.
>> I wonder if there is some simple open source code I can use to
> implement
>> ubi volume reader?
> I can take a look at these places:
> - U-boot <http://git.denx.de/?p=u-boot.git>
> - Barebox aka U-boot2 <http://git.pengutronix.de/?p=barebox.git>
>
> Regards,
>  Marek
>
>




More information about the linux-mtd mailing list