Wednesday, October 06, 2010

trip of kangting

We have been to kangting..yes,kangting,again~but no hiking/biking something.because we only have 7-days vacation that we choose the road trip.There's still bunch of beautiful places out there.You're get involve in a natural environment which in the wonderful creations that it must driving you to do some philosophical think.what's the purpose of your frenk'in life?what the kind of ways you need to pursuit with?freedom or dreams in metaphical, code something in physical? that's a hard issues I dont have figure it out yet.Last year,I almost die in a jungle near(35km) to kangting city.After 13 months the process of event still picturing in my mind,pretty clearly.I as a humanoid walking on the suck but wondering world that have to ask about those 3 questions again:where's my LOVE?where's my HOPE?what's the purpose of my life?7 years of itchs,but it's still hard to answer..........

the first mountain in Ya'an area we need to pass.

country side

shangli town


unfortunately,the Talmud doesnt have a full-version of Chinese translation...it doesnt means that I have to learning hebrew,right?

ya'an city


I was hiking here last year

we were passing through the tunnel

kangting



only the idiot dont drink buttered tea when you're reach the highland in the southwest of China


can you writing code within a hot spring pool on 2700m altitude?

this probabaly is highest altitude airport in the planet.4250 meters high on top of the "zheduo" mountain.


airstrip


flying here dude,it's worth to try~


airport entry

we have been stuck in mountain(3900m altitude) caused by traffic jams.damn,where's the fucking traffic police gone?Thank God,we met a group of army and they helped us to passing through,safely.

thanks,buddy.You guys effort made a smooth traffic.


traffic jams for 15km.

hello,yaks!

Xindu Bridge (新都橋)




the path to danba country

beautiful,ha?

tagong town,see?

getting near to danba





Tibetan Village in danba country

castle in danba country



we were going to cross the jiajin mountain.

hightland lake

This place is great.Im going to hiking this place next year.











go home......

Thursday, July 01, 2010

exokernel,can we talk about it?

of course we have to talk about it.Actually we have been trash-talking on OS topics for few months.But we still dont get start to writing the own ones.dont be rush,man.OS is a definitely tough hack in the phenomenon world.It will takes you few years even 10 years get involve with it.sounds hard,right? whatever you think how hard it is,that doenst means we could put it away from our hacking(routines).we still need to keep eyes on it.

You may doubt that how can we keep up with new tech in a fast-food world,while People just focus on things which turning to be rushsss.I dont wanna talk about how people get fucked by this world right now.Just noticed that hardware/software co-hacking are a bunch of logies(ontology,methodology,epistemology) that across the hardcore fields in computer science(and engineering) including OS,compilers,networking.The 3logies is the strongest paradigm which existing for xxxxxx years.It's cames from the most powerful book---The Holy Bible.The 1st time of Jews and Greek's cultural collision happend about 2300 years ago that historical event formed a new way of thinking which Abraham Joshua Heschel was call it "ellipse it revolves" that means we believed something cant to prove it by reasoning but by our pure faith to LORD(religion,theology),and the rest of knowledge we can figure it out by reasoning(philosophy).The interesting is Hebrew(希伯来) and Greek(希腊) are same root in CHinese:-)

Back to the topic.Im a monkey-coder,why do I need to know above?Because you will get different informations on different postions when you hack the kernel(or should I said OS design?).A simple explanation like this:
Ontology->Trying to figure it out what OS it is.
Methodology->trying to stand on different positions look into the paradigm of the OS.
Epistemology->trying to do above 2 again and again that would making a whole organic knowledge system for you.

On the other hand,different languages connected these different world views as same as OS design.Thinking about that,The relationships between the arch of OS itself,scheduler,kernel thread execution just like,you know what,I really wanna saying"Holy Father,Holy Son,Holy Spirit".is there any possibility to reduce those components less than 3?You could try it but it will be sucked.And why does conventional OS(monolithic,even microkernel) has to make a distinction between kernel space and user space?for security issues(sin)?oohh,aha,sinful man living in user space and trying to get some resources from kernel space by scheduler(JC?).pthread is a kind of execution which existing in phenomenon world and...you might know what I want to say,right?...kernel thread is really big stuff do things which sinful man cant go through with "real desert".I cant talk more because I cant give you a clear explanation about Philosophical-Theology Model in english(a world view trouble?).

What's different between conventional OS and exokernel[1]?a lot.really a lot.IMO,exokernel is a better PTM which get closer to "the truth".You'd better take a peek[2] on MIT exo website that provided some documentations(papers)[3].exokernel's model picturing a better world than current one.A meta-kernel has been made,then hackers(not cracker) can customizing their own kernel and build their own app on it.


As a OS amateur,need to keep your mind open and trying to get "a little bit" wisdom from the beautiful creations....wowo,it's been a long bullshit,I think I need to go to bed for reading "Joel on Software"(book)[4].

May Lord's hacking spirit guide us!!!


[1]MIT Exokernel Operating System
http://pdos.csail.mit.edu/exo/

[2]Exopc Exokernel Distribution
http://pdos.csail.mit.edu/exo/distrib.html

[3]documentations
http://pdos.csail.mit.edu/exo/docs.html

[4]Joel on Software
http://www.joelonsoftware.com/

Thursday, May 27, 2010

happy gaming time II

I have a happy gaming time about 2 years ago.The AssassinCreed was a wonderful created by a talented development team,I mean UBI.Thank Lord Im still existing in this suck world and having fun with a great game---AssassinCreedII.The history was occurs in the 15th century when Renaissance getting close to the end.You can see many beautiful architectures in the game world.And even though you can see many corrupts in history of Christianity Church,but (honestly) you still can see the glorious lights from LORD by footprints of history.Im going to share something pictures from snapshots:

That's me.My name is Ezio.One of my great ancestor is altair who has gaming with you in the first edition of the game.

Venice

Florence,the first place you will see in the game world

a monastery.I came here for kick 2 guys ass and get some important infos from a monk

aha,beautiful woman."hello,mamdama"latin or french?

memory is........

Cross making me fear.....fear God,but fear no man!

..............

stealth to the castle

Venice

May Cross's lights guide us!

Santa Maria del Fiore.I wanna trip here(I mean in relative to real world)

it's a kind of Byzantine style architecture

man have a dream to fly...

And,jump dude!

one assassin show can change the world,isnt is?

world cant be changed by 2 man dies.but the 2 man themselves

btw:if you are a hacker(not cracker),I advice you spend 24 hours for gaming the AssassinCreedII.It's worth to try.

Thursday, May 20, 2010

port GNU/Linux kernel 2.6.28.9 to ixp435

Copyright (c) Shawn the R0ck.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation;with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.A copy of the license is included in the section entitled "GNU Free Documentation License".

I have port (by a company Im working for) to ixp420 last month. That would not be fit in your kernel.A standard kernel 2.6.28.9 has been successful to port on kixrp435(ixp435 reference platform) dev-board recently. Im gonna share with you guys about it. There are few stuffs you need to get before you start the hack.

1,Download the files that you will use

2,try to get a cross-compiler(I have been using a customized GNU toolchains by timesys).My armv5b-linux-gcc version is 3.4.1-7

3,Of course you need a kernel-2.6.28.9

4(optional), you can use the rootfs I created.

I totally agree with Ken Thompson said"This is a consequence rather than a goal. I abhor a system designed for the "user", if that word is a coded pejorative meaning "stupid and unsophisticated". That's a good reason dont be expected the doc(or is called "log") might be readable as a literature. I'm writting this for hackers but not as users. Hope can helps.

happy hacking!
May Lord's hacking spirit guide us!

decompress files:
#tar jxvf linux-2.6.28.9
#unzip BSD_ixp400AccessLibrary-3_0.zip
#unzip IPL_ixp400NpeLibrary-3_0.zip
#unzip BSD_ixp400PMU-3_0.zip
#cp -r linux-2.6.28.9/arch/arm/mach-ixp4xx/include/mach linux-2.6.28.9/include
#cp linux-2.6.28.9/arch/arm/include/asm/* linux-2.6.28.9/include/asm/

do "source ixp400_xscale_sw/buildUtils/environment.linux.sh" after you have already set the right path in: ixp400_xscale_sw/buildUtils/environment.linux.sh

Copy the Makefile and Kconfig to your kernel directory that may be:linux-2.6.28.9/driver/net

#cp ixp400_eth.c IxLinuxEDDIoctl.h linux-2.6.28/driver/net
#cp config.bak linux-2.6.28.9/
#cp semaphore.c linux-2.6.28.9/kernel
#cp semaphore.h linux-2.6.28.9/include/linux

edit ixp_osal/platforms/ixp43X/os/linux/include/IxOsalOsOem.h:
replace:
#include "asm/hardware.h"
#include "asm/arch/irqs.h"

with:
#include "mach/hardware.h"
#include "mach/irqs.h"

edit ixp_osal/common/os/linux/include/core/IxOsalOsTypes.h
replace:
#include "asm/semaphore.h"

with:
#include "linux/semaphore.h"

edit ixp_osal/common/os/linux/include/core/IxOsalOs.h
replace "consistent_sync" with "dma_cache_maint"

edit ixp400_xscale_sw/src/oslinux/IxLinuxInit.c
1,add #include "linux/fs.h"
2,comment these 3 lines:
/* if (unregister_chrdev(DEV_IXNPE_MAJOR_NUMBER, "ixNpe"))
{
printk (KERN_ERR "Failed to unregister driver for

/dev/ixNpe\n");
}*/
And,add a line above it:
unregister_chrdev(DEV_IXNPE_MAJOR_NUMBER, "ixNpe")

edit

ixp400_xscale_sw/ixp_osal/common/os/linux/src/modules/ddk/IxOsalOsDdkIrq.c
replace "SA_SHIRQ" with "IRQF_SHARED"


check your kernel config
# make $IX_KBUILD_CROSSCOMPILE menuconfig

compile kernel
# make $IX_KBUILD_CROSSCOMPILE

compile npe driver
# cd ixp400_xscale_sw
# make all

then you will get 3 files(ixp400.ko,IxNpeMicrocode.dat,ixp400_eth.ko)

that's all your ixp435 platform needs.

# insmod ixp400.ko
ixp400: module license 'unspecified' taints kernel.
# cat IxNpeMicrocode.dat > /dev/ixNpe
# insmod ixp400_eth.ko
ixp400_eth: Initializing IXP400 NPE Ethernet driver software v. 1.8
ixp400_eth: CPU clock speed (approx) = 398 MHz
ixp400_eth: Found PHY 0 at address 1
ixp400_eth: Found PHY 1 at address 2
ixp400_eth: Found PHY 2 at address 3
ixp400_eth: Found PHY 3 at address 4
ixp400_eth: Found PHY 4 at address 5
ixp400_eth: ixp1 is using NPEC and the PHY at address 1
ixp400_eth: ixp2 is using NPEA and the PHY at address 2
ixp400_eth: Use default MAC address 00:02:b3:02:02:02 for port 1
ixp400_eth: Use default MAC address 00:02:b3:03:03:03 for port 2

see,it works!

btw:I found a community the named openixp provided many FOSS solutions on ixp platform.unfortunately, it seems it was not update for a "while"

Thursday, April 08, 2010

port GNU/Linux kernel-2.6.28 to ixp4xx(420)

Copyright (c) Shawn the R0ck.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation;with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.A copy of the license is included in the section entitled "GNU Free Documentation License".

I have been doing some porting on ixp4xx(420) for weeks.the boring one is that port the network adapter to kernel-2.6.28.Perhaps there's many ways could be done this job.I tried compile the ixp4xx drivers into kernel-2.6.28.And needed to change a lot in driver code which for fit in the data structures of kernel high-speed changes.in the end,you still need the intel full of shits(accessLib and something else) to provided a link library for complete the compiliation of kernel.Because of Intel as big corporation would never like to accept spirit of GPL and they made a abstraction layer is called accessLib which is followed BSD-license.Intel wants to copping out GPL license and that was the way.The wrost thing is my cross-compiler cant not gernerate these libs.dont laugh on me,I have try more than 4 verions of cross-compilers that all failed.That's why I have to pick a easy way to done this job.That way is port the shit used by snapgear...Hope this roughly document could give you help!

1.Download snapgear-4.0 and extract the files into a folder of snapgear.Download GNU/Linux kernel 2.6.28,you need to move the kernel(after extracted) into directory of snapgear and changes the named of "linux-2.6.28" to "linux-2.6.x"(bash:mv linux-2.6.28 linux-2.6.x).

2.download snapgear-modules-20090807.sh,then move it to snapgear.you will get 4 files after execution(bash: ./snapgear-modules-20090807).And follow the "sexy" README files steps to patching your snapgear distro.

3.because of you wanna get npe modules that you have to add something to linux-2.6.x/Makefile.Find where vmlinux-dirs and vmlinux-alldirs are,and looks like this after correct edited:
vmlinux-dirs := $(patsubst %/,%,$(filter %/, $(init-y) $(init-m) \
$(core-y) $(core-m) $(drivers-y) $(drivers-m) \
$(net-y) $(net-m) $(libs-y) $(libs-m) $(EXTRA_MODULE_DIRS)))

vmlinux-alldirs := $(sort $(vmlinux-dirs) $(patsubst %/,%,$(filter %/, \
$(init-n) $(init-) \
$(core-n) $(core-) $(drivers-n) $(drivers-) \
$(net-n) $(net-) $(libs-n) $(libs-) $(EXTRA_MODULE_DIRS))))

4.if you dont wanna get a error like "/home/snapgear/modules/ixp425/net-2.4/ixp400_eth.c: In function 'port_disable': /home/snapgear/modules/ixp425/net-2.4/ixp400_eth.c:2836: error: implicit declaration of function 'kill_proc'",you need to edit the file of ixp400_eth.c.

before edited:
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29)

#include "linux..."

#define kill_proc(p,s,v) send_sig(s,find_task_by_vpid(p),0)

#endif

after edited:

#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28)

#include "linux..."

#define kill_proc(p,s,v) send_sig(s,find_task_by_vpid(p),0)

#endif

5.continue to editing a right $(AWK) execution path.add vmlinux-only-dirs = $(filter-out /%,$(vmlinux-dirs)) into linux2.6.x/Makefile for a proper place and replace vmlinux-dirs with vmlinux-only-dirs.Only the second "vmlinux-dirs" need to be replaced that looks like this:

PHONY += modules
modules: $(vmlinux-dirs) $(if $(KBUILD_BUILTIN),vmlinux)
$(Q)$(AWK) '!x[$$0]++' $(vmlinux-only-dirs:%=$(objtree)/%/modules.order) > $(objtree)/modules.order

6.snapgear wouldnt gernerate a right path for ixp400_eth.ko.so you still need to change the linux-2.6.x/scripts/Makefile.modinst like this:

modinst_dir = $(subst $(dir $(TOPDIR))modules/,,$(if $(KBUILD_EXTMOD),$(ext-mod-dir),kernel/$(@D)))

7.edit snapgear\modules\ixp425\ixp400-2.4\ixp400_xscale_sw\src\ethMii\IxEthMii_p.h.add "#define IX_ETH_MII_IP175C_PHY_ID 0x02430d80" near by behind the "/* supported PHYs */"

And,turn to the 172th line of snapgear\modules\ixp425\ixp400-2.4\ixp400_xscale_sw\src\ethMii\IxEthMii.c.Add "|| (ixEthMiiPhyId[i] == IX_ETH_MII_IP175C_PHY_ID)" to where behind the "|| (ixEthMiiPhyId[i] == IX_ETH_MII_RTL8305SC_PHY_ID)"

I tested a version of which doesnt made the changes and snapgear pop up some error.But the network adapter is still works.I dont know what exactly effect on it.

8.you will get a compile error "/home/snapgear/modules/ixp425/net-2.4/ixp400_eth.c:2025: error: implicit declaration of function '_netif_rx_schedule_prep'" when you select the NAPI option.

The solution is edit ixp400_eth.c,before edited:

#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,30)

priv_data_t *priv = netdev_priv(ndev);

if(napi_schedule_prep(&priv->napi))

{

ixEthAccQMgrRxNotificationDisableQueue(i);

ixQMgrNotificationDisable(i);

__napi_schedule(&priv->napi);

}

#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29)

priv_data_t *priv = netdev_priv(ndev);

if(netif_rx_schedule_prep(&priv->napi))

{

ixEthAccQMgrRxNotificationDisableQueue(i);

ixQMgrNotificationDisable(i);

__netif_rx_schedule(&priv->napi);

}

done the edit:

#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28)

priv_data_t *priv = netdev_priv(ndev);

if(napi_schedule_prep(&priv->napi))

{

ixEthAccQMgrRxNotificationDisableQueue(i);

ixQMgrNotificationDisable(i);

__napi_schedule(&priv->napi);

}

#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25)

priv_data_t *priv = netdev_priv(ndev);

if(netif_rx_schedule_prep(&priv->napi))

{

ixEthAccQMgrRxNotificationDisableQueue(i);

ixQMgrNotificationDisable(i);

__netif_rx_schedule(&priv->napi);

}

finnlay,you need to type a few command lines after booting the ixp4xx-board:

# insmod ixp400.ko
# cat /etc/IxNpeMicrocode.dat > /dev/ixNpe
# insmod ixp400_eth.ko

ixp400_eth: Initializing IXP400 NPE Ethernet driver software v. 1.7SG
ixp400_eth: CPU clock speed (approx) = 266 MHz
[warning] ixNpeDlNpeMgrInit - Warning:NPEA is not present.
ixp400_eth: ixp0 is using NPEB and the PHY at address 0
ixp400_eth: ixp1 is using NPEC and the PHY at address 1
ixp400_eth: Use default MAC address 00:02:b3:01:01:01 for port 0
ixp400_eth: Use default MAC address 00:02:b3:02:02:02 for port 1

dont even think that you have done all works of port.of course no~your ixp420 needed 2 network cables plug into 2 RJ-45 interfaces which one for TX and another for RX.I dont figure it out yet.Im still hacking on it.I found out that some functions which writing datas into registers of ip175c net chip got something wrong.Now the ixp4xx can writing the data correctly but still cant send or receive the datas from network within one network adapter.

port is a muscular work,definitely:-)

Sunday, March 07, 2010

hacker ethic---for this era?

1973年10月的北欧,秋天的季节让人觉得很是舒服,一位名叫Pekka Himanen的小家伙诞生了,如果按照正确的推断,他应该是诞生在了一个犹太家庭,这个小家伙的童年鲜为人知,或许人们也不太关心一个普通人的童年,但随着时间的飞驰,在1989年信息时代的源头降生在这个地球上,在这一年,柏林墙倒塌了,墙的两极的人们可以像他们的祖先日尔曼人一样的畅通无阻的进行哲学,宗教,艺术,经济等话题的探讨,但人们最难预料的事情就是从这一年开始,之后的信息量的膨胀将会以前所未有的速度席卷整个人类的思维,之后的10年,人们经历了太多太多,庞大的苏联的解体,波斯湾战争中美军的全新作战模式,万维网的诞生,信息高速公路的建设,以及自由软件和开源有了明确的定义.这一切的一切,好像是古代的先祖们根本无法想象的,但今天那些无法想象的事物就在我们面前,人们应该如何来面对这短短的10年间所经历的一切.

Shawn想我们应该先把思维跳回到大约100年以前,不然很难理解今天所面临的时代所展现在我们面前的错综复杂的关系,就像一位哲人所言"如果停止对形而上的重构,我们将失去未来的方向".1904年,一位来自德国的犹太人Max Webber出版了那本旷世著作<新教伦理与资本主义精神>,这里请允许Shawn简要的介绍一下书中所阐述内容的背景铺垫,16世纪的德国,一位伟大的日尔曼战士型神学家Martin Luther(路德),由于不满天主教对圣经原意的曲解,勇敢的发起了宗教改革(您或许对Martin的形象感到迷惑,这样吧,您如果看到了"德国战车"的主唱,就能想象到Martin,他是绝对的欧洲北方人的风格).之后由于历史的诸多原因,在日内瓦的John Calvin(加尔文)响应了那伟大战士的号召,他认为是时候接受上帝的带领与错误的教训征战了,他花了最短的时间完成了一部历史上对人类最重要的著作之一<基督教要义>,此书里详细的记录了圣经里非常多的总原则作为进行哲学思辨的绝对标准.....而加尔文主义把这一思想从日内瓦->荷兰->英国->美国->日本,建立了现代的三权分立的社会体制.当然,也因为这本著作,滋生了资本主义财团的兴起.而<新教伦理与资本主义精神>则是在新教伦理在遍及了欧洲和北美之后诞生的,如果从今天的标准来看,世界上只要受工业化影响的地区,不管这一地区的人们是否信仰基督教,他们都普遍遵循新教伦理.

1994年,当年的那个小家伙已经长大成人,Pekka因为是芬兰最年轻的PHD毕业生,所以也小有名气,但这跟他后来做得事情相比就显得微不足道了.2000年,一本为人类在新的纪元提供了指引的,也是与100年前Webber的那本<新教伦理与资本主义精神>遥相呼应的----<黑客伦理与信息时代精神>在第三纪元的开端时完成了.这为人们在21世纪,这个被称为"后工业时代","资讯时代","信息爆炸的时代"下生活的人们提供了一个重要的范式,这个范式关乎到人们在未来怎么样去建立自己的伦理关,怎么样完成从新教伦理到黑客伦理的范式的转移.可惜的是,人性天生是败坏,愚蠢的,在刚开始只有犹太人和少数的西方人积极的备战以应付信息时代的来临,之后Google成为了人们生活必不可少的部分,越来越多的黑客们加入了slashdot的讨论,而黑客伦理则已惊人的速度向非IT行业渗透,艺术行业产生了类似自由软件GPL的变种---创作共享(creative commons),MIT则在2001年开始了开放课程计划,之后Berkely,Yale等常春藤高校都陆续的开始了开放课程计划,开放课程很好的帮助到了第三世界国家的年轻人探索人生的意义,而更多的人也开始接受了黑客伦理,犹太人,盎格魯-撒克遜人,日尔曼人,高卢人,斯拉夫人,日本人和少数的非洲年轻人都陆续的接受了这个时代势不可挡的伦理观,人们开始也逐渐的学习在互联网的探讨中保持对对方的尊重,更多的年轻人也参与到把自己的经验分享到互联网社区的运动中.但遗憾的是,人们没有继续使用"hacker"(黑客)这个词,因为主流媒体曾经误认为黑客就是破坏者(cracker),在一些时日里媒体们选用了"geek"这个词,但到了最近的一些研讨会,商业界开始把接受黑客伦理的一代都统称为"digital native",即IT世代.

今天的来自世界各地的年轻人们,在youtube上看着常春藤大学的开放课(比如youtube上很受欢迎的Political Science和耶鲁大学哲学系的death)和上传自己制作的各式各样的video,在facebook上讨论自己感兴趣的话题和交到了不少的朋友,他们有时也用twitter发布自己的个人新闻,也有不少商业奇才使用了互联网平台为个人赚取金钱,当然也有像Shawn这种相对老土的只在blogspot上写写blog和在mailinglist里跟一堆怪人吵吵闹闹.

这不正是黑客伦理所描述的场景吗?是.很完美了吗?不是,因为世界还有太多的不公正,财团还在继续的腐蚀着世界,酱缸教依然奴役着绝大多数的中国人,或许您会惊讶为什么还有如此多的人被这个世代的多样性弄的踹不够气来,这---或许就是重构形而上的必要.Shawn坚信黑客伦理是这个时代的年轻人所必须要遵循的社会伦理,这是一个公共的交流平台,从某种程度上讲,没有它我们无法真正进行有意义的交流,难道还要回到酱缸教的怀抱?但在这里Shawn必须指出的是,仅仅只有黑客伦理是绝对不够的,因为这只是必须的公共交流平台,但是在此之后要想找到跟人生意义有关的事物,我们必须要回归到形而上的本质界去探寻,这个形而上曾经构造出了新教伦理和黑客伦理,但只有智慧人才被允许触及的到,最后Shawn引用希伯来圣经旧约箴言9章10节说:敬畏耶和华是智慧的开端,认识至圣者便是聪明!"

愿荣耀都归于圣父,圣子,圣灵---三位一体的上帝!!!
愿上帝赐福中国的年轻人!!!

Friday, February 19, 2010

twisted festival,do not fuc* me

I really hate to the modern way to celebrate the Chinese Spring festival.so i have been running away from hometown to a silent place with my wife,just for recisis and writting something.And I posted which suggesting people to share MIT OCW with friends,while celebrating Spring Festival,in a Chinese version of slashdot(solidot)春节假期的建议--向周围朋友分享MIT OCW.

then,I wanna to share with you guys about my way to talk about free software


like to see a warmhouse booth in the city


the place I only found where sale the books about GNU/Linux development

Thursday, December 31, 2009

summary-2009

Jan 5th,2009
送走了老婆,和另外一位好兄弟也是Neo-Calvinist---Mr.F踏上了去武汉的火车,此行的目的只有一个---找洪峰老师论道,此行的兴奋真是可以从当时的blog看出,但由于后来发现与事实不符,所以那次的blog被Shawn删掉了,这也是Shawn写blog到此删除的第一篇blog.即使有些article上有"5毛党"和pornie spam的情况Shawn也没有删除文章.武汉回来后,一直在处理公司的一些繁杂的事情.

Feb 10th,2009
一个月的沉闷的日子里,几乎只干两件事情---读神哲学和处理公司杂事.在之后一些的时间里开始关注事物本体与永恒性之间的关系.到了三月份,Shawn开始增加了一些hacks,比如开始阅读How to Designed Program和尝试安装了那个鼎鼎大名的GNU/Linux distro---gentoo.

April xx,2009
经过了几个月的持久战后,公司一个后遗症项目最终完成........之后去了HongKong,这是一座神奇的城市,100多年以前贫穷落后,那时的白人对亚洲人的确不太像对待一个人,感谢上帝的是,在包括圣公会在内的基督教归正宗派也进入了这个城市,他们跟那些商人,政客不太一样,他们积极的参与社会改善,为今天的HK奠定了基础,到20世纪70年代,廉政公署的成立和那一代居住在HK的基督徒对村屋社区的改造,包括在物质上帮助他们和传耶酥基督的福音给他们.之后的HK成为了亚洲之星......但今天HK的基督徒不知道还有多少人在持守上帝的道?

June 20th,2009
在武汉的待了刚好70天,其实一直在想到底是否写关于个人对黑客道和洪峰老师的评论,迟迟没有写,因为这个问题不是几句话能描述的清楚的,对于那段时间的经历Shawn只能作两点总结:
1,洪峰老师的方法论的确非常棒,让Shawn至少在这一块节省了3年的时间,但这些方法论经过Shawn和朋友们的研讨会讨论,的确不是全部出自洪峰老师原创,有部分是的确在MIT的资源上是可以找到的,而黑客道对于哲学部分的描述比较狭义,只是参照了中国先秦的哲学,不可否认先秦哲学是优秀的,但造出计算机和各种复杂设计的却是犹太-基督教式的神哲学方法论.
2,从道德层面上看,Shawn作为基督徒,同时也是加尔文主义,实在是无法接受洪峰老师关于厚黑学的人生哲学,或许他有难处.

July xx,2009
去了RTS的归正神学研讨会,关于圣经的伦理,伦理这块虽然只是归正神学的一个小分支,但几乎涵盖了所有的领域.

Aug xx,2009
继续神哲学的学习,常常和小猫湖边论道.

Sep xx,2009
hiking......进入自然,很不错的体验~一路上送"思想的结果"给沿途的驴友

Oct xx,2009
终于从归正神学,存在主义,lambda演算的神哲学模型当中退出来,开始学习Linux设备驱动和嵌入式开发相关的东东...之后也去见了fsf和GNU project的发起人RMS,他是个伟大的战士,但犹太式的隐喻让Shawn实在不爽...

Nov xx,2009
ben_nanonote是个好东东,open hardware和free software的接合

Dec xx,2009
深圳,跟ginrut谈了许久,无数的问题和无数的讨论,我们都很年轻,我们都很浮躁,我们都受这个该死的世界的影响...我们找到了lambda Calculus和OS的神哲学模型,接下来的问题是:拼死找神哲学模型到底有什么用?光有这2个用处不大,但是犹太人是碰撞出了无数个aha之后才这么厉害的,或许你是做金融的,他是做法律的,我是做艺术的,但我们都有一个共通的目标去搞清楚2个问题:1,我的工作的领域的本质是什么? 2,这个本质跟我的人生意义是什么?....所有人都在尝试把自己做的回归到神哲学模型,而这个过程就体现了Martin BUrber所谈到的"I and thou"和"religion and religiosity"的关系,因为我的存在(I),所以我(I)敬畏你(thou),因为你(thou)是耶和华,是智慧,战士,公义,慈爱,创造本体的上帝.你给予了我们一切的可能性(possiblity),所以外在的宗教(religion)是会腐朽的,但是唯有对你(thou)的敬虔(religiosity)可以持续的给外在注入新的动力,就如一棵树要生长在溪水旁...当这个爱智慧的过程中,分享给周围的人,周围的人也分享给你,aha就在这个时候诞生,而无数个aha的融合就构成了一个强大的团体,一个没有aha的民族是没有未来的民族.这种方法论已经在老牌的4大财团中接受了考验---犹太,WASP,日尔曼,斯拉夫...就连最近些年正在崛起的日本财团也融合了中国先秦和犹太-基督教的方法论,可惜我们只看到了日本的大东京文化...

之后讨论到了第3世界国家的开放教育问题,Shawn很欣赏印度模式,不像中国这么浮躁,很少有仇富心态,治安也很不错.在bangalore那些破的只能在墨西哥看到的小酒吧里印度的年轻人成群的聚在哪里搞研讨会,话题包括了世界政治,科技,哲学,艺术,etc....仿佛MIT的年轻人跑到了墨西哥的小酒吧一样...相信经济发展能解决一切问题的家伙不是脑袋浸水就是缺了哪根神经,中国沿海的人均收入远远高于印度和拉美各国,但印度人发起了openRisc,连拉丁美洲的家伙也搞了很多意想不到的hacks,中国人还在喊"GDP还不够,我们没有他们富裕....

当然也谈到了自由软件社区的问题,Linus是个对公众不太负责的人,这点跟RMS根本不一样,Linux的kernel到未来很有可能封闭作为商业使用,如果不是GNU工具链的支撑Linux kernel早会投向专利的怀抱,大众今天只知道Linux,却很少知道GNU,但其实GNU才是重点,如果没有了linux kernel,还可以有其他的kernel选择,但如果没有了GNU那简直不敢想像,就如圣经所言,世界大部分人都是愚民...Shawn计划1-2年后开始转向其他的kernel,GNU/HURD之类的吧...Linux kernel如果真的封闭,Google应该是他们最强大的对手,谁都知道G的kernel和GNU工具链的定制是一流的,现在搞的CHrome和Go语言只是开始吧........不过好消息是G code上的project已经有50%决定新的版本转向GPLv3,这可能是今年最值得乐观的一个消息吧

这里还是把今年在solidot上提交的文章罗列出来:
NGO的爱心小学帮助计划
http://society.solidot.org/article.pl?sid=09/05/19/061205
GM通用的悍马品牌卖给了中国公司
http://solidot.org/articles/09/06/03/014225.shtml
google已死,中国LAN当立
http://solidot.org/internet/09/06/24/1444228.shtml
为什么科学家中有这么多犹太人?
http://science.solidot.org/science/09/07/06/0845205.shtml
SICP王者归来
http://developers.solidot.org/article.pl?sid=09/12/16/0714203

道德经,stoa,计算主义,解构主义,存在主义,圣经伦理,归正神学,加尔文500年诞辰,计算的本质,古犹太教,自由软件,数学哲学...2009年太多的aha.上帝赐予Shawn的超过了Shawn的所求所想,但认识真理越多就越痛苦,灵性的无助是以前从来没有认识到的问题,神哲学给Shawn带来的大多是aha式的痛苦,那这是本质,是对现象的支撑.2010年将是暗黑年代的开始.......

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.

biking...



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.

$make
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-0.9.30.1/usr/lib -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

Friday, October 23, 2009

trip of Beijing---free software seminars

seminar:Free software
date:Oct 22th,2009
location:Beijing

This was my 3rd time to the city--Beijing.Im here for 3 seminars.One about free software.2 of seminars are tech-related(helloGcc and aka kernel).

RMS gave us a free speech last night.The topic is Danger of Software Patent that he explain why the patent system are threating the public freedom.I totally agree with him on this point.After the speech~we have turning to FAQ time.I went to the front of the table and speak to him.Here's the conversation snippet I have remember:
------------------------------------------------------------------------------------
Shawn:Hello,Mr.Stallman.It's honorable to talk to you.I wanna ask a question for ya.What do you think of the purpose of your life and free software,I mean the connection about them?

RMS:That's a huge problem.There are a lot of purpose in life,I would love to learning new things,see the beautiful things,and ...eat delicious food.

Shawn:what's your final purpose?

RMS:There's no final purpose.

Shawn:sounds humanism.I think your final purpose are "there's no final purpose".Are you a Jew?

RMS:Im a antitheist in scientific.

Shawn:Mr.Stallman.Is there are any possibility to beat the patent system?

RMS:No,but we can avoid it.
------------------------------------------------------------------------------------
RMS is a one of great man I met.He is a great warrior in software field.About 30 years ago,some hackers who claimed that they are Christians.Some of them own better tech skills and knowledge than RMS.Perhaps they truely believed in Christ.But there is just one man came forward with respect to the moral law(the creation of General Revelation by GOD).I think of almost of free software philosophy comply with the Holy BIBLE.Try to think about this:God created the world and share the details about the creation of the world include our weakness and the possibility to betray HIM.thats why Satan(lucifer) knew our weakness.What if GOD has not share the source code of the creation of the world?That would be terrify.

ancient Greeks,Homer's epic points out that there are 4 attributes which could be composed a perfect character---knowledge,wisdom,courage,temperance.RMS is a warrior with courage,He prefer gave up a lot of shits like money,fame,etc to pursuiting the purpose of his life---free software movement.I,as Christian,firstable Thank GOD allowed the possibility could be existed in phenomenon world(because of the possibility,our life have funs).and I also thank RMS to made a great choice even though he is not a Christian now.

I was never stop asking my myself after leave the seminar yesterday:Where was the heros of kingdom of God gone?Where are they now?

May LORD Jesus leading hackers!

btw:Tom Pittman expressed the importance of creativity in his description of the feeling that accompanies true hacking:In that instant,I as a Christian thought I could feel something of the satisfaction that God must have felt when He created the world.

The father of free software movement.

The founder of GNU project.GNU/Linux is just a piece of GNU system.

RMS,Shawn

xf was talking about open hardware with RMS.

ben NanoNote from qi-hardware and openMoko

thank God,I got a openMoko that will be my next hacking.

line 4,MTR

I bet he will be a great artist:)

Shawn,my old sister

Oct 25th 2009,kernel seminar

宫敏博士

Herbert Xu