Author Topic: [new] Kernel 2.6.24.4 With Cpufreq  (Read 106980 times)

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
[new] Kernel 2.6.24.4 With Cpufreq
« Reply #45 on: March 25, 2008, 01:57:22 pm »
No, i just confused by myself.
Then again, since my debian rootfs is already in a primary partition in /dev/hda1, i am not sure whether it is possible to move it into a new extended partition (say /dev/hda4 as the first logical partition in the extended partition), becoming:
hda1 (factory hdd files), hda2 (factory hdd files), hda3 (extended user space for Sharp/Cacko), {hda4 (new debian root), hda5 (swap)}

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
[new] Kernel 2.6.24.4 With Cpufreq
« Reply #46 on: March 25, 2008, 04:22:58 pm »
Quote from: ZDevil
No, i just confused by myself.
Then again, since my debian rootfs is already in a primary partition in /dev/hda1, i am not sure whether it is possible to move it into a new extended partition (say /dev/hda4 as the first logical partition in the extended partition), becoming:
hda1 (factory hdd files), hda2 (factory hdd files), hda3 (extended user space for Sharp/Cacko), {hda4 (new debian root), hda5 (swap)}
could you start a cacko/debian thread with your results, methods etc?  2or0's kernel sounds like sufficient progress for debian to be compelling, the cacko dual boot covers the pda needs. the 2.4 kernel & modules could maybe be listed (are you using a new tetsu or eviljazz kernel?) the means for getting qtmail to talk to gmail, etc would be handy......  and some basic info on how well it works, the possiblities of going back and forth with 1-click(though the transition might take a minute or 2), that sort of thing.
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

born2wonder

  • Newbie
  • *
  • Posts: 25
    • View Profile
[new] Kernel 2.6.24.4 With Cpufreq
« Reply #47 on: March 25, 2008, 04:44:13 pm »
Thank you 20r0 for the new kernel with cpufreq and fastfpe!!!
C1000 yonggun kernel and andromeda
Ambicom/dell/canon wifi cards

Vitel

  • Newbie
  • *
  • Posts: 48
    • View Profile
[new] Kernel 2.6.24.4 With Cpufreq
« Reply #48 on: March 25, 2008, 08:22:08 pm »
C1000 + kernel 2.6.24.3 + Sharp loader = no problems found
Thanks 2or0
Regards,
Vitel

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
[new] Kernel 2.6.24.4 With Cpufreq
« Reply #49 on: March 26, 2008, 07:22:50 pm »
Quote from: adf
could you start a cacko/debian thread with your results, methods etc?  2or0's kernel sounds like sufficient progress for debian to be compelling, the cacko dual boot covers the pda needs. the 2.4 kernel & modules could maybe be listed (are you using a new tetsu or eviljazz kernel?) the means for getting qtmail to talk to gmail, etc would be handy......  and some basic info on how well it works, the possiblities of going back and forth with 1-click(though the transition might take a minute or 2), that sort of thing.
Here you go:
https://www.oesf.org/forum/index.php?showto...st&p=174922

As for the one-click thing... perhaps I (anyone can do this easily) can just package up the dualbooting ingredients (individual kernel + booting script) with an item added to the root program menu in the WM (IceWM or LXDE).
« Last Edit: March 26, 2008, 07:23:10 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
[new] Kernel 2.6.24.4 With Cpufreq
« Reply #50 on: March 27, 2008, 04:06:39 am »
Now running this new kernel (hda1) with overclocking (416 mhz -> 624 mhz). Works great. Thank you!

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ecc_hy

  • Full Member
  • ***
  • Posts: 125
    • View Profile
[new] Kernel 2.6.24.4 With Cpufreq
« Reply #51 on: March 27, 2008, 04:14:07 am »
Quote from: ZDevil
Now running this new kernel (hda1) with overclocking (416 mhz -> 624 mhz). Works great. Thank you!

Is it possible to down clocking? And how to change CPU clock?
SL-C1000, Roku wifi, pdaxii13v2/Debian dual booting

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
[new] Kernel 2.6.24.4 With Cpufreq
« Reply #52 on: March 27, 2008, 04:17:45 am »
Yes, you can. I am using the "CPU config" tool from pdaXrom repackaged by 2or0 for debian.

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ecc_hy

  • Full Member
  • ***
  • Posts: 125
    • View Profile
[new] Kernel 2.6.24.4 With Cpufreq
« Reply #53 on: March 28, 2008, 12:28:34 am »
After change cpu clock, dmesg shows:
Set frequeny to 62400 with L:16, 2N:6, B:1, Turbo Mode, A:1
Calibrating delay loop.. 622.59 BogoMIPS(lpj=3112960)
sharpsl-pm sharps-pm: Waring: Can not read main battery!

Problems:
1. Calibrate is not work since change cpu freq. I have to reboot to get it working again.
2. Battery status is wrong.

Sometimes I get message:
Unkwnon HZ value! (87) Assume 100.

Why?
SL-C1000, Roku wifi, pdaxii13v2/Debian dual booting

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
[new] Kernel 2.6.24.4 With Cpufreq
« Reply #54 on: March 28, 2008, 02:56:14 am »
Yes... I noticed this also. Is it because the CPU Config tool does not change the voltage accordingly?

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ecc_hy

  • Full Member
  • ***
  • Posts: 125
    • View Profile
[new] Kernel 2.6.24.4 With Cpufreq
« Reply #55 on: March 28, 2008, 03:31:04 am »
I am not sure the LCD Clock is related  to Calibrating or not.

Since PXA270, we should change LCD Clock when cpu clock changed.
The following config is used in mb-applet-powerctrl. They are very stable stable in C1000, C3XXX.

[PXA270]
# do not change below
PathCCCR=/proc/zaurus/CCCR
PathVCORE=/proc/zaurus/VCORE
MaxFreq=5
DefaultFreq=3

#cpu clock, CCCR, VCORE
freq0=104,2000204,4,1
freq1=208,2000206,6,1
freq2=312,2000208,8,1
freq3=416,2000210,a,1
#2000210: CPU clock 416MHz system bus 208MHz LCD104MHz(default)

freq4=520,2000214,c,1
#freq4=520,2000290,c,1
#a000214: CPU clock 520MHz system bus 260MHz LCD130MHz
#2000290: CPU clock 520MHz system bus 208MHz LCD104MHz
#2000214: CPU clock 520MHz system bus 260MHz LCD 64MHz

freq5=624,2000218,e,1
#freq5=624,2000310,e,1
#a000218: CPU clock 624MHz system bus 312MHz LCD156MHz
#2000310: CPU clock 624MHz system bus 208MHz LCD104MHz
#2000218: CPU clock 624MHz system bus 312MHz LCD 78MHz
SL-C1000, Roku wifi, pdaxii13v2/Debian dual booting

2or0

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • http://
[new] Kernel 2.6.24.4 With Cpufreq
« Reply #56 on: March 28, 2008, 06:30:03 pm »
As you know, the cpufreq patch has the bug that the kernel shows the error-"Can not read main battery!"- when you change the voltage using dvfm. So I modified the patch by fixing the 412MHz voltage as 1500 mV instead of 1400 mV. At least I don't have the complaint.  But I don't know what I have to do to correct the other errors.
Zaurus SL-C3200 with Debian armel of kernel 2.6.24-yonggun
Ambicom WL1100C WLAN
1 GB Sandisk SD / 1 GB Lexar SD / 256 MB Dane-Elec CF
-----
Blog http://yonggun.tistory.com (English/Korean)

ecc_hy

  • Full Member
  • ***
  • Posts: 125
    • View Profile
[new] Kernel 2.6.24.4 With Cpufreq
« Reply #57 on: March 30, 2008, 03:26:38 am »
I have never seen a kernel 2.6 change cpu freq of zaurus very well. So we can not get any solution worked.

It is may the best way to reading the kernel 2.4's source related with VCORE and CCCR.
SL-C1000, Roku wifi, pdaxii13v2/Debian dual booting

matthis

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • http://badaboum.bidibom.free.fr/mat/
[new] Kernel 2.6.24.4 With Cpufreq
« Reply #58 on: April 06, 2008, 08:33:15 am »
Dear 2or0, I would like to ask you for a vmlinux version of your kernel.

I am testing a kexec backport for linux arm 2.4, hoping to make it work on the sharp rom.
Unfortunately, it doesn't work with bz kernel images, only with uncompressed images.

So could I ask for a vmlinux version of your latest kernel? (sharp bootloader, hda1 version)

Thank you in advance!

2or0

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • http://
[new] Kernel 2.6.24.4 With Cpufreq
« Reply #59 on: April 07, 2008, 03:41:52 pm »
Quote from: matthis
Dear 2or0, I would like to ask you for a vmlinux version of your kernel.

I am testing a kexec backport for linux arm 2.4, hoping to make it work on the sharp rom.
Unfortunately, it doesn't work with bz kernel images, only with uncompressed images.

So could I ask for a vmlinux version of your latest kernel? (sharp bootloader, hda1 version)

Thank you in advance!

Here is vmlinux for kernel 2.6.24.3. Good luck!
 [ Invalid Attachment ]
Zaurus SL-C3200 with Debian armel of kernel 2.6.24-yonggun
Ambicom WL1100C WLAN
1 GB Sandisk SD / 1 GB Lexar SD / 256 MB Dane-Elec CF
-----
Blog http://yonggun.tistory.com (English/Korean)