maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [Android] Another Android port: NITdroid (https://talk.maemo.org/showthread.php?t=25410)

solca 2008-12-15 09:53

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by Thesandlord (Post 249561)
Ok, so this is why it does not work. It need the MapView API.

http://code.google.com/android/toolbox/apis/mapkey.html

Solca, it looks like you have to register with them so you can distribute it. I will see if I can rip it from the emulator though, for a temporary workaround.

Also, it looks like some guys are trying to make as OpenStreet version of MapView API, so we can overcome this obstacle.

AFAICT those keys are for individual applications not for the whole operating system but if you find something interesting please share.

Bundyo 2008-12-15 10:12

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by solca (Post 249625)
That's good news! Which kernel version have you running

The last one... :) Even with the FASTFPE emulation, which probably will speed up the whole 770.

I saw the console file redirection in the kernel config, was just wondering if there is a better way. Can I use the USB to serial convertor and ttyUSB0 to redirect the console output, and more important - how can i receive it :)?

jcl 2008-12-15 11:02

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by jogorman (Post 249609)
Just a quick update, ADB shell was able to let me get online in browser just fine. (Amazing how much faster that is the then standard browser.)

Still crashes the same however, and the DNS settings do not persist between sessions like the other settings I had changed did.

You can make the dns persistent by putting it in /default.prop
(/nit/bin/vi /default.prop ... or pull&push)

meizirkki 2008-12-15 11:12

Re: Another Android port: NITdroid
 
someone booted this up from ext card??? if so, that's why it won't boot when ext-card is in and fs.is on mmcblk0p2 (the internal)...

allnameswereout 2008-12-15 12:49

Re: Another Android port: NITdroid
 
Solca, could you put the Linux kernel 2.6.28 with working WiFi driver online somewhere so we can use it on Maemo as well?

Bundyo 2008-12-15 13:30

Re: Another Android port: NITdroid
 
Probably not yet usable with Maemo :)

chyang 2008-12-15 14:47

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by jcl (Post 249416)
dns: setprop net.dns1 ... indeed works
(after a full reflash..., prob. must have had some stale entries)

solca: are you already working on startup/shutdown, power management?
/nit/bin/busybox poweroff -f -n does the trick for shutdown, any better solution?

try: reboot -p

solca 2008-12-15 15:13

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by Bundyo (Post 249629)
The last one... :) Even with the FASTFPE emulation, which probably will speed up the whole 770.

Excellent!

Quote:

I saw the console file redirection in the kernel config, was just wondering if there is a better way. Can I use the USB to serial convertor and ttyUSB0 to redirect the console output, and more important - how can i receive it :)?
The best way to get console output is via the internal serial ports on the NITs, even you get bootloader output, there is no other best way.

I just solder a tiny cable to the TX pad under the battery, GND can be anything in the chassis and both cables connected to a cheap USB to serial convertor dongle on my desktop/laptop based on the FTDI chip (ftdi_sio.ko driver). One has to be careful to use a dongle that matches the voltage on the NIT (3.3V) if not you fry your NIT. This help me a lot in debugging the initial kernels.

But earlier when I didn't have the serial console setup I just select the mini font for the framebuffer console so I can actually see much more output on the screen. :o

solca 2008-12-15 15:21

Re: Another Android port: NITdroid
 
Quote:

Originally Posted by allnameswereout (Post 249655)
Solca, could you put the Linux kernel 2.6.28 with working WiFi driver online somewhere so we can use it on Maemo as well?

Both kernel and driver are already online, the kernel it is the zImage-nitdroid-n8x0 file you download from the NITdroid site and the WiFI driver you can pull it from /system/lib/modules/stlc45xx.ko from the rootfs.

The WiFi driver doesn't work in Maemo because wlancond doesn't speak the mac80211 API so you can't create connections from the GUI although you can make it work from a shell using iwconfig and wpa_supplicant, manually.

daperl 2008-12-15 15:42

Re: Another Android port: NITdroid
 
I'm curious as to why you're using a bleeding edge kernel. What version do already-working Android phones use? It seems that an added variable is unnecessarily being introduced. Or am I missing something? Also, maybe the 2.6.27 Fremantle patches are compatible with Diablo. Do you see where I'm going? My opinion is that you should create a hybrid kernel based on already-running devices.

Does Android use an initfs? If not, maybe it should if it's going to run on Nokia tablets with 2 SDHC slots. Maybe you could more easily capture boot information. You should be able to create a hybrid initfs and bootmenu from the Diablo base. And although we want to be less embedded in the long run, I think talk about a grub-like boot partition is just another vaporware barrier to early usability. Sorry if I'm less informed than I should be; I'm just a proponent of walking before running.


All times are GMT. The time now is 22:56.

vBulletin® Version 3.8.8