OMAPL137ÖÕÓÚÅÜÁËLinux²¿·Ö
½ñÌìÖÕÓÚ°ÑOmapL137µÄ°å×ÓÅÜÆðÁËLinuxºÍÆä´øµÄdemo¡£ºÏÖÚ´ï¶ÔÕâ¸ö°å×Ó¶«Î÷×öµÄºÜÉÙ£¬°Ñomapl137µÄÌص㶼ûÓÐչʾ³öÀ´¡£¿É¾Í¿àÁËÎÒÃÇÕâЩÏëÒªÓÃÕâ¸öƬ×ÓµÄÈËÁË¡£¹úÄÚÍæÕâ¸öµÄÈË»¹²»¶à£¬ËùÓÐ×ÊÁϾÍÓ²×ÅͷƤÂýÂýÄ¥°É¡£
Ç°¶Îʱ¼äubootÊÇÓÉdspÄDZßÓÃnandwrite¹¤³Ìд½øÀ´µÄ£¬ÆäУÑ鷽ʽºÍubootµÄeccУÑéËƺõÓгåÍ»£¬ubootÀϱ¨´í£¬×îºóÈ¥µôeccºó²ÅÄÜдÈëenv¡£uImageµÄÉÕдÔÚubootûÓÐÈ¥µôeccУÑé֮ǰ£¬ËäÈ»Äܹ»Ð´½øÈ¥£¬µ«ÊÇÏàÓ¦²ÎÊýÎÞ·¨±£´æ£¬uboot²»ÖªµÀÈ¥ÄÄÀïÕÒuImage£¬×îºóÈ¥µôeccУÑéºó¾ÍOk ÁË¡£ºÏÖÚ´ïÌṩµÄuImageËƺõûÓмÓÈëÈȰβåµÄÖ§³Ö£¬ËùÒÔ°ÑÎļþϵͳÉÕÈëNandFlashºó£¬Æô¶¯¸úÎļþϵͳʱ»áÓÐÒÔϱ¨´í£º/etc/init.d/rcS: line 26: can't create /proc/sys/kernel/hotplug: Permission denied¡£´ò¿ª/etc/init.d/rcS¿ÉÒÔ¿´µ½ÔÚ26ÐУº echo /sbin/mdev > /proc/sys/kernel/hotplug¡£ÕâÊǸöÖ§³ÖÈȰβåµÄÃüÁîºÃÏñÊÇÄں˲»Ö§³ÖÈȰβåÒýÆðµÄ°É£¬µ«ÊÇÔÚ¼ÓÔØnfsʱȴûÓÐÕâÑùµÄ±¨´í£¬²»Çå³þÊÇΪʲô¡£ÓдýÑо¿¡£
ÔÚqtembeddedÀý×ÓÖУ¬Ã»Óм¤»î´¥ÃþÆÁ£¬ÐèÒª½øÒ»²½È·ÈÏÊÇ·ñÓд¥ÃþÆÁµÄÇý¶¯¡£
Ïà¹ØÎĵµ£º
Linux Execution and Virtual Memory Utilization
LinuxÖ´ÐÐÒÔ¼°ÐéÄâÄÚ´æÖ®ÓÃ
When Linux boots, it starts with the MMU disabled, so initially it deals only with physical
memory. The kernel image is copied to physical address 0x8000 in DRAM and executed. First a master page table is created ......
LinuxÉ豸Çý¶¯Ñ§Ï°£Davinci¿ª·¢°åÉÏÔËÐеÄhelloÄ£¿é
¿´Á˺ܶà¸öhello worldÁË£¬×Ô¼ºÀ´Ð´Ò»¸öÔÚdavinci°å¿éÉÏÅܵİɡ£
Ö÷ÌåºÜ¼òµ¥£¬¾ÍÊÇÒ»¸öCÎļþhello_davinci.c¡£
/*================hello_davinci.c==============*/
#include <linux/module.h> /*ËùÓÐÄ£¿é¶¼ÐèÒªµÄÍ·Îļþ*/
#include <lin ......
1¡¢ÒýÑÔ
ÔÚlinuxϵͳÏ£¬Èç¹ûÄãÏÂÔز¢°²×°ÁËÓ¦ÓóÌÐò£¬ºÜÓпÉÄÜÔÚ¼üÈëËüµÄÃû³Æʱ³öÏÖ“command not found”µÄÌáʾÄÚÈÝ¡£Èç¹ûÿ´Î¶¼µ½°²×°Ä¿±êÎļþ¼ÐÄÚ£¬ÕÒµ½¿ÉÖ´ÐÐÎļþÀ´½øÐвÙ×÷¾ÍÌ«·±ËöÁË¡£ÕâÉæ¼°µ½»·¾³±äÁ¿PATHµÄÉèÖÃÎÊÌ⣬¶øPATHµÄÉèÖÃÒ²ÊÇÔÚlinux϶¨ÖÆ»·¾³±äÁ¿µÄÒ»¸ö×é³É²¿·Ö¡£±¾ÎÄ»ùÓ ......
ÔÚ¿´LKD(µÚ¶þ°æ)µÚÁùÕÂ(ÖжϺÍÖжϴ¦Àí³ÌÐò)µÄʱºò£¬¸Õ¿ªÊ¼½Ó´¥µ½ÖжÏÏߺź͹²ÏíÖжÏÏßµÄʱºò°ëÌìã¶ÊÇûÓÐÏëÃ÷°×£¬ÔÀ´Àí½âµÄÖжϺÍÖжϺÍÖжϴ¦Àí³ÌÐò¾ÍÊÇͨ¹ýÖжÏÏߺÅÀ´½øÐйØÁª£¬Ó²¼þ·¢ÉúÖжϣ¬È»ºóͨ¹ýÖжÏÏߺŲéÕÒ¶ÔÓ¦µÄÖжϴ¦Àí³ÌÐò£¬×îºóÖжϴ¦Àí³ÌÐò·µ»Ø£¬´Ë´ÎÖжÏÔò´¦ÀíÍê±Ï£¬Ã»Ïë ......