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

Heiko Schocher hs at denx.de
Tue Apr 11 11:42:34 UTC 2017


Hello Manuel,

Am 11.04.2017 um 09:20 schrieb ManuelCurcio at Eaton.com:
> Hello
>
> Thanks for the answer.
> Hi
>
> Thanks for the answer.
> I would like ... but I think I'm going to a raw data storage in a ubi volume instead of a little jffs2 file system :(  (my need it is just to store some bytes of data) ...

Ok ... or you try to use UBIFS ?

bye,
Heiko
>
> 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é:€ 16215441 ~ Numéro de TVA: FR47509653176
>> -----------------------------
>
> ________________________________________
> De : Heiko Schocher [hs at denx.de]
> Envoyé : vendredi 7 avril 2017 13:02
> À : Curcio, Manuel
> Cc : u-boot at lists.denx.de
> Objet : Re: [U-Boot] MTD devices emulation driver (gluebi) support
>
> 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
>

-- 
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