[U-Boot-Users] does someone add YAFFS2 support in uboot?

i want to boot the kernel under the dir /boot/ of a yaffs2 filesystem, does someone succeed on it? thanks for any hints. Best Regards
zhuzhenhua

In message 50c9a2250603051845v6fe64015g6229f6d065cc0202@mail.gmail.com you wrote:
i want to boot the kernel under the dir /boot/ of a yaffs2 filesystem,
May I ask why you want to do this? I don't see any advantages of such an approach.
Best regards,
Wolfgang Denk

Yes, Putting the kernel image in the filesystem is not a wise approach. You will encounter some problems like power failure, etc. Since U-Boot supports NAND driver to read/write the NAND flash, you can boot kernel from a sperate partition by U-Boot.
Thanks, -Aubrey

On 3/6/06, Aubrey aubreylee@gmail.com wrote:
Yes, Putting the kernel image in the filesystem is not a wise approach. You will encounter some problems like power failure, etc. Since U-Boot supports NAND driver to read/write the NAND flash, you can boot kernel from a sperate partition by U-Boot.
Thanks, -Aubrey
if put the kernel in a sperate partition, i think it may waste some space, because you must keep the partition larger than the size of kernel.
Best Regards zhuzhenhua

In message 50c9a2250603060308t3f7e4c35w37ed5362f9b8006e@mail.gmail.com you wrote:
if put the kernel in a sperate partition, i think it may waste some space, because you must keep the partition larger than the size of kernel.
Yes, you may lose a few 100 kB. But you get a lot of additionally flexibility (like being able to update kernel and root file system independently from each other). And if your system does not allow for 100 or 200 kB now when you start designing the system you have MAJOR problems anyway as your application software will need MUCH more reserve.
Best regards,
Wolfgang Denk

On 3/6/06, Aubrey aubreylee@gmail.com wrote:
Yes, Putting the kernel image in the filesystem is not a wise approach. You will encounter some problems like power failure, etc. Since U-Boot supports NAND driver to read/write the NAND flash, you can boot kernel from a sperate partition by U-Boot.
Thanks, -Aubrey
what does the "power failure" means? i think it has no difference between boot from partition and yaffs, maybe boot from yaffs need more time. do i miss something else?
Thanks zhuzhenhua
participants (3)
-
Aubrey
-
Wolfgang Denk
-
zhuzhenhua