* [U-Boot] MTD devices emulation driver (gluebi) support @ 2017-04-06 8:36 ManuelCurcio at Eaton.com 2017-04-07 11:02 ` Heiko Schocher 0 siblings, 1 reply; 5+ messages in thread From: ManuelCurcio at Eaton.com @ 2017-04-06 8:36 UTC (permalink / raw) To: u-boot 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 ? 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? ________________________________ ^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] MTD devices emulation driver (gluebi) support 2017-04-06 8:36 [U-Boot] MTD devices emulation driver (gluebi) support ManuelCurcio at Eaton.com @ 2017-04-07 11:02 ` Heiko Schocher 2017-04-11 7:20 ` ManuelCurcio at Eaton.com 0 siblings, 1 reply; 5+ messages in thread From: Heiko Schocher @ 2017-04-07 11:02 UTC (permalink / raw) To: u-boot 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] MTD devices emulation driver (gluebi) support 2017-04-07 11:02 ` Heiko Schocher @ 2017-04-11 7:20 ` ManuelCurcio at Eaton.com 2017-04-11 11:42 ` Heiko Schocher 0 siblings, 1 reply; 5+ messages in thread From: ManuelCurcio at Eaton.com @ 2017-04-11 7:20 UTC (permalink / raw) To: u-boot [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain; charset="utf-8-sig", Size: 2602 bytes --] 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) ... 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] MTD devices emulation driver (gluebi) support 2017-04-11 7:20 ` ManuelCurcio at Eaton.com @ 2017-04-11 11:42 ` Heiko Schocher 2017-04-11 12:46 ` ManuelCurcio at Eaton.com 0 siblings, 1 reply; 5+ messages in thread From: Heiko Schocher @ 2017-04-11 11:42 UTC (permalink / raw) To: u-boot 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] MTD devices emulation driver (gluebi) support 2017-04-11 11:42 ` Heiko Schocher @ 2017-04-11 12:46 ` ManuelCurcio at Eaton.com 0 siblings, 0 replies; 5+ messages in thread From: ManuelCurcio at Eaton.com @ 2017-04-11 12:46 UTC (permalink / raw) To: u-boot [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain; charset="utf-8-sig", Size: 3974 bytes --] I tried to use ubifs. However, I just need of a space storage for three files with a total size of 500 bytes. >From theses three files, the UBIFS generated a 1.8 MegaBytes file. The ubifs file system mounted took 7 Megabytes just for 500 bytes ! JFFS2 over ubi requires "only" 4 LEB minimum, so for my 500 bytes, jffs2 requires 4 * 128 kB == 512 kBytes for my nand. ----------------------------- 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 ----------------------------- -----Original Message----- From: Heiko Schocher [mailto:hs at denx.de] Sent: mardi 11 avril 2017 13:43 To: Curcio, Manuel Cc: u-boot at lists.denx.de Subject: Re: [U-Boot] MTD devices emulation driver (gluebi) support 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-04-11 12:46 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-04-06 8:36 [U-Boot] MTD devices emulation driver (gluebi) support ManuelCurcio at Eaton.com 2017-04-07 11:02 ` Heiko Schocher 2017-04-11 7:20 ` ManuelCurcio at Eaton.com 2017-04-11 11:42 ` Heiko Schocher 2017-04-11 12:46 ` ManuelCurcio at Eaton.com
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.