Reply
Thread Tools
Posts: 96 | Thanked: 80 times | Joined on May 2010
#221
Originally Posted by pali View Post
@DarkSide25: there is something bad. please reinstall each kernel (via apt-get) and bme replacement package. reboot and try again.
I seem to be getting the same symptoms as @DarkSide25 so I'd like to try the same fix. When you say reinstall each kernel and bme replacement package, could you tell me exactly which ones you mean?

Thank you!
 
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#222
each package which has substring kernel-power in package name. and if you have installed bme replacement, each package which you installed.
 

The Following User Says Thank You to pali For This Useful Post:
Posts: 96 | Thanked: 80 times | Joined on May 2010
#223
Thanks for the pointer, it works for me now too.

I did it one package at a time with re-boots in between in the hope of isolating the package that made the difference. If it's any help it was kernel-power-flasher that seemed to make the difference. Though I'd been through all the bme packages first, then kernel-power-modules, kernel-power and kernel-power-bootimg before I got to kernel-power-flasher.
 
Posts: 1,203 | Thanked: 3,027 times | Joined on Dec 2010
#224
thread has been a bit quiet lately?

for those interested in back porting, zswap has now been merged into kernel 3.11.
 
Posts: 370 | Thanked: 443 times | Joined on Jan 2006 @ Italy
#225
Compiling kernel-power...
Code:
  AS      drivers/char/hw_random/omap3-rom-asm.o
drivers/char/hw_random/omap3-rom-asm.S: Assembler messages:
drivers/char/hw_random/omap3-rom-asm.S:20: Error: selected processor does not support ARM mode `smc #1'
make[4]: *** [drivers/char/hw_random/omap3-rom-asm.o] Error 1
make[3]: *** [drivers/char/hw_random] Error 2
make[2]: *** [drivers/char] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/home/jurop/kernel-power-2.6.28/debian/build/kernel-power'
make: *** [kernel-stamp] Error 2
scratchbox with linaro gcc 4.7.2 here, working for thumb binaries (I compiled taskwarrior and related libraries and it's working on my N900 right now).

Any help?
 
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#226
Originally Posted by jurop88 View Post
scratchbox with linaro gcc 4.7.2 here
Use default gcc which is in scratchbox.

Or replace "smc #1" instruction with it hardcoded opcode, it is ".word 0xe1600071".

In upstream kernel there is special way for fixing "file.o":

Code:
plus_sec := $(call as-instr,.arch_extension sec,+sec)
AFLAGS_file.o			:=-Wa,-march=armv7-a$(plus_sec)
 

The Following 3 Users Say Thank You to pali For This Useful Post:
Reply

Tags
development, kernel-power

Thread Tools

 
Forum Jump


All times are GMT. The time now is 23:21.