From 1a17e3ad0a2adbeaae6855696a16789caf4f8418 Mon Sep 17 00:00:00 2001 From: Charles Manning Date: Tue, 3 Apr 2012 14:33:14 +1200 Subject: [PATCH 1/1] Add more descriptive comment for using the yaffs commands. Signed-off-by: Charles Manning --- direct/u-boot/common/cmd_yaffs2.c | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- 2.30.2