Re: NetBSD-current for openmoko GTA02

2011-12-06 Thread Timo Juhani Lindfors
Peter Tworek  writes:
> For some time now I've been spending some of my free time on getting
> NetBSD running on my Freerunner.

Interesting, do you have this work in some version control system?
Would be nice to see all the steps :-)


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


NetBSD-current for openmoko GTA02

2011-12-06 Thread Peter Tworek
Hi,

For some time now I've been spending some of my free time on getting
NetBSD running on my Freerunner. The port is far from complete, but as
far as I can tell it's the most advanced one up to date. Compared to
previous attempts this one doesn't require a debug board to see that the
OS is actually boots :).
What you can expect from it:
* Basic framebuffer driver, it's complete enough to get color text on
the screen, but the kernel has to be started from u-boot for it to work,
* Working serial port (requires a debug board),
* Working I2C driver,
* Basic PCF50633 driver (rtc + power button + basic detection of events
like usb cable plug/unplug, power management related stuff is not
implemented),
* LED's + vibrator driver (controlled by sysctl),
* Working SPI driver (already supported by NetBSD), unfortunately there
are no drivers for peripherals attached to this bus :(
* Basic USB OHCI driver, host mode only, you can't log in into your
freerunner via ssh like under linux :(.
* AUX, Power button handling. Right now AUX does nothing besides
printing message to the screen. Power button can be used to shut down
the phone.
* Touchscreen driver. Not very useful right now, but it works.

The easiest way to try it out is to:
1. Download the image from [1]
2. Boot your freerunner into u-boot (AUX+PWR)
3. Copy the image into device RAM by using dfu-util:
$ dfu-util -R -D netbsd-gta02-5.9.56.gz.ub -a 0
4. Connect to u-boot usb-serial console:
$ cu -l /dev/ttyACM0
5. Start the kernel:
GTA02v5 # bootm 0x3200

If all goes well after a few seconds you should see some boot messages
scrolling on the screen. Next there the phone should start to vibrate,
flash some leds etc. After that it tries to list detected bluetooth
devices (doesn't work right now), displays current date and spawns a
shell. At this point there is not much that can be done. There is no way
to log into the device and execute commands without a debug board :(.
Fortunately it's possible to shut it down without removing the battery.
Just press and hold the power button for about 4sec.

Right now my main focus is to have the code cleaned up, split into
series of patches and submitted (at least partially) to NetBSD. I'll
probably continue working on this port, but can't promise that it will
ever reach the level of usability that linux has. It was mostly written
for fun and to learn a little bit more about NetBSD internals.

/ptw

[1] http://tworaz.net/downloads/NetBSD/gta02/netbsd-gta02-5.9.56.gz.ub

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Nokia CP-69 case for FR

2011-12-06 Thread Matthias Apitz
El día Wednesday, December 07, 2011 a las 12:54:35AM +1000, Dave escribió:

> Hi  guys,
> 
> I bought a polyester? camera case for AU$7.00 at a bulk sales/small margin
> electrical retailer. Browsed cases, found one fits snug,cut a hole in
> front, Done!

Hi Dave,
do you have a picture for us :-)

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Nokia CP-69 case for FR

2011-12-06 Thread Dave
Hi  guys,

I bought a polyester? camera case for AU$7.00 at a bulk sales/small margin
electrical retailer. Browsed cases, found one fits snug,cut a hole in
front, Done!

On Tue, Dec 6, 2011 at 6:29 PM, Matthias Apitz  wrote:

>
> Hello,
>
> There is a comment in the Wiki page:
>
> http://wiki.openmoko.org/wiki/Carrying_Case
>
> made by the user 'blen2r' about that the Nokia CP-69 leather case could
> be modified to fit for our beloved FR; the comment is not very clear to
> me, at least not without having such a case (which is still be selled by
> Amazon); someone else did this and could bring a bit light (or even some
> picture) on it? Thanks in advance
>
>matthias
> --
> Matthias Apitz
> t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
> e  - w http://www.unixarea.de/
> UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
> UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Quake Catcher Network

2011-12-06 Thread Timo Juhani Lindfors
Patryk Benderz  writes:
> What do you mean? Aren't accelerometers used for this?

There are some papers on how to use RTK-GPS to measure effects of
earthquakes.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Nokia CP-69 case for FR

2011-12-06 Thread Matthias Apitz

Hello,

There is a comment in the Wiki page:

http://wiki.openmoko.org/wiki/Carrying_Case

made by the user 'blen2r' about that the Nokia CP-69 leather case could
be modified to fit for our beloved FR; the comment is not very clear to
me, at least not without having such a case (which is still be selled by
Amazon); someone else did this and could bring a bit light (or even some
picture) on it? Thanks in advance

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Quake Catcher Network

2011-12-06 Thread Patryk Benderz
[cut]
> No but with the GPS yes :-)
What do you mean? Aren't accelerometers used for this?
-- 
Patryk "LeadMan" Benderz
Linux Registered User #377521
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community