全部博文(75)
分类: LINUX
2010-06-09 17:35:25
标准linux内核2.6.32与linux android 2.6.32 内核比较
使用git从google android下载下来的linux 2.6.32内核与从linux官网下载下来的内核进行了一下目录对比。对比方法如下
标准linux内核放在/linux-2.6.32 下,android linux内核放在linux-2.6.32_android目录下
执行下面的命令
cd /linux-2.6.32
find ./ > 1.txt
cp 1.txt /1.txt
cd /linux-2.6.32_android
find ./ >2.txt
cp 2.txt /2.txt
cd /
diff 1.txt 2.txt > 3.txt
执行完上面的命令之后会在根目录下产生一个3.txt的文件,下面将其中的内容贴上来
2164a2165
> ./net/ipv4/sysfs_net_ipv4.c
2485a2487
> ./drivers/i2c/chips/pca963x.c
2749a2752,2756
> ./drivers/switch
> ./drivers/switch/Kconfig
> ./drivers/switch/Makefile
> ./drivers/switch/switch_class.c
> ./drivers/switch/switch_gpio.c
2750a2758
> ./drivers/rtc/alarm-dev.c
2828a2837
> ./drivers/rtc/alarm.c
4321a4331
> ./drivers/leds/ledtrig-sleep.c
5512a5523
> ./drivers/net/pppolac.c
5603a5615
> ./drivers/net/pppopns.c
7957a7970
> ./drivers/usb/gadget/f_mass_storage.c
7966a7980
> ./drivers/usb/gadget/android.c
7987a8002
> ./drivers/usb/gadget/f_adb.c
8796a8812
> ./drivers/input/touchscreen/synaptics_i2c_rmi.c
8900a8917
> ./drivers/input/keyreset.c
8904a8922
> ./drivers/input/misc/keychord.c
8911a8930
> ./drivers/input/misc/gpio_axis.c
8912a8932
> ./drivers/input/misc/gpio_input.c
8918a8939
> ./drivers/input/misc/gpio_event.c
8921a8943
> ./drivers/input/misc/gpio_matrix.c
8924a8947
> ./drivers/input/misc/gpio_output.c
9248a9272
> ./drivers/misc/uid_stat.c
9249a9274,9275
> ./drivers/misc/kernel_debugger.c
> ./drivers/misc/wl127x-rfkill.c
9301a9328
> ./drivers/misc/pmem.c
9311a9339
> ./drivers/misc/apanic.c
11194a11223
> ./drivers/char/dcc_tty.c
12698a12728
> ./mm/ashmem.c
17242a17273
> ./arch/x86/lib/msr-smp.c
17528d17558
< ./arch/x86/include/asm/cpu_debug.h
17738d17767
< ./arch/x86/kernel/cpu/cpu_debug.c
26268a26298,26334
> ./.git
> ./.git/config
> ./.git/index
> ./.git/packed-refs
> ./.git/objects
> ./.git/objects/pack
管理员在2009年8月13日编辑了该文章文章。