Ìí¼Ó¿ª»úlogo£¨amlogic open linux£© ѧϰ±Ê¼Ç
1¡¢ÐÞ¸ÄkernelÅäÖã¨linux os£©
ÔÚlinuxÏ£¬ÖÕ¶Ë---½øÈë±àÒëĿ¼£¬Ö´ÐÐmake k.menuconfig£¬
ÔÚµ¯³öµÄÅäÖô°¿ÚÀïÑ¡ÔñDevice Drivers-----Amlogic Devices Driver-----Amlogic Display Driver-----setup logoºÍlogo on osd0
2¡¢Í¼Æ¬×ª»»£¨windows os£©
a¡¢´ò¿ªBitmapDataGet.exe¹¤¾ß£¬Ñ¡Ôñ32λ¡£
b¡¢Ñ¡Ôñ¼ÓÔØ°´Å¥£¬Ñ¡ÔñÐèÒª¼ÓÔصÄlogoͼƬ£¨bmpͼ£©£¬Ö®ºó»áÔÚ¹¤¾ßÉÏÏÔʾת»»ºóµÄͼƬ£¬ÆäÖÐÉÏÃæÓÐͼƬ´óСµÄÐÅÏ¢¡£
c¡¢°ÑcÅ̸ùĿ¼Ï½«bitmap32.dataÎļþ¿½±´³öÀ´£¬·Åµ½linux osÖÐÈ¥¡£
3¡¢logo¸ü»»
ÔÚlinux osÖÐÕÒµ½
/amlogic_source/linux-top-pub/kernel_26/drivers/amlogic/display/logo_display/logo_bmp.h
Èç¹ûûÓоÍн¨£¬ÎļþµÄÄÚÈÝÈçÏ£º
Êý¾ÝµÄµÚһλºÍµÚ¶þλ·Ö±ðΪͼƬµÄ w,h£¬ºóÃæµÄÊý¾ÝÊÇbitmap32.dataÀïµÄÊý¾Ý¡£
4¡¢ÖØбàÒëÄں˼´¿É¡£
Ïà¹ØÎĵµ£º
<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
-->
ÎÒÃÇ˵¾ä´ó°×»°£¬Ëùν“ÓÎ˵Õß”£¨
lobbist
£¬
lobber
£©¾ÍÊǹŴúµÄ“說¿Í”£¬Ö»ÊÇÈËÃÇƽÈÕ²»ºÃÒâ˼Õâô˵¶øÒÑ¡£µ±½ñ£¬¸ÊÔ¸×öÒ»Ãû
Linux
ÓÎ˵ÕßÊǺܹâÈÙµÄÊÂÇé¡£´Ë»°µ±Õ棿 ......
6.7.1 LinuxʹÓõĻº´æ
²»¹ÜÔÚÓ²¼þÉè¼Æ»¹ÊÇÈí¼þÉè¼ÆÖУ¬¸ßËÙ»º´æÊÇ»ñµÃ¸ßÐÔÄܵij£ÓÃÊֶΡ£Linux ʹÓÃÁ˶àÖÖºÍÄÚ´æ¹ÜÀíÏà¹ØµÄ¸ßËÙ»º´æ¡£
1£® »º³åÇø¸ßËÙ»º´æ£º
»º³åÇø¸ßËÙ»º´æÖаüº¬ÁËÓÉ¿éÉ豸ʹÓõÄÊý¾Ý»º³åÇø¡£ÕâЩ»º³åÇøÖаüº¬ÁË´ÓÉ豸ÖжÁÈ¡µÄÊý¾Ý¿é»òдÈëÉ豸µÄÊý¾Ý¿é¡£»º³åÇø¸ßËÙ»º´æÓÉÉ豸±êʶºÅºÍ¿é±êºÅË÷Òý£¬Ò ......
#insmod ./driver_xx.ko
´Ëʱ#cat /proc/devices ÄÜ¿´µ½ driver_xx É豸
#mknod /dev/mygpio c 230 0 (230ÊÇÖ÷É豸ºÅ£¬0ÊÇ×ÓÉ豸ºÅ£©
{ÕâÀï¿ÉÒÔÐÞ¸ÄÉ豸Ãû³Æ,µ«ÊÇÒªºÍ²âÊÔ³ÌÐòÖÐÒ»Ö fd_pio = open(“/dev/mygpio”, O_RDWR);
×îºÃºÍregister_chrdev(MY_PIO_MAJOR, "mygpio", &my_pio_fops)ÖеÄÒ»ÖÂ}
ʹ ......
1. I/O Port
¡¡¡¡ºÍÓ²¼þ´ò½»µÀÀë²»¿ªI/O Port£¬ÀϵÄISAÉ豸¾³£ÊÇÕ¼ÓÃʵ¼ÊµÄI/O¶Ë¿Ú£¬ÔÚlinuxÏ£¬²Ù×÷ϵͳûÓжÔI/O¿ÚÆÁ±Î£¬Ò²¾ÍÊÇ˵£¬ÈκÎÇý¶¯³ÌÐò¶¼¿É¶ÔÈÎÒâµÄI/O¿Ú²Ù×÷£¬ÕâÑù¾ÍºÜÈÝÒ×ÒýÆð»ìÂÒ¡£Ã¿¸öÇý¶¯³ÌÐòÓ¦¸Ã×Ô¼º±ÜÃâÎóÓö˿ڡ£
¡¡¡¡ÓÐÁ½¸öÖØÒªµÄkernelº¯Êý¿É ......
Ó²Å̽ӿÚÊÇÓ²ÅÌÓëÖ÷»úϵͳ¼äµÄÁ¬½Ó²¿¼þ£¬×÷ÓÃÊÇÔÚÓ²ÅÌ»º´æºÍÖ÷»úÄÚ´æÖ®¼ä´«ÊäÊý¾Ý¡£²»Í¬µÄÓ²Å̽ӿھö¶¨×ÅÓ²ÅÌÓë¼ÆËã»úÖ®¼äµÄÁ¬½ÓËٶȣ¬ÔÚÕû¸öϵͳÖУ¬Ó²Å̽ӿڵÄÓÅÁÓÖ±½ÓÓ°Ïì×ųÌÐòÔËÐпìÂýºÍϵͳÐÔÄܺûµ¡£´ÓÕûÌåµÄ½Ç¶ÈÉÏ£¬Ó²Å̽ӿڷÖΪIDE¡¢SATA¡¢SCSIºÍ¹âÏËͨµÀËÄÖÖ£¬IDE½Ó¿ÚÓ²Å̶àÓÃÓÚ¼ÒÓòúÆ·ÖУ¬Ò²²¿·ÖÓ¦ÓÃÓÚ· ......