OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => 5x00 General discussions => Topic started by: Ethereal on March 01, 2004, 10:46:17 pm

Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: Ethereal on March 01, 2004, 10:46:17 pm
Hi all.

Tumnus\' new special kernel, which opens up the possibility of overclocking, leaves off the pre-emptive patch (with its module compatibility woes), and frees us from the chains of PXA250 cache erata, is now available (http://www.zaurususergroup.com/modules.php?op=modload&name=UpDownload&file=index&req=viewsdownload&sid=53).  (It\'s version 1.3)

My Dhrystone results are around 230 VAX MIPS, up from 195 with the stock 1.32 ROM...and that\'s with no overclock!  (And BlueZ, including the high-speed drivers--70 kbps with Sprint PCS Vision!--works perfectly!)

Thanks tumnus...and ced...and Maslovsky...and everyone!
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: lardman on March 02, 2004, 04:57:05 am
Where is everyone getting the Dhrystone binary (or even better source) from?

Si
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: ced on March 02, 2004, 04:59:51 am
http://laurent.lieben.free.fr/zaurus_kernel/dhry21 (http://laurent.lieben.free.fr/zaurus_kernel/dhry21)
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: Anonymous on March 02, 2004, 06:11:29 am
From what i read in the description it does not \"leave off\" the pre-emp patch but has it included. Am i reading this wrong? How else could you get it to run at 400? Using the pre-emp w/o overclock i get vax mips  231.598
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: tumnus on March 02, 2004, 07:37:51 am
The pre-emptive patch does very little for the performance. Only v1.3 of the Special Kernel should be used now, which does NOT include the pre-emptive patch. The speed increase is due to a workaround for a bug in the PXA250 CPU being turned off. The workaround that is in the default Sharp ROMs effectively halves the speed of the CPU.
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: Anonymous on March 04, 2004, 12:17:16 am
Greetings.  Once again, thanks for working on these patches.  In another thread I reported my problem with the pre-emptive standard kernel (v1.2) and disruption of battery charging.  I thought I\'d share my observations with the latest special kernel patch (v1.3) since my Z seems to be an outlier.  The good news: 1) it appears that the pre-emptive patch was the cause of my battery charging situation as it is no longer a problem with the special kernel, and 2) FB VNC Server (as well as VNC Viewer) works fine.  The bad news: when bringing it out of suspend, the CF card is dropped from the Files tab (although the CF card icon is still visible in the system tray).

Dhrystone Benchmark, VAX MIPS rating (no overclocking):
147.045 (v1.32 ROM w/o patch and not running VNC server)
184.311 (v1.32 ROM w/ patch and running VNC server)
226.141 (v1.32 ROM w/ patch and not running VNC server)

Unfortunately, I have decided to return to the basic standard kernel since my Z behaves out of the norm and, more importantly, I perceived no speed increase of the applications I use most.
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: Anonymous on March 07, 2004, 07:23:12 pm
Hi,
 using zynergy which is basically sharp rom kernel with some extra packages thrown in.
 Im trying to use the new kernel 1.3 from tumnus for wireless and overclocking etc

1)  I put zImage.bin and updater.sh on my cf card.
2) I shutdown, and do the battery stuff, and go to maint mode
3) Option 4 for update from cf.
4) It starts to boot, then says cannot loc devinfo
5) i get cf updater, with reset
6) I go back to battery and reboot .
7) System restarts
8) I am sure it doesnt have new kernel , cat /proc/cpuinfo,  go to systeminfo etc
9) Also , tried using dhry21 (to check speeds)

before it was

500000 iterations

145.103 with ssh
147.832 without ssh
146.xxx with new kernel (nowhere near the higher #s)

Im assuming you dont have to do a format after the update, just an update, right? Format is if you replace the entire filesystem with initrd.

What might I be doing wrong?

Thank you
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: tumnus on March 08, 2004, 05:43:36 am
Did you see a progress indicator for zImage.bin when it was doing the update? If not then you must have either got the filename wrong (I think capitalisation may be important) or your CF card is not FAT16 (msdos FAT) formatted. Other than that you are using the correct procedure.

BTW, to tell if you have the special kernel from the ZUG downloads, do \'cat /proc/version\'. In the output from that you should see colin@paravel compiled it, which is me on my home PC.
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: Anonymous on March 08, 2004, 11:08:58 am
Hi Tumnus,
 Thanks for the reply. There was definitely no progress indicator. Cat /prov/version didnt have that, nor were there wireless extensions and the speed test failed too, so Im sure it didnt update.
 
 In my /mnt/cf I have:

zImage.bin  
updater.sh

dhrv.res
Documents and qtpalmtop directories.

cf card definitely fat16 as I flashed the zynergy rom with this. I did an update and format then, but just the update here, as format would initialize the entire filesystem

So, either I am missing something or else you can\'t do the kernel patch on this rom, but that wouldn\'t make sense as it is a sharp rom, and one would expect that it would do the update, and then have errors on bootup right?

Thank you.
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: Greg2 on March 08, 2004, 11:41:27 am
Quote
1)  I put zImage.bin and updater.sh on my cf card.

Guest

If you use the Sharp updater.sh you have to name it zImage.bin
If you use the Zynergy updater.sh you have to name it zImage

Greg
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: Anonymous on March 08, 2004, 11:48:38 am
Greg,
  This is interesting.. I will try this out and report back to you.

Thank you and Tumnus for your quick replies.
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: torpor on March 08, 2004, 12:03:11 pm
So ... whats the best pre-emptive kernel to run on a 5500 these days?  Does someone have 2.6 up and running yet?
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: Anonymous on March 08, 2004, 12:33:06 pm
Hmmm not able to get to maint mode now. I shutdown then try to reset battery but while its booting it wont allow me to. Strange.. does it have to be on ac if the battery is near 100%?

How do you do the shutdown ? Go to gui shutdown and then when it starts back up do both buttons?
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: Greg2 on March 08, 2004, 01:37:55 pm
Quote
How do you do the shutdown ? Go to gui shutdown and then when it starts back up do both buttons?

Follow Sharps instructions except only use the 2 files needed for kernel update (no initrd.bin). You must hard reset first.
Instructions:
http://www.myzaurus.com/ROMupdate6.asp (http://www.myzaurus.com/ROMupdate6.asp)

Greg
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: Anonymous on March 08, 2004, 03:46:51 pm
Hi,
 Yes i understood that. I usually just did a shutdown, and when it started to boot , hit the replace battery and took off cover, this time it didnt take.
So, easiest way is console, then halt.. When it shuts off, do what you need to do. I know only the 2 files, and also not to do a format, just an update......
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: Greg2 on March 08, 2004, 04:26:05 pm
Quote
I usually just did a shutdown, and when it started to boot , hit the replace battery and took off cover, this time it didnt take.

I\'m not sure what you are doing here?

Just do a hard reset, then bring up maint. menu. Can you bring up maint. menu after hard reset?

Greg
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: clytle374 on March 08, 2004, 06:39:51 pm
not to get off subject, but where do you find a sprint pcs bluetooth phone.  I\'m about to leave sprint due to a lack of such a device.
thanks
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: Anonymous on March 08, 2004, 08:39:52 pm
How about adding CONFIG_FS_SYNC fix to the special kernel. Will it make this
kernel more useable?
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: zuraus on March 08, 2004, 09:34:31 pm
The Z needs to be OFF, not rebooted, then do the battery/reset thing, and then hold down the OK key while turning it on.  I was confused by this at first as well.  Also, pay attention to the previous post about the name of the zImage and updater files, this definetly matters, i made the same mistake.
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: Anonymous on March 09, 2004, 03:06:46 pm
I shut it off with halt.. Then update. Had zImage and updater.sh on cf card. Same situation. Kernel shows yamade@yampc but speed with dhry21 is 147.296 so im very sure it didnt apply the kernel. I may look for a sharp updater , and rename back to zImage.bin, but it didnt work this way...
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: w4lna on March 09, 2004, 03:18:19 pm
Quote
The pre-emptive patch does very little for the performance. Only v1.3 of the Special Kernel should be used now, which does NOT include the pre-emptive patch. The speed increase is due to a workaround for a bug in the PXA250 CPU being turned off. The workaround that is in the default Sharp ROMs effectively halves the speed of the CPU.

Thanks...  this kernel works for me and the touch screen still works though it did need recalibrating.  Even Kismet seems to be working in some fashion now.
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: Anonymous on March 09, 2004, 03:25:43 pm
Hey...
 Bravo.. it worked. User stupidity (mine) , well hard to read screen and when I had copied zImage to this name , it must have gotten some unreadable character in there, did a mv zI* zImage and it worked.

 Did need to recalibrate, no biggie.

Now.. the kernel says colin@paravel I think that is what Tumnus had posted. Good. This time when doing kernel flash it said success afterwards never got that before.

Ran dhry21 and speed now 229.497 instead of 147.296. Is this the appx mips speed? If so, UGH. The unit is supposed to be 400, and it is still only a bit more than 1/2 of that. Or maybe cat/cpuinfo says 397 bogus mips is more accurate?

I think I recall the program to change clock speed and I will try that, dont make it higher than 487 though , right. Is above all true?

Great job on kernel, Tumnus!!!
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: Anonymous on March 09, 2004, 03:34:56 pm
It didnt have wireless extensions   i have wpc12 wireless card. Anyone gotten wireless extensions to work?
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: w4lna on March 10, 2004, 10:51:03 pm
Quote
It didnt have wireless extensions   i have wpc12 wireless card. Anyone gotten wireless extensions to work?

It works for me with a Symbol card.  I didn\'t find many references to the wpc12 card with Google, but I did find this quote about the chipset it uses:

{
FCCID PKW-WPC11-V29 (approved 11/7/2002) uses ISL3873B or Prism2.5
FCCID PKW-WPC11-V31 (approved 7/23/2002) uses ISL3871xxx  or Prism3
FCCID PKW-WPC11-V3  (approved 2/1/2002) uses \"

The PKW-WPC12 uses the TI ACX100 and to my knowledge never saw the light
of day.
}

If it\'s not based on the Prism chipset, you may have a hard time finding support for it...
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: Anonymous on March 11, 2004, 10:14:55 am
So, how did you get wireless extensions to work with sharp kernel?
The linksys card is a prism based card.
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: w4lna on March 11, 2004, 12:36:35 pm
Quote
So, how did you get wireless extensions to work with sharp kernel?  
The linksys card is a prism based card.

\"It just works!\" ™

Sharp ROM, Special kernel V1.3.

Wireless worked with stock Sharp ROM, but Kismet did not.
Kismet works with the special kernel.

The only other problem that I had is making sure all of the
associated configuration files were present in /etc/pcmcia ,
i.e.:

spectrum
spectrum.conf
wireless
wireless.opts
wlan-ng
wlan-ng.conf
wlan-ng.opts
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: Anonymous on March 11, 2004, 01:18:42 pm
Hi,
 Not wireless, wireless extensions which is a prereq for wellenreiter.
Wireless worked from beginning, and I didnt have much trouble with kismet. Trying to get wellenreiter to work with tumnus sharp kernel.
From what I read, wellenreiter needs wireless extensions to run.

If this is not the case, I\'d love to know how to do it. Otherwise, I need to either find a kernel with wireless extensions and the errata fix, or recompile a kernel and add it.

Thanks
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: Anonymous on March 11, 2004, 02:42:07 pm
Wellenreiter didn\'t work? I think it should work if you made kismet work.
I believe that sharp/special kernels have wireless extension. kismet/wellenreiter
is another story because it requires monitor mode. But once you have kismet
work, wellenreiter should work.
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: Anonymous on March 11, 2004, 04:17:24 pm
I\'m going to look at the post about wellenreiter on qtopia. However, from previous posts it was mentioned that you needed to get wireless extensions to work to get Wellenreiter going.

Wireless extensions iwconfig is not enabled on sharp roms, or on tumnus rom. I will post my success or failure after I try offroadgeeks post about this.

Much thanks
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: abcdef on March 11, 2004, 04:36:59 pm
Yes, Wellenreiter needs wireless extension. So does Kismet.
Type \'iwpriv eth0\' from comman line. When you see \"monitor\" in the list,
Kismet/Wellenreiter is highly likely to work fine.
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: cgav8r on March 14, 2004, 04:14:03 pm
For those that were able to flash the newer kernerl, can you list what updater file you used?  I\'ve downloaded the zynergy version and tried to flash the kernel as both zImage and zImage.bin.  Another thing I noticed, when I download the kernel windows saves it as a bin file.  So I name it zImage, thinking that the full name is zImage.bin.  But the flash does not recognize the file.  Interestingly, when I unpack the zynergy file, the zImage has no extension.  Windows recognizes it as a file, vice a .bin.

Any help?
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: w4lna on March 14, 2004, 08:13:39 pm
Quote
For those that were able to flash the newer kernerl, can you list what updater file you used?  I\'ve downloaded the zynergy version and tried to flash the kernel as both zImage and zImage.bin.  Another thing I noticed, when I download the kernel windows saves it as a bin file.  So I name it zImage, thinking that the full name is zImage.bin.  But the flash does not recognize the file.  Interestingly, when I unpack the zynergy file, the zImage has no extension.  Windows recognizes it as a file, vice a .bin.

I used update.sh from the Sharp 1.32 ROM update.  Tried Zynergy some time ago and while it looked good, a number of things didn\'t seem to work quite right.
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: cgav8r on March 14, 2004, 08:35:10 pm
Well, that seemed to do the trick, sorta.  I got the thing to appear to update (no progress dots, but it said it was updated and showed the Success! words).

However, now when I cat /proc/version it still says the old kernel info and yamade@yampc.  Thoughts?

Thanks
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: w4lna on March 14, 2004, 08:52:23 pm
Quote
Well, that seemed to do the trick, sorta.  I got the thing to appear to update (no progress dots, but it said it was updated and showed the Success! words).

However, now when I cat /proc/version it still says the old kernel info and yamade@yampc.

That\'s not the right kernel then.  Make sure the kernel is named zImage.bin (case-sensitive!) and try again.  You should see progress dots too.
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: cgav8r on March 14, 2004, 09:25:13 pm
This is the one I downloaded from the download section, said it was ver 1.3: zImage_Special5600_No_Preemptive_No_Overclock-c860ROMv1.10.  Rename to zImage.bin and put on CF with Sharp\'s updater.sh.  Same result as before.  Curiously, when I unzipped Sharp\'s package there was a file called mversion.bin.  Do I need to mess with this?  Nerver had to in the past.
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: w4lna on March 14, 2004, 09:31:25 pm
Quote
This is the one I downloaded from the download section, said it was ver 1.3: zImage_Special5600_No_Preemptive_No_Overclock-c860ROMv1.10.  Rename to zImage.bin and put on CF with Sharp\'s updater.sh.  Same result as before.  Curiously, when I unzipped Sharp\'s package there was a file called mversion.bin.  Do I need to mess with this?  Nerver had to in the past.

Dunno... that worked for me, but I\'m using the base Sharp ROM too, where you are still using Zynergy?

I haven\'t needed any files other than update.sh and zImage.bin
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: cgav8r on March 14, 2004, 11:50:19 pm
Well, I fixed the root problem.  It seems that with the Zynergy ROM the updated kernel just wouldn\'t be recognized.  I had to reflash/ reformat Sharp v1.32 and then update the kernel.  Too bad, now I remember why I didn\'t like Sharp all that much in the first place.  Man, is it ugly!  Know of any good appearance changes?  I\'m going to need to start another post for that!
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: cgav8r on March 15, 2004, 01:16:11 am
Does anyone know if the tkc roms have the workaround?
Title: New cache-errata-free kernel! Thanks, tumnus!
Post by: cgav8r on March 16, 2004, 02:00:01 am
OK, that was a STUPID question.  Nevermind.