Editing User:Rlinfati
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
'''[http://maemo.org/profile/view/rlinfati/ Rodrigo Linfati]''' | '''[http://maemo.org/profile/view/rlinfati/ Rodrigo Linfati]''' | ||
- | + | =Repositories= | |
- | + | ==n8x0.install== | |
- | [[ | + | [catalogues] |
+ | catalogues = extras; extras-devel | ||
+ | |||
+ | [extras] | ||
+ | name = Maemo.org Extras | ||
+ | uri = http://repository.maemo.org/extras/ | ||
+ | components = free non-free | ||
+ | |||
+ | [extras-devel] | ||
+ | name = Maemo.org Extras-Devel | ||
+ | uri = http://repository.maemo.org/extras-devel/ | ||
+ | components = free non-free | ||
+ | |||
+ | ==n900.install== | ||
+ | |||
+ | [catalogues] | ||
+ | catalogues = extras; extras-testing; extras-devel | ||
+ | |||
+ | [extras] | ||
+ | name = Maemo.org Extras | ||
+ | uri = http://repository.maemo.org/extras/ | ||
+ | components = free non-free | ||
+ | |||
+ | [extras-testing] | ||
+ | name = Maemo.org Extras-testing | ||
+ | uri = http://repository.maemo.org/extras-testing/ | ||
+ | components = free non-free | ||
+ | |||
+ | [extras-devel] | ||
+ | name = Maemo.org Extras-Devel | ||
+ | uri = http://repository.maemo.org/extras-devel/ | ||
+ | components = free non-free | ||
+ | |||
+ | ==sdk sources.list== | ||
+ | |||
+ | deb http://repository.maemo.org/ fremantle/sdk free non-free | ||
+ | deb-src http://repository.maemo.org/ fremantle/sdk free non-free | ||
+ | deb http://repository.maemo.org/ fremantle/tools free non-free | ||
+ | deb-src http://repository.maemo.org/ fremantle/tools free non-free | ||
+ | deb http://repository.maemo.org/extras fremantle free non-free | ||
+ | deb-src http://repository.maemo.org/extras fremantle free non-free | ||
+ | deb http://repository.maemo.org/extras-testing fremantle free non-free | ||
+ | deb-src http://repository.maemo.org/extras-testing fremantle free non-free | ||
+ | deb http://repository.maemo.org/extras-devel fremantle free non-free | ||
+ | deb-src http://repository.maemo.org/extras-devel fremantle free non-free | ||
+ | deb http://repository.maemo.org/ fremantle/1234567890 nokia-binaries | ||
+ | |||
+ | ---- | ||
+ | |||
+ | =n900 stuff= | ||
+ | |||
+ | ==tools== | ||
+ | |||
+ | # GPS: [http://repository.maemo.org/pool/maemo5.0/non-free/l/location-test-gui/location-test-gui_0.92-1+0m5_armel.deb location-test-gui 0.92] | ||
+ | |||
+ | # GPS: [http://repository.maemo.org/pool/maemo5.0/non-free/l/location-test-gui/location-test-gui_0.93-1+0m5_armel.deb location-test-gui 0.93] | ||
+ | |||
+ | ---- | ||
+ | |||
+ | =USB Network and Internet= | ||
+ | : see: [[USB_networking]] and [[N900_USB_networking]] | ||
+ | : and install [http://repository.maemo.org/pool/maemo5.0/nokia-binaries/1234567890/nokia-binaries/libi/libicd-network-dummy/libicd-network-dummy_0.12+0m5_armel.deb libicd-network-dummy] | ||
+ | |||
+ | ==/etc/network/interfaces on device== | ||
+ | auto lo | ||
+ | iface lo inet loopback | ||
+ | auto eth0 | ||
+ | iface eth0 inet dhcp | ||
+ | auto usb0 | ||
+ | iface usb0 inet static | ||
+ | address 192.168.2.15 | ||
+ | netmask 255.255.255.0 | ||
+ | # gateway 192.168.2.14 | ||
+ | # pre-up route del default | ||
+ | ==/etc/network/interfaces on host== | ||
+ | auto lo | ||
+ | iface lo inet loopback | ||
+ | |||
+ | auto usb0 | ||
+ | iface usb0 inet static | ||
+ | address 192.168.2.14 | ||
+ | netmask 255.255.255.0 | ||
+ | # up iptables -t nat -A POSTROUTING -s 192.168.2.15 -j MASQUERADE | ||
+ | # up echo 1 > /proc/sys/net/ipv4/ip_forward | ||
+ | # down iptables -t nat -D POSTROUTING -s 192.168.2.15 -j MASQUERADE | ||
+ | # down echo 0 > /proc/sys/net/ipv4/ip_forward | ||
+ | |||
+ | ---- | ||
+ | |||
+ | =Jave SE and Java ME= | ||
+ | Download and untar/unzip | ||
+ | # microemulator-2.0.3.zip from [http://www.microemu.org/ microemu] | ||
+ | # ejre-1_6_0_10-ea-b39-linux-armv6-vfp-eabi-min-eval-30_jul_2009.tar.gz from [http://java.sun.com/javase/downloads/embedded.jsp Sun JaveSE ARMv6 Headful] | ||
+ | ==Makefile== | ||
+ | clean: | ||
+ | echo cleaning... | ||
+ | |||
+ | install: | ||
+ | cp -r ejre1.6.0_10 $(DESTDIR)/opt/ | ||
+ | cp -r microemulator-2.0.3 $(DESTDIR)/opt/ | ||
+ | cp microemulator.desktop $(DESTDIR)/usr/share/applications/hildon/ | ||
+ | cp $(DESTDIR)/opt/microemulator-2.0.3/devices/microemu-device-resizable.jar $(DESTDIR)/home/user/.microemulator/ | ||
+ | cp config2.xml $(DESTDIR)/home/user/.microemulator/ | ||
+ | ==microemulator.desktop== | ||
+ | [Desktop Entry] | ||
+ | Encoding=UTF-8 | ||
+ | Version=0.1 | ||
+ | Type=Application | ||
+ | Name=MicroEmulator | ||
+ | Exec=/opt/ejre1.6.0_10/bin/java -jar /opt/microemulator-2.0.3/microemulator.jar | ||
+ | Icon=microemulator | ||
+ | X-HildonDesk-ShowInToolbar=true | ||
+ | X-Osso-Type=application/x-executable | ||
+ | |||
+ | ==config2.xml== | ||
+ | <config> | ||
+ | <files> | ||
+ | <recentJadDirectory>/home/user/MyDocs/</recentJadDirectory> | ||
+ | </files> | ||
+ | <system-properties> | ||
+ | <system-property VALUE="MIDP-2.0" NAME="microedition.profiles"/> | ||
+ | <system-property VALUE="CLDC-1.0" NAME="microedition.configuration"/> | ||
+ | <system-property VALUE="true" NAME="avetana.forceNativeLibrary"/> | ||
+ | </system-properties> | ||
+ | <devices> | ||
+ | <device DEFAULT="true"> | ||
+ | <name>Resizable device</name> | ||
+ | <filename>microemu-device-resizable.jar</filename> | ||
+ | <descriptor>org/microemu/device/resizable/device.xml</descriptor> | ||
+ | <rectangle> | ||
+ | <x>0</x> | ||
+ | <y>0</y> | ||
+ | <width>800</width> | ||
+ | <height>378</height> | ||
+ | </rectangle> | ||
+ | </device> | ||
+ | </devices> | ||
+ | <windows> | ||
+ | <main ONSTART="true"> | ||
+ | <x>0</x> | ||
+ | <y>0</y> | ||
+ | <width>800</width> | ||
+ | <height>480</height> | ||
+ | </main> | ||
+ | </windows> | ||
+ | </config> | ||
+ | ==debian/javame.postinst== | ||
+ | : first run as root... to start timebomb (aka trial period) | ||
+ | #!/bin/sh | ||
+ | /opt/ejre1.6.0_10/bin/java -version 2> /dev/null | ||
+ | chown -R user:users /home/user/.microemulator/ | ||
+ | exit 0 | ||
+ | |||
+ | ---- |
Learn more about Contributing to the wiki.