linuxÆô¶¯logoÐÞ¸Ä bootlogo
¸ÄÄ¿±ê£ºÓÃ×Ô¶¨ÒåµÄppmͼƬÌæ´ú/drivers/video/logo/logo_linux_clut224.ppm
ͬʱɾ³ýlogo_linux_clut224.c logo_linux_clut224.oÎļþÕâÑù²ÅÄÜʹ±àÒëµÄʹÓÃlogo_linux_clut224.ppmÖØбàÒë
ppmͼƬµÄÉú³É£º
# pngtopnm logo_linux_clut224.png > logo_linux_clut224.pnm
# pnmquant 224 logo_linux_clut224.pnm > logo_linux_clut224.pnm
# pnmtoplainpnm logo_linux_clut224.pnm > logo_linux_clut224.ppm
È»ºóÖØбàÒëÄںˣ¬Æô¶¯¾Í¿ÉÒÔÁË£¡
¸ü¸ÄµÄ×î¼òµ¥µÄ·½·¨¾ÍÊÇÉÏÃæµÄÁË¡£ÏÂÃæ½éÉÜÏÂÏàÓ¦µÄ֪ʶ£¨ÒÔÏÂÀ´×ÔÍøÂ磩£º
ÁíÍ⣬ÏàÓ¦µÄ֪ʶÐèÒªÁ˽âһϣ¬2410¿ª·¢°å-Æô¶¯Í¼±êÖÆ×ö
1.·½°¸·ÖÎö
ARM-LinuxÆô¶¯Ê±»áÏÈÔÚLCD×óÉϽÇÏÔʾһ¸öARMLINUXµÄСÆó¶ìͼ°¸,Ò²¾ÍÊÇÎÒÃÇËù˵µÄbootlogo¡£
Ê×ÏÈ·ÖÎöÒ»ÏÂLogoµÄÏÔʾ´úÂ룺
²»ÄÑ·¢ÏÖLogoÏÔʾÊÇÔÚ¼ÓÔØÏÔʾÇý¶¯fbºóÓÉkernel/drivers/video/fbcon.cÖеÄfbcon_show_logoº¯ÊýÀ´Íê³ÉµÄ¡£
fbcon_show_logoº¯ÊýÖÐÓкܶà¼æÈÝÐÔ´úÂ룬²»ÊǶ¼»áÓõ½µÄ£¡ÎÒÃÇÓõÄÊÇSHARP(ÏÄÆÕ)µÄTFTÕæ²ÊÆÁ.
ÔÙ×Ðϸ¿´Ò»Ï£¬ÕâÀïÓõ½µÄÏÔʾÊý¾Ý¾ùÀ´×Ôkernel/include/linux/linux_logo.h¡£ÕâÀïͬÑùÒ²ÓÐһЩ¼æÈÝÐÔµÄÊý¾Ý£¬ÆäÖжÔÎÒÃÇÓÐÓõÄÊÇ£º
linux_logo_red[] —— µ÷É«°åÖеĺìÉ«·ÖÁ¿
linux_logo_green[] —— µ÷É«°åÖеÄÂÌÉ«·ÖÁ¿
linux_logo_blue[] —— µ÷É«°åÖеÄÀ¶É«·ÖÁ¿
linux_logo[] —— Logoͼ°¸µÄµãÕó
ÒÔÉÏÊý¾Ý¶¼ÊDz»ÐèÒªÄãÐ޸ĵġ¡ÔÚfbcon_show_logoÀïÖ»×öÁË256É«µÄÏÔʾ£¬ËùÒÔÒªÏÈÉèÖÃÒ»¸öRGBµ÷É«°å¡£ÕâÀïµÄµ÷É«°åÊÇ´Ó0x20É«¿ªÊ¼±àµÄ£¬ËùÒÔʵ¼ÊºÃÏóÖ»ÓÐ×î¶à224É«µÄÏÔʾ¡£linux_logo.hÀïĬÈÏÊÇ×öÁËÒ»¸ö214¼¶µÄ»Ò¶Èµ÷É«°å£¬Èç¹ûÏëÒª¸ü¶àÉ«²ÊµÄ»°¿ÉÒÔ×ÔÒÑÐ޸ģ¨×¢Òâµ÷É«°åµÄÑÕÉ«²»Äܳ¬¹ý224ÖÖ£©
ÔÙ¿´linux_logo[]£¬ÕâÊÇLogoͼ°¸µÄµãÕó¡£ÒòΪÊÇ256É«µÄͼ£¬ËùÒÔÿµãΪһ¸öByte¡£Logoͼ°¸ÊÇ80*80´óС£¬ËùÒÔÕâÀï×ܹ²ÓÐ6400 Byte¡£Ò»¹²ÊÇ800ÐУ¬Ã¿ÐÐ8 Byte¼´8 Point£¬Ã¿10ÐÐÊý¾Ý¶ÔÓ¦Logoͼ°¸ÖÐÒ»ÐС£¿ÉÒÔÏÈ×Ô¼ºÊÔÊÔ·ÅһЩ¼òµ¥Í¼ÐνøÈ¥ÏÔʾ¿´¿´¡££¨Í¬Ñù×¢ÒâÑÕÉ«Òª´Ó0x20¿ªÊ¼£¬0-0x1fµÄ32ÖÖÑÕÉ«ÊDz»È·¶¨µÄ£©¡£
¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
ÒÔÉÏ·ÖÎö
Ïà¹ØÎĵµ£º
1¡¢ÏÂÔØphpMyAdminÖÁweb·þÎñÆ÷Ŀ¼²¢ÖØÃüÃûΪ£ºphpmyadmin¡£¼ÙÉè·þÎñÆ÷Ŀ¼Ϊwww£¬Ôò´æ·ÅλÖÃΪwww/phpmyadmin£¬·ÃÎÊ·¾¶Îªhttp://localhost/phpmyadmin
2¡¢¸´ÖÆ"/phpmyadmin/libraries/"Ŀ¼ÏµÄ"config.default.php"ÎļþÖÁ"/phpmyadmin/"Ŀ¼Ï£¬²¢ÖØÃüÃûΪ"config.inc.php"
3 ......
1. Ç°ÑÔ
ÒÔÌ«Í·ÖгýÁË6×Ö½ÚÄ¿µÄMACµØÖ·¡¢6×Ö½ÚÔ´MACµØÖ·Í⣬»¹ÓÐÁ½×Ö½ÚµÄÒÔÌ«Ö¡ÀàÐÍÖµ£¬ÈçIPv4Ϊ0x0800£¬ARPΪ0x0806µÈ£¬Íø¿¨Çý¶¯ÊÕµ½ÒÔÌ«Ö¡ºóͨ¹ý½Ó¿Úº¯Êýnetif_receive_skb()(netif_rxʵ¼Ê×îºóÒ²Êǵ÷ÓÃnetif_receive_skb)½»µ½Éϲ㣬¶øÕâ¸ö½Ó¿Úº¯Êý¾ÍÍê³É¶ÔÒÔÌ«Ö¡ÀàÐ͵ÄÇø·Ö£¬½»µ½²»Í¬µÄÐÒé´¦Àí³ÌÐò¡£Èç¹ûÏë×Ô¼º±àдijһ ......
ÔÎĵØÖ·£ºhttp://www.wangzhongyuan.com/archives/488.html
ÒÔÏÂÊÇÒ»¸öLinux/UnixÏÂÓÉÁ½¸ö¹ÜµÀÌṩ˫ÏòÊý¾ÝÁ÷µÄC³ÌÐò£¬ÕâÊDzÙ×÷ϵͳ¿Î³ÌÖо³£Ê¹ÓõĻù±¾³ÌÐò
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <stdio.h>
#include <string.h>
int m ......
linuxϵͳ϶Ը÷Îļþ½øÐдò°ü»ò½âѹ·½·¨
1.tar ÃüÁî
»ù±¾ÃüÁîÑùʽ£º
tar -²ÎÊý °ü Ô´Îļþ»òÎļþ¼Ð
³£ÓòÎÊý£º
-c ´´½¨Ðµİü
-f Ö¸¶¨°üµÄÎļþÃû
-r ½«Îļþ¼ÓÈëÒÑÓеİü
-u ¸üаüÖеÄÎļþ
-t Áгö°üÖÐËùÓÐÎļþ
-x ½â¿ª°üÖÐËùÓÐÎļþµ½µ±Ç°Ä¿Â¼
-v ÏÔʾִÐй ......