기존 이솝 임베디드 포럼의 지식인 서비스가 게시판 형태로 변경되었습니다.
안녕하세요.
이솝 v210 보드에 삼성 git에서 받은 커널 3.10 rc1을 포팅하고 있습니다.
PMIC와 LCD, usb ethernet gadget 까지는 포팅하여 NFS로 X-Window 루트 파일시스템을
붙여서 사용하고 있습니다.
Ethernet 을 포팅하여 드라이버까지는 올라오는 것은 확인하였습니다.
그런데 통신이 제대로 되고 있지 않습니다. NFS 마운트도 안됩니다.
smsc911x smsc911x eth0: smsc911x_poll: Discarding packet with error bit set
...
위의 메시지가 연속적으로 뿌려지면서 연결이 되지 않습니다. 드라이버 문제인지 물리적인 하드웨어 문제인지
알수가 없어 조언을 구해봅니다.
부팅 메시지는 아래와 같습니다.
--------------------------------------------------------------------------------------------------------------------------------------
AMS369FG06 AMOLED PWM Initialized.
GPD0CON : 1111, GPD0DAT : f
U-Boot 1.3.4 (Oct 12 2010 - 17:13:06) for aESOP-S5PV210 Rev.03
CPU: S5PV210@800MHz(OK)
APLL = 800MHz, HclkMsys = 200MHz, PclkMsys = 100MHz
MPLL = 667MHz, EPLL = 80MHz
HclkDsys = 166MHz, PclkDsys = 83MHz
HclkPsys = 133MHz, PclkPsys = 66MHz
SCLKA2M = 200MHz
Serial = CLKUART
Board: aESOP-S5PV210
DRAM: 512 MB
SD/MMC: Card init fail!
0 MB
NAND: 512 MB
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
OTG cable Connected!
Now, Waiting for DNW to transmit data
Download Done!! Download Address: 0xc0008000, Download Filesize:0x22cf60
Checksum is being calculated...
Checksum O.K.
get_format
-------- 1 --------
## Booting kernel from Legacy Image at c0008000 ...
Image Name: Linux-3.10.0-rc1
Created: 2013-06-11 4:02:16 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2281248 Bytes = 2.2 MB
Load Address: 20008000
Entry Point: 20008000
Verifying Checksum ... OK
get_format
-------- 1 --------
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Linux version 3.10.0-rc1 (admin0@oasis) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-70) ) #49 PREEMPT Tue Jun 11 11:26:06 KST 2013
CPU: ARMv7 Processor [412fc082] revision 2 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: SMDKV210
Ignoring unrecognised tag 0x00000000
Ignoring unrecognised tag 0x00000000
Ignoring unrecognised tag 0x41001099
Memory policy: ECC disabled, Data cache writeback
CPU S5PV210/S5PC110 (id 0x43110200)
S3C24XX Clocks, Copyright 2004 Simtec Electronics
S5PV210: PLL settings, A=800000000, M=667000000, E=80000000 V=54000000
S5PV210: ARMCLK=800000000, HCLKM=200000000, HCLKD=166750000
HCLKP=133400000, PCLKM=100000000, PCLKD=83375000, PCLKP=66700000
sclk_dmc: source is sclk_a2m (0), rate is 200000000
sclk_onenand: source is hclk_dsys (1), rate is 166750000
sclk_fimc: source is ext_xtal (0), rate is 24000000
sclk_fimc: source is ext_xtal (0), rate is 24000000
sclk_fimc: source is ext_xtal (0), rate is 24000000
sclk_cam0: source is ext_xtal (0), rate is 24000000
sclk_cam1: source is ext_xtal (0), rate is 24000000
sclk_fimd: source is ext_xtal (0), rate is 24000000
sclk_mfc: source is sclk_a2m (0), rate is 200000000
sclk_g2d: source is sclk_a2m (0), rate is 200000000
sclk_g3d: source is sclk_a2m (0), rate is 200000000
sclk_csis: source is ext_xtal (0), rate is 24000000
sclk_pwi: source is ext_xtal (0), rate is 24000000
sclk_pwm: source is ext_xtal (0), rate is 24000000
CPU: All CPU(s) started in SVC mode.
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 128016
Kernel command line: root=/dev/nfs rw nfsroot=192.168.10.166:/home/target/nfs/rootfs_nfs ip=192.168.10.91:192.168.10.166:192.168.10.1:255.255.255.0::eth0:off console=ttySAC1,115200n81
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 256MB 48MB 200MB = 504MB total
Memory: 507016k/515208k available, 9080k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xb0800000 - 0xff000000 (1256 MB)
lowmem : 0x80000000 - 0xb0000000 ( 768 MB)
modules : 0x7f000000 - 0x80000000 ( 16 MB)
.text : 0x80008000 - 0x803c9994 (3847 kB)
.init : 0x803ca000 - 0x803ef4ec ( 150 kB)
.data : 0x803f0000 - 0x804238c0 ( 207 kB)
.bss : 0x804238c0 - 0x80460aac ( 245 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Preemptible hierarchical RCU implementation.
NR_IRQS:208
VIC @f6000000: id 0x00041192, vendor 0x41
VIC @f6010000: id 0x00041192, vendor 0x41
VIC @f6020000: id 0x00041192, vendor 0x41
VIC @f6030000: id 0x00041192, vendor 0x41
sched_clock: 32 bits at 33MHz, resolution 29ns, wraps every 128784ms
Console: colour dummy device 80x30
Calibrating delay loop... 530.84 BogoMIPS (lpj=1327104)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x802dc9b8 - 0x802dca10
devtmpfs: initialized
regulator-dummy: no parameters
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
S3C Power Management, Copyright 2004 Simtec Electronics
S5PV210: Initializing architecture
bio: create slab <bio-0> at 0
fixed-dummy: no parameters
SCSI subsystem initialized
s3c-i2c s3c2440-i2c.0: slave address 0x10
s3c-i2c s3c2440-i2c.0: bus frequency set to 65 KHz
s3c-i2c s3c2440-i2c.0: i2c-0: S3C I2C adapter
s3c-i2c s3c2440-i2c.1: slave address 0x10
s3c-i2c s3c2440-i2c.1: bus frequency set to 65 KHz
s3c-i2c s3c2440-i2c.1: i2c-1: S3C I2C adapter
s3c-i2c s3c2440-i2c.2: slave address 0x10
s3c-i2c s3c2440-i2c.2: bus frequency set to 65 KHz
VALIVE_1.1V: 1100 mV
VUOTG_D+VUHOST_D_1.1V: 1100 mV
V_MIPI_1.8V: 1800 mV
VMMC+VEXT_2.8V: 2800 mV
VCC_2.6V: 2600 mV
VDAC_2.8V: 2800 mV
VUOTG_A+VUHOST_A_3.3V: 3300 mV
VADC+VSYS+VKEY_2.8V: 2800 mV
VCC_ARM: 750 <--> 1500 mV at 1200 mV
VCC_INTERNAL: 950 <--> 1200 mV at 1100 mV
VCC_MEM: 1800 mV
s3c-i2c s3c2440-i2c.2: i2c-2: S3C I2C adapter
Switching to clocksource samsung_clocksource_timer
NET: Registered protocol family 2
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 4, 81920 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP: reno registered
UDP hash table entries: 256 (order: 1, 12288 bytes)
UDP-Lite hash table entries: 256 (order: 1, 12288 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
ROMFS MTD (C) 2007 Red Hat, Inc.
msgmni has been set to 990
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Console: switching to colour frame buffer device 60x50
s3c-fb s5pv210-fb: window 0: fb
dma-pl330 dma-pl330.0: Loaded driver for PL330 DMAC-267056
dma-pl330 dma-pl330.0: DBUFF-8x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
dma-pl330 dma-pl330.1: Loaded driver for PL330 DMAC-267056
dma-pl330 dma-pl330.1: DBUFF-8x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
s5pv210-uart.0: ttySAC0 at MMIO 0xe2900000 (irq = 74) is a S3C6400/10
s5pv210-uart.1: ttySAC1 at MMIO 0xe2900400 (irq = 75) is a S3C6400/10
console [ttySAC1] enabled
s5pv210-uart.2: ttySAC2 at MMIO 0xe2900800 (irq = 76) is a S3C6400/10
s5pv210-uart.3: ttySAC3 at MMIO 0xe2900c00 (irq = 77) is a S3C6400/10
brd: module loaded
loop: module loaded
spi_gpio spi_gpio.1: master is unqueued, this is deprecated
ams369fg06 spi1.0: ams369fg06 panel driver has been probed.
smsc911x: Driver version 2008-10-21
smsc911x smsc911x (unregistered net_device): couldn't get clock -2
smsc911x smsc911x (unregistered net_device): Driver Parameters:
smsc911x smsc911x (unregistered net_device): LAN base: 0xB09E0000
smsc911x smsc911x (unregistered net_device): IRQ: 38
smsc911x smsc911x (unregistered net_device): PHY will be autodetected.
smsc911x smsc911x (unregistered net_device): BYTE_TEST: 0x87654321
smsc911x smsc911x (unregistered net_device): LAN911x identified, idrev: 0x92200000, generation: 4
smsc911x smsc911x eth0: Network interface: "eth0"
smsc911x smsc911x eth0: External PHY is not supported, using internal PHY
libphy: smsc911x-mdio: probed
smsc911x smsc911x eth0: PHY: addr 1, phy_id 0x0007C0C3
smsc911x smsc911x eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=smsc911x-fffffff:01, irq=-1)
smsc911x smsc911x eth0: Successfully verified loopback packet
smsc911x smsc911x eth0: Passed Loop Back Test
smsc911x smsc911x eth0: phy initialised successfully
smsc911x smsc911x eth0: MAC Address specified by platform data
smsc911x smsc911x eth0: MAC Address: 00:80:00:23:45:67
s3c-hsotg s3c-hsotg: regs b0a00000, irq 88
s3c-hsotg s3c-hsotg: EPs:15
s3c-hsotg s3c-hsotg: dedicated fifos
s3c-hsotg s3c-hsotg: cannot create debug root
g_ether gadget: using random self ethernet address
g_ether gadget: using random host ethernet address
usb0: MAC 7e:65:df:98:72:15
usb0: HOST MAC 3e:62:2f:b4:ed:5b
g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
g_ether gadget: g_ether ready
s3c-hsotg s3c-hsotg: bound driver g_ether
mousedev: PS/2 mouse device common for all mice
s3c-rtc s3c64xx-rtc: rtc disabled, re-enabling
s3c-hsotg s3c-hsotg: GINTSTS_USBSusp
s3c-rtc s3c64xx-rtc: rtc core: registered s3c as rtc0
s3c2410-wdt s3c2410-wdt: tmr_margin value out of range, default 15 used
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq disabled
TCP: cubic registered
NET: Registered protocol family 17
Key type dns_resolver registered
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2
VDAC_2.8V: incomplete constraints, leaving on
s3c-rtc s3c64xx-rtc: setting system clock to 2009-09-16 13:58:21 UTC (1253109501)
smsc911x smsc911x eth0: irq polarity: active low
smsc911x smsc911x eth0: irq type: push-pull
s3c-hsotg s3c-hsotg: s3c_hsotg_irq: USBRst
smsc911x smsc911x eth0: Testing irq handler using IRQ 38
s3c-hsotg s3c-hsotg: new device is high-speed
smsc911x smsc911x eth0: IRQ handler passed test using IRQ 38
smsc911x smsc911x eth0: SMSC911x/921x identified at 0xb09e0000, IRQ: 38
smsc911x smsc911x eth0: maccr 0x1000000C, HASHH 0x00000000, HASHL 0x00000000
smsc911x smsc911x eth0: maccr 0x1000000C, HASHH 0x00000000, HASHL 0x00000000
smsc911x smsc911x eth0: maccr 0x1000200C, HASHH 0x00000000, HASHL 0x80000000
IP-Config: Complete:
device=eth0, hwaddr=00:80:00:23:45:67, ipaddr=192.168.10.91, mask=255.255.255.0, gw=192.168.10.1
host=192.168.10.91, domain=, nis-domain=(none)
bootserver=192.168.10.166, rootserver=192.168.10.166, rootpath=
s3c-hsotg s3c-hsotg: s3c_hsotg_irq: USBRst
s3c-hsotg s3c-hsotg: s3c_hsotg_irq: USBRst
s3c-hsotg s3c-hsotg: new device is full-speed
s3c-hsotg s3c-hsotg: GINTSTS_USBSusp
s3c-hsotg s3c-hsotg: s3c_hsotg_irq: USBRst
s3c-hsotg s3c-hsotg: s3c_hsotg_irq: USBRst
s3c-hsotg s3c-hsotg: new device is high-speed
s3c-hsotg s3c-hsotg: new address 61
g_ether gadget: high-speed config #1: CDC Ethernet (ECM)
smsc911x smsc911x eth0: duplex state has changed
smsc911x smsc911x eth0: configuring for full duplex mode
smsc911x smsc911x eth0: rx pause disabled, tx pause disabled
smsc911x smsc911x eth0: carrier state has changed
smsc911x smsc911x eth0: configuring for no carrier
smsc911x smsc911x eth0: carrier state has changed
smsc911x smsc911x eth0: configuring for carrier OK
VFS: Mounted root (nfs filesystem) on device 0:11.
devtmpfs: mounted
Freeing unused kernel memory: 148K (803ca000 - 803ef000)
smsc911x smsc911x eth0: smsc911x_poll: Discarding packet with error bit set
nfs: server 192.168.10.166 not responding, still trying
nfs: server 192.168.10.166 OK
smsc911x smsc911x eth0: smsc911x_poll: Discarding packet with error bit set
smsc911x smsc911x eth0: smsc911x_poll: Discarding packet with error bit set
smsc911x smsc911x eth0: smsc911x_poll: Discarding packet with error bit set
smsc911x smsc911x eth0: smsc911x_poll: Discarding packet with error bit set
smsc911x smsc911x eth0: smsc911x_poll: Discarding packet with error bit set
smsc911x smsc911x eth0: smsc911x_poll: Discarding packet with error bit set
nfs: server 192.168.10.166 not responding, still trying
smsc911x smsc911x eth0: smsc911x_poll: Discarding packet with error bit set
smsc911x smsc911x eth0: smsc911x_poll: Discarding packet with error bit set
nfs: server 192.168.10.166 not responding, still trying
smsc911x smsc911x eth0: smsc911x_poll: Discarding packet with error bit set
smsc911x smsc911x eth0: smsc911x_poll: Discarding packet with error bit set
smsc911x smsc911x eth0: smsc911x_poll: Discarding packet with error bit set
smsc911x smsc911x eth0: smsc911x_poll: Discarding packet with error bit set
smsc911x smsc911x eth0: smsc911x_poll: Discarding packet with error bit set
smsc911x smsc911x eth0: smsc911x_poll: Discarding packet with error bit set
smsc911x smsc911x eth0: smsc911x_poll: Discarding packet with error bit set
smsc911x smsc911x eth0: smsc911x_poll: Discarding packet with error bit set
....
-----------------------------------------------------------------------------------------------------------------------------------
조언부탁드립니다.
P.S) 이솝 V210용 안드로이드 소스좀 올려주세요. 플래시에 들어가 있는 이미지가 날아간 것 같네요.
nand 포팅하면서 파티션 잘 못 설정한 뒤로 init을 찾을 수가 없다고 나오네요.
감사합니다.
aesop board는 잘 동작합니다...ㅠ.ㅠ
몇달전에도 제가 확인하였습니다.
froyo는 현재 올리고 있습니다. 내일까지 올려드리도록 하겠습니다.
예전에 올린다고 했는데, ftp가 마땅치 않아서요......800M라.