LINUXÏÂI2C×ÜÏßÊÊÅäÆ÷³õʼ»¯µ÷ÓÃÁ´
ÒÔ i2c-mpc.c Çý¶¯Ä£¿éΪÀý
fsl_i2c_init -> of_register_platform_driver -> of_register_driver -> driver_register -> bus_add_driver -> driver_attach
-> bus_for_each_dev -> __driver_attach -> driver_probe_device -> really_probe -> drv->probe(dev);
Ïà¹ØÎĵµ£º
»ù±¾¸ÅÄ
1> tty(ÖÕ¶ËÉ豸µÄͳ³Æ):
ttyÒ»´ÊÔ´ÓÚTeletypes£¬»òteletypewriters£¬ÔÀ´Ö¸µÄÊǵ紫´ò×Ö»ú£¬ÊÇͨ¹ý´®ÐÐÏßÓôòÓ¡»ú¼üÅÌͨ¹ýÔĶÁºÍ·¢ËÍÐÅÏ¢µÄ¶«Î÷£¬ºóÀ´ÕⶫÎ÷±»¼üÅ̺ÍÏÔʾÆ÷È¡´ú£¬ËùÒÔÏÖÔÚ½ÐÖն˱ȽϺÏÊÊ¡£
ÖÕ¶ËÊÇÒ»ÖÖ×Ö·ûÐÍÉ豸£¬ËûÓжàÖÖÀàÐÍ£¬Í¨³£Ê¹ÓÃttyÀ´¼ò³Æ¸÷ÖÖÀàÐ͵ÄÖÕ¶ËÉ豸¡£
2> pty£¨ÐéÄâÖ ......
<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
-->
µ±½ñ£¬²»ÉÙ
Linux
Óû§Ò²Ê¹ÓÃÆäËû²Ù×÷ϵͳ£¬ÓÐʱÕâÑù£¬ÓÐʱÄÇÑù£¬ÄÑÓÚ¾«È·Í³¼Æ¡£Ö¤¾ÝºÎÔÚ£¿
5
ÔÂ
7
ÈÕ£¬
www.w3couter.com
ÍøÕ¾·¢²¼Ã¿ÔÂͳ¼ÆÊý ......
ÔÚlinuxÖÐɾ³ýÒ»¸öĿ¼ºÜ¼òµ¥£¬ºÜ¶àÈË»¹ÊÇÏ°¹ßÓÃrmdir£¬²»¹ýÒ»µ©Ä¿Â¼·Ç¿Õ£¬¾ÍÏÝÈëÉîÉîµÄ¿àÄÕÖ®ÖУ¬ÏÖÔÚʹÓÃrm -rfÃüÁî¼´¿É½â¾ö¡£
Ö±½Órm¾Í¿ÉÒÔÁË£¬²»¹ýÒª¼ÓÁ½¸ö²ÎÊý-rf ¼´£ºrm -rf Ŀ¼Ãû×Ö
-r ¾ÍÊÇÏòϵݹ飬²»¹ÜÓжàÉÙ¼¶Ä¿Â¼£¬Ò»²¢É¾³ý
-f ¾ÍÊÇÖ±½ÓÇ¿ÐÐɾ³ý£¬²»×÷ÈκÎÌáʾµÄÒâ˼
ɾ³ýÎļþ¼ÐʵÀý£º
rm -r ......
In my embedded platform, I want to use tftp command,
run tftp, it will output:
Usage: tftp [OPTION]... HOST [PORT]
Transfer a file from/to tftp server
Options:
-l FILE Local FILE
-r FILE Remote FILE
&n ......
linuxĿ¼¼Ü¹¹
/ ¸ùĿ¼
/bin ³£ÓõÄÃüÁî binary file µÄÄ¿錄
/boot ´æ·ÅϵͳÆô¶¯Ê±±ØÐë¶ÁÈ¡µÄµµ°¸£¬°üÀ¨ºËÐÄ (kernel) ÔÚÄÚ
/boot/grub/menu.lst GRUBÉèÖÃ
/boot/vmlinuz ÄÚºË
/boot/initrd ºËÐĽâ壓縮ËùÐè RAM Disk
/dev ϵͳÖܱßÉ豸
/etc ......