[android-kernel] About The Power And Screen In Gingerbread

2012-01-09 Thread xhy
Hi all, I execute the command " cat /sys/power/state" in shell, but the output always is "mem" even though when the screen is on.So why ? I check the code in power.c, the func "set_screen_state()", I add some log info,and find that the value had been written. Thanks!!! -- --

[android-kernel] Re: Compile kernel for Nexus One but got errors

2012-01-09 Thread ヘマント
The undefined elements all seem to be board specific devices. Are you building for a specific target?. I don't think you can build for msm_defconfig. (I guess. Maybe you can) You should be using something like 'msm8660-perf_defconfig' or similar, based on your requirement. If the target is not set,

[android-kernel] Re: getting build errors with CAF source code

2012-01-09 Thread ヘマント
Looks like there is a mismatch between your bionic headers and your kernel headers. Probably the bionic headers were not updated to match the kernel headers. You could start off by checking the SHA ID of the heads of the buildable and non-buildable code. Ex [cd XX; git rev-parse HEAD;] Check if th

[android-kernel] Re: How to use securityfs in goldfish

2012-01-09 Thread JongHwan Kim
I solve this problem. You can find solution in http://csrdu.org/blog/2011/05/25/tpm-emulator-trousers-ima-on-android/ :) On 1月7日, 午後2:20, JongHwan Kim wrote: > I make some LSM and i want to use security FS in goldfish. > > but, when I use securityFS API , emulator can't boot. > > I also add mo

[android-kernel] getting build errors with CAF source code

2012-01-09 Thread Satya vara prasad
hi all, I have downloaded the ICS source code from CAF,when i am trying to build the following below errors are getting but my friends are able to build with the same CAF & generating images successfully. Even i updated the my ubuntu machine then also i am getting. guys anyone can help me,if you g

[android-kernel] Re: clarification for building android kernel ICS 4.0.3

2012-01-09 Thread zoli2k
Hi, for 4.0.3 use the android-omap-tuna-3.0 remote branch of the kernel from: https://android.googlesource.com/kernel/omap.git Br, Zoli On Jan 6, 10:21 pm, JF Dionne wrote: > Hi > > I need some clarification on how to build the 4.0.3 kernel for Galaxy Nexus > (maguro) > > from the omap-tuna

[android-kernel] Compile kernel for Nexus One but got errors

2012-01-09 Thread zhangxiao
I am using kernel source code from: http://android.googlesource.com/kernel/msm.git (branch android- msm-2.6.35) * Used msm_defconfig * Tried to compile with google's toolchain on a 32bit Ubuntu * Enabled CONFIG_VT At the first I got this error: arch/arm/mach-msm/pm.c:783: error: 'RESET_VECTOR' un

[android-kernel] How to use securityfs in goldfish

2012-01-09 Thread JongHwan Kim
I make some LSM and i want to use security FS in goldfish. but, when I use securityFS API , emulator can't boot. I also add mounting securityfs to init.rc Do you have any solution? Thank you very much. -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.c