Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - zaurick

Pages: [1] 2
1
Android / Android Sourcecode Is Out !
« on: October 21, 2008, 11:49:29 am »
This is a good day !

http://source.android.com/

All the android source seems to be here, even the dalvik java machine.

2
Android / Porting M5rc14 To Real Hardware
« on: March 03, 2008, 09:02:36 am »
Happy to hear that the project go ahead.

Could someone post his "android.patch" used over linux-rp-2.6.23 ?

I have some problems with mine.

3
Android / Porting M5rc14 To Real Hardware
« on: March 02, 2008, 03:46:15 pm »
Quote from: Android Zaurus
Quote from: zaurick
Normaly the base adresse is calculated with the var.yoffset value from var_screeninfo.
I'm going to work on that !

Big thanks from me. I'm not familliar with fb driver. Please make the patch better. I noticed that some long cycle flickerings while I tried a couple of times booting Android up. I guess I need exclusiveness to change DMA address.

Can you try to replace your fb_pan _display portion of code with this one :
Code: [Select]
+static int pxafb_pan_display(struct fb_var_screeninfo *var, struct fb_info *info)
+{
+       struct pxafb_info *fbi = (struct pxafb_info *)info;
+               fbi->dmadesc_fbhigh_cpu->fsadr = fbi->screen_dma + (var->xres * var->yoffset * var->bits_per_pixel/8);
+       return 0;
+}

It work for me.

4
Android / Porting M5rc14 To Real Hardware
« on: March 02, 2008, 05:36:20 am »
Quote from: Android Zaurus
Today I implemented my version of double buffer and pan in pxafb. It works. m5_rc14 booted up on my Zaurus finally. My patch is very primitive. Any suggestions make it better are very welcome.

o Android Zaurus: m5_rc14 works on my Zaurus C3000

 It works for me too.
Just a litle thing in your patch, your panning function only toggle FB base adresse.
The result can be inverted.
Normaly the base adresse is calculated with the var.yoffset value from var_screeninfo.
I'm going to work on that !

Thanks !

5
Android / Porting M5rc14 To Real Hardware
« on: February 27, 2008, 08:29:33 am »
Quote from: cortez
Would it be possible to make the second page (the second mmap2 call) point to the same address as the first?
That would mean patching (or rebuilding if source is available) libagl.
Anyone know a good ARM disassembler that could be used to find the right spot?

Code: [Select]
02:53:16.967995 writev(4, [{"\4", 1}, {"EGLDisplaySurface\", 18}, {"width        = 51 mm (239.058823 dpi)\nheight       = 38 mm (427.789459 dpi)\nrefresh rate = 124.61 Hz\n\", 102}], 3) = 121
02:53:16.972517 ioctl(21, FBIOGET_FSCREENINFO, 0x43145d9c) = 0
02:53:16.974061 mmap2(NULL, 614400, PROT_READ|PROT_WRITE, MAP_SHARED, 21, 0) = 0x43146000
02:53:17.028820 mmap2(NULL, 618496, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x431dc000
02:53:17.030696 mmap2(NULL, 618496, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x43273000

Can we try starting android in QVGA mode ?
In that mode 320*240 it will be possible to have a double buffer for screen.
I think that the requested value yres*2 is calculated from the actual résolution from FSCREENINFO like it work in tomtom navigation software.

6
Android / Porting M5rc14 To Real Hardware
« on: February 26, 2008, 11:48:32 am »
Quote from: cortez
Quote from: speculatrix
very much please to have even a partial version working!!!
You mean you don't even care that the screen is black all the time?  
I've created an installable image from the new SDK. From what I see in the traces Android starts normally. It's just that there's nothing displayed...

Hi,

Have you got some IOCTL errors about /dev/fb or /dev/graphics in the debug output.
The last time i've got a black screen problem when porting an appli, it was because of the use of a double framebuffer.
The framebuffer was mmaped in ram with the size of two screens and it started with the second screen !!!
and then tried to switch the base address of the visible window with "FBIOPAN" IOCTL (don't work with our driver).
Maybe It's not our actual problem, but i have no other idea.

All of you make a great work about porting android !!!

7
General Discussion / Angstrom
« on: March 10, 2007, 04:47:37 am »
Quote
Quote
Most of program in the setting directory doesnt start (when i try that in console i get an error that
the libesd.so.0 library is missing).

I dont see that in the bugtracker , then i don't know if i have done something wrong or if it is a bug.

I have tried to compile angstrom myself with OE but it stop at File-native-4.20 package:
Code: [Select]
| softmagic.c: In function `mprint':
| softmagic.c:478: warning: assignment makes pointer from integer without a cast
| softmagic.c: In function `magiccheck':
| softmagic.c:1529: error: `REG_STARTEND' undeclared (first use in this function)
| softmagic.c:1529: error: (Each undeclared identifier is reported only once
| softmagic.c:1529: error: for each function it appears in.)
| make[2]: *** [softmagic.lo] Erreur 1
| make[2]: Leaving directory `/stuff/tmp/work/i686-linux/file-native-4.20-r0/file-4.20/src'
| make[1]: *** [all-recursive] Erreur 1
| make[1]: Leaving directory `/stuff/tmp/work/i686-linux/file-native-4.20-r0/file-4.20'
| make: *** [all] Erreur 2
| FATAL: oe_runmake failed
NOTE: Task failed: /stuff/tmp/work/i686-linux/file-native-4.20-r0/temp/log.do_compile.13140
NOTE: package file-native-4.20-r0: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package file-native-4.20: failed
ERROR: Build of angstrom-console-image failed
It's the same OE environment that i used to build OZ with no problem in debian.

Maybe, i will wait for a new binary release.
Angstrom seems to be really fast on my c3000 and i like that !

Thanks
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]



would you try to install this:
[a href=\"http://www.angstrom-distribution.org/unstable/feed/armv5te/base/libesd0_20070109-r0_armv5te.ipk]http://www.angstrom-distribution.org/unsta...-r0_armv5te.ipk[/url]
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Thanks jpmatrix
it work now, i have to install this one too for package-manager to work
[a href=\"http://www.angstrom-distribution.org/unstable/feed/armv5te/base/libpcre0_4.4-r7_armv5te.ipk]http://www.angstrom-distribution.org/unsta...-r7_armv5te.ipk[/url]
and i have found no way to build Angstrom with OE by myself for now.

8
General Discussion / Angstrom
« on: March 09, 2007, 04:51:29 pm »
Quote
Quote
I just tried installing the latest Angstrom test release on my c3100 but I've been unable to get wifi going.

It doesn't like my PLANEX GW-CF11X- dmesg says it is missing the primary firmware. I'm sure people must've requested support for this card in OZ many times before as it seems to be quite popular. Will Angstrom (and OZ) never support these cards for legal reasons? It works fine under pdaXrom and Sharp/cacko.

I've got another CF wifi card which cacko identifies as a 'Senao'- its Prism2 based I think and the light on this CF card blinks when I insert it under Angstrom but choosing Settings/ Network Setup from the GPE menu just shows a clock cursor then nothing happens.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

yeah apparently many menu items seem to be phantom... usb settings does the same thing... so no usb - pc link and more important usb host doesn't seem to work (at least my bt usb dongle didn't lit...)
perhaps we should try the angstrom-distro-users mailing list to have more answers to our questions :

[a href=\"http://lists.linuxtogo.org/pipermail/angstrom-distro-users/]http://lists.linuxtogo.org/pipermail/angstrom-distro-users/[/url]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155829\"][{POST_SNAPBACK}][/a][/div]

I'm running angstrom too on my c3000 and ,i have the same problem.

No touchscreen => resolved by edit ts.conf
No USB => modprobe ohci-hcd (not loaded at boot)
Most of program in the setting directory doesnt start (when i try that in console i get an error that
the libesd.so.0 library is missing).

I dont see that in the bugtracker , then i don't know if i have done something wrong or if it is a bug.

I have tried to compile angstrom myself with OE but it stop at File-native-4.20 package:
Code: [Select]
| softmagic.c: In function `mprint':
| softmagic.c:478: warning: assignment makes pointer from integer without a cast
| softmagic.c: In function `magiccheck':
| softmagic.c:1529: error: `REG_STARTEND' undeclared (first use in this function)
| softmagic.c:1529: error: (Each undeclared identifier is reported only once
| softmagic.c:1529: error: for each function it appears in.)
| make[2]: *** [softmagic.lo] Erreur 1
| make[2]: Leaving directory `/stuff/tmp/work/i686-linux/file-native-4.20-r0/file-4.20/src'
| make[1]: *** [all-recursive] Erreur 1
| make[1]: Leaving directory `/stuff/tmp/work/i686-linux/file-native-4.20-r0/file-4.20'
| make: *** [all] Erreur 2
| FATAL: oe_runmake failed
NOTE: Task failed: /stuff/tmp/work/i686-linux/file-native-4.20-r0/temp/log.do_compile.13140
NOTE: package file-native-4.20-r0: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package file-native-4.20: failed
ERROR: Build of angstrom-console-image failed
It's the same OE environment that i used to build OZ with no problem in debian.

Maybe, i will wait for a new binary release.
Angstrom seems to be really fast on my c3000 and i like that !

Thanks

9
5x00 General discussions / Has Anyone Loaded Qtopia 2.1.2?
« on: February 16, 2007, 03:53:10 pm »
Quote
I saw that yesterday on the Spanish forums.
It would be very interesting if this was ported to later clamshells and "slipstreamed" into Cacko, but I'm probably just dreaming.   
Besides, I think Cacko is already at it's last release (1.23)
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

There are some other models here :

[a href=\"http://www.qtopia.net/modules/mydownloads/viewcat.php?cid=6]http://www.qtopia.net/modules/mydownloads/viewcat.php?cid=6[/url]

Are they OK ??

10
General Discussion / Working Tomtom Nav On Angstrom
« on: January 04, 2007, 11:46:49 am »
Quote
coolsound seems to be an alsa device, hmmm

why not symlink from /dev/barc_snd to /dev/oss and then try linking it to the /dev/snd/control or /dev/snd/pcmC0D0p (PCM Card 0 Device 0 playback)

i think that they are just using a diffrent node name/placment so the symlink should fix that, lets hope anyway. now to work out which node it needs to be attached to (my bets on the pcmC0D0p node)

[div align=\"right\"][a href=\"index.php?act=findpost&pid=149534\"][{POST_SNAPBACK}][/a][/div]

I have tried that but don't work, it's not the same IOCTL.
It look like an alsa device, but they use another API.

I think that we need to make a kernel module for the sound.

11
General Discussion / Working Tomtom Nav On Angstrom
« on: December 29, 2006, 03:00:01 am »
Quote
so how exactlly are they outputting sound? is it a user space driver that maps the mem segment (via /dev/mem) and plays with the mem mapped regs direcctly or is it a oss thing
They use mapping of memory via mmap.
All sound command are send by ioctl to a special device /dev/barc_snd.
They use their own driver called coolsound, source is aviable as GPL.
Quote
if its a mem mapped thing then i could posibly help as well as low level hardware is my thing
[div align=\"right\"][a href=\"index.php?act=findpost&pid=149394\"][{POST_SNAPBACK}][/a][/div]
Good, it's the last part of porting ttn to zaurus, and when sound is ok, i think that we  will can send our work to tomtom company and ask them to release an official tomtom for zauruses.

regards,

12
Angstrom & OpenZaurus / Sound Card Problem: Must Be 44.1khz ...
« on: December 10, 2006, 01:53:00 pm »
Quote
Both sound issues should be fixed by an updated kernel (well, at least the opie one is).
A new kernel should be available soon.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147636\"][{POST_SNAPBACK}][/a][/div]

Thanks CoreDump, i have updated my 3.5.4.2 and now i can cat sound to /dev/dsp   .
Maybe caritas problem is resolved too.
The last thing that don't work is the volume control in opie.

Thanks to all OZ devloppers for their work !
I use OZ every day on my C3000 and it's the best rom for me.

Zaurick.

13
Angstrom & OpenZaurus / Bitbake Clean After Update Oe
« on: December 05, 2006, 03:33:31 pm »
Is there a way to clean only what is needed before make a new bitbake opie-image (after an update of oz354x).

The only way i found is to delete the tmp directory, but after that it need to rebuild cross compiler and locales that is very long  

I have tried bitbake -c clean opie-image but it's not working.

thanks,

Best Regards
zaurick

14
Angstrom & OpenZaurus / Sound Card Problem: Must Be 44.1khz ...
« on: November 30, 2006, 04:28:19 pm »
Quote
I have a akita and installed hentges ROM on it.

For play SFC games, I compiled libsdl with fb support on (qpe support off) and snes9x.
With the QVGA support in Linux kernel  2.6.17, the video side is very good. But the sound side doesn't work.
(In Linux 2.6.16 of OZ 3.5.4.1, the sound works good, but the video is too small).

But the music can be played properly under Linux 2.6.17. So sound card driver can work, at least under some
specific condition. I try a sound wave file with 8 bit, 11025 Hz, and the it can not be played by mplayer.
So I think the sound card can work only under certain condition.

Then, I modified the snes9x, make it use 44100 Hz instead of 22050 Hz, and now I can play SFC games on
my zaurus perfectly (except the cursor, which is always there).

Why the sound card can not work in 22050 Hz?

Best Regards
Ying Huang
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147588\"][{POST_SNAPBACK}][/a][/div]

I don't know for the sound but i have a lot of problem with oz3.5.4.2 sound too on a spitz.
cat some sound raw to /dev/dsp don't work , volume can not be controled by opie and gpe, ...

but if it can help you :
for hide cursor, stop blinkin and disable blankin screen in console you can type
echo "\033c\033[9;0]\033[?33l\033[?25l" >/dev/console
and to return to the console default config type
echo "\033c"> /dev/console
if /dev/console doesn't word try /dev/tty or /dev/tty0.

it work fine for me.

Best Regards
zaurick

15
Open Embedded / Missing Libgsm
« on: November 04, 2006, 04:06:07 am »
Quote
Hi, the gpe-image build breaks because of missing libgsm.
Other mirrors?

TIA

Ant
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

I have se same problem with opie-image ,how to bypass that ?

NOTE: fetch [a href=\"http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4/sources/gsm-1.0.10.tar.gz]http://ewi546.ewi.utwente.nl/mirror/www.op...m-1.0.10.tar.gz[/url]
--10:00:26--  http://ewi546.ewi.utwente.nl/mirror/www.op...m-1.0.10.tar.gz
           => `/stuff/sources/gsm-1.0.10.tar.gz'
Résolution de ewi546.ewi.utwente.nl... 130.89.145.130
Connexion vers ewi546.ewi.utwente.nl[130.89.145.130]:80...connecté.
requête HTTP transmise, en attente de la réponse...404 Not Found
10:00:26 ERREUR 404: Not Found.


NOTE: Task failed: Fetch failed: ftp://ftp.cs.tu-berlin.de/pub/local/kbs/t...m-1.0.10.tar.gz
NOTE: package libgsm-1.0.10-r0: task do_fetch: failed
ERROR: TaskFailed event exception, aborting
NOTE: package libgsm-1.0.10: failed
ERROR: Build of opie-image failed


Help please,

Pages: [1] 2