2009年12月23日 星期三

2009年12月14日 星期一

What's goldfish kernel?

What's goldfish kernel?

What's goldfish kernel? (原討論串)


最近在研究Android porting,碰到Goldfish這個名詞,查了一下。解釋如下:

The Android emulator runs a virtual CPU that Google calls Goldfish.
Goldfish executes ARM926T instructions and has hooks for input and
output -- such as reading key presses from or displaying video output
in the emulator. These interfaces are implemented in files specific to
the Goldfish emulator and will not be compiled into a kernel that runs
on real devices.


2009年12月9日 星期三

Error ** (gvim:3161): CRITICAL ** 問題解法



在Ubuntu 9的環境,run gvim時,總是跑出以下Errorv訊息。

** (gvim:3161): CRITICAL **: gtk_form_set_static_gravity: assertion `static_gravity_supported' failed
解法來源
解法如下:

編輯 /etc/apt/sources.list,將下列兩行加入
deb http://ppa.launchpad.net/jk-ozlabs/vim/ubuntu karmic main
deb-src http://ppa.launchpad.net/jk-ozlabs/vim/ubuntu karmic

然後開一個文字檔,把下列文字複製進去
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: SKS 1.0.10

mI0EStwumQEEALZWmSxdQpavSde5mh2aL9CKIvf9cwsOI8Li9RRjE9uaqjcDfzBgj52BvByO
k8RsOhlueiX3mZhmA8+u261J47n5xLR9meHg2ouihonAPSq9PoMCL4kBUinqREpjpzQsuMDf
9jqFC84a/ipeagY3rL88f9mTjJMeCyBim0vvt2WbABEBAAG0HUxhdW5jaHBhZCBQUEEgZm9y
IEplcmVteSBLZXJyiLYEEwECACAFAkrcLpkCGwMGCwkIBwMCBBUCCAMEFgIDAQIeAQIXgAAK
CRA0ixRvr7dns/IaBACI6aPD76r83H/TIfeSDtsYjZLUgwJUmpZfNdzfwV/pPZFzClJZBJ2U
MQYzo4qhGd+Z8x1O1+NX/DUMOjZVozUoHm0bRJjxNHzGGNzr1cP3in6pH811+EHHcm1+wl3E
CzHxL1Coy5x8pl91nb0OYarYpAKkyx9LkmR3RL4LsCt+uw==
=XMAz
-----END PGP PUBLIC KEY BLOCK-----

然後,再進入System->Administration->Software Source,選擇Authentication頁籤。底下有Import Key File...,把剛剛編輯的文字檔匯入進去。

最後,在Console下輸入下面兩行命令
sudo apt-get update
sudo apt-get dist-upgrade
即可!

搜尋此網誌