User:Alessandro

From Openmoko

(Difference between revisions)
Jump to: navigation, search
Line 6: Line 6:
  
  
You can download my packages via ipkg by adding a configuration file 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.
 
The line to add is:
 
The line to add is:
  
Line 56: Line 56:
  
 
from a place without proxy and try to solve further issue when compiling behind a proxy using the above tricks.
 
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.
 +
Result are pretty strange. CPU usage in always at full and flash memory usage is always zero.

Revision as of 13:50, 13 September 2007

I have a web page with a search engine related to OpenMoko at http://aiurlano.netsons.org/OpenMoko/

My first OpenMoko program:

ipkgorphan (source here)


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 line to add is:

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

The list of packages included in my repo is:

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

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. Result are pretty strange. CPU usage in always at full and flash memory usage is always zero.

Personal tools

I have a web page with a search engine related to OpenMoko at http://aiurlano.netsons.org/OpenMoko/

My first OpenMoko program:

ipkgorphan (source here)


You can download my packages via ipkg by adding a configuration file in /etc/ipkg/ for my repository. The line to add is:

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

The list of packages included in my repo is:

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

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.