From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Fri, 7 Apr 2017 13:02:05 +0200 Subject: [U-Boot] MTD devices emulation driver (gluebi) support In-Reply-To: <12FD643A737A924986A2B203248C6CD69545BFD7@SIMTCSMB02.napa.ad.etn.com> References: <12FD643A737A924986A2B203248C6CD69545BFD7@SIMTCSMB02.napa.ad.etn.com> Message-ID: <58E771AD.9020307@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de 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