Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ARM Linux Boot Sequence

contact me go -> xuqiang.docs@hotmail.com
ARM Linux Boot Sequence
The following traces the Linux boot sequence for ARM-based systems in the 2.6.18 kernel. It looks at just the earliest stages of the boot process, until the generic non-processor-specific start_kernel function is called. The line numbers of each statement are in parenthese at the end of the line; the kernel source itself can be conveniently browsed on theLinux Cross-Reference website.
zImage decompression
arch/arm/boot/compressed/head.S: start (108)
First code executed, jumped to by the bootloader, at label "start" (108)
save contents of registers r1 and r2 in r7 and r8 to save off architecture ID and atags pointer passed in by bootloader (118)
execute arch-specific code (inserted at 146)
arch/arm/boot/compressed/head-xscale.S or other arch-specific code file
added to build in arch/arm/boot/compressed/Makefile
linked into head.S by linker section declaration:  .section “start”
flush cache, turn off cache and MMU
load registers with stored parameters (152)
sp = stack pointer for decompression code (152)
r4 = zreladdr = kernel entry point physical address
check if running at link address, and fix up global offset table if not (196)
zero decompression bss (205)
call cache_on to turn on cache (218)
defined at arch/arm/boot/compressed/head.S (320)
call call_cache_fn to turn on cache as appropriate for processor variant
defined at arch/arm/boot/compressed/head.S (505)
walk through proc_types list (530) until find corresponding processor
call cache-on function in list item corresponding to processor (511)
for ARMv5tej core, cache_on function is __armv4_mmu_cache_on (417)
call setup_mmu to set up initial page tables since MMU must be on for cache to be on (419)
turn on cache and MMU (426)
check to make sure won't overwrite image during decompression; assume not for this trace (232)
call decompress_kernel to decompress kernel to RAM (277)
branch to call_kern


Ïà¹ØÎĵµ£º

³É¹¦ÊµÏÖLinuxÏÂpppdͨ¹ýGPRS²¦ºÅÉÏÍø

³É¹¦ÊµÏÖLinuxÏÂpppdͨ¹ýGPRS²¦ºÅÉÏÍø


×ò
Ìì°Ñ¿ª·¢°åµÄbootloaderɾÁË,û°ì·¨,Ö»µÃÔÚPCÉϵ÷GPRS²¦ºÅÁË.ÏÈÔÚwindowsϲ¦ºÅ³É¹¦,È»ºóÓù¤¾ß¿´²¦ºÅʱ¾ßÌåʹÓÃÁËÄÄЩATÃü
Áî,ÔÙʹÓÃÕâЩÃüÁîµ½linuxÏÂʹÓÃpppdÀ´²¦ºÅ,×îºóÖÕÓڳɹ¦ÁË,֮ǰ¿ª·¢°åÉϲ»Äܳɹ¦²¦ºÅ¼«ÓпɾÍÊÇATÖ¸ÁîÓÐÎ ......

Linuxѧϰ£¨¶þ).1(ת)

1. Íù/libºÍ/usr/libÀïÃæ¼Ó¶«Î÷£¬ÊDz»ÓÃÐÞ¸Ä/etc/ld.so.confµÄ£¬µ«ÊÇÍêÁËÖ®ºóÒªµ÷Ò»ÏÂldconfig£¬²»È»Õâ¸ölibrary»áÕÒ²»µ½
2. ÏëÍùÉÏÃæÁ½¸öĿ¼ÒÔÍâ¼Ó¶«Î÷µÄʱºò£¬Ò»¶¨ÒªÐÞ¸Ä/etc/ld.so.conf£¬È»ºóÔÙµ÷ÓÃldconfig£¬²»È»Ò²»áÕÒ²»µ½
±ÈÈç°²×°ÁËÒ»¸ömysqlµ½/usr/local/mysql£¬mysqlÓÐÒ»´ó¶ÑlibraryÔÚ/usr/local/mysql/libÏÂÃæ ......

LinuxijЩÈí¼þÎÞ·¨Ð¶ÔØÎÊÌâ

Ç°¼¸Ìì¸üÐÂubuntuµÄʱºò£¬Í»È»Ê§°Ü£¬×Ðϸһ¿´£¬ÊÇжÔØÀÏ°æ±¾µÄgzipʱºò³öÁËÎÊÌâ¡£´íÎóÐÅÏ¢£º
install-info: No dir file specified; try --help for more information.
ÊÔÁ˶à¸ö³£ÓõÄÊÖ¶¯Ð¶ÔØ·½·¨¶¼Ã»·¨¸ã¶¨£¬ÓÚÊÇÇóÖúgoogle£¬ºÜ¿ìÕÒµ½´ð°¸¡£ÊÇGNU°æµÄinstall-info´úÌæÁËdebian°æµÄinstall-infoÔì³ÉµÄÎÊÌ⣬¸²¸Ç»ØÀ´¾ÍOK ......

ÈçºÎ±àÒëLinuxµÄÄÚºË

ÈçºÎ±àÒëLinuxµÄÄÚºË. Äںˣ¬ÊÇÒ»¸ö²Ù×÷ϵͳµÄºËÐÄ¡£Ëü¸ºÔð¹ÜÀíϵͳµÄ½ø³Ì¡¢ÄÚ´æ¡¢ É豸Çý¶¯³ÌÐò¡¢ÎļþºÍÍøÂçϵͳ£¬¾ö¶¨×ÅϵͳµÄÐÔÄܺÍÎȶ¨ÐÔ¡£Linux×÷Ϊһ¸ö×ÔÓÉÈí¼þ£¬ ÔÚ¹ã´ó°®ºÃÕßµÄÖ§³ÖÏ£¬Äں˰汾²»¶Ï¸üС£ÐµÄÄÚºËÐÞ¶©Á˾ÉÄں˵Äbug£¬²¢Ôö¼ÓÁËÐí
http://www.phpv.net/article.php/40
ÈçºÎ±àÒëLinuxÄÚºË- Linuxer ......

Gentoo Linux ALSAÖ¸ÄÏ

Gentoo Linux ALSAÖ¸ÄÏ
1. 

¼ò½é
ʲôÊÇALSA?
ALSAÊÇAdvanced Linux Sound Architecture£¬¸ß¼¶LinuxÉùÒô¼Ü¹¹
µÄ¼ò³Æ,ËüÔÚLinux²Ù×÷ϵͳÉÏÌṩÁËÒôƵºÍMIDI£¨Musical Instrument Digital Interface
£¬ÒôÀÖÉ豸Êý×Ö»¯½Ó¿Ú£©µÄÖ§³Ö¡£ÔÚ2.6ϵÁÐÄÚºËÖУ¬ALSAÒѾ­³ÉΪĬÈϵÄÉùÒô×Óϵͳ£¬ÓÃÀ´Ìæ»»2.4ϵÁÐ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ