bootargs=root=/dev/ram rw initrd="0x308000",6000000 console="ttyS0",115200 mem="64M"
¶øÄÚºËÆô¶¯ÏÔʾÈçÏ£º
Kernel command line: root="/dev/hda1" ro init="/bin/bash" console="ttySAC0"
˵Ã÷U-BOOT²¢Ã»ÓÐÉèÖÃbootargsµ½²ÎÊýÀïÈ¥¡£
Ôٲ鿴U-BOOTµÄinclude/configs/yangchu2410.hÎļþ£¬·¢ÏÖûÓж¨ÒåÈçÏ£º
#define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */
#define CONFIG_SETUP_MEMORY_TAGS 1
#define CONFIG_INITRD_TAG 1
¶ø#define CONFIG_CMDLINE_TAG 1ÊÇÔÚ´«µÝcmdlineʱºò±ØÐëÉèÖõģ¬ËùÒÔÔÚinclude/configs/yangchu2410.hÎļþÖÐÌí¼ÓÈçÉ϶¨Òå¡£
¶¨ÒåÖ®ºó£¬ÖØбàÒëU-BOOT£¬ÉÕдµ½NAND FLASHÖУ¬Æô¶¯°å×Ó¡£
ÔÙÅÜÉÏÃæ±àÒëµÄ2.6.20.3linux£¬ÄÚºËÆô¶¯ÐÅÏ¢ÖÐÏÔʾµÄ²ÎÊýÐÅÏ¢ºÍU-BOOTÖÐÉèÖõÄÒ»ÖÂÁË¡£
ÉèÖÃU-BOOTµÄbootargs:noinitrd root="/dev/mtdblock/2" console="ttyS0" mac="00:01:5d:68:7a:0f",ÔÙÅÜÑô³õ¹âÅÌ´øµÄlinxuÄںˣ¬ÍùÏ¿´µ½Ð˷ܵÄ×ÖÑÛÁË£º
YANGCHU2410 # bootm 30008000