PalmLD: Technology preview 20070717 [UPDATED]

Palm LD

I have created bootkit for palm lifedrive to show you where palmld port development really is now.

Download here:
http://builds.hackndev.com/builds/Marex/TP1-20070717.tar.bz2
http://builds.hackndev.com/builds/Marex/TP1-20070717.tar.bz2.sha1

Read on for key features ...
/***************************************************/
for UPDATE scroll to the bottom of the page...
/***************************************************/

Key features:
Opie 1.2.3 + some features that will be in 1.2.4

Bluez 3.12 to support bcm2035 natively

Whole image is compiled with iWMMXt optimization which means using full power of PXA27x

Working IrDA applet - you can send and receive, isnt it cool ? (cooperative work of polyonymous, psokolovsky, bluelightning and me)

Working and improved BT applet (BT doesnt mean BattleTank here) - I completely rewrote it, now it can handle firmware loading, setting mac address, starting/stoping the bt chip, enabling/disabling visibility etc. Applet supports Bluez 3.xx. Everything is configurable through /etc/sysconfig/bluetooth - Will be in Opie 1.2.4 (my doing)

Improved obex receive dialog - Displays different cool images depending on mimetype of file you receive - Will be in Opie 1.2.4 (my doing)

Opie now has full support for Palm devices - All keys are fully configurable in the Button settings, direction keys work after rotation as they should (joint work of z72ka, me and Cris)

Background image scaling - You can now select if you want your image downscaled or not, moreover you can choose from two downscaling modes which are "Tiled" and "Fit screen" (eg. 480x480 images wont be shrinked in Fit mode) - Will be in Opie 1.2.4 (my doing on SleepWalkers request)

CPUFREQ - with this you can change speed of your CPU, it even supports overclocking so be sure to add big cooler Frequency range is from 104MHz to 624MHz (PalmLD has 416MHz CPU and it runs on this frequency per default)
1) scaling down to 312/208/104MHz is safe and will make the system just run slower and consume less batterypower, good for reading ebooks with JustReader/OpieReader or listening to mp3s in XMMS-Embedded
2) scaling up to 520/624MHz is safe, but keep in mind the silicon isnt designed for it. It runs stable for me at 520MHz, at 624MHz it locks up in a few seconds, but this changes from chip to chip so it might work for you even at 624MHz. If it locks up, press reset
- cpufreq can be controlled over sysfs in the following location /sys/devices/system/cpu/cpu0/cpufreq
1) to get current speed do the following
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
2) to change speed do something like
echo "208000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
and replace 208000 with your desired speed in kHz (104000, 208000, 312000, 416000, 520000, 624000)

320x480 Opie wallpaper - upstreamed to Opie 1.2.3 (my doing in GIMP)

Corgi_bl backlight driver - switched to mainstream driver

Notes:
-Data from Harddrive are accessible through /media/hdd/
-No GUI for CPUFreq - this is "To Be Done"
-Opie Sheet dies with Sigsegv when selected italic font in Cell menu
-Powerbutton suspends the system, but on wakeup it suspends back right away - this is known bug - FIXED IN UPDATE
-To Be Done - WiFi, USB2 driver
-To set sound, use alsamixer from console (unmute pcm and master, set volume, balance etc.)
-No webbrowser - someone feel like fixing konqueror embedded? - FIXED IN UPDATE

Nice apps:
XMMS-Embedded - for listening music
Opie-Sheet, Opie-Write - office suite
Opie-Todo,Drawpad,Notepad,Calendar,Contacts etc. - PIM suite
JustReader, OpieReader - for reading ebooks
Filemanager - opie version of whatever-commander
Opie-Eye - image viewer
qPDF2 - PDF viewer
OpieIrc - irc client
Bunch of games - to kill boredom

BIG FAT WARNING
DO NOT EVER use the Reset button in "Opie Shutdown" nor the reboot command from console. It is known that palmos bootloader is piece of crap and hangs the system sometimes. If that happens, you will have to either unplug battery or wait about two days for the device to discharge itself. So it is much safer to use Shutdown button in "Opie Shutdown", wait till the green led is on and perform softreset (put stylus into reset hole on the case of the device).

For bugreports use bugzilla ( http://bugs.hackndev.com )


/********************************************************************
* UPDATE
********************************************************************/

Since I solved some issues recently, I prepared update kit for this image. It adds the following:
Konqueror/Embedded - Long awaited webbrowser ... it takes him quite a bit to start, but its fast then (moreover this version uses KHTML 3.5.7 as a rendering engine)
For screenshots and additional info see Opie/KonqE official homepage http://opie.handhelds.org/cgi-bin/moin.cgi/KonquerorEmbedded2007 and my blog http://marex-hnd.blogspot.com/
LCD Border switch - turn border around your LCD on/off, for now this works only from command line (someone feels like writing applet for this?)
1) to turn border on/off, issue the following command (1 is for ON, 0 is for OFF):
echo "1" > /sys/devices/platform/palmld-border/border_power
2) special hidden feature - colored border ... to use this functionality, use numbers bigger than 1 to go from black to white border and lower than 0 to go from white to black border. For me about +-30 worked and produced various colours (pink, red, green, blue etc.). This doesnt behave the same all the time so its more like an unofficial toy
resuspending issue fixed - you can now suspend/wakeup on power key (opiebug 1877)
slow down bluetooth to 115200Bd ... 921600Bd doesnt seem to be stable enough (see last line of install.sh script and remove it eventually if you want to preserve 921600Bd)

HOWTO UPDATE:
1) Download this: http://builds.hackndev.com/builds/Marex/update.tar.bz2 (10.5MB)
( SHA1 checksum is here: http://builds.hackndev.com/builds/Marex/update.tar.bz2.sha1 )
2) Unpack it to your lifedrive's harddrive root (the same place where you have directories called "Applications", "Photos & Videos" etc.)
3) Boot TP1
4) From TP1 issue the following command in console:
/media/hdd/update/install.sh
5) Dont get scared by the message "Collected errors: blah blah (about half screen of something)" and wait till it completes (till you get shell again)
6) After update is complete, reboot your device as described in BIG FAT WARNING section of this article
7) Boot your updated system and enjoy new features

Very thanks! all work fine,

Very thanks! all work fine, but i cant configure the BT

i need help! Thanks! its

i need help! Thanks! its really cool! but i need that wirelees keyboard work with opie, this dont work, i need help, thanks again!

CyberMODE wrote:Very thanks!

CyberMODE wrote:
Very thanks! all work fine, but i cant configure the BT
how do you mean cannot configure ?
1) google bluez howto
2) look at /etc/sysconfig/bluetooth (set your desired mac address there)
3) btapplet does nothing more that hciattach bcm2035 blah blah when you select "turn bluetooth on"

- you can try setting lower speed (115200 instead of 921600) in /etc/sysconfig/bluetooth

rodrigoslackuser wrote:i

rodrigoslackuser wrote:
i need help! Thanks! its really cool! but i need that wirelees keyboard work with opie, this dont work, i need help, thanks again!
I dont have wireless keyboard, ok, I will get one as soon as my workbuffer will get empty ... its overflowing now (I made serious progress with new konq/e ... it really is hardcore, see http://marex-hnd.blogspot.com and I have to stop only blahing and really look on wifi already :-E~~~ ) ... and then on Irk (opie wireless kbd stuff) ... is your keyboard irda or bluetooth one?

Or even serial-ps/2 reduction for keyboard, mouse and joystick, based on atmel avr ?

ok, thanks for your effort,

ok, thanks for your effort, but im constranger because i buy lifedrive with this keyboard http://www.palm.com/us/support/downloads/universal_wireless_keyboard.html , and i need this work on linux lifedrive, to give continuity in my programming studies, thanks for you
effort , and sorry my english, but im of Brazil.

So thats palmwk ... ok, I

So thats palmwk ... ok, I think I can borrow it from someone and adding support to Irk will be quite simple. Thanks for an idea

Hi Marex, if you are in

Hi Marex, if you are in Prague, i can borrow you my Wireless Keyboard if you want
Thank you for great work!

Nope, not really, my tomb is

Nope, not really, my tomb is on the other side of CZ. I will maybe appear in prague this thursday (pdasoft has some meeting there) so you can come and catch me there Feel free to appear on irc so we can discuss it.

Ok I just playing with this

Ok I just playing with this release, try to connect via BT to Inet, it is look fine I will look on irc some times

thanks for your release! but

thanks for your release! but what about opie hangs.
than i used opiedraw my system hang. i wait for 20 minutes and do reset. my palm booting failed and i replace my battery. please can you do something with this. for example set on button reset linux function. because it is very big risk.
it is not comfortable to replace battery. sorry for my english, i from Russia.