User:Alessandro

From Openmoko

(Difference between revisions)
Jump to: navigation, search
m (Added "all" target for ipkg)
(Added some info about me)
Line 1: Line 1:
I have a web page with a search engine related to OpenMoko at http://aiurlano.netsons.org/OpenMoko/
+
==About me==
 +
 
 +
My name is Alessandro Iurlano (IRC: Ghiottone). I'm a linux user and sysadmin since at least ten years and an expert C developer.
 +
 
 +
My projects include a hobby operating system (http://osso.sourceforge.net) and a custom search engine for OS development ([http://aiurlano.netsons.org/osdev/]).
 +
 
 +
For OpenMoko I have a web page with a search engine related to OpenMoko at [http://aiurlano.netsons.org/OpenMoko/]
  
 
My first OpenMoko program:
 
My first OpenMoko program:
Line 5: Line 11:
 
[http://aiurlano.netsons.org/OpenMoko/ipkgorphan_0.0.1-r0_armv4t.ipk ipkgorphan] (source [http://aiurlano.netsons.org/OpenMoko/ipkgorphan.src.tar.gz here])
 
[http://aiurlano.netsons.org/OpenMoko/ipkgorphan_0.0.1-r0_armv4t.ipk ipkgorphan] (source [http://aiurlano.netsons.org/OpenMoko/ipkgorphan.src.tar.gz here])
  
 +
==My Package Repository==
  
 
You can download my packages via ipkg by adding a configuration file (its name must end with .conf) in /etc/ipkg/ for my repository.
 
You can download my packages via ipkg by adding a configuration file (its name must end with .conf) in /etc/ipkg/ for my repository.
Line 19: Line 26:
 
* ipkg-link
 
* ipkg-link
 
* synergy
 
* synergy
 +
* bootchart
 +
* bash
  
 
==IRC==
 
==IRC==

Revision as of 14:17, 16 September 2007

Contents

About me

My name is Alessandro Iurlano (IRC: Ghiottone). I'm a linux user and sysadmin since at least ten years and an expert C developer.

My projects include a hobby operating system (http://osso.sourceforge.net) and a custom search engine for OS development ([1]).

For OpenMoko I have a web page with a search engine related to OpenMoko at [2]

My first OpenMoko program:

ipkgorphan (source here)

My Package Repository

You can download my packages via ipkg by adding a configuration file (its name must end with .conf) in /etc/ipkg/ for my repository. The lines to add are:

src/gz aiurlano-armv4t http://aiurlano.netsons.org/OpenMoko/ipk/armv4t
src/gz aiurlano-all http://aiurlano.netsons.org/OpenMoko/ipk/all

The list of packages included in my repo is:

  • ipkgorphan
  • settingsgui (web bb source)
  • smstool (web)
  • free42
  • ipkg-link
  • synergy
  • bootchart
  • bash

IRC

My nick on IRC is Ghiottone (registered on FreeNode)

Tips collected from IRC:

Tip to mount jffs images (yet to be tested)

# modprobe loop
# modprobe mtdblock
# losetup /dev/loop0 /path/to/imagefile.jffs2
# insmod blkmtd erasesz=256 device=/dev/loop0
# mount -t jffs2 /dev/mtdblock0 /mnt

Something about binary locale generation

put ENABLE_BINARY_LOCALE_GENERATION = "0" in your local.conf file

NOTES

For users behind an http web proxy, life is hard. Openembedded cannot get updated because monotone does not support proxies. Subversion however does, both with http and https. So, there are some commands to use only when you are directly connected to the internet:

make setup-openembedded
make update-openembedded 

They are called as part of make setup and make update, respectively. They will update the timestamps in the stamps directory.

make update-openmoko does an svn update. It will work after setting up the proxy server in ~/.subversion/servers Should your http proxy not allow PROPFIND method, you can try switchin to https. To do this you have to change the mokomakefile to do https checkouts and switch existing workdirs to https with svn switch --relocate http://URL https://URL

Open hand repository has a configuration for https that requires you to have their certificate installed and thus their software is not updatable behind a proxy

Best thing to do is to do a

. setup.env; cd build; bitbake -cfetchall openmoko-devel-image

from a place without proxy and try to solve further issue when compiling behind a proxy using the above tricks.

BOOT PHASE

I have run the bootchart tool on OpenMoko. Results are pretty strange. CPU usage in always at full and flash memory usage is always zero.

The result is shown here:

Bootchart1.png
Personal tools

About me

My name is Alessandro Iurlano (IRC: Ghiottone). I'm a linux user and sysadmin since at least ten years and an expert C developer.

My projects include a hobby operating system (http://osso.sourceforge.net) and a custom search engine for OS development ([1]).

For OpenMoko I have a web page with a search engine related to OpenMoko at [2]

My first OpenMoko program:

ipkgorphan (source here)

My Package Repository

You can download my packages via ipkg by adding a configuration file (its name must end with .conf) in /etc/ipkg/ for my repository. The lines to add are:

src/gz aiurlano-armv4t http://aiurlano.netsons.org/OpenMoko/ipk/armv4t
src/gz aiurlano-all http://aiurlano.netsons.org/OpenMoko/ipk/all

The list of packages included in my repo is:

  • ipkgorphan
  • settingsgui (web bb source)
  • smstool (web)
  • free42
  • ipkg-link
  • synergy
  • bootchart
  • bash

IRC

My nick on IRC is Ghiottone (registered on FreeNode)

Tips collected from IRC:

Tip to mount jffs images (yet to be tested)

# modprobe loop
# modprobe mtdblock
# losetup /dev/loop0 /path/to/imagefile.jffs2
# insmod blkmtd erasesz=256 device=/dev/loop0
# mount -t jffs2 /dev/mtdblock0 /mnt

Something about binary locale generation

put ENABLE_BINARY_LOCALE_GENERATION = "0" in your local.conf file

NOTES

For users behind an http web proxy, life is hard. Openembedded cannot get updated because monotone does not support proxies. Subversion however does, both with http and https. So, there are some commands to use only when you are directly connected to the internet:

make setup-openembedded
make update-openembedded 

They are called as part of make setup and make update, respectively. They will update the timestamps in the stamps directory.

make update-openmoko does an svn update. It will work after setting up the proxy server in ~/.subversion/servers Should your http proxy not allow PROPFIND method, you can try switchin to https. To do this you have to change the mokomakefile to do https checkouts and switch existing workdirs to https with svn switch --relocate http://URL https://URL

Open hand repository has a configuration for https that requires you to have their certificate installed and thus their software is not updatable behind a proxy

Best thing to do is to do a

. setup.env; cd build; bitbake -cfetchall openmoko-devel-image

from a place without proxy and try to solve further issue when compiling behind a proxy using the above tricks.

BOOT PHASE

I have run the bootchart tool on OpenMoko. Results are pretty strange. CPU usage in always at full and flash memory usage is always zero.

The result is shown here:

Bootchart1.png