Linux Versions and Patches
Linux version
[1] 2.6.10
2.6 version number, 10 release number
[2] 2.6.10 and 2.6.11
They can differ significantly even in core components and in fundamental algorithms
[3] 2.6.11.12
when a new kernel release appears, it is potentially unstable and buggy. To address this problem, the kernel developers may release patched versions of any kernel, which are identified by a fourth number in the version numbering scheme
Which patch to apply which Release?
[1] Stable kernel patches apply to the base kernel version.
patch-2.6.17.10 --> linux-2.6.17 = linux-2.6.17.10
patch-2.6.17.10 -/-> linux-2.6.17.9
[2] base kernel release patches only apply to the previous base kernel version.
patch-2.6.18 --> linux-2.6.17 = linux-2.6.18
patch-2.6.18 -/-> linux-2.6.17.2
[3] incremental patches upgrade from a specific release to the next release
patch-2.6.17.10-11 --> linux-2.6.17.10 = linux-2.6.17.11
An example
How to go from the 2.6.17.9 kernel release, to the 2.6.17.11 release?
Finding the incremental patches http://www.kernel.org/pub/linux/kernel/v2.6/incr/
patch-2.6.17.9-10 --> linux-2.6.17.9 = linux-2.6.17.10
patch-2.6.17.10-11 --> linux-2.6.17.10 = linux-2.6.17.11
Ïà¹ØÎĵµ£º
×ªÔØÊ±Çë×¢Ã÷³ö´¦ºÍ×÷ÕßÁªÏµ·½Ê½
ÎÄÕ³ö´¦£ºhttp://www.limodev.cn/blog
×÷ÕßÁªÏµ·½Ê½£ºÀîÏȾ² <xianjimli at hotmail dot com>
Ëæ×ÅXPµÄÁ÷ÐУ¬ÈËÃÇÔ½À´Ô½×¢ÖØÈí¼þµÄǰÆÚÉè¼Æ¡¢ºóÆÚµÄʵÏÖ£¬ÒÔ¼°¹á´©ÓÚÆäÖеIJâÊÔ¹¤×÷£¬¾¹ýÕâ¸ö¹ý³Ì³öÀ´µÄ×ÔÈ»ÊǸßÖÊÁ¿µÄÈí¼þ¡£ÉõÖÁÓÐÈËÉù³ÆXP»áÌÔ̵÷ÊÔÆ÷£¡Õ⵱ȻÊÇÓÐÒ»¶¨µÀÀíµÄ£¬È ......
/*
* linux/fs/file_dev.c
*
* (C) 1991 Linus Torvalds
*/
#include <errno.h>
#include <fcntl.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <asm/segment.h>
#define MIN(a,b) (((a)<(b))?(a):(b))
#defi ......
ÓÉbootload½øÈëlinuxºóÓÉhead.s½øÈëÁËstart_kernelÁË.
asmlinkage void __init start_kernel(void)
{
char * command_line;
extern struct kernel_param __start___param[], __stop___param[];
&hel ......
µ±Ö´ÐÐ
ls -l
»ò
ls -al
ÃüÁîºóÏÔʾµÄ½á¹ûÖУ¬×îÇ°ÃæµÄµÚ
2
¡«
10
¸ö×Ö·ûÊÇÓÃÀ´±íʾȨÏÞ¡£µÚÒ»¸ö×Ö·ûÒ»°ãÓÃÀ´Çø·ÖÎļþºÍĿ¼£º
d
£º±íʾÊÇÒ»¸öĿ¼£¬ÊÂʵÉÏÔÚ
ext2fs
ÖУ¬Ä¿Â¼ÊÇÒ»¸öÌØÊâµÄÎļþ¡£
££º±íʾÕâÊÇÒ»¸öÆÕͨµÄÎļþ¡£
l:
±íʾ ......
ÖÕÓÚµ½Á˱àÒë·¶ÀýµÄʱºòÁË£¬·¶ÀýÔÚAPPSĿ¼ÀºÃÐË·Üѽ¡£¡£¡£
¿ªÊ¼±àÒ룺
zhaowei@zhaowei-ubuntu:~/toolchain/apps/HelloToolchain$ make
arm-apple-darwin9-gcc -lobjc -bind_at_load -framework Foundation -framework CoreFoundation -framework UIKit -w -o HelloToolchain HelloToolchain.o
ld: library not fou ......