Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-20 Thread Richard Weinberger
Am 20.10.2015 um 06:00 schrieb Heiko Schocher: > Hello Richard > > Am 19.10.2015 um 23:48 schrieb Richard Weinberger: >> Am 19.10.2015 um 23:40 schrieb Ezequiel Garcia: >>> On 19 October 2015 at 17:22, Richard Weinberger wrote: Am 19.10.2015 um 15:47 schrieb Ezequiel Garcia: > After some

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-19 Thread Heiko Schocher
Hello Richard Am 19.10.2015 um 23:48 schrieb Richard Weinberger: Am 19.10.2015 um 23:40 schrieb Ezequiel Garcia: On 19 October 2015 at 17:22, Richard Weinberger wrote: Am 19.10.2015 um 15:47 schrieb Ezequiel Garcia: After some further investigation, printing the counters as Richard suggested

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-19 Thread Richard Weinberger
Am 19.10.2015 um 23:40 schrieb Ezequiel Garcia: > On 19 October 2015 at 17:22, Richard Weinberger wrote: >> Am 19.10.2015 um 15:47 schrieb Ezequiel Garcia: >>> After some further investigation, printing the counters as Richard suggested >>> I found it was a bug on my side :-( The Linux partition a

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-19 Thread Ezequiel Garcia
On 19 October 2015 at 17:22, Richard Weinberger wrote: > Am 19.10.2015 um 15:47 schrieb Ezequiel Garcia: >> After some further investigation, printing the counters as Richard suggested >> I found it was a bug on my side :-( The Linux partition and the U-Boot >> partition >> had different size (i.

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-19 Thread Richard Weinberger
Am 19.10.2015 um 15:47 schrieb Ezequiel Garcia: > After some further investigation, printing the counters as Richard suggested > I found it was a bug on my side :-( The Linux partition and the U-Boot > partition > had different size (i.e. PEB count) and so Fastmap complained :-( > > We trimmed th

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-19 Thread Heiko Schocher
Hello Ezequiel, Am 19.10.2015 um 15:47 schrieb Ezequiel Garcia: On 19 October 2015 at 02:17, Heiko Schocher wrote: Hello Ezequiel, Am 17.10.2015 um 20:07 schrieb Ezequiel Garcia: Hi Heiko, On 9 October 2015 at 09:30, Heiko Schocher wrote: [..] I just updated the "ubi_sync_with_linux"

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-19 Thread Ezequiel Garcia
On 19 October 2015 at 02:17, Heiko Schocher wrote: > Hello Ezequiel, > > Am 17.10.2015 um 20:07 schrieb Ezequiel Garcia: >> >> Hi Heiko, >> >> On 9 October 2015 at 09:30, Heiko Schocher wrote: >> [..] >>> >>> >>> >>> I just updated the "ubi_sync_with_linux" branch on u-boot-ubi. >>> >>> It seems

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-18 Thread Heiko Schocher
Hello Ezequiel, Am 17.10.2015 um 20:07 schrieb Ezequiel Garcia: Hi Heiko, On 9 October 2015 at 09:30, Heiko Schocher wrote: [..] I just updated the "ubi_sync_with_linux" branch on u-boot-ubi. It seems UBI/UBIFS now work with the NAND on the aristainetos2 board, but my stomach says, there a

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-17 Thread Richard Weinberger
Am 17.10.2015 um 20:07 schrieb Ezequiel Garcia: > However, I'm still seeing the same warning I had before, when my partition > is attached: > > ubi0: default fastmap pool size: 200 > ubi0: default fastmap WL pool size: 100 > ubi0: attaching mtd1 > WARNING in drivers/mtd/ubi/fastmap.c line 846 > ub

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-17 Thread Ezequiel Garcia
Hi Heiko, On 9 October 2015 at 09:30, Heiko Schocher wrote: [..] > > > I just updated the "ubi_sync_with_linux" branch on u-boot-ubi. > > It seems UBI/UBIFS now work with the NAND on the aristainetos2 > board, but my stomach says, there are some subtile issues ... > > Still needs more testing, al

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-16 Thread Ezequiel Garcia
On 16 October 2015 at 04:56, Heiko Schocher wrote: > Hello Ezequiel, > > > Am 09.10.2015 um 14:30 schrieb Heiko Schocher: >> >> Hello Ezequiel, >> >> Am 09.10.2015 um 06:01 schrieb Heiko Schocher: >>> >>> Hello Ezequiel, >>> >>> Am 08.10.2015 um 17:54 schrieb Ezequiel Garcia: Heiko,

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-16 Thread Heiko Schocher
Hello Ezequiel, Am 09.10.2015 um 14:30 schrieb Heiko Schocher: Hello Ezequiel, Am 09.10.2015 um 06:01 schrieb Heiko Schocher: Hello Ezequiel, Am 08.10.2015 um 17:54 schrieb Ezequiel Garcia: Heiko, On 8 October 2015 at 11:54, Heiko Schocher wrote: [..] Currently I have a (with warnings) c

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-09 Thread Heiko Schocher
Hello Ezequiel, Am 09.10.2015 um 06:01 schrieb Heiko Schocher: Hello Ezequiel, Am 08.10.2015 um 17:54 schrieb Ezequiel Garcia: Heiko, On 8 October 2015 at 11:54, Heiko Schocher wrote: [..] Currently I have a (with warnings) compiled U-Boot with ubi/ubifs with linux 4.2 base ... now testing

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-08 Thread Heiko Schocher
Hello Ezequiel, Am 08.10.2015 um 17:54 schrieb Ezequiel Garcia: Heiko, On 8 October 2015 at 11:54, Heiko Schocher wrote: [..] Currently I have a (with warnings) compiled U-Boot with ubi/ubifs with linux 4.2 base ... now testing (or tomorrow) If you share a branch, I can help with some tes

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-08 Thread Heiko Schocher
Hello Richard, Hans, Am 08.10.2015 um 18:04 schrieb Richard Weinberger: Am 08.10.2015 um 16:58 schrieb Hans de Goede: Compiling stops, as it is an "error" ... renaming this var, and error go away ... I believe that in certain configs free is a #define on u-boot, which is likely causing this p

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-08 Thread Richard Weinberger
Am 08.10.2015 um 16:58 schrieb Hans de Goede: >> Compiling stops, as it is an "error" ... renaming this var, and error >> go away ... > > I believe that in certain configs free is a #define on u-boot, which is > likely causing this problem. Ahhh! As soon you #define something the symbol is burned

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-08 Thread Ezequiel Garcia
Heiko, On 8 October 2015 at 11:54, Heiko Schocher wrote: [..] > > Currently I have a (with warnings) compiled U-Boot with ubi/ubifs > with linux 4.2 base ... now testing (or tomorrow) > If you share a branch, I can help with some tests here. Thanks a lot for the quick work! -- Ezequiel GarcĂ­a,

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-08 Thread Hans de Goede
Hi, On 10/08/2015 03:54 PM, Heiko Schocher wrote: Hello Richard, Am 08.10.2015 um 15:03 schrieb Richard Weinberger: Hi! Am 08.10.2015 um 14:51 schrieb Heiko Schocher: Hello Ezequiel, Richard, Am 02.10.2015 um 18:27 schrieb Ezequiel Garcia: Hello Heiko, According to Richard Weinberger, UBI

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-08 Thread Heiko Schocher
Hello Richard, Am 08.10.2015 um 15:03 schrieb Richard Weinberger: Hi! Am 08.10.2015 um 14:51 schrieb Heiko Schocher: Hello Ezequiel, Richard, Am 02.10.2015 um 18:27 schrieb Ezequiel Garcia: Hello Heiko, According to Richard Weinberger, UBI fastmap is broken in U-Boot. There are plenty of fi

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-08 Thread Richard Weinberger
Hi! Am 08.10.2015 um 14:51 schrieb Heiko Schocher: > Hello Ezequiel, Richard, > > Am 02.10.2015 um 18:27 schrieb Ezequiel Garcia: >> Hello Heiko, >> >> According to Richard Weinberger, UBI fastmap is broken in U-Boot. >> There are plenty >> of fixes in Linux that we should pull in U-Boot to fix i

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-08 Thread Heiko Schocher
Hello Ezequiel, Richard, Am 02.10.2015 um 18:27 schrieb Ezequiel Garcia: Hello Heiko, According to Richard Weinberger, UBI fastmap is broken in U-Boot. There are plenty of fixes in Linux that we should pull in U-Boot to fix it. Maybe you are already aware of this and you have some work-in-prog

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-03 Thread Richard Weinberger
Hi! Am 03.10.2015 um 06:27 schrieb Heiko Schocher: >>> According to Richard Weinberger, UBI fastmap is broken in U-Boot. >>> There are plenty >>> of fixes in Linux that we should pull in U-Boot to fix it. > > Thanks for pointing! > >> BTW: it is not broken in terms of you broke it. > > Puuh ;-)

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-03 Thread Richard Weinberger
Hi! Am 02.10.2015 um 18:27 schrieb Ezequiel Garcia: > Hello Heiko, > > According to Richard Weinberger, UBI fastmap is broken in U-Boot. > There are plenty > of fixes in Linux that we should pull in U-Boot to fix it. BTW: it is not broken in terms of you broke it. It is just the old fastmap vers

Re: [U-Boot] Porting UBI fixes (specially fastmap's) to U-Boot

2015-10-02 Thread Heiko Schocher
Hello, Am 02.10.2015 um 20:46 schrieb Richard Weinberger: Hi! Am 02.10.2015 um 18:27 schrieb Ezequiel Garcia: Hello Heiko, According to Richard Weinberger, UBI fastmap is broken in U-Boot. There are plenty of fixes in Linux that we should pull in U-Boot to fix it. Thanks for pointing! BTW