Hi,
I want to make a yaffs2 image of android system under my ubuntu,
#mkyaffs2image rootfs rootfs.yaffs2
can this rootfs.yaffs2 file work in flash?
How to program the rootfs.yaffs2 to NAND?
Is there anybody who can help me?
Thanks,
Kevin
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I want to make a yaffs2 image of android system under my ubuntu,
#mkyaffs2image rootfs rootfs.yaffs2
can this rootfs.yaffs2 file work in flash?
How to program the rootfs.yaffs2 to NAND?
Is there anybody who can help me?
Thanks,
Kevin
This is discussed for Android on the AM389x platform:
http://processors.wiki.ti.com/index.php/Android_am389x_build_procedure#YAFFS2_rootfs_image_on_NAND
Regards,
Michael T
PS: Please mark this post as answered via the Verify Answer button below if you think it answers your question. Thanks!
The URL above introduces the way to mount as a yaffs2 format, then copy files to that partition, That works on my flash.
Can I program an Android image created by mkyaffs2image to NAND, something as in u-boot, through nand write.yaffs command, but u-boot doesn't support write.yaffs, and I have not find a good way to add yaffs support in cmd_nand.c file in u-boot.
I hope there is a way to program a file system yaffs2 image to NAND just as programing the uImage to NAND.
Thanks,
Kevin
Hi Kevin,
You may refer to following link for adding write.yaffs2 support in u-boot.
https://gforge.ti.com/gf/project/omapandroid/tracker/?action=TrackerItemEdit&tracker_item_id=446
Thanks and Regards,
Pankaj Bharadiya.
Hi Kevin,
Yes there is no "nand write.yaffs2" support in u-boot as such. You can try "nand write". I wrote that wiki page few months back and yes I did try flashing the mkyaffs2image (Android image) from u-boot but kernel is not able to mount it on boot. I later figured out that Yaffs2 official page itself recommend the procedure mentioned in the wiki so I stuck to it.
There are few NAND related changes in the newer u-boot e.g. it now supports h/w ecc. I'm yet to try it out with Yaffs2. You can give it a shot and it may work now.
Any specific reason you want to use Yaffs2? We recommend Ubifs (at least for Android images). The Ubifs support is throughly tested as well. You can flash the images from u-boot (or fastboot if using Android).
Regards,
Amit Pundir
Hi Amit Pundir,
There is an introduction about "Fastboot and UBI rootfs" on http://processors.wiki.ti.com/index.php/TI-Android-FroYo-DevKit-V2.2_UserGuide#NAND_Booting,
in the document, it says,
Establishing Fastboot connectivity
But, I can't find fastboot on u-boot command, my u-boot is supplied with AM3517EVM by retailor, and its version is 03.00.02.07.
How to incorporate fastboot in to my u-boot?
Regards,
Kevin
Fastboot enabled u-boot source is available with the TI Android DevKit.
Instructions for building u-boot are here http://processors.wiki.ti.com/index.php/TI-Android-GingerBread-2.3-DevKit-1.0_DeveloperGuide#To_build_boot_loader_.28u-boot.29.
Hi Kevin,
Fastboot enabled u-boot is available on Rowboat Git repo http://gitorious.org/rowboat/u-boot-omap3/ as well. For AM3517EVM, Fastboot is only supported for High Speed USB mode. AM3517evm u-boot doesn't support Full Speed USB mode(USB 1.1) and it expects HOST machine(Ubuntu e.g.) USB port to be High Speed USB (USB 2.0)
Regards,
Amit Pundir