Help - Search - Members - Calendar
Full Version: fast 6000 kernel, along with special libsdl
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > Guylhem Rom
Pages: 1, 2, 3, 4
guylhem
Hello

If you want to try a kernel that can go to 530 Mhz, has (or should have - did that tonight) video accel,preemptible kernel for enhanced responsiveness, a faster floating point emulation, better keyboard support to map new actions to long keypresses, usbd-storage to use the Zaurus as a usb flash disk, firewalling, and various security backports for the 2.4 kernel check http://externe.net/zaurus/modules.php?op=m...order=0&thold=0

Along is a special libsdl (with a sample fz.sh file to start snes9x) that work in 240x230 portrait mode and can be mapped to hardware keys (address, agenda, home, menu...) i.e. you can use your Tosa like a gameboy - you don't have to open the keyboard again to play. [that could also be interesting for 5500/5600 owners]

With both the new kernel and this libsdl, I can downclock the kernel to the minimum and still get near full framerate with sound at 240x230 (use fz.sh). Sweet. The only problem is I don't know why it can't display in 480x640

Feedback, tests, bugreport welcome ! I know the SDL rightmost 20 pixels are incorrectly drown on the left handsite- working on that, and I didn't compile pcmcia ethernet/wifi support - that's because I don't have either on my 6000]
coolass
What's the difference between the two?http://led.e-fever.org/zaurus/
gab74
Do you install the new kernel on SL6000L ?
I try to follow the procedure but when i

rm -fr /lib/modules.rom
tar zxvf modules.lib.tar.gz

> RECEIVE ERROR NO SPACE LEFT ON DEVICE

rm -fr /home/root/modules
tar zxvf modules.links.tar.gz


Any Helps ?
guylhem
Gab, did you remove the opera pdf module as indicated? If you don't, you won't have enough space. There are many modules here (so you can do iptables, usb storage etc)

The kernel is based on tetsu one - he gave me his latest source. For the diff, see the reply I made. I also integrated the latest bluetooth patch.
coolass
QUOTE(guylhem @ Oct 9 2004, 01:19 PM)
Gab, did  you remove the opera pdf module as indicated? If you don't, you won't have enough space. There are many modules here (so you can do iptables, usb storage etc)

The kernel is based on tetsu one - he gave me his latest source. For the diff, see the reply I made. I also integrated the latest bluetooth patch.

I couldn't find your reply about the difference in kernels. NEVER MIND, I FOUND IT......
coolass
I followed all instructions to the letter and found out that some drivers were missing from the usb host files and sd card's not registering so I'm going to flash back. and try the other way.
gab74
Resolved problem for

NO SPACE LEFT TO DEVICE


I've updated, thanks guylhem, now i see during the reboot if there is some strange thing...
gab74
After updating there are some problems :

Kernel say that some drivers were missing from the usb host files ( MODULES NOT FOUND !!!)


My sd card's not registering, i only can see my CF card but my SD NO !!!

Why this ???

Any helps ???
gab74
I've found other problems after updating with new moduiles :

- MY WLAN stop WORKING !
- The 'arrow down' stop working in terminal window !!!
Here is the detailed errors :

modprobe : CANT LOCATE MODULE BLOCK-MAJOR-60
modprobe : CANT LOCATE MODULE USB-OHCI-TC6393
insmod : VTTY no module with this name
CANNOT MOUNT USBDEVS ON /PROC/BUS/USB : NO SUCH FILE OR DIR

probably the kernel is only " work in progress".....
guylhem
Weird. I do not have this problem. did you do depmod? got any error ?

Please do a depmod -ae and report hte erros - or the erros you have now.

Regading the arrows, that's part of the experimental keyboard optimisation - I'll send you a new kernel this afternoon.
gab74
do depmod -ae give me this error :


*** Unresolved symbols in /lib/modules/2.4.18-rmk7-pxa3-embedix/net/prism2_usb.o

it seems only a problem on net modules....why my SD is not recognized ???

ok, please i'm waiting for the new kernel.....

I HAVE ALSO :

bogus logical sector size ERROR during BOOT
gab74
guylhem,
May you be more specific on what the freqchange.conf file is ?
Why Maximum speed 163 ?? SL6000 goes at 400MHZ by default or am i making any mistake ?
So i have to try

Maximum speed ,530
Medium speed ,450
Low speed ,350
Slow speed ,200
Slowest speed ,160

is it rigth ?

And what means the second part of file :

>Charge bat ,241,-1
>40 ,161,40 ,FORCE
>25 ,241,25 ,FORCE
>5 ,240,5 ,FORCE

I'm not understand.....
guylhem
freqchange is for the battery applet, 163 is an alias for 530 Mhz. don't use your values - try qlockchange to get the correspondance between cccr and mhz
gab74
ok thanks,
any news for new kernel ? i've still the same problems...
hubcapboy
well, kernel write bricked it...

after following tutorial, cf card had just the three files consolescroll, zImage, and updater.sh.

kernel update went fine, scrolled to 100%, and asked to reset. I did, and then cried when there was no boot. with the AC connected and the power off, the battery charge light is on. When I switch on, battery light switches off and there is no response.

have tried a few times after nand restores (which, thank god, seem to be the magic fix for everything)

even tried renaming zImage to zImage.bin, but then kernel update didn't happen at all.

pre-update I did the pdf module removal, and installed the libSDL.

anyway, let me know if you have any ideas, it's interesting that somthing so fundemental could be different between machines.... got to get back to finite element analysis hw.
tumnus
Just thought I'd point out that the pre-emptive kernel patch hardly improves responsiveness and at the same time can break kernel module compatibility in weird ways (The modules still load but they do not work properly, which sounds like what is going on here).
gab74
Do you have substitute the modules files too ???
I've no problem to update the kernel....follwing the howto from http://externe.net/zaurus/modules.php?op=m...order=0&thold=0

my problem i s during boot as i said at the top of this topic....
problem not yet solved.....
amdonati
Hi Guylhem,

I tried your Kernel, but as others, I could not see my SD card (altough the MMCSD module correctly loaded) and therefore I had to come back to the standard kernel.

Have you been able to solve this issue, as well as some others (like to usbhost driver not working)?
I would really like to have the faster kernel.

Could you also check your libSDL?
I am using it as it is the best one, in my opinion for the Tosa, but having it packed in an ipk and with some of the issues discussed Here (Exult, keys mapped incorrectly for some games while rotated...) solved would be really great!

Thanks for the support,

Cheers,
Adalberto
smuelas
Thanks a lot for the version of the kernel with no FPS. Now it runs wonderfuly in my 6000 with Xqt-Debian.
Smuelas
amdonati
QUOTE
Thanks a lot for the version of the kernel with no FPS. Now it runs wonderfuly in my 6000 with Xqt-Debian.
Smuelas


Is the kernel without FPS monting SD cards correctly?

Adalberto
guylhem
Hello

All that's strange. I use this kernel on a daily basis, and I do use my SD card without any problem. For reversed keyboard, just use the exports with SDL. The only real "bug" I have is with wifi, where I sometimes have to do insmod. [why?]

usbd stuff works.

Did you try to insmod the sharpmmc module by hand? Did you have any error ? Could you try the non FPS kernel and report me how it works? (pm or email - I don't check the forum very often)

Regarding the loosing focus problem, I could reproduce that bug. I have no idea where it comes from :-) I did tweak everything too much, will try to fix that soon.
guylhem
hubcapboy, any news? that's very very strange. It works like a charm for some people and it seems to have problem with others.

Maybe the 530 Mhz overclock is at fault? I will try to release a new version without overclocking at boot time (yet with overclock support)
amdonati
I'll give another try to the kernel ASAP.I'll let you know what's happening to me! tongue.gif

Cheers,
Adalberto
hubcapboy
yea I restored and was back in action pretty quick, but there was definitely no magic involved in booting the new kernel. just plain didn't kick over.

haven't tried it since, I was playing around with oz x.2, hopefully in time that will turn from a port to the 6k to a package FOR the 6k. It's fun to play around with but not superior to sharp based on usability yet.
amdonati
Guylhem,
I trieds to install both of your kernels, and I have the same problems with both.
When the kernel starts, I have a "Cramfs wrong magic", than I have a lot "inode #.. was a directory with children, remving those too".
The sharp_mmcsd is loaded, but then I receive a lot of "pxa_sd_stopclock: clock stop time out"
Than I have a lot of "VFS: Disk changedetected on device mmcd (60,1)"

At the end the system starts and seem to work corrcetly, apart that I cannto see the SD.
I tried with 2 cards (both ext2), with the same result.

I can forward my dmesg, if this could be useful, just remember me how to output it to a file unsure.gif

Thanks,
cheers,
Adalberto
Zar2Cool
I am having the same issues as amdonati.
It does not look like the ext2 filesystem is compiled into the kernel.
Least it's not listed in /proc/filesystems

Also, my socket CF ethernet card does not work.

Seems fast tho.
guylhem
amdonati, Zar2Cool : the error messages you see are normally hidded. This is not a bug. Regarding the CF - I think you found the bug: I did not compile ext2 in. I will try to compile a module for you. Same for socket ethernet and other peripherals I don't have :-)

Will post an update on externe.net soon
ambience713
guylhelm, thanks for the kernel. I have been using the kernel with no ill effect (except on crash when overclocked to 520). I really enjoy the automatic SAMBA share on the Windows. biggrin.gif

But is there a way to get the SDL and SNES9X to work properly? I am only getting 1/8th of screen, "-FS" doesn't work. Thanks.
Zar2Cool
I grabbed the source and recompiled the kernel with ext2 support. My SD card now works fine.
How do I tell the overclocking is working. The vids seem to play faster, but it's hard to tell.

Can't get the socket CF to work. How do you compile modules for this thing?
amdonati
Than this was my problem too! :-)

I am eagerly waiting for the new kernel with ext2 biult in.

Unfortunately here I cannot compile it :-(

I have also a socket CF and Socket BT (rev.f), will the modules be included?

Zar2Cool: to check the actual speed of your Z, try QclockChange

Adalberto
Zar2Cool
I have a kernel with ext2/3 reiserfs, etc. But it's a bit useless since I blew away the existing modules. The new kernel does not compile with many modules, so I need the existing ones. I have yet to find a source for them. Can anyone tarball up the /lib/modules of a stock z6k for me? I am not sure how well they will work with the new kernel, but it's worth a shot.

Th4nkz
amdonati
guylhem, any news on the ext2 support in your rom?

I have it now installed and everything seems to be fine, and I like your improvements, but I am cut off from my SD card and all the apps mounted on it (including the most useful ones like KDE/PIM!) making my Tosa a sort of nice and unuseful gadget! :-(

Smuelas, yous aid you are using the fast kernel with embeddeddeian, but I think to remember that it needs an ext2 formatted CF or SD. How do you manage to sue it without Ext2 support?

Adalberto

PS: I installed the fast kernel only but my Wifi drivers seem to load correctly.
selfabuse
I downloaded the source for the fast kernel, and didn't even see ext2 as an option when I did a make menuconfig - digging through the actual source, the stuff for ext2 was there, so I busted open the .config by hand, and found the EXT2 line - looks like it was set to be compiled as a module - odd thing is that even if I do an insmod on the ext2 module, I still don't have proper ext2 support. I set ext2 to be compiled in to the kernel itself in the .config, recompiled, and still no go. [sigh] back to the sharp kernel for me. Fast kernel seems great, but my debian install is on my ext2 SD card.
selfabuse
Ok - think I figured this out. I recompiled the kernel again, with ext2 compiled in and had the same thing happen. Opened up my /etc/fstab and took 'owner' out of the mmcda1 line, and now I can mount my ext2 sd card.
guylhem
Hello

Sorry for any delay. there're cool japaneese patches I want to add - and my #1 issue at the moment is being able to remap power and record keys.

Regarding the reported sdl problems, if you use my scripts you should be able to run snes9x and others without any problem. Just *don't* create an icon to launch them - you must do that manually from a terminal, or after 2 seconds they will loose focus while having grabbed your input (ie basically you must reboot your zaurus)

I will try to release a statically compiled version of libsdl, snes9x and other with softfloat to see how fast they can go.

Nice to see ext2 is working again - so you're all set!

Guylhem
amdonati
Selfabuse, would it be possible to have your kernel?
I cannot recompile here but would be very happy to have the overclocked one with ext2!

Guylhem, when you will post your updated kernel (whenever this will be), could you have it with ext2 compiled in? I am eager to see the SDL and the emulators compiled with softfloat!
One question, will the Softfloat SDL be compatible with the non-softfloat programs requiring SDL? And will these programs have an increased speed too?


Thank you very much to both!
Adalberto
selfabuse
The kernel I compiled w/ ext2 didn't actually work as well as I had hoped (Not the ext2 part - that worked fine) So I switched to the no-ffpe kernel, manually insmoded the ext2 module, and it seems to work too (After removing the 'owner' part from /etc/fstab)

I've actually got a little script I run when I log on that insmods modules for me to save me the trouble of doing it myself. I'm sure I'm probally missing a couple modules, but I haven't run in to any problems yet.

Here's the script for anyone who is interested

CODE
#/bin/sh

insmod /lib/modules.rom/2.4.18-rmk7-pxa3-embedix/net/p80211.o
insmod /lib/modules.rom/2.4.18-rmk7-pxa3-embedix/kernel/drivers/usb/usbcore.o
insmod /lib/modules.rom/2.4.18-rmk7-pxa3-embedix/kernel/drivers/usb/usb_ohci_tc6393.o
insmod /lib/modules.rom/2.4.18-rmk7-pxa3-embedix/net/prism2_usb.o
insmod /lib/modules.rom/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/sharp_mmcsd_m.o
insmod /lib/modules.rom/2.4.18-rmk7-pxa3-embedix/kernel/fs/ext2/ext2.o
mount /dev/mmcda1


I'm sure it could be kludged in to /etc/rc.d, but I haven't got around to doing that quite yet.

Here's also my fstab so you can see what I removed


CODE
/dev/mtdblock2  /               jffs2   ro,noatime      1  1
/dev/mtdblock3  /home           jffs2   defaults,noatime        1  2
none            /dev/shm        tmpfs   size=1m,noauto  0  0
/dev/mmcda1     /mnt/card       auto    noauto  0  0
none            /dev/pts        devpts  gid=5,mode=620  0  0


On the original fstab, there's 'noauto,owner' on the /dev/mmcda1 line - removing owner and manually insmoding ext2 and the SD slot seems to make it work.

I'm thinking about backing up what I've got on my Z now, reflashing the original NAND, installing just the fast kernel and SL-6000 SDL, adding the insmod script to /etc/rc.d and making a NAND image of that - that way people could just flash the NAND and save themselves the trouble of figuring out how to glue all this together. I'm not too familiar with the details of the GPL though, so I might not even be allowed to do something like that.
adf
I dl'd the whole thing from externe.net. it simply doesn't update on my 6000l. I renemaedthe zImage to zImage.bin, ectracted the modiules, and left the archives.... I dunno.. it doesn't see updater.sh, and doesn't update.
adf
Ok, got the flash. minix is pretty unuseable, no ext2-short filenames- can't use pocket workstation.
I don't have a chain set up, and was really thinking of doing compiling more fro oz/gpe.
I think, that what is needed here are some loadable modules, like ext2, 3? I really like the idea of this ffpe enabled kernel, the fast sdl all on the solid sharprom base--- it seems likel sdl is really where floating point is needed, - games, video,etc. I would love to see this kernel with the sdl and qtopia 2.1 released for the 6k. sadly I have limited skill and time. Is any progress being made on ext2 support? (or any more modern fs?)
selfabuse
Everything I said a couple posts up ought to work just fine on the ffpe enabled kernel too - the ext2 module is there, it's just needs to be insmod-ed.
adf
will check it out... pretty much have the generic sharprom n ipks set up for easy redoing smile.gif

edit: since I had already installed stuff there wasn't room to install the fast kernel. Having already hosed the system I figured I should just go to oz/opie and have floating point and overclocking. Thanks though.. I will check this out eventually
pldrouin
Any update about the kernel with ethernet support? I've tried the kernel with normal ffe and it seamed to run very well with my SD card. However I had to switch back to the Sharp kernel because I need to use my Socket ethernet card.

I've also tried to menuconfig linux-2.4.18-rmk7-pxa3-common-20041002, but it fails with error:
scripts/Menuconfig: line 828: MCmenu0: command not found

I don't really know how to fix it since I've found almost no information with Google about MCmenu0.

Thanks
hatchetman
Does guylhem_tosa_keyboard.patch.bz2 exist anywhere to be downloaded?
adf
I tried the floating point enabled fast kernel. Very nice. I had a problem in Xqt (both 1 and 2) though. Programs (dillo firefox sylpheed come to mind) kept asking for libgcc_s.so.o ( Ithink it was .so.o) Anyway, googling gave me the impression, possibly miguided, that this was from gcc 3.x. no big deal, but I thought I should mention it.
adf
YARG!

redid with plain generic sharp, xqt2. firefox 09gtk same error. maybe xqt2 and not the fast kernel and modules
pldrouin
I'm trying to compile a kernel (using http://www.externe.net/zaurus/kernel/linux...0041002.tar.gz), but now my SD card doesn't work. Do I have to copy the object file sharp_mmcsd.o from the original Sharp kernel to have it to work? Because I don't see any configuration parameter for it in menuconfig

Thanks
selfabuse
As a follow up to my post on Dec 28 2004, 03:51 PM


it looks like if you take all the insmods that I had there, and put them in /etc/rc.d/rc.modules then everything loads properly on boot. - so, your /etc/rc.d/rc.modules should look like this

CODE
#!/bin/sh

insmod /lib/modules.rom/2.4.18-rmk7-pxa3-embedix/net/p80211.o
insmod /lib/modules.rom/2.4.18-rmk7-pxa3-embedix/kernel/drivers/usb/usbcore.o
insmod /lib/modules.rom/2.4.18-rmk7-pxa3-embedix/kernel/drivers/usb/usb_ohci_tc6393.o
insmod /lib/modules.rom/2.4.18-rmk7-pxa3-embedix/net/prism2_usb.o
insmod /lib/modules.rom/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/sharp_mmcsd_m.o
insmod /lib/modules.rom/2.4.18-rmk7-pxa3-embedix/kernel/fs/ext2/ext2.o
mount /dev/mmcda1


exit 0
adf
thanks.
selfabuse
pldrouin - I could be wrong on this, but I don't think the sharp_mmcsd.o driver is open source, so you would need to copy the file over from your stock kernel
adf
I think S.A is right. if the sd/mmc mdule were open, open zaurus would long since have been on kernel 2.6 (which allegedly might show up)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.