From: Charles Manning Date: Tue, 3 Apr 2012 02:33:14 +0000 (+1200) Subject: Add more descriptive comment for using the yaffs commands. X-Git-Tag: pre-driver-refactoring~20 X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=commitdiff_plain;h=1a17e3ad0a2adbeaae6855696a16789caf4f8418;hp=80f85303d264f804ea288e1995280345804ec01c Add more descriptive comment for using the yaffs commands. Signed-off-by: Charles Manning --- diff --git a/direct/u-boot/common/cmd_yaffs2.c b/direct/u-boot/common/cmd_yaffs2.c index fd9b4fa..69ccd09 100644 --- a/direct/u-boot/common/cmd_yaffs2.c +++ b/direct/u-boot/common/cmd_yaffs2.c @@ -1,6 +1,16 @@ /* Yaffs commands. * Modified by Charles Manning by adding ydevconfig command. * + * Use ydevconfig to configure a mountpoint before use. + * For example: + * # Configure mountpt xxx using nand device 0 using blocks 100-500 + * ydevconfig xxx 0 100 500 + * # Mount it + * ymount xxx + * # yls, yrdm etc + * yls -l xxx + * yrdm xxx/boot-image 82000000 + * ... */ #include