[U-Boot] [PATCH v2] UBIFS: Missing offset relocation for compressor 'none'

2009-03-19 Thread Michael Lawnick
On systems where U-Boot is linked to another address than it really lays (e.g. backup image), calls via function pointers must be fixed with a '+= gd->reloc_off'. This was not done for none_compr in ubifs_compressors_init() what leads to system crash on ubifsmount command. Signed-off-by: Michael L

Re: [U-Boot] [PATCH v2] UBIFS: Missing offset relocation for compressor 'none'

2009-03-20 Thread Stefan Roese
On Thursday 19 March 2009, Michael Lawnick wrote: > On systems where U-Boot is linked to another address than it really lays > (e.g. backup image), calls via function pointers must be fixed with a > '+= gd->reloc_off'. > This was not done for none_compr in ubifs_compressors_init() what leads > to s

Re: [U-Boot] [PATCH v2] UBIFS: Missing offset relocation for compressor 'none'

2009-03-20 Thread Detlev Zundel
Hi Stefan, > On Thursday 19 March 2009, Michael Lawnick wrote: >> On systems where U-Boot is linked to another address than it really lays >> (e.g. backup image), calls via function pointers must be fixed with a >> '+= gd->reloc_off'. >> This was not done for none_compr in ubifs_compressors_init()

Re: [U-Boot] [PATCH v2] UBIFS: Missing offset relocation for compressor 'none'

2009-03-20 Thread Stefan Roese
Hi Detlev, On Friday 20 March 2009, Detlev Zundel wrote: > > Please note that I explicitly didn't fold this patch into my latest UBIFS > > patch series. We should apply it after UBIFS is available in mainline so > > that Michael will be listed as author for this fix. > > I was not so sure about th

Re: [U-Boot] [PATCH v2] UBIFS: Missing offset relocation for compressor 'none'

2009-03-20 Thread Wolfgang Denk
Dear Michael Lawnick, In message <49c20b21.1080...@gmx.de> you wrote: > On systems where U-Boot is linked to another address than it really lays > (e.g. backup image), calls via function pointers must be fixed with a > '+= gd->reloc_off'. > This was not done for none_compr in ubifs_compressors_ini