1. cat build.log | grep -m2 -n "Fetch"
21:Fetching project android/device/realtek/firmware
22:Fetching project aosp/platform/external/robolectric
Orion 發表在 痞客邦 留言(1) 人氣(34)
在linkage時, 會需要用-l來指明要加入那些libraries (archives)
例如 -lAAA -lBBB 這樣的順序
Orion 發表在 痞客邦 留言(0) 人氣(5)
Orion 發表在 痞客邦 留言(0) 人氣(31)
手邊一台ubuntu server升級,
login都會出現提示升級的訊息.看久了就只好升級看看會不會出事.
Orion 發表在 痞客邦 留言(0) 人氣(60)
Orion 發表在 痞客邦 留言(0) 人氣(16)
linux 3.7.2
init/main.c
asmlinkage void __init start_kernel(void) // 進入點
{
Orion 發表在 痞客邦 留言(0) 人氣(3,739)
==========================================
#define zPrint(fmt, ...) do { printf("[bootcode][%s,%s,%d]" fmt, __FILE__, __FUNCTION__, __LINE__, ## __VA_ARGS__);}while(0)
==========================================
#define DBG_MSG_ERR "DBG_MSG_ERR"
#define DBG_MSG_WARN "DBG_MSG_WARN"
#define DBG_MSG_INFO "DBG_MSG_INFO"
#define DBG_MSG_TRACE "DBG_MSG_TRACE"
#if defined(Config_Log_Level_ERR)
#define DBG_MSG_ERR_PRINTF(fmt, ...) do {printf("[ERR][%s,%d fmt, __FUNCTION__, __LINE__, ## __VA_ARGS__); } while(0)
#define DBG_MSG_WARN_PRINTF(fmt, ...) do {} while(0)
#define DBG_MSG_INFO_PRINTF(fmt, ...) do {} while(0)
#define DBG_MSG_TRACE_PRINTF(fmt, ...) do {} while(0)
#elif defined(Config_Log_Level_WARN)
Orion 發表在 痞客邦 留言(0) 人氣(11)
NFS 是一種等同於samba的功能
以下是在ubuntu 12.04 建立並加入一個匿名帳號的流程
Server端:
Orion 發表在 痞客邦 留言(0) 人氣(4)
節錄於 http://www.eetimes.com/document.asp?doc_id=1203174
NAND Reliability Issues
One of the main considerations of working with a flash media is its reliability. This reliability is impacted by three major factors: bit-flipping, bad block handling, and Life span (number of erase cycles allowed). Let's see how these apply to NAND.
Orion 發表在 痞客邦 留言(0) 人氣(1,423)
default layout : /usr/share/bless/bless-default.layout
在default layout 增加紅色這行即可
<area type="hexadecimal">
<bpr>16</bpr>
<case>upper</case>
</area>
參考http://home.gna.org/bless/bless-manual/ch05s03.html
Orion 發表在 痞客邦 留言(0) 人氣(170)