해결했습니다. 제가 문서를 더 자세히 봤어야 했는데...
커널 소스를 root filesystem 안에 넣어두셨더군요.
-----------------------
좀 늦은 감도 있고, 너무 단순한 질문인지도 모르겠습니다만...
보드는 잘 받았고, U-boot는 보드에 올려져 있던 것을 그대로 쓰고,
aesop_mp2530f_kernel_bootloader.tar.gz를 압축을 풀고,
U-boot와 커널을 컴파일 하였습니다. 컴파일러는 개인적으로 buildroot를 이용해서 만든
컴파일러를 썼고, 그래서 그런지 u-boot 컴파일이 성공적으로 모두 끝나지는 않았지만, mkimage는 잘 생성이 되어서, 이를 /usr/bin에 설치한 뒤, 커널을 컴파일하였습니다.
커널은 잘 컴파일되었고, U-boot로부터 tftp로 잘 받아서 부팅이 되고 있습니다.
궁금한 사항은, U-boot에서 tftp로 잘 되는 네트워크가 커널이 부팅해서는 NFS로 root mount를 못하고 있습니다. 로그를 보니, 커널이 아예 네트워크 카드를 인식하지 못하는 것 같습니다.
- aesop-mp2530f의 ethernet chip이 SMC91111이 맞습니까?
- 그렇다면, 커널 menuconfig에서 Device Drivers --> Network device support --> Ethernet (100M) --> SMC 91C9x 를 선택하면 되는 건가요?
처음 커널 소스를 풀어서 make menuconfig 할 때에는 CS89x0가 선택되어 있더군요.
물론, 이걸 선택해도 네트워크가 되지 않는 건 마찬가지구요.
U-boot에서 TFTP가 잘 되는 걸로 봐서, H/W적으로 문제가 있어보이지는 않는데요.
어디가 문제인지 혹시 알려주시면 감사하겠습니다.
U-Boot 1.1.6 (Oct 13 2007 - 19:29:07)
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 = -8387692
### 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.103; our IP address is 192.168.10.105
Filename 'mp2530'.
Load address: 0x2000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###############################################
done
Bytes transferred = 3231600 (314f70 hex)
## Booting image at 02000000 ...
Image Name: Linux-2.6.20
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3231536 Bytes = 3.1 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 (jounggj@compiler) (gcc version 4.1.2) #10 Sat Nov 17 19:57
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: MP2530_MES_NAVIKIT
Memory policy: ECC disabled, Data cache writeback
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: mem=64M root=/dev/nfs rw console=ttySAC3,115200n81 ip=192.4
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: 61568KB available (2720K code, 487K data, 112K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
SCSI subsystem initialized
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 17 2007 19:25:42 Installing.
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Console: switching to colour frame buffer device 200x80
fb0: mp2530f-fb frame buffer device
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
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-bi)
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"
mice: PS/2 mouse device common for all mice
ac97_codec: AC97 Audio codec, id: WML18 (Wolfson WM9711/9712)
TCP cubic registered
NET: Registered protocol family 1
IP-Config: No network devices available.
Looking up port of RPC 100003/2 on 192.168.10.103
portmap: server 192.168.10.103 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.103
portmap: server 192.168.10.103 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
mount: server 192.168.10.103 not responding, timed out
Root-NFS: Server returned error -5 while mounting /mnt/AESOP
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)
mp2530 pds 게시판의 4번인가 5번 게시물의 링크 자료를 다운로드 받으시기 바랍니다.