Author Topic: special kernel  (Read 20695 times)

Anonymous

  • Guest
special kernel
« Reply #15 on: December 24, 2003, 10:35:19 am »
Hello!
In case that this kernel could be used in the 5500, may be it could fix the IR-GSM phones bug that last until today since the sharp rom change from 2.37 to 3.0....

Thanx

mussi

  • Jr. Member
  • **
  • Posts: 95
    • View Profile
    • http://
special kernel
« Reply #16 on: December 24, 2003, 06:49:37 pm »
Slightly warm with Sash probably means you can fry eggs on your Zaurus......   :mrgreen:

edl867

  • Newbie
  • *
  • Posts: 28
    • View Profile
    • http://
special kernel
« Reply #17 on: December 28, 2003, 04:35:26 pm »
Quote
What will it take to have this for the 5500, and can it include the wireless extensions

Well?

ced

  • Full Member
  • ***
  • Posts: 225
    • View Profile
    • http://
special kernel
« Reply #18 on: December 29, 2003, 04:10:51 am »
-- the kernel source is the latest and current source from sharp. so this \"special kernel\" will be compatible with the default sharp kernel. the default modules are compiled with the same kernel version so no issue...

-- the sharp logo has been diseabled just for preference.
SL-5600, kernel 2.6.16 + GPE from .dev
Ethernet Socket LP-E
Viking 256M SD

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
special kernel
« Reply #19 on: December 29, 2003, 04:44:52 am »
Which patch includes the overclocking? Could that be excluded from the build to just get the pre-emptive enhancements as that seems to give the biggest performance gain anyway?
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

ced

  • Full Member
  • ***
  • Posts: 225
    • View Profile
    • http://
special kernel
« Reply #20 on: December 29, 2003, 05:28:49 am »
don\'t know... ask the author... :-)

if you want you can only do the following:
  - apply the patches
  - and set these values:
    CONFIG_SL_CCCR_CHANGE=y
    CONFIG_SL_CCCR242=y (C750/C760/C860=n)
    CONFIG_SL_CCCR162=y (B500/SL5600/SL700=n)
    # CONFIG_XSCALE_CACHE_ERRATA is not set
    CONFIG_ARM_FCSE=y

Have you try these patches? any good?
SL-5600, kernel 2.6.16 + GPE from .dev
Ethernet Socket LP-E
Viking 256M SD

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
special kernel
« Reply #21 on: December 29, 2003, 06:39:44 am »
Just downloading and compiling the kernel with patches, so I ran the Dhrystone Benchmark on my 5600 with the Sharp 1.32 ROM (using the default kernel) and got these surprising results with 50000000 runs:

Dhrystone Benchmark, Version 2.1 (Language: C)
Register option not selected.
Microseconds for one loop:     3.8
Dhrystones per second:   264145.0
VAX MIPS rating:    150.339

Is everyone else still using the 1.0 5600 ROM?
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

ced

  • Full Member
  • ***
  • Posts: 225
    • View Profile
    • http://
special kernel
« Reply #22 on: December 29, 2003, 07:04:25 am »
I think I\'ve done my stats with the sharp 1.0 rom, I\'ve never used the default kernel on the 1.32 rom.
SL-5600, kernel 2.6.16 + GPE from .dev
Ethernet Socket LP-E
Viking 256M SD

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
special kernel
« Reply #23 on: December 29, 2003, 07:49:08 am »
With the \'special\' kernel I get:

Dhrystone Benchmark, Version 2.1 (Language: C)
Register option not selected.
Microseconds for one loop:     2.1
Dhrystones per second:   477509.3
VAX MIPS rating:    271.775

Better yet, Hancom Word loads as if it was set to Fast Load (I know it uses Quick Exec, but it still took a couple of seconds before) and I can play DivX 320x240 videos with stereo mp3 audio at over 20 fps  And no crashes whatsoever so far. It doesn\'t even seem to be running hot. I will have to see how the battery lasts.

The touchscreen seems to be a bit dodgy though. Maybe it is to do with that \'touchscreen presure value\' setting. What was that for exactly? Time to experiment methinks
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

ced

  • Full Member
  • ***
  • Posts: 225
    • View Profile
    • http://
special kernel
« Reply #24 on: December 29, 2003, 08:28:20 am »
yep I\'ve got the same issue with the touchscreen. I\'ve recompiled the kernel without the \"3rd mouse button\" patch but I can\'t re-compile the source when I\'ve diseable the pressure patch (maybe need to hack the patch file to remove it completely...)

I didn\'t find any documentation about the pressure patch.

Let me know of your progress.

Ced.
SL-5600, kernel 2.6.16 + GPE from .dev
Ethernet Socket LP-E
Viking 256M SD

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
special kernel
« Reply #25 on: December 29, 2003, 09:08:29 am »
I couldn\'t compile without the touchscreen pressure setting either and I\'m not much of a kernel hacker. :-(

But the person who compiled the kernels on that page you referenced seemed to know what they were doing. I used this binary for the B500:
http://tetsu.homelinux.org/zaurus/kernel/v...e-v13a-B500.bin
(Will not work on a 5500)

The touchscreen seems to be generally fixed, however I noticed that scrolling around with the stylus and drawing on screen is painfully slow, apart from handwriting recognition. The tapping problems are gone with this kernel.

Just for reference (with the \'special\' B500 kernel):
Dhrystone Benchmark, Version 2.1 (Language: C)
Register option not selected.
Microseconds for one loop:     2.1
Dhrystones per second:   477600.5
VAX MIPS rating:    271.827

# cat /proc/cpuinfo
Processor       : Intel XScale-PXA250 rev 4 (v5l)
BogoMIPS        : 397.31
Features        : swp half thumb fastmult edsp
CPU implementor : 0x69
CPU architecture: 5TE
CPU variant     : 0x0
CPU part        : 0x290
CPU revision    : 4
Cache type      : undefined 5
Cache clean     : undefined 5
Cache lockdown  : undefined 5
Cache unified   : harvard
...
Hardware        : SHARP Poodle
Revision        : 0000
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

ced

  • Full Member
  • ***
  • Posts: 225
    • View Profile
    • http://
special kernel
« Reply #26 on: December 29, 2003, 09:27:43 am »
I\'ve been talking to the author (Tetsuyasu YAMADA) and I\'ve updated the tutorial (bottom section)
SL-5600, kernel 2.6.16 + GPE from .dev
Ethernet Socket LP-E
Viking 256M SD

zbones

  • Sr. Member
  • ****
  • Posts: 459
    • View Profile
special kernel
« Reply #27 on: December 29, 2003, 09:28:11 am »
I don\'t know if you spotted this, I translated the page, and noticed this in the FAQ.

Quote
(Q2-1) A touch screen is not stabilized.  
(A2-1) Please try \"echo 3230 ]/dev/ts.\" Please change 3230 between 0-5000 according to an individual difference (information from Mr. ぴろ and Mr. uch). Henceforth [ v11g ], a negative value can also be set up. Mr. ぴろ tscalib を使う and a suitable value are likely to be found simply.  

It might be worth a go.
I cannot test any of this as I onoy have a 5500 at the moment, I should be getting a 760 this week hopefully.

good luck.

Peter
Zaurus cl760, cacko QT rom. Zaurus sl5500 with TKCrom 1.0.
512mb Kingston cf card, 256mb Sandisk sd card, Lexar 256mb sd card.
Bluemonkey bluetooth card <-> Sony Ericsson k700i for gprs.
Buffalo WLI-CF-S11G wifi card. Haicom 303 mmf gps cf/seral card.

edl867

  • Newbie
  • *
  • Posts: 28
    • View Profile
    • http://
special kernel
« Reply #28 on: December 29, 2003, 04:43:11 pm »
Is there a \'special\' kernel update for \'dummies\' FAQ that I might be able to understand?

What was said: \"bad dog SPOT, Stay off of the couch SPOT\"
What I heard: \"blaa blaa SPOT, blaa blaa blaa blaa SPOT\"

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
special kernel
« Reply #29 on: January 01, 2004, 08:38:50 pm »
Perhaps there is someone who knows how to separate the CCCR register part of the large C750 patch from the touchscreen part as the touchscreen stuff seems to give problems with the 5600. (Drawing on screen with the stylus is slowed right down and it still suffers from tapping problems, no matter what is disabled)

For now I am using the standard 5600 kernel, with the XScale cache errata workaround turned off and the pre-emptive patch. I get the Dhrystone results as ced posted for the pre-emptive patch alone and everything is just as responsive as with the other patch, but now the stylus doesn\'t slow the system down anymore and tapping works properly too. Video also plays very well as with the other patch, so I\'m not sure the extra 71MHz and stylus problems is really worth it until someone can split that other patch.

5600 Kernel source: http://community.zaurus.com/download.php/3...rom1_00.tar.bz2
Pre-emptive patch: http://www.kernel.org/pub/linux/kernel/peo...-2.4.18-5.patch
Make sure you use \'make menuconfig\' as \'make xconfig\' is broken with this kernel source.
Also load the configuration \'arch/arm/def-configs/poodle\' before making any changes.
The XScale cache errata setting and Pre-emptible kernel settings are under the \'System Type\' section.

I guess I could upload my zImage.bin here if anyone wants it.

I imagine this pre-emptive patch would be easy to apply to the 5500 kernel too.
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender