linuxÇý¶¯Ö® linux2.6.14.1 ÒÆÖ²½øÈ¥8900Íø¿¨Çý¶¯
ΪÁ˴nfsϵͳ,...ËùÒÔ ±ØÐëÔÚÄÚºËÒÆÖ²ºÃÍø¿¨Çý¶¯. ÎÒ¿¿.ÕÕÏÂÃæ×ö,Ò»´ÎÄܳɹ¦.
ÎÒµÄÖ÷°åÊÇÓÑÉÆÖ®±Û 2410. »·¾³ÊÇ vmware+ubuntu
LINUX2.6.14ÏÂCS8900µÄÒÆÖ²£¨Fs2410£©
1.
(ÎļþÔÚÎÒµÄÏÂÔØ°æÓÐ)
¿½±´Îļþcs8900.c cs8900.hµ½ linux2.6.14.1/drivers/net
½øÈëĿ¼cs8900
cp cs8900.c ../linux-2.6.14.1/drivers/net/
cp cs8900.h ../linux-2.6.14.1/drivers/net/
2. ÐÞ¸ÄKconfig
vi ../linux-2.6.14.1/drivers/net/Kconfig
ÕÒµ½
config NET_ETHERNET
bool "Ethernet (10 or 100Mbit)"
¼ÓÈëÒÔÏÂÄÚÈÝ
config ARM_CS8900
tristate "CS8900 support"
depends on NET_ETHERNET && ARM && ARCH_SMDK2410
help
3. ÐÞ¸ÄMakefileÎļþ
vi ../linux-2.6.14.1/drivers/net/Makefile
ÕÒµ½ obj-$(CONFIG_CS89x0) += cs89x0.o
¼ÓÈëÒÔÏÂÄÚÈÝ
obj-$(CONFIG_ARM_CS8900) +=cs8900.o
4.¼ÓÈëcs8900ÔÚÄÚ´æÖеÄλÖÃ
ÔÚ linux-2.6.14.1/include/asm-arm/arch-s3c2410 Öд´½¨regs-cs8900.h ,ÆäÄÚÈÝÈçÏÂ
#ifndef _INCLUDE_REGS_CS8900_H
#define _INCLUDE_REGS_CS8900_H
££i nclude <linux/config.h>
#define pSMDK2410_ETH_IO 0x19000000
#define vSMDK2410_ETH_IO 0xE0000000 #define SMDK2410_ETH_IRQ IRQ_EINT9 #endif // _INCLUDE_REGS_CS8900_H pSMDK2410_ETH_IO µÄ¾ßÌåµØÖ·Òª²Î¿¼ÄãµÄʵÑé°å£¬ÎÒµÄÊÔÑé°åÊÇÓÉnGCS3ºÍA24¿Ú×éºÏ¿ØÖÆоƬµÄIO¶Áд»òÄÚ´æ¶Áд£¬ÔÚÎҵĿª·¢°åÉÏÊÇIO¶Áд¡£ÐéÄâµØÖ·²Î¿¼ÁËϵͳ°å×Ô ´øÄÚºËÖÐÉ趨µÄµØÖ·£¬Ã»ÓиĶ¯¡£¿´ÍøÉÏÓÐÈË˵ÐéÄâµØÖ·¿ÉÒÔËæ±ãÉèÖ»Òª²»³åÍ»¾ÍÐУ¬¾ßÌåÊÇ·ñ¿ÉÐУ¬Ã»ÓÐÊÔ¹ý£¬Èç¹ûÓÐÈËÊÔ¹ý£¬¸æÊöÎÒÒ»Éù£¬´ó¼ÒÒ»¿éѧϰ¡£ºÇ ºÇ...ÖжÏÔ´Ò²Òª¿´ÄãµÄÊÔÑé°åÁ¬ÁËÄĸúÖжϿڡ£5 ¼ÓÈëcs8900ÐéÄâµØÖ·µ½ÎïÀíµØÖ·µÄת»»
vi linux-2.6.14.1/arch/arm/mach-s3c2410/mach-smdk2410.c
¼ÓÈëÍ·Îļþ
££i nclude <asm/arch/regs-cs8900.h>
¼ÓÈëµØַת»»ÐÅÏ¢, ÕÒµ½smdk2410_iodesc[]½á¹¹Êý×é,¼ÓÈë
{vSMDK2410_ETH_IO, 0x19000000, SZ_1M, MT_DEVICE},µ½ÕâÀcs8900µÄÒÆÖ²¾ÍÍ깤ÁË¡£ÐÞ¸ÄÄÚºËÑ¡ÖÐcs8900£¬make¾Í¿ÉÒÔÁË¡£
×¢ÒâÔÚmake zImageºó
Èç¹û³öÏÖÔÚcs8900.cÖÐÕÒ²»µ½*/*/smdk2410.h
½«ÆäÌæ»»³É#include <config/arch/smdk2410.h>
»á³ö½øÌáʾvSMDK2410_ETH_IO ûÓж¨Òå.ÔÚcs8900.cÖмÓÈëÒÔÏ´úÂë.
Ïà¹ØÎĵµ£º
configureÒ»°ãÊÇtar.gz°üÀïÃæµÄÒ»¸ö¿ÉÖ´ÐÐÎļþ£¬./configureÊÇÖ´ÐÐËü£¬Æä×÷ÓþÍÊǸù¾ÝϵͳÇé¿ö×Ô¶¯Éú³É±àÒëʱËùÐèµÄMakefileÎļþ¡£Linux»·¾³ÏµÄÈí¼þ°²×°£¬²¢²»ÊÇÒ»¼þÈÝÒ×µÄÊÂÇ飻Èç¹ûͨ¹ýÔ´´úÂë±àÒëºóÔÚ°²×°£¬µ±È»ÊÂÇé¾Í¸üΪ¸´ÔÓһЩ£»ÏÖÔÚ°²×°¸÷ÖÖÈí¼þµÄ½Ì³Ì¶¼·Ç³£Æձ飻µ«Íò±ä²» ÀëÆäÖУ¬¶Ô»ù´ ......
ÖÕÓڷżÙÁË£¬ÕýÏëÔÚÕâ¸ö¼ÙÆÚÀïѧѧPHP£¬ÓÉÓÚ×Ô¼ºÓõÄÊÇ×ÀÃæ°æµÄUbuntu8.04,ÓÚÊǾÍÏë¼ÜÉèÒ»¸öLAMP»·¾³À´Ñ§PHP£¬Ò²³Ã´Ë»ú»áѧһÏÂPHP·þÎñÆ÷µÄ¼ÜÉè¡£
Ò»¡¢°²×°Ubuntu8.04
ËäȻ˵ÊÇÅäÖÃLAMP»·¾³£¬µ«ÔÚÎÄÕÂÀï²¢²»»á½²ÊöÈçºÎ°²×°Ubuntu8.04,ÒòΪ¹ØÓÚÈçºÎUbuntu8.04ÔÚÍøÉÏÒѾÓкܶàµÄ½Ì³ÌÁË£¬¾ÍËãÊÇÓ²ÅÌ°²×°Ò²ÊÇÒ»¼þºÜ¼òµ¥µÄÊÂÁ ......
ÎÒÃÇʹÓõÄLinuxºÍWindows¿É²»Ì«Ò»Ñù£¬ÓÃtopÃüÁîµÃ³öÀ´µÄ¿ÉÄܲ»ÊÇÕæʵʹÓõÄÄڴ棬ÓÃfreeÃüÁîµÚ¶þÐвÅÊÇϵͳÕæʵʹÓõÄÄÚ´æ¡£Èç¹û·¢ÏÖPHP-CGI°ÑÄãµÄÄÚ´æÕ¼ÂúÁ˿ɲ»Òª¾ª»ÅŶ¡£
Page cacheºÍbuffer cacheÒ»Ö±ÒÔÀ´ÊÇÁ½¸ö±È½ÏÈÝÒ×»ìÏýµÄ¸ÅÄÔÚÍøÉÏÒ²ÓкܶàÈËÔÚÕù±çºÍ²ÂÏëÕâÁ½¸öcacheµ½µ×ÓÐʲôÇø±ð£¬ÌÖÂÛµ½×îºóҲһֱûÓÐÒ»¸ ......
LinuxϽâѹÃüÁî´óÈ«
LinuxϽâѹÃüÁî´óÈ«
.tar
½âѹ:tar xvf filename.tar
´ò°ü:tar cvf filename.tar dirname
.gz
½âѹ:gzip -d filename.gz / gunzip filename.gz
ѹËõ:gzip filename
.tar.gz/.tgz
½âѹ:tar zxvf  ......
Ì«·½±ãÁË£¬Ì«·½±ãÁË¡£¡£
¿´man»á¿´ÔΣ¬Ö±½Ó¿´ÊµÀý£º
ʾ Àý:
1)½¨Á¢Ó³ÏñÎļþ (°ÑĿ¼aϵÄÄÚÈÝ×ö³ÉisoÎļþ)
$mkisofs -r -o a.iso a/
2)½¨Á¢Ó³ÏñÎļþ (°ÑĿ¼aϵÄÄÚÈÝ×ö³ÉisoÎļþ£¬²¢Ö¸¶¨²»°ÑÎļþb.txt·Åµ½isoÖÐ)
$mkisofs -m b.txt -r -o a.iso a/
3)½¨Á¢Ó³ÏñÎļ ......