Fast kernel install instructions

From OESF

Jump to: navigation, search

Contents

Quick Start

- Download the following files from http://externe.net/zaurus/flash/kernel/binaries/

 consolescroll		?
 keyboard.tar.gz	Updated keyboard definitions
 modules.tar.gz		Updated modules
 updater.sh		script to update zImage
 updater.sh.decrypted	contents of updater.sh
 zImage			New kernel
 read.me		This file


Sharp ROM Instructions ONLY

Place [consolescroll, updater.sh, zImage] at the root of the CF card (or SD card):

 scp consolescroll updater.sh root@zaurus_ip:/mnt/cf
 scp zImage root@zaurus_ip:/mnt/cf/zImage

Remove the PDF plugin module from opera (this will also remove any customized modules you have added):

 mount -n -o remount,rw /
 rm -fr /usr/QtPalmtop.rom/opera/plugins /home/QtPalmtop/opera/plugins
 cd /lib
 rm -fr modules.rom modules
 mkdir modules
 cd modules
 rm -fr /home/root/modules

Copy and unpack the new modules into the directory you created on your Zaurus

 scp /mnt/cf/modules.tar.gz root@zaurus_ip:/lib/modules
 cd /lib/modules
 tar zxvf modules.tar.gz
 cd ..
 mv modules modules.rom
 cd /home/root/
 mkdir modules
 cd modules
 find /lib/modules.rom/ -type d| sed -e 's/^.*rom\///g'|xargs mkdir -p
 for i in `find /lib/modules.rom/ -type f|grep "\.o"| sed -e 's/^.*rom\///g'`; do ln -sf  /lib/modules.rom/$i $i ; done

Update the keyboard definitions

 cd /opt/Qtopia/etc
 rm *tbl
 wget http://externe.net/zaurus/flash/kernel/keyboard/holdkey.tbl
 wget http://externe.net/zaurus/flash/kernel/keyboard/keycode.tbl
 wget http://externe.net/zaurus/flash/kernel/keyboard/keysymbols.tbl


Guylhem ROM Instructions ONLY

Place [consolescroll, updater.sh, zImage] at the root of the CF card (or SD card):

 scp consolescroll updater.sh root@zaurus_ip:/mnt/cf
 scp zImage root@zaurus_ip:/mnt/cf/zImage
  
Copy and unpack the new modules into the directory you created on your Zaurus
  
 scp modules.tar.gz root@zaurus_ip:/lib/modules
 cd /lib/modules
 tar zxvf modules.tar.gz

Update the keyboard definitions

 cd /opt/Qtopia/etc
 rm *tbl
 wget http://externe.net/zaurus/flash/kernel/keyboard/holdkey.tbl
 wget http://externe.net/zaurus/flash/kernel/keyboard/keycode.tbl
 wget http://externe.net/zaurus/flash/kernel/keyboard/keysymbols.tbl


FLASH YOUR ZAURUS (applies to Sharp and Guylhem ROMs)

- Connect the AC adaptor on the Zaurus and verify that the orange led is on
- Reboot the zaurus via the start menu
- Press and hold the OK button while the zaurus is rebooting.
- The Maintenance Menu will come up. If you don't, start again pressing
  OK and POWER while booting
- Select "4. Update" to update the kernel
- Select the card where you put the files (CF card in this example) and
  answer yes (Y)
- After the system update, [Please reset] message is displayed.

Sharp ROM users ONLY: Backup your data (select "backup" from the settings menu)

 - Reset the SL6000 using the reset button on the back.
 - Press and hold the OK button while turn on the zaurus, then select
   "3. Format" in the menu in order to format the system, then yes (Y).
   The zaurus will then reboot on the new kernel.
 - Restore from your backup.


Roadmap

- Tweak qtopia. This will help with many issues (phone app, calendar, ...)
- Update the kernel to match tetsu's version. This will fix the keyboard problems
  (remapping the internal keyboard to work with an external USB keyboard in 
  console mode and remapping events to short/long apps keypresses did not pan out.
- Compile iptables modules
- Tweak the libsdl a little more, possibly integrate the craig acceleration
  Assistance here would be appreciated.
- Work at mplayer acceleration
- Tweak softfloat (libsdl/mplayer/emulators suite with video acceleration *AND* softfloat
  resulting in vga video playback at a good framerate may be possible)
- Make hostap work with usb wireless card (someone did hack this with an old
  version of hostap, source was given to Jouli who unfortunately lost it.
  This needs to be done again from scratch and would help with kismet, wellenreiter and co.
- Lastly, try to do a full rom with softfloat.  The opie/qtopia people have been working on this.
- fix CONFIG_ARCH_SHARP_SL to replace the correspondance
  between a language and a model by explicit model names :
  arch/arm/def-configs/*
  arch/arm/mach-pxa/sharpsl_apm.c
  arch/arm/mach-pxa/sharpsl_battery.c
  arch/arm/mach-pxa/sharpsl_power.c
  arch/arm/config.in
  drivers/char/ads7846_ts.c
  drivers/usb/device/usbd-arch.h
  drivers/video/cotulla_fb.c
  drivers/video/w100fb.c 
- compile with toolchain 3.3 to optimize for xscale: arm-linux --enable-targets=xscale-linux-elf
- replace tosa /dev/ts by wolfson driver (reporting x,y, pressure)
- Add an option to prevent full tosa suspend, for ex when using it as a
  mp3 player or gsm phone: in linux/arch/arm/mach-pxa/sharp*.c, map
  on + rec = suspend
  on = lcdoff + down lock
- Improve TC6393XB graphics acceleration (improvement in performance, reduction of power consumption) 

If you want to add a feature or support for a new zaurus model, please
submit a patch. It will avoid requiring another merge effort.


Helping

- Donations to paypal@externe.net are welcome if you like that ROM.
- If you prefer donating Zaurus hardware, that's fine too. I'd be especially happy if I could get a spare SL-6000 battery...
- Technical help is welcome, especially to integrate Qtopia 2.1 to OpenEmbedded
- If someone could find me a Toshiba 128Mb Nand chip TH58100FT or a Samsung 128Mb Nand chip K9K1G08U0M to replace the 64 Mb of flash by 128 Mb, I'm    also **very** interested.
Personal tools