android移植採用的開發板為華恆公司的開發板。
android移植採用的方法是:
diff標準linux和android提供的1.0linux,得到android_std_patch檔案
將得到的android_std_patch檔案patch到華恆公司提供的linux中。
交叉編譯工具為arm-2009q3;載入華恆的config檔案;修改配置檔案,增加了對nfs的支援,配置資訊如下:
-----------------------------------------
required enabled config options(必選設定):
-----------------------------------------
修改:general setup->initial arm filesystem and ram disk中的initramfs source file 為空。
config_fb_mode_helpers
config_yaffs_short_names_in_ram
fb_cfb_copyarea
fb_cfb_imageblit
inotify
inotify_user
input_evdev
input_misc
lock_kernel
misc_devices
new_leds
preempt
rtc_class
rtc_lib
tmpfs
yaffs_auto_yaffs2
yaffs_fs
yaffs_yaffs1
yaffs_yaffs2
ashmem
config_font_8x16
config_font_8x8
dabfb
fb_cfb_imageblit
fb_deferred_io
fb_tileblitting
leds_class
leds_gpio
uid16
power_supply
video_output_control
config_network_filesystems
config_nfs_fs
config_nfs_v3
config_nfs_directio
config_lockd
config_lockd_v4
config_nfs_common
config_nfs_v3_acl
config_nfs_v4
config_nfsd
config_nfsd_v3
config_nfsd_v3_acl
config_nfsd_v4
config_nfsd_tcp
config_root_nfs
config_nfs_acl_support
config_nfsd_v2_acl
config_exportfs=m
required disabled config options(不可選設定)
------------------------------------
config_yaffs_disable_lazy_load
dnotify
device drivers -> network device suppot -> ethernet(10 or 100 mbit) -> dm9000 support改為build in(即前面括號內為*)
menuconfig增加general setup -> use full ashmem filesystem
hharm6410-linux-2.6/mm/shmem.c增加2566~2575行,也就是
/**sheme_set_file
*/void shmem_set_file(struct vm_area_struct *vma, struct file *file)
選擇s3c2410 lcd相關的內容
device drivers ---> graphics support ---> support for frame buffer devices ---> <*> s3c2410 lcd framebuffer support
device drivers ---> graphics support ---> [*] bootup logo ---> [*] standard black and white linux logo
device drivers ---> graphics support ---> [*] bootup logo ---> [*] standard 16-color linux logo
device drivers ---> graphics support ---> [*] bootup logo ---> [*] standard 224-color linux logo
測試的結果為:init: critical process 'servicemanager' exited 4 times in 4 minutes; rebooting into recovery mode
restarting system with command 'recovery'
解決的方法為:將init.rc中關於servicemanager的一段注釋掉
測試結果為:可以進入shell,但是lcd顯示屏無反應,輸入top後,顯示如下:
………………………………………………………………
pid cpu% s #thr vss rss uid name
535 92% r 1 54240k 17368k root zygote
515 0% r 1 892k 360k root top
279 0% s 1 0k 0k root rpciod/0
5 0% s 1 0k 0k root events/0
6 0% s 1 0k 0k root khelper
83 0% s 1 0k 0k root kblockd/0
89 0% s 1 0k 0k root ksuspend_usbd
94 0% s 1 0k 0k root khubd
101 0% s 1 0k 0k root kmmcd
127 0% s 1 0k 0k root pdflush
128 0% s 1 0k 0k root pdflush
129 0% s 1 0k 0k root kswapd0
131 0% s 1 0k 0k root aio/0
230 0% s 1 0k 0k root mtdblockd
475 0% s 1 724k 320k root /system/bin/sh
476 0% s 2 1820k 324k root /system/bin/mountd
477 0% s 1 652k 264k root /system/bin/debuggerd
478 0% s 3 3252k 596k radio /system/bin/rild
482 0% s 1 1160k 560k bluetoot /system/bin/dbus-daemon
483 0% s 1 788k 264k root /system/bin/installd
485 0% s 2 1264k 120k root /sbin/adbd
2 0% s 1 0k 0k root kthreadd
1 0% s 1 276k 188k root /init
3 0% s 1 0k 0k root ksoftirqd/0
4 0% s 1 0k 0k root watchdog/0
………………………………………………………………
目前尚未解決這個問題。
websphere datasource配置檔案
1 ibm websphere 6.0 配置檔案可能藏身之地 d program files ibm rational sdp 6.0 runtimes base v6 profiles default config 2 wsc副檔名 或資料夾為 wsc 為websphere config目錄 3 ...
php Apache phpMyAdmin配置方法
版本 php 5.3.0 win32 vc9 x86.zip apache 2.2.11 win32 x86 no ssl.msi phpmyadmin 3.2.1 rc1 all languages.zip mysql 5.4.1 beta win32.msi php將php 5.3.0 win3...
SAC IA粗配準 NDT精配準
正態分佈變換演算法 3d ndt 正態分佈變換演算法應用於三維點的統計模型,使用標準最優化技術來確定兩個點雲間的最優的匹配,因為其在配準過程中不利用對應點的特徵計算和匹配,所以時間比其他方法快,可用於點較多時的配準過程。其原理可參考martin magnusson的the three dimensi...