OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Status Quo?
Hunz
post Feb 28 2006, 05:15 AM
Post #1





Group: Members
Posts: 5
Joined: 28-February 06
From: Augsburg, Germany
Member No.: 9,247



Simpad development seems to be stalled if it get this right.

I got a CL4 Simpad and it was getting dusty during the last few years.
I always had plans to reanimate it some time and start an own directfb-based distribution.

After fiddling around two days with various bootloaders and crosscompiling-environments I managed to install a modified version of the hh.org bootloader from (http://opensimpad.org/bootldr-simpad/blupdater.img - found the link here: http://opensimpad.org/opensimpad-forum/viewtopic.php?t=835).

However I had to modify the linuxrc script - it wrongly detected my CL4 as an SLC and thus the bootloader tried to flash erase beyond the end of the 16 MBytes.

First I tried to use the 2.5.1 siemens bootloader to boot a kernel from network, but I didn't get any output from the kernel - what now in retrospect could be caused by passing console=ttyS0 instead of ttySA0 - maybe I'll flash the old bl back the 10th time some day and check if this was the only problem %)

Been there, done that I crosscompiled the 2.6.14.5 kernel and got it started on the simpad with the modified ohh bootloader.
The problem is that I can't pass a commandline to the kernel - I tried to, but it seems to get overwritten somewhere by the bootloader.
(The bootloader also tries to tell the kernel it has 64MB of RAM which isn't the case)
Also I have no chance to save the modified params somehow...

The latest status was that the rootfs (from opie 0.9....) got mounted but my kernel with this damn commandline I'm unable to modify failed to execute /linuxrc.

Anyone an idea how override that damn commandline?
Neither compiling my own commandline into the kernel worked, nor did passing the args to boot vfat zImage <args>.
However I'm quite sure I get this done with some work - help is appreciated as it does accellerate it %)

And yes, I do know there's no mq200 support in the 2.6 kernel tree, but I'm willing to port the mq200 driver to the 2.6 kernel tree. I got the full mq200 datasheet so I'm also willing to add as much hw accel as possible since I want to run directfb on it anyway.

The tda8007 also isn't in the 2.6 tree what's a minor problem. But I also wasn't able to find any image (they're all 2.4 based) for the simpad with tda8007 support.

The reason I'd like to have the tda-driver working is the following:
I'd like to look at the CS (Chip Select) and RD/WR (Read/Write) lines of the tda with my oscilloscope to figure out how "fast" the bus is.

Why that? Well I also want to add SD-support, but not the GPIO-bitbanging style.
It costs quite a lot cpu-power to do it with the GPIOs and you probably don't get much throughput. Anyone here with GPIO-SD-performance readings?

So my approach is to remove the tda and glue a low-power CPLD to the former-tda connections and to an SD-card. (But one could also connect a CF card or CF-wlan etc. to it so one could but a microdrive or internal wireless lan card into the simpad...)
This way you get 1 Byte (tda is 8-bit connected, but >16bit is too much fiddling anyway...) per bus-cycle what results in Bus speed = CF/SD throughput in Bytes/sec.
(I expect the bus to be >=8 MHz what would be >=8MBytes/sec. throughput to the CF/SD)

Anyone here with interest in this project?

One of my first problems to solve is getting a new battery :\ the old one is completely broken :\
Go to the top of the page
 
+Quote Post
[IDC]Dragon
post Feb 28 2006, 08:52 AM
Post #2





Group: Members
Posts: 10
Joined: 30-January 06
Member No.: 9,024



Cheers for anybody picking up a SimPad again!

(see older posting, I try to renovate mine, then found Opera to be gcc-incompatible with the newer Opie)

About SD cards: the serial for the DECT modem is usually free. I don't know of it has a clock and can be used sychronously (SPI), if so you're clear. Even better if the DMA can work with it. We used MMC and SD cards in the Rockbox project, driving it with 3 Mbit/s there (hardware limit).

My battery is also almost dead, but I'm not worried, the RC model people have a large variety these days. The cabinet has plenty of space.

Yay for mq200 acceleration! \o/

Jörg
Go to the top of the page
 
+Quote Post
mister_data
post Mar 1 2006, 09:40 AM
Post #3





Group: Members
Posts: 21
Joined: 1-March 06
From: Leipzig, Germany
Member No.: 9,257



Hallo,

the ohh bootloader appends its own set of params to the kernel commadline,
but when it find a file called params in the /boot/ directory then he appends
also the parameters from the params-file.

Example: -> params <-
set linuxargs "mtdparts=sa1100:0x00040000@0x00000000(bootldr)ro,0x00FC0000@0x00040000(root
noinitrd root=/dev/mtdblock1 init=/linuxrc rootfstype=jffs2 jffs2_orphaned_inodes=delete mem=32M" set kernel_filename=boot/zImage

This hint is from Guylhem Aznar and can show at:
http://www.guylhem.net/r-hardware/simpad/b...binaries/params

With the example you shoud have the following flash-geometry:
256kByte bootloader-partition and 16128 kByte root-partition with jffs2.

When your CL4 has only 16MB of RAM then you must change mem=32M in mem=16M.

My Simpad SL4 works with opie and kernel version 2.4.27-vrs-pxa1-jpm1 from Frederic Devernay with 256kByte bootloader / 32512kByte root (jffs2).

Successfully works Opera 7.55 and Jeode EVM version 1.10.2 -> java applets wink.gif
My next project is modding the Simpad with bluetooth and SD/MMC-card
interface on seriell-dect-connector like Guylhem Aznar.

Heiko
Go to the top of the page
 
+Quote Post
Berend
post Mar 2 2006, 02:00 AM
Post #4





Group: Members
Posts: 24
Joined: 2-October 05
From: The Netherlands
Member No.: 8,235



As far as I know the mem= param is for the RAM memory, editing the partition part of the linuxargs (in /boot/params) works for me.

The directFB thing looks nice, there's no(t much) touchscreen support as far as I can see though. Won't this be a problem? What's the motivation behind a directFB distro anyway, any specific plans or just looking for good graphics? (MQ200 support sounds nice indeed.)

I'm asking since I'm interested more intelligent touchscreen support (maybe on simpads) and if directFB might fill this gap. Specifically, using multiple fingers on the screen for stuff like moving/rotating/zooming. Could you offer some insight if the could be feasible? I'm guessing that in GPE/OPIE the touchscreen input is simply mapped to a single coordinate and used as mouse in the window manager/GUI toolkit. I'm no expert but I'm afraid that trying to capture multiple points could be a nightmare with the current GUI toolkits.

From what I've seen Apple is already patenting stuff like that and will once again steal the show. I know this would als mean serious adjustements in the GUI (if it even will fit in the current paradigm), but I'm wondering if this input could be possible. Stuff like that could give major usability improvements; it'd be a lot more intuitive.

Just a thought, I look forward to your results.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th December 2014 - 07:16 PM