Skip to contentSkip to conversation

Status of the Yaffs patches?

U-Boot-Users Stuart Wood 4 participants 5 messages Apr 28, 2008 – Apr 29, 2008

lore
Share & tools
lore
#0 lore raw

Hi All,

Can anyone give me an update on the status of integrating YAFFS binary image reading and writing into U-Boot?

Signature · 3 lines
Stuart Wood

Lab X Technologies, LLC
#1 lore raw
Quoted 3 lines · In message <[email protected]> you…

Can anyone give me an update on the status of integrating YAFFS binary image reading and writing into U-Boot?

I think they got lost, most probably because the patches were not posted inline but just as a reference to some URI.

If you're interested to get this into mainline, please rebase and repost (inline!) for the next merge window.

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"...this does not mean that some of us should not want, in  a  rather
dispassionate sort of way, to put a bullet through csh's head."
                   - Larry Wall in <[email protected]>
#2 lore raw
Quoted 5 lines · Wolfgang Denk
Quoted 2 lines

Can anyone give me an update on the status of integrating YAFFS binary image reading and writing into U-Boot?

I think they got lost, most probably because the patches were not posted inline but just as a reference to some URI.

I'm not sure if that's what Stuart is referring to. YAFFS "binary images" can be read and written without problems with the current code (since years). You need to use the ".jffs2/.i" option for skipping bad blocks.

But if you are referring to the YAFFS filesystem support in U-Boot, then the work Wolfgang is referring to is currently available in the mtd-2.6.22.1 branch of the u-boot-nand-flash repository. I have to admit that I'm not sure if the YAFFS support has already been integrated though. Unfortunately this branch still has some problems and I didn't get enough feedback/patches to fix those problems. So we can't merge this stuff into mainline yet.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================

#3 lore raw

Thanks,

I'll look into it. but I will need to do quite a bit of work to bring our u-boot up to the current release. We're about 2 years old and running on an EP9302 Arm processor. I'm not sure what we're built off from, so extracting our work will take some time. I very much want to move to YAFFS since we only have NAND flash storage.

Stuart

Quoted 28 lines · Stefan Roese
Quoted 5 lines · Wolfgang Denk
Quoted 2 lines

Can anyone give me an update on the status of integrating YAFFS binary image reading and writing into U-Boot?

I think they got lost, most probably because the patches were not posted inline but just as a reference to some URI.

I'm not sure if that's what Stuart is referring to. YAFFS "binary images" can be read and written without problems with the current code (since years). You need to use the ".jffs2/.i" option for skipping bad blocks.

But if you are referring to the YAFFS filesystem support in U-Boot, then the work Wolfgang is referring to is currently available in the mtd-2.6.22.1 branch of the u-boot-nand-flash repository. I have to admit that I'm not sure if the YAFFS support has already been integrated though. Unfortunately this branch still has some problems and I didn't get enough feedback/patches to fix those problems. So we can't merge this stuff into mainline yet.

Best regards,
Stefan

=====================================================================

DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================

#4 lore raw

The branch Stefan is referring to should contain a working yaffs implementation. We have had yaffs working on two boards (ARM and PPC) for more than 6 months now.

The outstanding issues on the branch is with respect to the MTD implementation (which we ported from current Linux at that time).

We have started to work out (some of) the problems. As we understood, the biggest obstacle were missing implementation of read/write.i/jffs. We are sending a patch for that to the mailing list now.

Other known issues with our MTD-port is missing commands for lock/unlock
and lack of implementation/testing for OneNand.

We would really like for this to go into mainline U-boot, but we need help from other developers as well as we do not have necessary HW.

Best regards
William

Quoted 39 lines · Stuart Wood

Thanks,

I'll look into it. but I will need to do quite a bit of work to bring our u-boot up to the current release. We're about 2 years old and running on an EP9302 Arm processor. I'm not sure what we're built off from, so extracting our work will take some time. I very much want to move to YAFFS since we only have NAND flash storage.

Stuart

Quoted 28 lines · Stefan Roese
Quoted 5 lines · Wolfgang Denk
Quoted 2 lines

Can anyone give me an update on the status of integrating YAFFS binary image reading and writing into U-Boot?

I think they got lost, most probably because the patches were not posted inline but just as a reference to some URI.

I'm not sure if that's what Stuart is referring to. YAFFS "binary images" can be read and written without problems with the current code (since years). You need to use the ".jffs2/.i" option for skipping bad blocks.

But if you are referring to the YAFFS filesystem support in U-Boot, then the work Wolfgang is referring to is currently available in the mtd-2.6.22.1 branch of the u-boot-nand-flash repository. I have to admit that I'm not sure if the YAFFS support has already been integrated though. Unfortunately this branch still has some problems and I didn't get enough feedback/patches to fix those problems. So we can't merge this stuff into mainline yet.

Best regards,
Stefan

=====================================================================

DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================