OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => 5x00 General discussions => Topic started by: Joeboo on April 07, 2004, 10:24:19 pm

Title: Special kernel install woes...
Post by: Joeboo on April 07, 2004, 10:24:19 pm
Help,
  I\'m trying to install the special kernel into my 5600 and I can\'t get it to work.  The rom updated to 1.32 fine using the PC software.  I managed to rogue a 20mb sandisk CF card from work to install the kernel update, but when I follow the instructions here (turn off, remove battery cover, reset, ok/cancel button, update, cf, etc...) I get the sharp screen, and at the bottom it says modprobe: can\'t locate devinfo then screen says --Sharp Updater-- and something about not finding or being able to create some directories (tmp/something/updater.sh etc.)  

The card has two files: updater.sh from the ROM upgrade, and zImage.bin which I renamed from this site.  The Documents and QtPalmtop folders which are loaded automatically are there as well.

I\'ve tried formated the card in the Z, and formating it using windows and a card reader at work.  Niether made any difference.

What am I doing wrong?  This card works fine for moving and using files, but could there be something wrong with it?

thanks
Title: Special kernel install woes...
Post by: egn on April 08, 2004, 09:14:14 pm
Did this last night.  Both files have to be on the root (/) directory of the card.  My mistake was I was putting them in InstallFiles.  If you follow the same procedure as with the ROM update you should get the new kernel to work.  Hope this helps.
Title: Special kernel install woes...
Post by: HydroWVU on April 29, 2004, 11:08:31 pm
I am having the exact same problem, but updater.sh and zImage.bin are in the / directory on my SD or CF cards. I get the same error as above, and on the Sharp Updater screen I can see can\'t create directory /etc/update/control/next

What is causing this problem?

Other facts,
I moved the files with the Zaurus file transfer utility.
Both files are owned by root with file permissions of 666
I flash 1.32 earlier but that was succesful

TIA

John
Title: Special kernel install woes...
Post by: tumnus on April 30, 2004, 03:15:44 am
The CF/SD card must be FAT16 (DOS FAT) formatted using fdisk to set the correct partition type and mkfs.msdos on the Zaurus to make sure it is formatted properly. With FAT there are no permissions to set for the files and while FAT is technically not supposed to be case sensitive, the Zaurus might be case sensitive with regards to these files.
Title: Special kernel install woes...
Post by: cgrieves on April 30, 2004, 10:52:26 am
I\'ve got the same problem- 1.32 flashed perfectly well via USB. Trying to install the special kernel though- the zImage.bin and updater.sh are on the root of my CF. The updater bombs out saying it can\'t create a directory then reboots.

I formatted the card with FAT16 from windows though- being a bit of a Linux newb has anyone got step-by-steps on how to format a CF on the Z?
Title: Special kernel install woes...
Post by: Greg2 on April 30, 2004, 11:15:32 am
Quote
I formatted the card with FAT16 from windows though- being a bit of a Linux newb has anyone got step-by-steps on how to format a CF on the Z?
cgrieves

Insert cf-card, open terminal and:

# su
# umount /dev/hda1
# mkfs.vfat /dev/hda1
# mount /dev/hda1
# exit

Greg
Title: Special kernel install woes...
Post by: cgrieves on April 30, 2004, 12:08:18 pm
OK that seemed to work but I can\'t copy to the CF card now (from File Transer or Cut/Paste on the Z). Weird....
Title: Special kernel install woes...
Post by: Joeboo on April 30, 2004, 01:17:42 pm
Still no luck for me yet...

Were you able to install the kernel?

I think my problem may be the card, it an old sandisk card that we use in a 6 year old digital camera at work.  When I can afford it, I will probably pick up a new SD card and try it from there.
Title: Special kernel install woes...
Post by: Caena on April 30, 2004, 03:43:16 pm
I had the same problems until I realized I was using the wrong updater.sh script.  You need the one thats from the 560v132c.zip file.
Title: Special kernel install woes...
Post by: cgrieves on April 30, 2004, 04:55:39 pm
Wonderful thankyou, that fixed it for me

My Z seems much more responsive already. Hopefully stability won\'t be affected....
Title: Special kernel install woes...
Post by: Joeboo on May 01, 2004, 05:33:40 pm
(ding..ding..ding)  We Have A Winner.    It finally worked.  Thanks for the help.  Is this in the FAQ? If it isn\'t it needs to be.  I was using the \'u\' version of the ROM, not the \'c\' version that I needed.  Thanks
Title: Special kernel install woes...
Post by: Keola on May 02, 2004, 08:08:43 pm
I know there are the patches in the download section and roms and such... but does anyone host these special roms anywhere? I really don\'t have anywhere to compile these.

Thanks
Title: Special kernel install woes...
Post by: HydroWVU on May 03, 2004, 11:07:12 pm
Awesome, that fixed it.  And now my Zaurus is functional... I can surf the web with out it complaining about memory.  Thanks

John
Title: Special kernel install woes...
Post by: cmisip on May 04, 2004, 12:31:06 am
If you still run into problems with memory and such on your 5600 during surfing, you can try nfs swapping using a virtual ramdisk as swap device.  This is what I am using as some sites are not pda friendly.  This plus raising the memory limit of Opera.
Title: Special kernel install woes...
Post by: tumnus on May 04, 2004, 04:16:46 am
Quote
I know there are the patches in the download section and roms and such... but does anyone host these special roms anywhere? I really don\'t have anywhere to compile these.


Just click the patch title on the downloads page: http://www.zaurususergroup.com/modules.php...q=getit&lid=188 (http://www.zaurususergroup.com/modules.php?op=modload&name=UpDownload&file=index&req=getit&lid=188)
Title: Special kernel install woes...
Post by: zhanght on June 18, 2004, 01:24:07 pm
Hi, All and tumnus! I\'m just a zarusu 5600 newbie in China.

My Z have a pxa250 and can not decode divx clips with sound enabled
and that why i want to try your \"special kernel\"
But seems curently, Sharp only supply 1.0 CN ROM
and AFAIK Sharp still not annouced
that whether they will release new ROM like 1.32 support Chinese
As you know, i18n support and some apps like \'Chinese handwriting inputmethod\' is really important for me,
so i can not upgrade to any other languege 1.32 ROM!
My question is : Can you tell me howto upgrade my Z to your \'special kernel\' directly from 1.0 ROM?

Anyway, thanks in advance
Title: Special kernel install woes...
Post by: tumnus on June 18, 2004, 02:59:48 pm
Do you have the files for the Chinese Sharp ROM? If so you could just try installing the Special kernel and see if it works. If you have the Chinese ROM files you can always go back if it doesn\'t. The upgrade instructions are on the download page. I can\'t remember what language support was compiled into the Special kernel.
Title: Special kernel install woes...
Post by: zhanght on June 20, 2004, 06:00:11 am
Dear tumnus:  Thanks!
Now, i got a VAX 231... from dhry test

kernel working perfect on my 5600! load games like \'Snails\' more faster!
but seems video playback with sound  still not very well
i just using mplayer come with \'Kino2\' and using \'tonyolsen\'\'s script
\"-vop rotate=1, scale=236:-2,rotate=6 -geometry 87:2 -framedrop \" with it.

so, can you tell me what\'s player you\'re using on your 5600 for mpg4 and divx clips? and how about the \'fps\' on your Z?
Title: Special kernel install woes...
Post by: tumnus on June 20, 2004, 02:16:52 pm
I use the mplayer that was distributed with MPlayerShell, which doesn\'t seem to be available anymore, but I guess the kino version should be just as fast.

Are those options the ones you use for playback? If they are, that is probably what is slowing it down. If you have to scale or rotate movies, any Zaurus will struggle, so you must re-encode movies to fit on the 320x240 screen and be in landscape (normal) orientation as see on your desktop PC. I use mencoder from mplayer on my Linux box to re-encode movies. With the win32-codecs installed it can re-encode just about anything. I have a really simple script to re-encode movies (the rotation is to rotate movies encoded for PocketPC, that always seems to be encoding in portrait orientation):

Code: [Select]
#!/bin/bash



if [ "$#" -lt 2 -o "$#" -gt 4 ]; then

   echo "Usage: zvidencode [0|1](Rotation) [mono(defa

ult)|stereo|copy]"

   echo "e.g. zvidencode my_movie.avi my_zaurus_movie.mpg 0 stereo"

   exit 1

fi



if [ "$4" = "stereo"  ]; then

   oacopts="mp3lame -lameopts mode=0"

elif [ "$4" = "copy" ]; then

   oacopts="copy"

else

   oacopts="mp3lame -lameopts cbr:br=64"

fi



if [ "$3" = "1" ]; then

   mencoder "$1" -vop scale=320:,rotate=2 -o "$2" -oac $oacopts -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=128 -ofps 15 -sws 2

else

   mencoder "$1" -vop scale="320:" -o "$2" -oac $oacopts -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=128:autoaspect -ofps 15 -sws 2

fi