Saturday, May 31, 2008

log.txt of nfs to arm

Right now,my arm board can run linux as well.What is next?hacking the frenk'in SDL and try to migrating a SDL to arm next month.Thank to a bro who named of NalaGinut.I cant let my arm to running just spent 4 days if he dont help me out troubles.bullshit over~
let's roll..............
vim /etc/exports
add this to end line:
/citypw/shawn-dev/firstArm *(rw,sync,no_root_squash)

/etc/init.d/nfs start

tar zxvf root_default.tgz
mkdir /citypw/shawn-dev/firstArm
cp -R root_defualt/* /citypw/shawn-dev/firstArm

mount -t nfs 192.168.1.3:/citypw/shawn-dev/firstArm /citypw/shawn-dev/tmp

enter your vivi's src folder and find "vivi/arch/s3c2440/smdk.c"
edit smdk.c:
char linux_cmd[] = "console=ttySAC0 root=/dev/nfs nfsroot=yourIp:/citypw/shawn-dev/firstArm ip=ArmIp:yourIP:$gateway:$netmask:HACKING:eth0:off";

you also do "make menuconfig" and "make" with vivi and kernel.

use Jflash put your vivi to Arm.
use minicom load kernel into Arm.
enter "boot" in vivi CLI.
something happend like this:
vivi> boot
Copy linux kernel from 0x00050000 to 0x30008000, size = 0x00200000 ... done
zImage magic = 0x016f2818
Setup linux parameters at 0x30000100
linux command line is: "console=ttySAC0 root=/dev/nfs nfsroot=192.168.1.3:/city"
MACH_TYPE = 782
NOW, Booting Linux......
Uncompressing Linux.............................................................
Linux version 2.6.13 (root@localhost.localdomain) (gcc version 3.4.1) #4 Wed Ma7
CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
Machine: SBC2440
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
BUG: mapping for 0x19000000 at 0xd0000000 overlaps vmalloc space
S3C2440: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz..............................

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

btw:happy Chirldren's Day!You can be a kid,but dont be a fifi...

Thursday, May 29, 2008

"make" correct Jflash

LIke as a Shawn the R0ck(St.Augestine@copyleft) said"Even though we are going to see Lord tonight,but we still have to read the sicence magazine in the morning,write code in day,play quake at afternoon.Then having dinner and sleep for a while..."Whatever earthquake My life still going on.

My arm board is samsung 2440 V3(400MHZ 64 NAND FLASH).I play with it today.Firstable,I have to extract the Jflash(jtag tool) to a Folder.Before you guys run "make" to Jflash's makefile that there are 2 things you need to do.
1,Because I used FC8 distro,so I have to modify a file of ppt.h.Use #include "sys/io.h" instead of #include "asm/io.h".

2,you have to modify somes lines from jtag.h,this is my file after modified:
#ifndef __JTAG_H__
#define __JTAG_H__

#include "ppt.h"

#define LOW '0'
#define HIGH '1'


// Pin Connections
// TCK :DATA[0] (2)
// TDI :DATA[1] (3)
// TMS :DATA[2] (4)
// TDO :STATUS[7] (11)

//#define TCK_H 0x01
#define TDI_H 0x02
//#define TMS_H 0x04
#define TCK_L 0x00
#define TDI_L 0x00
#define TMS_L 0x00
#define JTAG_SET(value) OutputPpt(value)


ok,then you go "make".

BTW:I found a good free software for Bible Study:GnomeSword You also can use a command to install:yum install gnomesword

Monday, May 19, 2008

The City Of Death

I went to a earthquake area that city which named of HanWang(in MianZhu in SiChuan Province).I have never seen a city like that....Considering the losses in the earthquake area, our support was an utterly inadequate measure.Im uploaded some pictures and videos that you can see what happend out there.
May God bless China!!!




















Thursday, May 15, 2008

earthquake in sichuan

FATHER,I know you have grace and mercy...protection of us.Please blessing China......but may your will be done not my will!!!

regards
Shawn the R0ck

Saturday, May 10, 2008

Concert from *

It's long time I have not been to concert.We got a rock show yesterday that it is awesome.Too busy in the days I lost music in myself.Thank God sent this band here.Music drive u to think about what is ur purpose of life.As a computer guy,it's too hard to know music from a Great Musician---Bach.A friend's always said that Bach's music let u know about how powerful creation by God.Saddly,I prefer to listening other baroque music.

Jared is a good guy and a singer.This ablum writen by Jared when he travelling around the world.From Africa,Jerusalem,JiuZhaiGou,Xiamen,HongKong,Mexico and USA.U can download his songs here if u want to miss a beautiful stuff.


btw:The greatest Gaming life---DOOM is start to developing new one(DOOM4) by id tech5 engine.U guy could see id software.The 13th QuakeCon is coming but I dont have enough cash can bring me there.Hope can get fun in the 20th QuakeCon :)

Friday, May 02, 2008

FOS is a fuc* awesome band

everything is boring in the days,except that fucking shit good band----Forest Of Shadows that give you a shock then u would be wondering why a doom metal can be very impressed I mean the creavitivity.

Eternal Autumn


Wish


I hate boring stuff.like as?life goes by the books(routines) recently.get up->breakfast->read Bible->get to work->write codes->write docs->talk with customers->*->go home->shower->read->visit pornie site(sometimes)->phonecall from girl(my sweety)->go to bed->read->sleep<=>get up

I have plan to learning computing ess that I will use 2 books SICP and The Scheme programming lang,3rd edition.One of my another plan is to build a "HackerFellowship" in the year.Hope Lord will help me .

3 stages:
1,I am something.(sucks,absolutely Im here)
2,I am nothing.
3,God is everything!!!

my Lord Jesus,please killlll my weakness!