[U-Boot] MTD devices emulation driver (gluebi) support

Heiko Schocher hs at denx.de
Fri Apr 7 11:02:05 UTC 2017


Hello Manuel,

Am 06.04.2017 um 10:36 schrieb ManuelCurcio at Eaton.com:
> Hi,
>
> I want to read a jffs2 file system over ubi from uboot.
>  From ubi.h, I found the CONFIG_MTD_UBI_GLUEBI define to allow this functionality (I think) :
>
> /* gluebi.c */
> #ifdef CONFIG_MTD_UBI_GLUEBI
> ....
>
> However, when I set this define, after compilation, I have errors links about gluebi functions :
>
> uboot/common/cmd_ubi.c:293: undefined reference to `ubi_gluebi_updated'
>
> And in fact, after search, I didn't find gluebi.c file in uboot.
>
> I use the U-Boot 2015.01 version. When I look the last release, I didn't find gluebi.c  too.
>
> Some one can tell me more about that ? How is it possible to read jffs2 (or squashfs) from uboot ?

We use the UBI/UBIFS sources from linux, so this part cames
from linux. And as fas as I know, nobody has tried to use
CONFIG_MTD_UBI_GLUEBI
in u-boot yet, so if you want to do this, you have to dig into
this part deeper. Patches are welcome ;-)

bye,
Heiko
>
> thanks !
>
> Manuel
>
>
>
> ________________________________
> Eaton Industries (France) S.A.S ~ Siège social: 110 Rue Blaise Pascal, Immeuble Le Viséo - Bâtiment A Innovallée, 38330, Montbonnot-St.-Martin, France ~ Lieu d'enregistrement au registre du commerce: Grenoble ~ Numéro d'enregistrement: 509 653 176 ~ Capital social souscrit et liberé:EUR 16215441 ~ Numéro de TVA: FR47509653176?
>
> ________________________________
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot
>

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list