ǶÈëʽLinux¿ª·¢ÐèÒªµÄ²Î¿¼×ÊÁÏ
Òýµ¼£º
ÈçÐè»ñµÃ¶Ô vmlinux ºÍ zimage Ö®¼äÇø±ðµÄ¼«ºÃ½âÊÍ£¬ÇëÔÚ Alessandro Rubini ±àдµÄ“Kernel Configuration: dealing with the unexpected£¨Linux Magazine£©µÄÒ»ÎÄÖÐÕÒµ½“Booting your kernel”Ò»½Ú¡£
ÓйØÄںˡ¢Ó³ÏñºÍÒýµ¼¹ý³ÌµÄ¸ü¶àÐÅÏ¢£¬ÇëÔĶÁÖÐÑëÀ¥Ê¿À¼´óѧ£¨Central Queensland University£©µÄϵͳ¹ÜÀíÎı¾µÄµÚ 13 Õ¡£
Òª½øÒ»²½Á˽âÒýµ¼¹ý³ÌµÄ¹¤×÷ÔÀí£¬Çë²ÎÔÄ ROLO: A Developer's Guide£¬ËüÌÖÂÛÁËÔÚ²»ÀûÓà BIOS µÄÇé¿öÏÂÒýµ¼ Linux£¨Embedded Linux Works£¬2001 Äê 6 Ô£©¡£
СÐÍ·Ö·¢°æ£º
The Embedded Linux Distributions Quick Reference Guide º¸ÇÁËÐí¶àÉÌÒµµÄºÍ¿ª·ÅÔ´ÂëµÄ·Ö·¢°æ£¨Linux Devices£¬2001 Äê 8 Ô£©¡£
Çë²é¿´ÁíÒ»¸öÏ꾡µÄ·Ö·¢°æºÍÓÐÓõŤ¾ßµÄÇåµ¥£¨Linux-embedded.com£©¡£
¹¤¾ßÁ´£º
Wiki ¹¤¾ßÁ´Ò³Ãæ°üº¬µ½±¾ÎÄÌáµ½µÄËùÓÐÈý¸ö¹¤¾ßÁ´µÄÁ´½Ó£¬»¹ÓжÔËüÃǵÄÆÀÂÛ¡£
É豸Çý¶¯³ÌÐò£º
Memory Technology Device (MTD) Subsystem for Linux µÄÄ¿µÄÊǼò»¯ÄÚ´æÉ豸£¨ÌرðÊÇÉÁ´æÉ豸£©µÄÇý¶¯³ÌÐòµÄ´´½¨¡£
Vipin Malik ±àдµÄ The Linux MTD, JFFS HOWTO ½«°ïÖúÄúʹ MTD ºÍ JFFS2 Ò»Æð¹¤×÷¡£
Linux for PowerPC Embedded Systems HOWTO ÓÐÒ»¸öºÜºÃµÄÉ豸Çý¶¯³ÌÐòÇåµ¥¡£
Àí½â Linux device drivers ÓÐÖúÓÚÀí½â±¾Æª½éÉÜÐÔÎÄÕ£¨Penguin Magazine£©¡£
Òª¾«Í¨ Linux É豸Çý¶¯³ÌÐò£¬ÇëÔĶÁ O'Reilly µÄ Linux Device Drivers£¬µÚ 2 °æÒ»Êé¡£
ÓÐÓõŤ¾ß£º
Çë²é¿´ LART É쵀 Jflash-linux¡£
Binutils¡¢GCC ºÍ Glibc ¶¼¿É´Ó Free Software Foundation ÏÂÔØ»ñµÃ¡£
Ðí¶àÓÐÓõÄÏÂÔض¼¿É´Ó Netwinder.org »ñµÃ£¬ÕâÊÇÒ»¸öÖÂÁ¦ÓÚ NetWinder ƽ̨ÉÏ¿ª·¢¹¤×÷µÄÖ¾Ô¸ÕßÕ¾µã¡£
ÇëÔÚ Mark Nielsen дµÃ·Ç³£°ôµÄ How to use a Ramdisk for Linux Ò»ÎÄÖÐÔĶÁÓÐ¹Ø Ramdisk µÄËùÓÐÐÅÏ¢¡£
FLNX ÊÇÒÔ FLTK£¨¿ìËÙÇáÇɵŤ¾ßÏ䣩Ϊ»ù´¡µÄ¡£
Îļþϵͳ£º
µÚ¶þ°æÀ©Õ¹Îļþϵͳ Ext2fs µÄÖ÷Ò³ÔÚ SourceForge¡£
Red Hat Ó¢¹ú¹«Ë¾µÄ David Woodhouse ¸ÅÊöÁË´óÁ¿ÓÐ¹Ø JFFS2£ºÈÕÖ¾ÉÁ´æÎļþϵͳ£¬µÚ 2 °æµÄ±³¾°ÖªÊ¶¡£
Vipin Malik µÄ JFFS - A practical guide Ò»ÎÄÒ²ÏêϸÌÖÂÛÁË JFFS£¬°üÀ¨À¬»øÊÕ¼¯µÄÎÊÌ⣨Embedded Linux Works£¬2001 Äê 5 Ô£©¡£
Äú¿ÉÒÔÔÚ Linux HeadQuarters ÔĶÁ¸ü¶àÓÐ¹Ø tmpfs µÄÐÅÏ¢¡£
Cliff Brake ºÍ Jeff Sutherland ±àдµÄ Flash Filesyst
Ïà¹ØÎĵµ£º
¹¦ÄÜÃèÊö£º
»ñȡһЩÎļþÏà¹ØµÄÐÅÏ¢¡£
Ó÷¨£º
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
int stat(const char *path, struct stat *buf);
int fstat(int filedes, struct stat *buf);
int lstat(const char *path, struct stat *buf);
²ÎÊý£º
path£ºÎļþ ......
Oops¿ÉÒÔ¿´³ÉÊÇÄں˼¶µÄSegmentation Fault¡£Ó¦ÓóÌÐòÈç¹û½øÐÐÁË·Ç·¨ÄÚ´æ·ÃÎÊ»òÖ´ÐÐÁË·Ç·¨Ö¸Á»áµÃµ½SegfaultÐźţ¬Ò»°ãµÄÐÐΪÊÇcoredump£¬Ó¦ÓóÌÐòÒ²¿ÉÒÔ×Ô¼º½Ø»ñSegfaultÐźţ¬×ÔÐд¦Àí¡£Èç¹ûÄÚºË×Ô¼º·¸ÁËÕâÑùµÄ´íÎó£¬Ôò»á´ò³öOopsÐÅÏ¢¡£´¦ÀíÆ÷ʹÓõÄËùÓеØÖ·¼¸ºõ¶¼ÊÇͨ¹ýÒ»¸ö¸´ÔÓµÄÒ³± ......
²ËÄñ¾ÍÊDzËÄñ£¬Ê²Ã´ÎÊÌⶼÄÜÓöµ½°¡¡£¡£¸ÕÏëѧϰÏÂlinux ¾ÍÓöµ½ÕâÖְ׳ÕÎÊÌ⣬°Ù¶ÈÏ »¹ÊÇÓнáÂÛµÄÂ𡣺ǺÇ
ÒÔÏÂΪ²ÎÕյĽâ¾ö·½°¸£º
¿ÉÒÔÒÔµ¥Ò»Ê¹ÓÃÕßµÄģʽµÇÈ룬ȻºóÔÙ½¨Á¢Ò»¸öеÄrootÃÜÂë¡£
Òª½øÈ뵥һʹÓÃÕßģʽ£¬ÇëÏÈÖØÐÂÆð¶¯ÄúµÄµçÄÔ£¬¼ÙÈçÄúʹÓÃÔ¤µ÷µÄ¿ª¹Ø¹ÜÀí³ÌʽGRUB£¬Äú¿ÉÒÔÖ´ÐÐÏÂÁеĶ¯×÷À´½øÈ뵥һʹÓÃÕßÄ£Ê ......
¸øËùÓÐÓû§Ìí¼Ó¿ÉÖ´ÐеÄȨÏÞ
#chmod +x jdk-1_5_0_02-linux-i586.rpm.bin
#./jdk-1_5_0_02-linux-i586.rpm.bin
´Ëʱ»áÉú³ÉÎļþjdk-1_5_0_02-linux-i586.rpm£¬
ͬÑù¸øËùÓÐÓû§Ìí¼Ó¿ÉÖ´ÐеÄȨÏÞ
#chmod +x jdk-1_5_0_02-linux-i586.rpm
-------------ÍøÉϲ鵽£¬Òª½øÐÐÏÂÃæÒ»²½£¬ÎÒÔÙ./jdkʱºò¾ÍÒѾ³öÏÖÐÒéÁË£¬Ò²¾ÍÊÇÒ ......