r4891 - developers/charlie/Wiki

charlie at docs.openmoko.org charlie at docs.openmoko.org
Tue Jan 20 10:04:18 CET 2009


Author: charlie
Date: 2009-01-20 10:04:17 +0100 (Tue, 20 Jan 2009)
New Revision: 4891

Added:
   developers/charlie/Wiki/DBus
   developers/charlie/Wiki/Efl
   developers/charlie/Wiki/Fun
   developers/charlie/Wiki/GPRS
   developers/charlie/Wiki/Gta03
   developers/charlie/Wiki/Leds
   developers/charlie/Wiki/Poke
   developers/charlie/Wiki/Qi
   developers/charlie/Wiki/RunParoli
Modified:
   developers/charlie/Wiki/Todo
   developers/charlie/Wiki/emacs
   developers/charlie/Wiki/kernel
Log:
Update personal wiki files


Added: developers/charlie/Wiki/DBus
===================================================================
--- developers/charlie/Wiki/DBus	                        (rev 0)
+++ developers/charlie/Wiki/DBus	2009-01-20 09:04:17 UTC (rev 4891)
@@ -0,0 +1,24 @@
+
+
+/usr/share/dbus-1/system-services/org.tichy.launcher.service   :
+
+[D-BUS Service]
+Name=org.tichy.launcher
+Exec=/home/root/Dbus/test.py
+User=root
+
+
+-------------------------------
+
+/etc/dbus-1/system.d/tichy.conf   :
+
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+    <policy user="root">
+        <allow own="org.tichy.launcher"/>
+        <allow send_path="/Launcher"/>
+        <allow send_destination="org.tichy.launcher"/>
+        <allow receive_sender="org.tichy.launcher"/>
+    </policy>
+</busconfig>

Added: developers/charlie/Wiki/Efl
===================================================================
--- developers/charlie/Wiki/Efl	                        (rev 0)
+++ developers/charlie/Wiki/Efl	2009-01-20 09:04:17 UTC (rev 4891)
@@ -0,0 +1,5 @@
+
+* EFL *
+
+** How to install on the desktop **
+

Added: developers/charlie/Wiki/Fun
===================================================================
--- developers/charlie/Wiki/Fun	                        (rev 0)
+++ developers/charlie/Wiki/Fun	2009-01-20 09:04:17 UTC (rev 4891)
@@ -0,0 +1,2 @@
+
+http://tw.youtube.com/watch?v=FM7jLhR73F0
\ No newline at end of file

Added: developers/charlie/Wiki/GPRS
===================================================================
--- developers/charlie/Wiki/GPRS	                        (rev 0)
+++ developers/charlie/Wiki/GPRS	2009-01-20 09:04:17 UTC (rev 4891)
@@ -0,0 +1,10 @@
+* GPRS
+
+** Using Frameworkd
+
+http://wiki.openmoko.org/wiki/GPRS_FSO
+
+** Using pppd 
+
+http://wiki.openmoko.org/wiki/Manually_using_GPRS
+

Added: developers/charlie/Wiki/Gta03
===================================================================
--- developers/charlie/Wiki/Gta03	                        (rev 0)
+++ developers/charlie/Wiki/Gta03	2009-01-20 09:04:17 UTC (rev 4891)
@@ -0,0 +1,18 @@
+
+* GTA03
+
+** How to use with the debug board
+
+Plug everything : board, daughter board to transo, debug board, PC.
+
+(if using power supply, need to use 3.8 V)
+
+The serial should will be /dev/ttyUSB0 (see [[DebugBoard]] in case of
+trouble)
+
+We can use werner neocon to connect to the line
+
+Then we need to have a bootable micro SD card (only the card with HC
+support will work for the moment)
+
+Then we need to install [[Qi]] bootloader on the SD card

Added: developers/charlie/Wiki/Leds
===================================================================
--- developers/charlie/Wiki/Leds	                        (rev 0)
+++ developers/charlie/Wiki/Leds	2009-01-20 09:04:17 UTC (rev 4891)
@@ -0,0 +1,21 @@
+
+* Leds
+
+sys files :
+
+  /sys/devices/platform/gta02-led.0/leds/*
+
+
+kernel files (for GTA02) :
+
+- drivers/leds/leds-neo1973-gta02.c
+- arch/arm/mach-s3c2440/mach-gta02.c
+
+
+It will use kernel led driver,
+
+We have to be carefull because the driver will keep the state of the
+led in memory and won't read the gpio when we request the led status.
+
+In GTA02, we *can't* read directly the leds status using [[Poke]], because
+the GPB register is write only.

Added: developers/charlie/Wiki/Poke
===================================================================
--- developers/charlie/Wiki/Poke	                        (rev 0)
+++ developers/charlie/Wiki/Poke	2009-01-20 09:04:17 UTC (rev 4891)
@@ -0,0 +1,22 @@
+
+
+* Poke
+
+poke is a small c app written by Werner that can be used to read or
+set a gpio on the CPU directly from bash. It is usefull for debuging.
+
+To use it first we need to know the *absolute* address we want to
+read/write. We can get this information in the CPU doc. For example to
+read GPB data register, the address would be 0x56000014. (In the
+kernel code we can see some values, but I don't know how the actuall
+address is then computed because of all the offsets !)
+
+** sources
+
+   http://svn.openmoko.org/developers/werner/poke/
+
+
+** How does it works ?
+
+It relies on the /dev/mem device, that directly map to the physical
+address.

Added: developers/charlie/Wiki/Qi
===================================================================
--- developers/charlie/Wiki/Qi	                        (rev 0)
+++ developers/charlie/Wiki/Qi	2009-01-20 09:04:17 UTC (rev 4891)
@@ -0,0 +1,15 @@
+
+* Qi bootloader
+
+Sources : git://git.openmoko.org/git/qi.git
+
+
+** Build qi for the [[s3c6410]]
+
+   just type 'make CPU=s3c6410'
+
+** Create the SD card
+
+   ./6410-partition-sd.sh sdb sdhc image/qi-s3c6410-andy_???????????????? x
+
+   There may be a bug concerning sdb, we need to set CUT_COLUMN to 5 in the script

Added: developers/charlie/Wiki/RunParoli
===================================================================
--- developers/charlie/Wiki/RunParoli	                        (rev 0)
+++ developers/charlie/Wiki/RunParoli	2009-01-20 09:04:17 UTC (rev 4891)
@@ -0,0 +1,11 @@
+                          HOW TO RUN PAROLI
+
+Tichy is independant of it's running location, so you can just run it
+from the directory where it is installed (run it from the test
+directory)
+
+The problems are that tichy need to find gui_paroli, and also load
+paroli specifics plugins.
+
+If tichy and paroli have been installed in the system, then it should
+work directly.  For devel it may be easier to BE CONTINUED

Modified: developers/charlie/Wiki/Todo
===================================================================
--- developers/charlie/Wiki/Todo	2009-01-18 23:35:11 UTC (rev 4890)
+++ developers/charlie/Wiki/Todo	2009-01-20 09:04:17 UTC (rev 4891)
@@ -1,11 +1,9 @@
 Charly's TODO
 
-* Solve bugs #1610
-* See how to run sdl on framebuffer (there is a tslib problem)
-
 * See how we can use chewing on the phone !
 
 == GSM Testing ==
+* Get the board from Tina
 * Send email to Frank Günther (frank.guenther at cinterion.com) ask him for :
     - GSM MUX sniffer software
     - MUX drivers for windows ? (have a look at the project at berlios OS first)
@@ -17,14 +15,3 @@
 * Check how suspending and resume work
    What are the problems, how do we test them ?
 
-== Tichy ==
-* Try paroli, make patches so that it works on the desktop if needed
-* Fix XWindow key problem
-* Fix windows problem with dbus launcher
-* Xwindow.start_app : quit app when we close the window
-* Create gui_edje (with default edje files for every widget)
-* New .bb file using git
-
-== Other ==
-* BY PLANE TICKETS FOR XMASS !!!
-* Extend ARC

Modified: developers/charlie/Wiki/emacs
===================================================================
--- developers/charlie/Wiki/emacs	2009-01-18 23:35:11 UTC (rev 4890)
+++ developers/charlie/Wiki/emacs	2009-01-20 09:04:17 UTC (rev 4891)
@@ -23,8 +23,8 @@
 * using etags :
 M-. : go to def
 M-* : return from def 
+(to generate the tags for the kernel , we can use make TAGS)
 
-
 * Text mode
 M-q : auto justify paragraph
 

Modified: developers/charlie/Wiki/kernel
===================================================================
--- developers/charlie/Wiki/kernel	2009-01-18 23:35:11 UTC (rev 4890)
+++ developers/charlie/Wiki/kernel	2009-01-20 09:04:17 UTC (rev 4891)
@@ -7,15 +7,20 @@
 git checkout origin/andy
 
 ** Compile
-make ARCH=arm oldconfig  defconfig-gta02
-make ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi-
+make sure than the crosscompile toolchain is in the path, then
 
+ make ARCH=arm oldconfig  defconfig-gta02
+ make ARCH=arm CROSS_COMPILE=arm-angstrom-linux-gnueabi-
+
 (note : there is a bug in the toolchain, so I have to use : 
 export LDFLAGS="-L${OMTOOL_DIR}/arm/arm-angstrom-linux-gnueabi/lib -rpath-link ${OMTOOL_DIR}/arm/arm-angstrom-linux-gnueabi/lib -O1"
 before compilation)
 
 It should put the results into arch/arm/boot/
 
+WE can also follow the instructions from there : http://wiki.openmoko.org/wiki/Toolchain#Building_Openmoko_Kernel_from_git_repo_using_Toolchain
+But the build script doesn't seem to work !
+
 ** Important files
 ./arch/arm/plat-s3c24xx/neo1973_pm_gsm.c
 ./arch/arm/mach-s3c2440/mach-gta02.c
@@ -25,7 +30,9 @@
 ./include/asm-arm/arch-s3c2410/regs-gpio.h
    pin address for s3c2410
 
-** How does we connect a sys/ object to an actual hardware operation. e.g GSM
+arch/arm/mach-s3c6410/om-gta03-features.c
+
+** How do we connect a sys/ object to an actual hardware operation. e.g GSM
 The reset pin of the GSM module is connected to GPB6 pin of S3C2 CPU. This connection is defined in the file :
   **./include/asm-arm/arch-s3c2410/gta02.h**:  #define GTA02_GPIO_MODEM_RST     S3C2410_GPB5
 Then in the file **./arch/arm/plat-s3c24xx/neo1973_pm_gsm.c**, we have :
@@ -42,6 +49,6 @@
 ** Creating new driver
 See [[KernelDriver]]
 
-** Problem
+** Problems
 no ssh support : check the CDC and usb gadget supports
 




More information about the commitlog mailing list