[Yaffs-archive] Re: some questions to use the Yaffs

Nick Bane nick@cecomputing.co.uk
Fri, 11 Apr 2003 10:18:44 +0100


Hi

The bootloader for balloon is indeed stored in NOR. We now use 1/2MB AMD NOR
flash chips as they are very cheap.

The OS image is in a separate yaffs partition on nand for speed of booting
and the rest is the root fs.

The latest bootldr from handhelds.org illustrates the inclusion of yaffs in
Bootldr using my diffs as a base. However, this is not a complete working
system so yesterday I ported our current bootldr to use the same structure
as the handhelds code.

I will be zipping that and putting it on the balloon website very shortly.
If I don't get around to it speediliy enough for you, do email me for a
copy.

There is usb bootldr support included and it seems to all nearly work until
the first nak packet at which the usb dies. This is typically after about
2MB of upload so it is nearly there.

Nick Bane

----- Original Message -----
From: "gjx" <xiaoxing001@etang.com>
To: <yaffs@toby-churchill.org>
Sent: Friday, April 11, 2003 9:26 AM
Subject: some questions to use the Yaffs


hello,yaffs

Our development board is PB1000,our system's Brief Details:
cpu-AU1000/AU1100,Operation System-Monta Vista Linux(hardhat linux),256M
NAND Flash(SumSung),256K/1M NOR flash(AMD), bootloader-YAMON.

   We want to use the YAFFS, do we need to write the MTD driver for my nand
flash? If we have to do so,please give me some references and some notes.

   I found that the balloon's brief
details(http://www.toby-churchill.org/):1MB NOR Flash , 32MB NAND flash ,
Linux 2.4.19-rmk4-tcl2 , yaffs filesystem , Bootldr.
(1)Is the bootloader stored in the 1MB NOR Flash?  And Are OS(Linux
2.4.19-rmk4-tcl2) and root filesystem(yaffs) stored in the 32MB NAND Flash?
(2)If it is right above, I think the Bootldr should be able to identify the
YAFFS, and the kernel of the OS can subsequently be read from the NAND(i.e.
yaffs) to the RAM.  is't true?
(3)if it is true above, how to modify the bootloader to realize the idea?
(4)Can you send the relevant document of the modification of the Bootldr for
using the yaffs?
    if you can't understand,please send to me, i will describe it in detail.
thanks very much!




        gjx
        xiaoxing001@etang.com
          2003-04-11



----------------------------------------------------------------------------
-----------
This mailing list is hosted by Toby Churchill open software
(www.toby-churchill.org).
If mailing list membership is no longer wanted you can remove yourself from
the list by
sending an email to yaffs-request@toby-churchill.org with the text
"unsubscribe"
(without the quotes) as the subject.





---------------------------------------------------------------------------------------
This mailing list is hosted by Toby Churchill open software (www.toby-churchill.org).
If mailing list membership is no longer wanted you can remove yourself from the list by 
sending an email to yaffs-request@toby-churchill.org with the text "unsubscribe" 
(without the quotes) as the subject.