기존 이솝 임베디드 포럼의 지식인 서비스가 게시판 형태로 변경되었습니다.

AESOP-MP2530F 보드를 u-boot로 부팅했습니다.
그런데 부팅의 마지막 단계에서 PC에 저장되어 있는 루트파일시스템을 못찾는 것 같습니다.
현철님이 올려주신 vmware 이미지를 사용하고 있거든요.
samba는 잘 되는 상태이고, TFTP로 커널 로딩도 잘됩니다.
마지막에 NFS로 루트파일시스템을 불러오는데에 문제가 있는 것 같은데,
조언좀 해 주시면 감사하겠습니다.

PC: 192.168.10.100
리눅스IP:192.168.10.80
타겟보드: 192.168.10.70


부트로그
**************************************************************
U-Boot 1.1.6 (Oct 31 2007 - 17:26:59)

U-Boot code: 03680000 -> 036A43BC  BSS: -> 036AAF34
RAM Configuration:
Bank #0: 00000000 64 MB
Bank #1: 40000000 64 MB
NAND:  64 MiB
nand_read_ecc: from = 0x00040000, len = 16384
In:    serial
Out:   serial
Err:   serial
[ MAC : 08 00 3e 26 0a 5b ]
babo======22222=======666666
gpioav : 0x00000006, 0x000000de
LCD divider = 4, rtc = 109051381
### main_loop entered: bootdelay=2

### main_loop: bootcmd="tftp 02000000 mp2530; bootm 02000000"
Hit any key to stop autoboot:  0
SMC91111:smc_open
SMC91111:smc_phy_configure()
phy cfg reg1: 0x0022, 0x85000300
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.10.80; our IP address is 192.168.10.70
Filename 'mp2530'.
Load address: 0x2000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #########################
done
Bytes transferred = 3453752 (34b338 hex)
## Booting image at 02000000 ...
   Image Name:   Linux-2.6.20
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3453688 Bytes =  3.3 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
No initrd
## Transferring control to Linux (at address 00008000) ...

Starting kernel ...

Linux version 2.6.20 (root@aesop2530) (gcc version 4.0.2) #20 Sun Nov 11 04:04:13 KST 2007
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: MP2530_MES_NAVIKIT
Memory policy: ECC disabled, Data cache writeback
BUG: not creating mapping for 0x00000000 at 0x00000000 in user region
mp2530_cmr.cpu0_div    = 0
mp2530_cmr.cpu0_src_pll= 0
mp2530_cmr.cpu0_AHB_div= 1
mp2530_cmr.cpu1_div    = 0
mp2530_cmr.cpu1_src_pll= 1
mp2530_cmr.cpu1_AHB_div= 1
mp2530_cmr.bclk_div    = 1
mp2530_cmr.bclk_src_pll= 1
mp2530_cmr.pclk_div    = 1
mp2530_cmr.dram_div    = 1
mp2530_cmr.dram_src_pll= 1
mp2530_cmr.pll_pdown1  = 0
mp2530_cmr.pll_pdown2  = 0

pll 0 = 360000000
pll 1 = 266142857
pll 2 = 96000000
ARM926 fclk      = 360000000 Hz
ARM926 AHB clock = 180000000 Hz
ARM946 fclk      = 266142857 Hz
ARM946 AHB clock = 133071428 Hz
       BCLK      = 133071428 Hz
       PCLK      =  66535714 Hz
   DRAM CLK      = 133071428 Hz
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists.  Total pages: 16256
Kernel command line: root=/dev/nfs rw nfsroot=192.168.10.80:/aesop/rootfs mem=64M ip=192.168.10.70:192.168.10.80:192.168.10.1:255.255.255.0:eth0:off console=ttySAC3,115200n81 ethaddr=80:00:3e:26:0a:5b
mp2530_init_irq: registering mp2530 interrupt handlers
mp2530: registered interrupt handlers
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 61324KB available (2908K code, 514K data, 112K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 2048 bind 1024)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
yaffs Nov 11 2007 04:01:38 Installing.
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
========================== line_length = 1600
Console: switching to colour frame buffer device 200x80
fb0: mp2530f-fb frame buffer device
MP2530F Disp. Mem. Alloc. Driver
MP2530F DualCPU IF Driver
mp2530-uart.0: mp2530_serial0 at MMIO 0xf0016000 (irq = 42) is a MP2530
mp2530-uart.1: mp2530_serial1 at MMIO 0xf0016080 (irq = 46) is a MP2530
mp2530-uart.2: mp2530_serial2 at MMIO 0xf0016800 (irq = 50) is a MP2530
mp2530-uart.3: mp2530_serial3 at MMIO 0xf0016880 (irq = 54) is a MP2530
mp2530-uart.4: mp2530_serial4 at MMIO 0xf0017000 (irq = 58) is a MP2530
mp2530-uart.5: mp2530_serial5 at MMIO 0xf0017080 (irq = 62) is a MP2530
RAMDISK driver initialized: 1 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
nbd: registered device at major 43
pre =============wait = 0x0000457d
SetStaticBUSConfig.196: MES_ASSERT error
SetValue.475: MES_ASSERT error
aft =============wait = 0x00004575
smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <[email protected]>
No IRQF_TRIGGER set_type function for IRQ 9 (mp2530)
eth0: SMC91C11xFD (rev 1) at c4850300 IRQ 9
eth0: Ethernet addr: 08:00:3e:26:0a:5b
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
MP2530F IDE: driver is installed 0
Searching for NAND flash...
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 32 at 0x00080000
Using static partition definition
Creating 1 MTD partitions on "mp2530f-nand":
0x00200000-0x00800000 : "mp2530f_nand_flash"
usbmon: debugfs is not available
mp2530f-hcd mp2530f-hcd.0: MP2530F OHCI
mp2530f-hcd mp2530f-hcd.0: new USB bus registered, assigned bus number 1
mp2530f-hcd mp2530f-hcd.0: irq 28, io mem 0xf000d000
usb usb1: Product: MP2530F OHCI
usb usb1: Manufacturer: Linux 2.6.20 ohci_hcd
usb usb1: SerialNumber: mp2530f
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
mice: PS/2 mouse device common for all mice
initialization done.
ac97_codec: AC97 Audio codec, id: WML18 (Wolfson WM9711/9712)
TCP cubic registered
NET: Registered protocol family 1
IP-Config: Device `off' not found.
Looking up port of RPC 100003/2 on 192.168.10.80  여기서 안넘어 갑니다.
portmap: server 192.168.10.80 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 192.168.10.80
portmap: server 192.168.10.80 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default


이세종

2008.05.19 00:10:17
*.62.58.61

해결했습니다.
AESOP-MP2530F 보드를 부팅한 후, 2초안에 엔터를 쳐서 세팅모드로 진입한 후, 아래와 같이 입력해주고 엔터치고, saveenv 엔터한 번 더쳐서 저장한 후 재부팅하니까 잘 되네요. 그런데 아래의 내용은 이미 부팅할 때보면 그대로 나와 있어서 새로 입력하지 않아도 된다고 생각했거든요. 아래와 같이 새로 입력해 주어야 부팅이 잘 되네요.^^

AESOP2530> setenv bootargs root=/dev/nfs rw nfsroot=192.168.10.80:/aesop/rootfs mem=64M ip=192.168.10.70:192.168.10.80:192.168.10.1:255.255.255.0::eth0:off console=ttySAC3,115200n81 ethaddr=08:00:3e:26:0a:5b

List of Articles
번호 제목 글쓴이 날짜sort 조회 수
5008 [완료] FAT16에서 특정부분으로 가려고 하는데, 속도가 딸립니다. [6] 이세종 2008-05-13 664
5007 [질문] nand flash의 bad발생때문에 고민입니다. [3] 오대광 2008-05-14 643
5006 오픈소스 arm porting 관련 사이트가 있나요? [2] 정재용 2008-05-14 835
5005 [질문] SDL_image 설치 질문 <= [완료] [7] 윤창준 2008-05-15 1263
5004 임베디드 보드 개발 의뢰를 할까 합니다 [20] 김형섭 2008-05-15 1084
5003 2440 TFT-LCD.? [1] 손성원 2008-05-16 867
5002 [re] 2440 TFT-LCD.? <== 다시 수정요 [1] 손성원 2008-05-16 726
5001 [re] 2440 TFT-LCD.? <== 다시 수정요 [1] 손성원 2008-05-16 597
5000 [완료]interrupt에 대해서 한가지 여쭤봅니다. [2] 김경식 2008-05-16 733
4999 [re] [질문] 2530F 에서 Serial 쓸려면? [1] 고현철 2008-05-16 547
4998 [질문:한번더 봐주세요] kernel 2.6.10 yaffs 파일 시스템 사용하는... [3] 장계석 2008-05-16 852
4997 [완료]MP2530F+WinCE+LAN91C111 [3] 조석빈 2008-05-17 991
4996 [완료]mp2530 smp 커널 쓸수 있나요? [2] 황호랑 2008-05-18 558
» [완료] 보드 부팅시 Kernel Panic이 발생합니다. [1] 이세종 2008-05-18 879
4994 [완료] SD Card 인식 [4] 송의석 2008-05-18 770
4993 [완료]mp2530 보드에서 코어 두개를 활용해서 개발할만한 어플? [2] 황호랑 2008-05-19 630
4992 [완료]aesop2530 보드 lcd 질문.. [2] 황호랑 2008-05-19 648
4991 저기 혹시 DivX 플레이어 소스를 어디서 구할수 있는지 아시는 분... [1] 손성원 2008-05-19 702
4990 [질문]레지스터 세팅에 관한 질문 [1] 문철민 2008-05-19 633
4989 webcam driver관련 질문입니다. [3] 정원 2008-05-19 1047

사용자 로그인