Reply
Thread Tools
Posts: 11 | Thanked: 0 times | Joined on Jan 2011
#1
hello guys:
how could i compile my own kernel-power?
i downloaded kernel-power-2.6.28 in my scratchbox,but when i make rx51_defconfig and make it tells me that "power management for this prosessor is not implemented yet".

how could i fix this problem ?

many thanks
 
Posts: 3,058 | Thanked: 12,894 times | Joined on Mar 2010 @ Sofia,Bulgaria
#2
enable devel repos in scratchbox

in scratchbox ARMEL target
apt-get source kernel-power
cd kernel-power-2.6.28
dpkg-buildpackage -rfakeroot
 

The Following 2 Users Say Thank You to freemangordon For This Useful Post:
Posts: 11 | Thanked: 0 times | Joined on Jan 2011
#3
hello freemangordon:
how could i enable devel repos in scratchbox?
what is the result when i run dpkg-buildpackage -rfakeroot?does that mean i will get zimage in arch/arm/boot?

best regards
 
Posts: 362 | Thanked: 143 times | Joined on Mar 2008
#4
please checkout this post http://talk.maemo.org/showpost.php?p=968395&postcount=1

good luck
 
Posts: 3,058 | Thanked: 12,894 times | Joined on Mar 2010 @ Sofia,Bulgaria
#5
Originally Posted by baidongxu View Post
hello freemangordon:
how could i enable devel repos in scratchbox?
what is the result when i run dpkg-buildpackage -rfakeroot?does that mean i will get zimage in arch/arm/boot?

best regards
for enabling repos look at the post above. dpkg-buildpackage will result in several .deb files (one of them containing zimage)
 
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#6
Read debian/rules to see what dpkg-buildpackage does.
Basically, make rx51_defconfig && make bzImage

Use -j NumberOfMakeProcesses to speed up compilation (e.g make -j 6)

Making another scratchbox target isn't necessary, I'm not sure why that was mentioned somewhere in previous posts.
 

The Following 2 Users Say Thank You to MohammadAG For This Useful Post:
Posts: 11 | Thanked: 0 times | Joined on Jan 2011
#7
hello cheve :
i have checked the post but when i run fakeroot apt-get install kernel-power-source it told me could not find the package what is the problem?
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 03:24.