Tuesday, November 24, 2009

marrige registry

my baby has already prison break.Congratulations!

He looks like my grandpa~hope God could allow his eternal life's ticket

photograph by a Russian

Hackable1 is one of my favorite distros in openmoko.


btw:I got a sony-S736F that it's really amazing for punk rock and gothic(low-mid frequency).I have test songs like "New Divid","Eternal Autum","Only hope","going under".It's get closer to status of "perfection".Hope One day,I can use open hardware music player device to listen music.

Saturday, November 07, 2009

port guile to ben_nanoNOte

Copyleft(c)2009 HackerFellowship. All lefts reserved.
Shawn the R0ck

This documentation is about the process of port guile;you can
redistribute it and /or modify it under the terms of the GNU General
Public License as published by the Free Software Foundataion;either
version 2 of the License,or (at your option) any later version.

You should have read the GNU General Public License before start "RTFSC".

how to port guile from Intel cpu to mips(ported-version for b_nn).We need 2 things:
1.openWrt of ben_nanoNote
2.guile-1.4's source code

$tar zxvf guile-1.4.tar.gz
$cd ..
$mkdir build-guile
$cd build-guile
$../guile-1.4/configure --host=mipsel-openwrt-linux --with-cc=mipsel-openwrt-linux-gcc --with-linker=mipsel-openwrt-linux-ld --prefix=/hfg/guile-x
$grep -r CC= *

Now,you need to modify every files what you see from the list.from "CC= gcc" to "mipsel openwrt-linux-gcc".

$grep -r LD= *

Still do ur modifying from "LD= ld" to "mipsel-openwrt-linux-ld".Actually,you still need to modify very Makefile.

if you got a error something like this".....bin/ld:cant found -lreadline".before run the below cmd,please copy the readline.so and ncurses.so to your specify folder(-B your_folder_name):

$mipsel-openwrt-linux-gcc -fPIC -shared readline.lo -lreadline -B /hfg/nanonote/openwrt-xburst/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc- -lncurses -lc -Wl,-soname -Wl,libguilereadline.so.0 -o .libs/libguilereadline.so.0.0.0

You got your own scheme interpreter now.dont forget thank for free software movement.Use scp or whatever you like way to upload the /hfg/guile-x/* to "/usr/" of ben_nanoNOte.

finnally,add "export GUILE_LOAD_PATH=/usr/share/guile/1.4" to the /etc/profile on ben_nanoNOte