Re: built-in scripting languages.

2007-04-18 Thread Dmitri Hrapof

Jamie Allsop пишет:
Yes this page is very good. One thing you might want to note also is 
that there is a nice C++ binding for Python in boost . 
Please don't infer from this that I am a big Python fan, most of my 
scripting to date has been with Perl, however I do see Python as being 
a language that could be more generally useful as a default.
Once upon a time there was a nice idea to make Scheme the default 
scripting language for the GNU project. (And it even worked in Gimp :)
Today I suddenly realized I had been wasting my time by not "porting" 
some Common Lisp implementation to OpenMoko. :)

I was waiting for the hardware, but I could use an emulator! Am I correct?
Will a working clisp or say, gambit scheme influence the choice of 
default scripting language? :)


Sincerely yours,
Dmitri

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


Re: MokoMakefile now supports running the Neo1973 emulator

2007-04-21 Thread Dmitri Hrapof

Rod Whitby wrote:

These are now done:
  

I've downloaded MokoMakefile (thanks for the great work!) and run
make setup
make openmoko-devel-image
These two succeded. I'm running Ubuntu Feisty.
Then I ran
make qemu
and it seems it's broken - it complains during build, then starts the 
emulator, but can't mount root fs. The last words emulated phone says are

No filesystem could mount root, tried: jffs2
Kernel panic - not syncing: VFS: Unable to mount root fs on 
unknown-block(0,0)


The log of make qemu is attached. What may be the reason? Should I try 
to setup neo-qemu manually?


Sincerely yours,
Dmitri
[ -e build/qemu ] || \
( cd build ; mkdir -p qemu )
[ -e build/qemu/Makefile ] || \
( . ./setup-env ; cd build/qemu ; \
  ${OMDIR}/openmoko/trunk/src/host/qemu-neo1973/configure \
--target-list=arm-softmmu )
[ -e build/qemu/openmoko ] || \
( . ./setup-env ; cd build/qemu ; mkdir openmoko ; \
  for f in ${OMDIR}/openmoko/trunk/src/host/qemu-neo1973/openmoko/* ; 
do \
ln -s $f openmoko/`basename $f` ; \
  done )
[ -d stamps ] || mkdir stamps
touch stamps/qemu
( cd build/qemu ; make )
make[1]: Entering directory `/home/dmitri/moko/build/qemu'
make -C arm-softmmu all
make[2]: Entering directory `/home/dmitri/moko/build/qemu/arm-softmmu'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dmitri/moko/build/qemu/arm-softmmu'
make[1]: Leaving directory `/home/dmitri/moko/build/qemu'
[ -e images/openmoko ] || mkdir -p images/openmoko
ln -sf `pwd`/openmoko/trunk/src/host/qemu-neo1973/openmoko/env 
images/openmoko/env
( cd images ; ../openmoko/trunk/src/host/qemu-neo1973/openmoko/download.sh )
Retrieving available builds list...
Kernel is... uImage-2.6-moko9-r0_0_1754_0-fic-gta01.bin
Root filesystem is... 
openmoko-devel-image-fic-gta01-20070415224624.rootfs.jffs2
U-boot is... 
u-boot-gta01bv4-r4_37837828d89084879bee2f2b8c7c68d4695940df_0_1804.bin

Now use openmoko/flash.sh to install OpenMoko to NAND Flash.

rm -f images/openmoko/env
[ -d stamps ] || mkdir stamps
touch stamps/images
( cd build/qemu ; openmoko/flash.sh ../../images/openmoko )
/usr/bin/pngtopnm
/usr/bin/ppmtorgb3
make[1]: Entering directory `/home/dmitri/moko/build/qemu/openmoko'
make[1]: `splash.gz' is up to date.
make[1]: Leaving directory `/home/dmitri/moko/build/qemu/openmoko'
Using 'uImage-2.6-moko9-r0_0_1754_0-fic-gta01.bin' as the kernel image.
Using 'openmoko-devel-image-fic-gta01-20070415224624.rootfs.jffs2' as the root 
filesystem image.
Using 'u-boot-gta01bv4-r4_37837828d89084879bee2f2b8c7c68d4695940df_0_1804.bin' 
as bootloader.
make[1]: Entering directory `/home/dmitri/moko/build/qemu/openmoko'
# Making an empty/erased flash image.  Need a correct echo behavior.
echo -en \\0377\\0377\\0377\\0377\\0377\\0377\\0377\\0377 > .8b
cat .8b .8b > .16b # OOB is 16 bytes
cat .16b .16b .16b .16b .16b .16b .16b .16b > .512b
cat .16b .16b .16b .16b .16b .16b .16b .16b >> .512b
cat .16b .16b .16b .16b .16b .16b .16b .16b >> .512b
cat .16b .16b .16b .16b .16b .16b .16b .16b >> .512b
cat .512b .16b > .sec # A sector is 512 bytes of data + OOB
cat .sec .sec .sec .sec .sec .sec .sec .sec > .8sec
cat .8sec .8sec .8sec .8sec .8sec .8sec .8sec .8sec > .64sec
cat .64sec .64sec .64sec .64sec .64sec .64sec .64sec .64sec > .512sec
cat .512sec .512sec .512sec .512sec > .2ksec
cat .2ksec .2ksec .2ksec .2ksec .2ksec .2ksec .2ksec .2ksec > .16ksec
# Neo NAND is 128k sectors big
cat .16ksec .16ksec .16ksec .16ksec .16ksec .16ksec .16ksec .16ksec > 
openmoko-flash.image
rm -rf .8b .16b .512b .sec .8sec .64sec .512sec .2ksec .16ksec
make[1]: Leaving directory `/home/dmitri/moko/build/qemu/openmoko'
neo_gsm_switch: GSM disabled.



U-Boot 1.2.0-moko7 (Apr 19 2007 - 13:30:07)


DRAM:  128 MB

NAND:  Bad block table not found for chip 0

Bad block table not found for chip 0

64 MiB

*** Warning - bad CRC or NAND, using default environment


Please wait, programming the NAND flash...
Video: 640x480x8 31kHz 59Hz

USB:   S3C2410 USB Deviced

mtdparts variable not set, see 'help mtdparts'

mtdparts variable not set, see 'help mtdparts'

mtdparts variable not set, see 'help mtdparts'

mtdparts variable not set, see 'help mtdparts'

mtdparts variable not set, see 'help mtdparts'

In:serial

Out:   serial

Err:   serial

pcf_write: charging in Qualification Mode.
pcf_write: charge voltage 4.20V.
neo_lcd_rst_switch: LCD reset.
jbt6k74_command: Display on.
neo_bl_switch: LCD Backlight now on.
GTA01Bv4 #

GTA01Bv4 # setenv dontask y

GTA01Bv4 # nand createbbt

Create BBT and erase everything ? 


Erasing at 0x0 --   0% complete.
Erasing at 0xa --   1% complete.
Erasing at 0x144000 --   2% complete.
Erasing at 0x1e8000 --   3% complete.
Erasing at 0x28c000 --   4% complete.
Erasing at 0x33 --   5% complete.
Erasing at 0x3d4000 --   6% complete.
Erasing at 0x478000 --   7% complete.
Erasing at 0x51c000 --   8% complete.
Erasing at 0x5c

Re: Widgets: Openmoko/Chumby transproject?

2007-04-25 Thread Dmitri Hrapof

Dean Collins пишет:


but at the end of the day functionality is more important than all 
open source.


No it's not; why am I waiting for this device instead of buying Windows 
one?


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


Re: Preorder

2007-05-08 Thread Dmitri Hrapof

Hans van der Merwe пишет:

Are there any plans for pre-ordering of phones?
  

Yes, I'd like to preorder it too.

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


Re: Preorder

2007-05-08 Thread Dmitri Hrapof

Vruyr F. Gyolchanyan пишет:
Actually as I wrote, I had experience that approve that. There is huge 
problem in delivery of phone-like devices to Russia through mail.
I desperately want OpenMoko (too busy or too lazy to hack on my Motorola 
A780), so I'll do everything what I can to get it.
I've got friends who regularly visit Thailand or France or Switzerland 
etc., so I think delivery can be arranged to one of that locations.


Dmitri

P.S. skoro mozno budet russkij spisok rassylki otkryvat' ;)

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


Re: Translation - Welsh language

2007-05-09 Thread Dmitri Hrapof

Rhoslyn Prys пишет:
My name is Rhoslyn Prys and I contribute to a number of open source 
translations into the Welsh language - Firefox, Thunderbird, 
OpenOffice.org, Mandriva, etc and am interested in contributing 
towards the OpenMoko project. 
Newyddion da iawn! Un reswm arall i fi brynu MokoAgored :) (Another 
reason for me to buy OpenMoko)
I run a website called Meddal.com which includes information on the 
availability of Welsh language software.

Safle gwych, gyda llaw! Diolch!

Pob hwyl,
Dmitri Hrapof
www.cymraeg.ru

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