mounting kernel through NFS for s3c2410

hi..
I want load kernel image through nfs for s3c2410,i am using the following procedure, and i am using minicom as a serial interface.and uboot loader is already in the board.

I am following this link to configure NFS
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.html


setting arguments
Code:
s3c32410# set gatewayip 172.16.5.1
s3c32410# set ipaddr 172.16.5.150
s3c32410# set serverip 172.16.5.63
To load the kernel into addresss refers to DRAM
Code:
nfs 31000000 172.16.5.63:/tftpboot/kernel.boot

The error is
Code:
Filetransfer via NFS from server 172.16.5.63; our IP address is 172.16.5.150
Filename /tftpboot/kernel.boot
Load address :0x31000000
Loading: *** ERROR:cannot mount
***ERROR:cannot umount

can any one help me out to solve this problem.
 
ashwin_karanth said:
Code:
/tftpboot/kernel.boot -rw -network 172.16.5.63 -mask 255.255.255.0

It should export the directory, not the file itself. Also might be user concerns. Check that kernel.boot is readable by the user logging in, or if you don't know what user the target board uses, do a mapall like below. Exported dirs probably should be -ro unless you're going to write back from the target system.

Code:
/tftpboot -ro -mapall=nobody:nobody -network 172.16.5.63 mask 255.255.255.0
 
hi wblock thanks for your suggestion..
is there need to set any kernel arguments while building a kernel..i am setting only in the board specific file LN2410SBC.

Code:
option         BOOTP
option         BOOTP_NFSROOT
option         NFSCLIENT
option         NFS_ROOT
 
Can you tell me, which command you are using to create file 'kernel.boot'? Or it is same as 'kernel'?
I know that the image for u-boot can be generated by mkimage, but I don't know exact parameters for FreeBSD kernel.
Thanks!
 
Back
Top