Author Topic: collie and kernel from 3.5.3 upgrades  (Read 45981 times)

tombraider

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
    • http://atoah.com/zaurus/
collie and kernel from 3.5.3 upgrades
« Reply #75 on: July 23, 2005, 11:05:15 am »
Quote
Uf, still experimenting with roms!

1- flash 3.5.2, ALL ok BUT no windows sync soft works (original cd or last intellisync from 3.13). So I get KA/PI KO/PI with PI-Sync, its a little troublesome to get it working but it finally runs fine, just it gets much memory and takes a big loadtime. Is there an intelliSync/Qtopia soft that works with 3.5.2 ?

2- flash Hentges rom, and again the suspend problem, but not so frecuently, and now the clock don't reset, but keeps the time where it freezes. I just don't understand. Is there a procedure or configuration to avoid the problem? (its just software I presume).

Arrgh I like more the opie PIM than KO/PI   

Salute la barra!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=86992\"][{POST_SNAPBACK}][/a][/div]

You can use Qtopia 1.7,  a free download, to sync.  I use it wirelessly to sync with the opie PIM and Outlook.
Learning Chinese?  Have a Mac?  Try Hanzi Master: Download for free

Tombraider's Zaurus C1000 Tips Web Site

SL-3200 from Conics.net: Sharp ROM| SL-C1000: Pdaxrom Beta 3

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

bsaunder2002

  • Newbie
  • *
  • Posts: 37
    • View Profile
collie and kernel from 3.5.3 upgrades
« Reply #77 on: July 29, 2005, 01:31:46 pm »
It appears that the 64/0 r21 kernel does NOT work with the stock GPE initrd.

Any ideas?

Bill

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
collie and kernel from 3.5.3 upgrades
« Reply #78 on: July 29, 2005, 07:14:45 pm »
Did you upgrade the kernel modules as specified in hrw's link to oz.org?


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

bsaunder2002

  • Newbie
  • *
  • Posts: 37
    • View Profile
collie and kernel from 3.5.3 upgrades
« Reply #79 on: July 30, 2005, 12:36:26 am »
I posted this on the main page and forgot to post it here...
Yep I upgraded the modules at least did a "ipkg upgrade"...
here's the long story...

This kernel does not seem to work for GPE…
I did the following:
- reflashed 3.5.3 stock gpe and kernel
- booted, configured USB, setup upgrades(+ all other) feed on my laptop
- ipkg update
- ipkg upgrade
both of these appeared to work fine
- deleted all files off of my CF
- copied zImage-collie-64-0-r21.bin to my CF as zImage
- reflashed
- rebooted
=> this leaves me with the GPE banner screen and does NOT boot
the system does not respond to fn-c or calendar-c

Does anyone have any suggestions for gpe?

oh how I wish opie ran on dietX11

bsaunder2002

  • Newbie
  • *
  • Posts: 37
    • View Profile
collie and kernel from 3.5.3 upgrades
« Reply #80 on: August 10, 2005, 05:25:04 pm »
ok, I now have a working kernel.

l0nst3r compiled a 64/0 SL-5500 kernel for me that works with the stock gpe initrd.bin, doesn't have the right arrow suspend bug, and seems to suspend/resume almost perfectly...

If someone figured out how to get r21 working with the gpe initrd then please let me know.

Otherwise, if you wanna gpe with 3.5.3 and not have a lot of bugs...I have the kernel for you.  I'll post it somewhere if someone lets me know where...somehow.

Bill

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
collie and kernel from 3.5.3 upgrades
« Reply #81 on: August 21, 2005, 11:36:27 am »
Aaargh, I'm sure I posted somewhere saying that I'd get 'round to upgrading, but I can't for the life of me find that post.

Anyway, I upgraded my collie to 3.5.3 and saw the suspend issue, then I added the upgrades/collie feed as a new feed, commented out all of the others (to ensure that only the kernel modules would be upgraded), did 'ipkg update && ipkg upgrade', flashed the new kernel and it all works perfectly.

That was with an opie image, I'll grab a GPE image and see how that goes next,

Anyway, this is just a post to say that it does work ,


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

ajaygautam

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • http://
collie and kernel from 3.5.3 upgrades
« Reply #82 on: September 07, 2005, 11:35:24 am »
I am trying to get rid of suspend issues that have started to occur after installing OZ 3.5.3 on my SL-5500. Using 64-0 config, with /home and /opt pointing to /media/card/home and /media/card/opt respectively.

Trying to fix:
1. Sometimes, Z resumes, but keyboard freezes. Am not able to suspend / shutdown Z. An attempt to do so freezes the PDA.
2. Upon semi-hard reboot (Change battery / Normal Operation), Z comes up, but loses date information. Everything gets reset to Aug 8th 2005, 8 am (or something like that)

Issue Synopsis: Flashing seems to do nothing. The kernel version still remains the same.

Details:
Following instructions from http://openzaurus.org/wordpress/2005/07/27...rnel-on-collie/ Here is the exact set of steps I followed:

add upgrades/collie into ipkg.conf
run ipkg update;ipkg upgrade to get r21 kernel modules installed

Code: [Select]
root@collie:/media/card/home/root# cat /etc/ipkg.conf
(.... comments sniped ....)
src/gz kernel http://www.openzaurus.org/official/unstable/3.5.3/upgrades/collie/
src/gz machine http://www.openzaurus.org/official/unstable/3.5.3/feed/machine/collie
src/gz upgrades http://openzaurus.org/official/unstable/3.5.3/upgrades/
src/gz base http://openzaurus.org/official/unstable/3.5.3/feed/base/
src/gz libs http://openzaurus.org/official/unstable/3.5.3/feed/libs/
src/gz console http://openzaurus.org/official/unstable/3.5.3/feed/console
src/gz devel http://openzaurus.org/official/unstable/3.5.3/feed/devel
src/gz opie http://openzaurus.org/official/unstable/3.5.3/feed/opie

dest root /
dest cf /media/cf/packages/
dest sd /media/card/packages/
dest ram /media/ram/packages/
root@collie:/media/card/home/root# ipkg update
(.... snip ....)
root@collie:/media/card/home/root# ipkg upgrade
(.... snip ....)

copy r21 kernel from “upgrades/collie” into CF card and flash it (ONLY kernel)
Code: [Select]
agautam@GentooDesktop ~/OZ/3.5.3 $ wget http://www.openzaurus.org/official/unstable/3.5.3/upgrades/collie/zImage-collie-64-0-r21.bin
(.... snip ....)
11:13:59 (242.50 KB/s) - `zImage-collie-64-0-r21.bin' saved [911,468/911,468]

agautam@GentooDesktop ~/OZ/3.5.3 $ wget http://www.openzaurus.org/official/unstable/3.5.3/upgrades/collie/zImage-collie-64-0-r21.bin.md5
(.... snip ....)
11:14:05 (595.70 KB/s) - `zImage-collie-64-0-r21.bin.md5' saved [61/61]

agautam@GentooDesktop ~/OZ/3.5.3 $ cp zImage-collie-64-0-r21.bin zImage
agautam@GentooDesktop ~/OZ/3.5.3 $ md5sum zImage
e179cc1991729d931f47d8031843aa0a  zImage
agautam@GentooDesktop ~/OZ/3.5.3 $ cat zImage-collie-64-0-r21.bin.md5
e179cc1991729d931f47d8031843aa0a  zImage-collie-64-0-r21.bin
agautam@GentooDesktop ~/OZ/3.5.3 $ scp zImage root@collie:/media/cf

Heres my flashing procedure:
1. Make sure that the only file I have on CF card is zImage
2. Make sure the CF card is FAT
3. shutdown collie
4. Switch mode to "Change Battery"
5. Remove battery cover.
6. Make sure power is connected
7. Press C D and the internal battery reset button.
.... Both the mail and battery lights light up
.... After approx 10 seconds (I timed it), they both switch off
8. Press the internal battery reset button.
9. Place battery cover back
10. Switch to "Normal Operation"
11. Press and hold Cancel button for a second and release
.... observe collie start ...

After collie starts up, I try to verify the kernel version:
Code: [Select]
root@collie:/media/card/home/root# cat /proc/version
Linux version 2.4.18-rmk7-pxa3-embedix-3.5.3 (hrw@home) (gcc version 2.95.3 20010315 (release)) #1 Thu, 30 Jun 2005 11:18:23 +0200
root@collie:/media/card/home/root# uname -a
Linux collie 2.4.18-rmk7-pxa3-embedix #1 Thu, 30 Jun 2005 11:18:23 +0200 armv4l unknown

boot Zaurus and be happy user of OZ 3.5.3 with r21 kernel
Code: [Select]
Would love to be one :)
Any ideas / tips to get the kernel upgraded would be greatly appreciated.

Thanks

Ajay
Zaurus:[/u] SL-5500, 64-0 kernel, OZ 3.5.3-r21
Desktop:[/u] Gentoo Linux / i686 2.6.12-gentoo-r6

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
collie and kernel from 3.5.3 upgrades
« Reply #83 on: September 07, 2005, 03:30:48 pm »
Quote
After collie starts up, I try to verify the kernel version:
Code: [Select]
root@collie:/media/card/home/root# cat /proc/version
Linux version 2.4.18-rmk7-pxa3-embedix-3.5.3 (hrw@home) (gcc version 2.95.3 20010315 (release)) #1 Thu, 30 Jun 2005 11:18:23 +0200
root@collie:/media/card/home/root# uname -a
Linux collie 2.4.18-rmk7-pxa3-embedix #1 Thu, 30 Jun 2005 11:18:23 +0200 armv4l unknown

Any ideas / tips to get the kernel upgraded would be greatly appreciated.

Look again into upgrades/collie directory and show WHEN I build r21 kernel. Then look again into /proc/version and compare both dates.

And next time use proper thread - I will move both posts to correct one.
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

ajaygautam

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • http://
collie and kernel from 3.5.3 upgrades
« Reply #84 on: September 08, 2005, 12:21:57 pm »
Thanks for the reply hrw. Appreciated.

Quote
Look again into upgrades/collie directory and show WHEN I build r21 kernel. Then look again into /proc/version and compare both dates.

umm... not sure if I understand what you mean. What to look for in upgrades/collie? I can see the new kernel modules and other packages. These got upgraded when with ipkg upgrade.

I do see that the date /proc/version shows, and the timestamp on the r21 kernel at upgrades/collie are the same (june 30, 05). Is that what you meant for me to check?

Do the timestamps being same indicate that the upgrade was sucessful?


Quote
And next time use proper thread - I will move both posts to correct one.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=94891\"][{POST_SNAPBACK}][/a][/div]

In my defense... I did read this thread before posting, but didn't really find much discussion about r21 kernel, so I posted a new post.

Anyway, coming back to the topic...

If the timestamps show that the kernel was infact upgraded, what should I do about the suspend issues that I am facing (relisted below) ? Any pointers would be greatly appreciated.

Quote
Trying to fix:
1. Sometimes, Z resumes, but keyboard freezes. Am not able to suspend / shutdown Z. An attempt to do so freezes the PDA.
2. Upon semi-hard reboot (Change battery / Normal Operation), Z comes up, but loses date information. Everything gets reset to Aug 8th 2005, 8 am (or something like that)

Thanks

Ajay
Zaurus:[/u] SL-5500, 64-0 kernel, OZ 3.5.3-r21
Desktop:[/u] Gentoo Linux / i686 2.6.12-gentoo-r6

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
collie and kernel from 3.5.3 upgrades
« Reply #85 on: September 09, 2005, 05:56:23 am »
1. it's not APM problem but usbnet related modules  "sa1100_bi net_fd usbdcore" are loaded in wrong order - blame Sharp/Lineo
2. rm /etc/timestamp IIRC - collie has RTC, PXA based zauruses does not
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

ajaygautam

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • http://
collie and kernel from 3.5.3 upgrades
« Reply #86 on: September 09, 2005, 02:03:50 pm »
Quote
1. it's not APM problem but usbnet related modules  "sa1100_bi net_fd usbdcore" are loaded in wrong order - blame Sharp/Lineo
[div align=\"right\"][a href=\"index.php?act=findpost&pid=95165\"][{POST_SNAPBACK}][/a][/div]

What is the correct order?
Can I insmod them in the correct order?
Here is the current order:
Code: [Select]
root@collie:/media/card/Documents/text# lsmod
Module                  Size  Used by    Tainted: PF
sa1100_bi              22924   0 (unused)
net_fd                 16636   1
usbdcore               22504   0 [sa1100_bi net_fd]
usbdmonitor             5448   0 (autoclean)
kbdsim                  1216   0
sharp_mmcsd_m          25792   2
rfcomm                 33512   0
l2cap                  17316   2 [rfcomm]
bluez                  32632   1 [rfcomm l2cap]
ipv6                  152344  -1
ipsec                 280008   0 (unused)

Quote
2. rm /etc/timestamp IIRC - collie has RTC, PXA based zauruses does not
[div align=\"right\"][a href=\"index.php?act=findpost&pid=95165\"][{POST_SNAPBACK}][/a][/div]

Thanks

Ajay
Zaurus:[/u] SL-5500, 64-0 kernel, OZ 3.5.3-r21
Desktop:[/u] Gentoo Linux / i686 2.6.12-gentoo-r6

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
collie and kernel from 3.5.3 upgrades
« Reply #87 on: September 10, 2005, 03:11:25 pm »
usbdcore
net_fd
sa1100_bi

By default it should work via simple "modprobe sa1100_bi" but this require normal modprobe or patched busybox - I don't remember what was on collie with OZ 3.5.3 but remember that my collie flashed with 3.5.3 had it working.
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.

robbb

  • Newbie
  • *
  • Posts: 2
    • View Profile
collie and kernel from 3.5.3 upgrades
« Reply #88 on: September 11, 2005, 09:25:43 am »
Hi HRW,

the upgrade worked twice for me, but each time after the upgrade my CF-WLan card stops working!!??!!  

The syslog says:
Unable to handle kernel paging request at virtual adress 000e0031

It is an TrendNet TEW-222CF (works normally as Orinoco)
It worked before, as I did the upgrade with it.

Any Ideas
TIA
robbb

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
collie and kernel from 3.5.3 upgrades
« Reply #89 on: September 28, 2005, 06:07:22 pm »
robbb: remove "orinoco-modules*" and install newer ones from upgrades collie feed. I hope that they will work.

I forgot about them - I rebuilded hostap-modules because I have prism2 based card so it was easy to catch that something does not work. Sorry.
« Last Edit: September 28, 2005, 06:08:58 pm by Hrw »
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.