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...

No comments: