안녕하십니까? 또 질문을 올리게 되네요...ㅜ.ㅜ;;
nfs로 마운트하고자 하는데 마운트가 안 되는 것 같습니다.
저는 u-boot나 커널이나 루트파일시스템으로 사용할 내용들에는 수정을 하진 않았습니다.
다만 약간 설정을 변경하였습니다.
제 리눅스컴 아이피 : 192.168.20.100->no firewall
게이트웨이(공유기) : 192.168.20.1
타겟보드(이솝보드3차) : 192.168.20.105
nfs로 마운트 할 디렉토리:/root/nfsroot/small_2613
혹시 게이트웨이도 설정이 필요한건가요?
나머지 부분은 다 그대로 했는데 마운트가 안 되네요...ㅜ.ㅜ;(패널에는 여우모양만이...^^;;)
#### vi /etc/exports 파일 편집내용 ####
/root/nfsroot/small_2613 192.168.20.105(rw,no_root_squash,no_all_squash)
*중간 띄어쓰기는 당연 탭으로....
###### u-boot 환경설정은 다음과 같습니다.######
bootcmd=tftp 32000000 aesopk;bootm 32000000
baudrate=115200
ethaddr=08:00:3e:26:0a:5b
netmask=255.255.255.0
bootdelay=3
ipaddr=192.168.20.105
serverip=192.168.20.100
gatewayip=192.168.20.1
bootargs=root=/dev/nfs rw nfsroot=192.168.20.100:/root/nfsroot/small_2613 ip=192.168.20.105:192.168.20.100:192.168.20.1:255.255.255.0::eth0:off console=ttySAC0,115200n81 ethaddr=08:00:3e:26:0a:5b
stdin=serial
stdout=serial
stderr=serial
aesop3rd # boot
############부팅 명령을 수행시#########
SMC91111:smc_open
SMC91111:smc_phy_configure()
phy cfg reg1: 0x0022
SMC91111:phy caps=0x7809
SMC91111:phy advertised caps=0x01e1
SMC91111:PHY auto-negotiate complete
SMC91111:PHY_STAT_REG : 0x7839
SMC91111:PHY remote fault detected
SMC91111:PHY remote fault detected
SMC91111:RPC_DEFAULT : 0x3810
[ MAC : 08 00 3e 26 0a 5b ]
Using MAC Address 08:00:3E:26:0A:5B
TFTP from server 192.168.20.100; our IP address is 192.168.20.105
Filename 'aesopk'.
Load address: 0x32000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################
done
Bytes transferred = 1414638 (1595ee hex)
## Booting image at 32000000 ...
#####tftp로 커널 다운로딩 후 부팅시작#######
Image Name: Linux-2.6.13-h1940-aesop2440
Created: 2006-12-02 6:58:30 UTC
Image Type: ARM Linux Kernel Image (gzip compressed)
Data Size: 1414574 Bytes = 1.3 MB
Load Address: 30008000
Entry Point: 30008000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
Linux version 2.6.13-h1940-aesop2440 (
[email protected]) (gcc version 3.3.4) #20 Sat Dec 2 15:57:14 KST 2006
CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
Machine: aESOP-2440
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C2440: core 399.651 MHz, memory 133.217 MHz, peripheral 66.608 MHz
S3C2410 Clocks, (c) 2004 Simtec Electronics
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists
Kernel command line: root=/dev/nfs rw nfsroot=192.168.20.100:/root/nfsroot/small_2613 ip=192.168.20.105:192.168.20.100:192.168.20.1:255.255.255.0::eth0:off console=ttySAC0,115200n81 ethaddr=08:00:3e:26:0a:5b
irq: clearing pending ext status 00000200
irq: clearing subpending status 00000003
irq: clearing subpending status 00000002
PID hash table entries: 512 (order: 9, 8192 bytes)
timer tcon=00500000, tcnt d8d2, tcfg 00000200,00000000, usec 0000170f
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 64MB = 64MB total
Memory: 61696KB available (2344K code, 592K data, 112K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
S3C2410 Power Management, (c) 2004 Simtec Electronics
PM initialize
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C2440: Clock Support, UPLL 47.980 MHz
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
S3C2410 DMA Driver, (c) 2003-2004 Simtec Electronics
DMA channel 0 at c4800000, irq 33
DMA channel 1 at c4800040, irq 34
DMA channel 2 at c4800080, irq 35
DMA channel 3 at c48000c0, irq 36
NetWinder Floating Point Emulator V0.97 (double precision)
yaffs Dec 2 2006 15:51:27 Installing.
Initializing Cryptographic API
s3c2410 Backlight Driver Initialized.
Console: switching to colour frame buffer device 96x34
S3C24X0 fb0: s3c2410fb frame buffer device initialize done
GPIO L3 bus interface for S3C2440, installed
S3C2410 RTC, (c) 2004 Simtec Electronics
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 8 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
nbd: registered device at major 43
cs89x0:cs89x0_probe(0x0)
PP_addr=0x3810
eth0: incorrect signature 0x0
cs89x0: no cs8900 or cs8920 detected. Be sure to disable PnP with SETUP
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
NET: Registered protocol family 24
AESOP NOR-Flash Driver, (c) 2006 AESOP Embedded
aesop-nor: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2410-nand: mapped registers at c4b00000
s3c2410-nand: timing: Tacls 13ns, Twrph0 66ns, Twrph1 39ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 1 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x04000000 : "Total nand"
usbmon: debugfs is not available
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: Product: S3C24XX OHCI
usb usb1: Manufacturer: Linux 2.6.13-h1940-aesop2440 ohci_hcd
usb usb1: SerialNumber: s3c24xx
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usbcore: registered new driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.23:USB Abstract Control Model driver for USB modems and ISDN adapters
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
s3c2410_udc: version 28 Aug 2005
mice: PS/2 mouse device common for all mice
s3c2410-buttons successfully loaded
s3c2410 TouchScreen successfully loaded
i2c /dev entries driver
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 378 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
mmci-s3c2410: probe: mapped sdi_base=c5100000 irq=37 irq_cd=62 dma=0.
mmci-s3c2410: initialisation done.
godori: AESOP2440 SOUND driver register
godori: AESOP2440 SOUND driver.........probe
s3c2410_dma_config: chan=2, xfer_unit=2, dcon=80000000
s3c2410_dma_config: chan=1, xfer_unit=2, dcon=82000000
AESOP2440 UDA1341 audio driver initialized
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
IP-Config: Device `eth0' not found.
MMC: sd_app_op_cond timed out. Probably no SD-Card here.
Looking up port of RPC 100003/2 on 192.168.20.100
RPC: sendmsg returned error 101
portmap: RPC call returned error 101
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 192.168.20.100
RPC: sendmsg returned error 101
portmap: RPC call returned error 101
Root-NFS: Unable to get mountd port number from server, using default
RPC: sendmsg returned error 101
Root-NFS: Server returned error -101 while mounting /root/nfsroot/small_2613
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
저는 보드쪽에 나온던데...
시리얼 연결은 minicom을 사용합니다.