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

aESOP2440 # printenv
bootcmd=tftp 32000000 aesopk;bootm 32000000
bootdelay=3
baudrate=115200
bootargs=root=/dev/nfs=rw=nfsroot=192.168.1.224:/scratchbox/users/aesop/targets/AESOP=ip=192.168.1.225:192.168.1.224:192.168.1.254:255.255.255.0::eth0:off consol=ttySAC0,115200n81 ethaddr=09:00:30:26:0a:5b
serverip=192.168.0.20
gatewayip=192.168.0.1
ipaddr=192.168.0.10
netmask=255.255.255.0
ethaddr=01:01:01:02:02:02
stdin=serial
stdout=serial
stderr=serial
bootargs=root=/dev/nfs rw nfsroot=192.168.0.20:/korea-dokdo/nfsmount/rootfs-aesop ip=192.168.0.10:192.168.0.20:192.168.0.1:255.255.255.0::eth0:off consol=ttySAC0,115200n81 ethaddr=01:01:01:02:02:02

Environment size: 630/65532 bytes
aESOP2440 #

////////////////////////////////////////////////////////////////////////////////
//위쪽에 보시면 bootargs set을 잘못해서 지워지지가 않는 부분이 있습니다.
//새로 셋 하니 하나가 더 생기는군요
//아무리 해도 안지워 지는데 메모리를 지우는 명령이 있나요?

//다음으로

//커널패닉 부분입니다.
///////////////////////////////////////////////////////////////////////////////



U-Boot code: 33C00000 -> 33C38BD4  BSS: -> 33C3D348
RAM Configuration:
Bank #0: 30000000 64 MB
Get flash bank 0 size @ 0x0
Total Flash bank's sizes: 0x200000
protect monitor 38bd4 bytes @ address 0
Flash:  2 MB
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
TFTP from server 192.168.0.20; our IP address is 192.168.0.10
Filename 'aesopk'.
Load address: 0x32000000
Loading: #################################################################
         #################################################################
         #################################################################
         ##
done
Bytes transferred = 1008290 (f62a2 hex)
## Booting image at 32000000 ...
   Image Name:   ARM Linux-2.4.20
   Created:      2005-09-24  18:56:00 UTC
   Image Type:   ARM Linux Kernel Image (gzip compressed)
   Data Size:    1008226 Bytes = 984.6 kB
   Load Address: 30008000
   Entry Point:  30008000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

Linux version 2.4.20_elfin (root@aesopdev) (gcc version 3.3.4) #11 Sun Sep 25 03:50:24 KST 2005
CPU: ARM/CIRRUS Arm920Tid(wb) revision 0
Machine: Samsung-SMDK2440
Ignoring unrecognised tag 0x00000000
On node 0 totalpages: 16128
zone(0): 16128 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/nfs rw nfsroot=192.168.0.20:/korea-dokdo/nfsmount/rootfs-aesop ip=192.168.0.10:192.168.0.20:192.168.0.1:255.255.255.0::eth0:off consol=ttySAC0,115200n81 ethaddr=01:01:01:02:02:02
ethaddr_setup()
mac[0]  = 0x01
mac[1]  = 0x01
mac[2]  = 0x01
mac[3]  = 0x02
mac[4]  = 0x02
mac[5]  = 0x02
Console: colour dummy device 80x30
Calibrating delay loop... 199.47 BogoMIPS
Use CONFIG_INSTANT_ON_LPJ=997376 for Instant On.
Memory: 63MB = 63MB total
Memory: 61508KB available (1528K code, 653K data, 84K init)
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
CPU clock = 399.651840 Mhz, HCLK = 133.217280 Mhz, PCLK = 66.608640 Mhz
PWM-Timers Management Module Loaded.
Disabling the Out Of Memory Killer
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch ([email protected])
devfs: boot_options: 0x1
GPIO L3 bus interface for elfin, installed
i2c-core.o: i2c core module version 2.6.2 (20011118)
i2c-dev.o: i2c /dev entries driver module version 2.6.2 (20011118)
i2c-proc.o version 2.6.2 (20011118)
Console: switching to colour frame buffer device 60x34
Installed S3C2440 frame buffer #0
Installed S3C2440 frame buffer #1
pty: 256 Unix98 ptys configured
s3c2440-ts initialized
aESOP-2440 GPIO buttons: AESOP2440_GPIO button routine enable

cs89x0:cs89x0_probe(0x0)
cs89x0.c: v2.4.3-pre1 Russell Nelson <[email protected]>, Andrew Morton <[email protected]>
eth0: cs8900    rev J found at  0xd0000300 <6>cs89x0 media RJ-45, IRQ 37, programmed I/O, MAC 01:01:01:02:02:02
cs89x0_probe1() successful
loop: loaded (max 8 devices)
ttyS%d0 at I/O 0x50000000 (irq = 52) is a S3C2440
ttyS%d1 at I/O 0x50004000 (irq = 55) is a S3C2440
ttyS%d2 at I/O 0x50008000 (irq = 58) is a S3C2440
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
Samsung S3CX (i2c) algorithm module version 2.6.2 (20011118)
iic_elfin_init: Samsung S3CX iic adapter module version 2.6.2 (20011118)
elfin_init: Initialized IIC on S3CX, 7kHz clock
iic_elfin_init: initialized iic-bus at 0xf4000000.
__l3_get_adapter: name = l3-bit-elfin-gpio
__l3_get_driver: name = uda1341
ghcstop=====================, uda3141_cmd_init
ret = 2
data0_0 = 0x08
ret = 1, 0x00
ELFIN UDA1341 audio driver initialized
NAND device: Manufacture ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MB 3,3V)
Creating 3 MTD partitions on "NAND 64MB 3,3V":
0x00000000-0x00400000 : "NAND partition for KERNEL "
0x00400000-0x01400000 : "NAND partition for Root File System"
0x01400000-0x04000000 : "NAND partition for QTE/OPIE"
--------------S3C24X0 VPP driver init ------------------
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
S3C2440 USBD Controller Core Initialized
USB Function Ethernet Driver Interface
USB Function Character Driver Interface - 0.4, (C) 2001, Extenex Corp.
usb-cdc-eth-raw: failed to register device
Initializing S3C2440 buffer pool for DMA workaround
usb-ohci.c: USB OHCI at membase 0xe9000000, IRQ 26
usb.c: new USB bus registered, assigned bus number 1
Product: USB OHCI Root Hub
SerialNumber: e9000000
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <[email protected]>
hid-core.c: USB HID support drivers
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
mmci-s3c2410: probe: mapped sdi_irq=21 irq_cd=46 dma=0.
MMC: sd_app_op_cond: at least one card is busy - trying again.
MMC: sd_app_op_cond: at least one card is busy - trying again.
MMC: sd_app_op_cond: at least one card is busy - trying again.
MMC: sd_app_op_cond: at least one card is busy - trying again.
MMC: sd_app_op_cond: at least one card is busy - trying again.
MMC: sd_app_op_cond: at least one card is busy - trying again.
MMC: sd_app_op_cond: at least one card is busy - trying again.
MMC: sd_app_op_cond: at least one card is busy - trying again.
MMC: sd_app_op_cond: at least one card is busy - trying again.
MMC: sd_app_op_cond: at least one card is busy - trying again.
MMC: sd_app_op_cond locked busy. Probably have broken SD-Card.
mmci-s3c2410: initialisation done.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
eth0: using half-duplex 10Base-T (RJ-45)
IP-Config: Complete:
      device=eth0, addr=192.168.0.10, mask=255.255.255.0, gw=192.168.0.1,
     host=192.168.0.10, domain=, nis-domain=(none),
     bootserver=192.168.0.20, rootserver=192.168.0.20, rootpath=
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
Looking up port of RPC 100003/2 on 192.168.0.20
Looking up port of RPC 100005/1 on 192.168.0.20
Root-NFS: Server returned error -13 while mounting /korea-dokdo/nfsmount/rootfs-aesop
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or 02:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 02:00



//////////////////////////////////////////////////////////////////
//스크래치박스까지 부팅해보고 묵혀 놓았던놈인데...
//처음하는것보다 더 어려운것 같습니다. ㅠ ㅠ

조준동

2006.04.24 08:44:00
*.151.168.11

지금 exports설정 다시하고 해보 역시 같은 메세지네요...ㅠㅠ

이걸 끝내고 잘려고 하는데...쩝

고현철

2006.04.24 10:13:22
*.114.205.16

erase 명령을 보시면 되고요...

aesop site의 문서를 다시한번 쭉 훑어보시기 바랍니다.제가 올려놓은 ppcboot 명령어자료가 있을겁니다.

nfs는

1. network 설정문제
2. nfs설정문제
3. bootargs 문제

보통 이경우중 하나입니다. 밑의 Q&A들을 쭉 살펴보시기 바랍니다.

조준동

2006.04.24 17:42:42
*.61.128.11

한주가 또 새롭게 시작되네요 ^^

어제 못한게 있어서 끌끄러워서 월요일 아침부터 QnA 열심히 뒤지고 있습니다. ^^

보드가 집에 있어서... 지금은 자료만 찾아야 겠군요...

일단 이미지는 잘 다운 받고, bootargs도 몇번이나 훓어 보았는데.... 오타는 안보이는것 같군요.....

그럼 nfs설정이 문젠것 같은데...

일단 DVD자료에있는 vmware설치하고 그대로 이미지 불러와서... exports에 리눅스 설정아이피를 그대로 적어주고 재부팅한것 밖에 없습니다...

자료는 다시한번 훑어 봐야 겠네요....

조준동

2006.04.24 17:43:39
*.61.128.11

아참 핑은 보드나, vmware linux쪽으로 잘떨어집니다...

조준동

2006.04.24 17:45:19
*.61.128.11

이솝보드 :192.168.0.10
리눅스 : 192.168.0.20
gateway:192.168.0.1
netmask : 255.255.255.0
입니다.

고현철

2006.04.24 20:23:28
*.117.46.252

그럼 nfs설정문제겠네요... bootargs나

조준동

2006.04.25 18:19:43
*.61.128.11

공유기 셋을 다시 바꾸고

이솝보드 :192.168.12.19
리눅스 : 192.168.12.18
gateway:192.168.12.1


uboot 다시 컴팔해서 다운받고

2.6.13 다시컴팔하고 - make aesopk 이거만 했습니다.

setenv bootargs root=/dev/nfs rw nfsroot=192.168.12.18:/korea-dokdo/nfsmount/rootfs-aesop ip=192.168.12.19:192.168.12.18:192.168.12.1:255.255.255.0::eth0:off consol=ttySAC0,115200n81 ethaddr=08:00:3e:26:0a:5b


위와 같이 설정하고 해도 여전히 커널패닉입니다.

근데 한가지 이상한건 uboot와 커널 새로 컴파일 해서 하고 있는데...

LCD에서 디버그메세지가 보이고 시리얼 터미널에서는 안보이네요

consol=ttySAC0,115200n81 <= 이 옵션이 잘못 됬나요?

처음에는 됬는데ㅣ... 이것 때문에 출력 메세지를 못 올리겄네....쩝

처음 시작부터 삽질합니다.

맨끝에

커널 패닉 : not scyning : VFS unable mount rootfs ... 이렇게 나가는데...

nfs 재시작 하면

메세지가 나오는 'async' 'sync' 어쩌고 저쩌고 나오는데... 옵션으로 싱크 어싱크가 있는데... 싱크로 동작한다. 이런 내용인것 같아요... 원래 이런 메세지가 출력되나요?

조준동

2006.04.25 18:24:14
*.61.128.11

다시 에러 메세지 보니 맨끝에

커널 패닉 - not syncing 이라고 뜨는데...

nfs가 동기가 아니라서 그렇다는거죠?

동기로 어떻게 바꾸나요? 그건 메뉴얼에 없는것 같던데....헐

조준동

2006.04.25 18:38:25
*.61.128.11

헐 동기 비동기 옵션하고는 상관이 없는것 같군요....

이거 완전 삽질이네... ㅋㅋㅋ

setenv bootargs root=/dev/nfs rw nfsroot=192.168.12.18:/korea-dokdo/nfsmount/rootfs-aesop ip=192.168.12.19:192.168.12.18:192.168.12.1:255.255.255.0::eth0:off consol=ttySAC0,115200n81 ethaddr=08:00:3e:26:0a:5b

이거 옵션 맞는지 다시한번 점검해 주세요 맞는것 같은데...

조준동

2006.04.26 04:43:58
*.61.128.11

아무리 해도 안되어서 '이솝따라하기' 자료의 fedora core 설치부분으로 그냥 첨부터 다시 시작 했습니다.

되는군요.... 보드 설정은 안만졌는데........

쩝....

아무래도

NFS 설정이 잘못된것 같군요!!! 일단 되니깐 다음단계로 넘어갈 수 겠습니다....

이렇게 뒤쳐져서 언제 따라가죠!!! ^^


완전 초보 허접이지만 여기까지 되니깐 기분은 좋습니다.....


이제부터, 열심히 아웃사이드에서 파볼랍니다....

내공이 쌓이면 그땐 소모임 활동해도 되겠죠!!^^
List of Articles
번호 제목 글쓴이 날짜 조회 수sort

이솦보드 palette세팅중 3번째 질문(kelp에서 kozicozi님의 질문... [4]

커널패닉 - 묵혀놓은 보드 꺼내들고 집에 셋팅하는데 잘 안되네요... [10]

RVDS 2.2 설치 [6]

exynos 5250 Arndale board의 Generic Timer 사용에 대해 질문... [5]

linaro ubuntu 사용중입니다

그래픽 카드 혹은 컨트롤러 드라이버 개발 How-to [2]

NAND bad sector가 새로 발생했을 때… [1]

[질문] u-boot 및 루트 파일 시스템 <= 완료 [4]

exynos5250 질문이여. [7]

  • 해황
  • 2012-12-06
  • 조회 수 6141

wifi 에러 문제관련하여 질문드립니다. [1]

풀업/풀다운 저항값은 왜 다른가요? [6]

S5PC111과 S5PC110의 차이점은 무엇인가요 [2]

  • Nabula
  • 2010-07-24
  • 조회 수 5999

ODROID FROYU 업그레이드 문의 드립니다. [1]

[질문] LX-800 과 ARM의 차이...[완료] [8]

[질문] LX800 을 처음 사용하기 위한 초기 준비 및 비용은?[완료... [6]

Wifi 관련 문의드립니다. [3]

  • Tommy
  • 2010-07-24
  • 조회 수 5483

S3C6410의 장단점에 대해... [10]

MP2530에 OpenOCD와 FT2232를 이용해 JTAG 연결중 [4]

[Android] play 스토어 설치 관련 [2]

DNW 관련 ... [1]

사용자 로그인