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

안녕하세요..저번 달 IT인재 교육때 학생입니다.

현재 회사에서 SMDK6410에 안드로이드를 포팅 할려고 합니다.

 

저번 smdk6410 보드에 u-boot-1.3.4 버전을 1.1.6으로 바꿔 보라고 하셔서

1.1.6 바꾸고 했는데..

LCD화면에 "ANDROID_" 이 화면만 보이고 그 다음으로 넘어 가지를 않습니다.

 

시리얼 터미널로 로그를 보면 제일 마지막에 몇 가지 파일을 찾을 수 없다고 나오는데

어찌해야 되는지 도통 모르겠습니다.

답변 부탁드립니다. 감사합니다. 

 

---------------------------------------------------------------------------------------------------------

U-Boot 1.1.6 (Oct 20 2009 - 14:32:16) for SMDK6410


CPU:     S3C6410@532MHz
         Fclk = 532MHz, Hclk = 133MHz, Pclk = 66MHz, Serial = CLKUART (SYNC Mode)
Board:   SMDK6410
DRAM:    128 MB
Flash:   0 kB
NAND:    256 MB
In:      serial
Out:     serial
Err:     serial
Net:     Found CS8900@0x18800300
Hit any key to stop autoboot:  0
TFTP from server 192.168.100.3; our IP address is 192.168.100.4
Filename 'zImage'.
Load address: 0xc0008000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##########
done
Bytes transferred = 2046828 (1f3b6c hex)
Boot with zImage

Starting kernel ...

Uncompressing Linux.................................................................................................................................. done, booting the kernel.
[    0.000000] Linux version 2.6.29-00145-gedc71ca-dirty (root@guest-desktop) (gcc version 4.3.2 (GCC) ) #121 PREEMPT Fri Oct 9 19:11:44 KST 2009
[    0.000000] CPU: ARMv6-compatible processor [410fb766] revision 6 (ARMv7), cr=00c5387f
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] Machine: SMDK6410
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] CPU S3C6410 (id 0x36410101)
[    0.000000] S3C24XX Clocks, (c) 2004 Simtec Electronics
[    0.000000] S3C64XX: PLL settings, A=532000000, M=532000000, E=24000000
[    0.000000] S3C64XX: HCLKx2=266000000, HCLK=133000000, PCLK=66500000
[    0.000000] div1: 00000555
[    0.000000] mout_apll: source is fout_apll (1), rate is 532000000
[    0.000000] mout_epll: source is fout_epll (1), rate is 24000000
[    0.000000] mout_mpll: source is mpll (1), rate is 532000000
[    0.000000] mmc_bus: source is dout_mpll (1), rate is 44333333
[    0.000000] mmc_bus: source is dout_mpll (1), rate is 44333333
[    0.000000] mmc_bus: source is dout_mpll (1), rate is 44333333
[    0.000000] usb-host-bus: source is mout_epll (0), rate is 24000000
[    0.000000] uclk1: source is dout_mpll (1), rate is 66500000
[    0.000000] spi-bus: source is mout_epll (0), rate is 24000000
[    0.000000] spi-bus: source is mout_epll (0), rate is 24000000
[    0.000000] audio-bus0: source is mout_epll (0), rate is 24000000
[    0.000000] audio-bus1: source is mout_epll (0), rate is 24000000
[    0.000000] audio-bus2: source is mout_epll (0), rate is 24000000
[    0.000000] irda-bus: source is mout_epll (0), rate is 24000000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: init=/init root=/dev/nfs rw nfsroot=192.168.100.3:/root/gst-android,timeo=14,retrans=6 ip=192.168.100.4:192.168.100.3:192.168.100.1:255.255.255.0::eth0:off console=ttySAC0,115200n81 ethaddr=00:40:5c:26:0a:5b
[    0.000000] PID hash table entries: 512 (order: 9, 2048 bytes)
[21474536.480000] Console: colour dummy device 80x30
[21474536.480000] console [ttySAC0] enabled
[21474536.485000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[21474536.490000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[21474536.505000] Memory: 128MB = 128MB total
[21474536.505000] Memory: 124884KB available (3544K code, 1003K data, 320K init)
[21474536.510000] Calibrating delay loop... 530.84 BogoMIPS (lpj=1327104)
[21474536.635000] Mount-cache hash table entries: 512
[21474536.635000] CPU: Testing write buffer coherency: ok
[21474536.645000] net_namespace: 564 bytes
[21474536.650000] NET: Registered protocol family 16
[21474536.675000] S3C6410 Power Management, (c) 2008 Samsung Electronics
[21474536.675000] S3C6410: Initialising architecture
[21474536.680000] S3C DMA-pl080 Controller Driver, (c) 2006-2007 Samsung Electronics
[21474536.685000] Total 32 DMA channels will be initialized.
[21474536.750000] bio: create slab <bio-0> at 0
[21474536.755000] SCSI subsystem initialized
[21474536.760000] usbcore: registered new interface driver usbfs
[21474536.760000] usbcore: registered new interface driver hub
[21474536.765000] usbcore: registered new device driver usb
[21474536.785000] NET: Registered protocol family 2
[21474536.790000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[21474536.795000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[21474536.800000] TCP bind hash table entries: 4096 (order: 4, 81920 bytes)
[21474536.805000] TCP: Hash tables configured (established 4096 bind 4096)
[21474536.810000] TCP reno registered
[21474536.815000] NET: Registered protocol family 1
[21474536.865000] S3C64XX ADC driver, (c) 2008 Samsung Electronics
[21474536.870000] S5P64XX ADC driver successfully probed
[21474536.895000] ashmem: initialized
[21474536.900000] yaffs Oct  7 2009 14:48:34 Installing.
[21474536.900000] msgmni has been set to 244
[21474536.905000] io scheduler noop registered
[21474536.905000] io scheduler anticipatory registered
[21474536.910000] io scheduler deadline registered
[21474536.915000] io scheduler cfq registered (default)
[21474536.920000] S3C_LCD clock got enabled :: 133.000 Mhz
[21474536.935000] LCD TYPE :: LTE480WV will be initialized
[21474537.060000] Window[0] - FB1: map_video_memory: clear ff000000:00177000
[21474537.065000]             FB1: map_video_memory: dma=57000000 cpu=ff000000 size=00177000
[21474537.080000] Console: switching to colour frame buffer device 100x30
[21474537.095000] fb0: s3cfb frame buffer device
[21474537.915000] s3c6400-uart.0: s3c2410_serial0 at MMIO 0x7f005000 (irq = 16) is a S3C6400/10
[21474537.920000] s3c6400-uart.1: s3c2410_serial1 at MMIO 0x7f005400 (irq = 20) is a S3C6400/10
[21474537.955000] brd: module loaded
[21474537.970000] loop: module loaded
[21474537.975000] nbd: registered device at major 43
[21474538.010000] usbcore: registered new interface driver ub
[21474538.010000] Invalid chip endian 0x00000000
[21474538.015000] smc911x: not found (-19).
[21474538.020000] Linux video capture interface: v2.00
[21474538.025000] Driver 'sd' needs updating - please use bus_type methods
[21474538.035000] S3C NAND Driver, (c) 2008 Samsung Electronics
[21474538.035000] S3C NAND Driver is using hardware ECC.
[21474538.040000] NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
[21474538.045000] Creating 5 MTD partitions on "NAND 256MiB 3,3V 8-bit":
[21474538.050000] 0x000000000000-0x000000080000 : "Bootloader"
[21474538.060000] 0x000000080000-0x000000800000 : "Kernel"
[21474538.065000] 0x000000800000-0x000004800000 : "system"
[21474538.085000] 0x000004800000-0x000008800000 : "cache"
[21474538.100000] 0x000008800000-0x000010000000 : "userdata"
[21474538.125000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[21474538.125000] s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
[21474538.130000] s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
[21474538.135000] s3c2410-ohci s3c2410-ohci: irq 79, io mem 0x74300000
[21474538.200000] usb usb1: configuration #1 chosen from 1 choice
[21474538.200000] hub 1-0:1.0: USB hub found
[21474538.205000] hub 1-0:1.0: 2 ports detected
[21474538.215000] android adb driver
[21474538.215000] adb gadget driver failed to initialize
[21474538.220000] mice: PS/2 mouse device common for all mice
[21474538.225000] input: s3c-keypad as /devices/virtual/input/input0
[21474538.230000] s3c-keypad Initialized
[21474538.235000] S3C Keypad Driver
[21474538.235000] S3C Touchscreen driver, (c) 2008 Samsung Electronics
[21474538.240000] S3C TouchScreen got loaded successfully : 12 bits
[21474538.245000] input: S3C TouchScreen as /devices/virtual/input/input1
[21474538.255000] S3C24XX RTC, (c) 2004,2006 Simtec Electronics
[21474538.255000] s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
[21474538.265000] s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
[21474538.270000] i2c /dev entries driver
[21474538.275000] s3c2440-i2c s3c2440-i2c.0: slave address 0x10
[21474538.280000] s3c2440-i2c s3c2440-i2c.0: bus frequency set to 377 KHz
[21474538.285000] s3c2440-i2c s3c2440-i2c.0: i2c-0: S3C I2C adapter
[21474538.290000] s3c2440-i2c s3c2440-i2c.1: slave address 0x10
[21474538.295000] s3c2440-i2c s3c2440-i2c.1: bus frequency set to 377 KHz
[21474538.300000] s3c2440-i2c s3c2440-i2c.1: i2c-1: S3C I2C adapter
[21474538.305000] S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
[21474538.310000] s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
[21474538.315000] sdhci: Secure Digital Host Controller Interface driver
[21474538.320000] sdhci: Copyright(c) Pierre Ossman
[21474538.325000] s3c-sdhci s3c-sdhci.1: clock source 0: hsmmc (133000000 Hz)
[21474538.330000] s3c-sdhci s3c-sdhci.1: clock source 1: hsmmc (133000000 Hz)
[21474538.335000] s3c-sdhci s3c-sdhci.1: clock source 2: mmc_bus (44333333 Hz)
[21474538.340000] mmc0: SDHCI controller on samsung-hsmmc [s3c-sdhci.1] using ADMA
[21474538.360000] logger: created 64K log 'log_main'
[21474538.360000] logger: created 256K log 'log_events'
[21474538.365000] logger: created 64K log 'log_radio'
[21474538.370000] s3c-mla: probe of s3c-mla failed with error -2
[21474538.375000] Advanced Linux Sound Architecture Driver Version 1.0.18a.
[21474538.385000] No device for DAI AD73311
[21474538.385000] No device for DAI AK4535
[21474538.390000] No device for DAI CS4270
[21474538.395000] No device for DAI PCM3008 HiFi
[21474538.400000] No device for DAI SSM2602
[21474538.400000] No device for DAI tlv320aic23
[21474538.405000] No device for DAI tlv320aic3x
[21474538.410000] No device for DAI UDA134X
[21474538.415000] No device for DAI UDA1380
[21474538.420000] No device for DAI UDA1380
[21474538.420000] No device for DAI UDA1380
[21474538.425000] No device for DAI WM8510 HiFi
[21474538.430000] No device for DAI WM8580 PAIFRX
[21474538.435000] No device for DAI WM8580 PAIFTX
[21474538.440000] No device for DAI WM8728
[21474538.445000] No device for DAI WM8731
[21474538.450000] No device for DAI WM8750
[21474538.450000] No device for DAI WM8753 DAI 0
[21474538.455000] No device for DAI WM8753 DAI 1
[21474538.460000] No device for DAI WM8971
[21474538.465000] No device for DAI WM8990 ADC/DAC Primary
[21474538.470000] No device for DAI s3c64xx-ac97
[21474538.475000] WM9713/WM9714 SoC Audio Codec 0.15
[21474538.480000] asoc: AC97 HiFi <-> s3c64xx-ac97 mapping ok
[21474538.520000] mmc0: new SDHC card at address 8fe4
[21474538.520000] mmcblk0: mmc0:8fe4 SD08G 7.40 GiB
[21474538.525000]  mmcblk0: p1
[21474538.615000] ALSA device list:
[21474538.615000]   #0: SMDK6400 (WM9713)
[21474538.620000] oprofile: using arm/armv6
[21474538.625000] TCP cubic registered
[21474538.625000] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[21474538.640000] s3c2410-rtc s3c2410-rtc: hctosys: invalid date/time
[21474539.145000] IP-Config: Device `eth0' not found.
[21474539.145000] Freeing init memory: 320K
[21474539.145000] Warning: unable to open an initial console.
[21474540.370000] init: cannot open '/initlogo.rle'
[21474540.395000] yaffs: dev is 32505858 name is "mtdblock2"
[21474540.395000] yaffs: passed flags ""
[21474540.400000] yaffs: Attempting MTD mount on 31.2, "mtdblock2"
[21474540.455000] yaffs_read_super: isCheckpointed 0
[21474540.460000] save exit: isCheckpointed 1
[21474540.460000] yaffs: dev is 32505860 name is "mtdblock4"
[21474540.465000] yaffs: passed flags ""
[21474540.470000] yaffs: Attempting MTD mount on 31.4, "mtdblock4"
[21474540.575000] yaffs_read_super: isCheckpointed 0
[21474540.575000] yaffs: dev is 32505859 name is "mtdblock3"
[21474540.580000] yaffs: passed flags ""
[21474540.580000] yaffs: Attempting MTD mount on 31.3, "mtdblock3"
[21474540.590000] s3c-nand: ECC uncorrectable error detected
[21474540.610000] block 130 is bad
[21474540.635000] yaffs_read_super: isCheckpointed 0
[21474540.670000] init: cannot find '/system/bin/sh', disabling 'console'
[21474540.670000] init: cannot find '/system/bin/servicemanager', disabling 'servicemanager'
[21474540.675000] init: cannot find '/system/bin/vold', disabling 'vold'
[21474540.680000] init: cannot find '/system/bin/debuggerd', disabling 'debuggerd'
[21474540.685000] init: cannot find '/system/bin/rild', disabling 'ril-daemon'
[21474540.690000] init: cannot find '/system/bin/app_process', disabling 'zygote'
[21474540.695000] init: cannot find '/system/bin/mediaserver', disabling 'media'
[21474540.700000] init: cannot find '/system/bin/playmp3', disabling 'bootsound'
[21474540.705000] init: cannot find '/system/bin/dbus-daemon', disabling 'dbus'
[21474540.710000] init: cannot find '/system/bin/installd', disabling 'installd'
[21474540.715000] init: cannot find '/system/bin/flash_image', disabling 'flash_recovery'


profile

김재훈

2009.10.21 01:19:00
*.162.60.144

root 파일 시스템의 해당 디렉터리에 파일이 없어서 발생하는 문제 같습니다.

filesystem에 해당 파일이 제대로 존재하거나, 디렉터리가 있는지 확인해 보시기 바랍니다.

 

아니면 권한을 chmod -R 777 * 명령으로 모두 풀어주시고 해보는 것도 좋을 것 같습니다.

심성보

2009.10.21 01:51:38
*.234.34.68

chmod -R 777 * 명령으로 모두 풀어보았는데도 잘 같은 증상이 계속 됩니다.

어찌해야 할지...

profile

김재훈

2009.10.21 01:55:25
*.162.60.144

21474540.590000] s3c-nand: ECC uncorrectable error detected
[21474540.610000] block 130 is bad
[21474540.635000] yaffs_read_super: isCheckpointed 0
[21474540.670000] init: cannot find '/system/bin/sh', disabling 'console'
[21474540.670000] init: cannot find '/system/bin/servicemanager', disabling 'servicemanager'
[21474540.675000] init: cannot find '/system/bin/vold', disabling 'vold'
[21474540.680000] init: cannot find '/system/bin/debuggerd', disabling 'debuggerd'
[21474540.685000] init: cannot find '/system/bin/rild', disabling 'ril-daemon'
[21474540.690000] init: cannot find '/system/bin/app_process', disabling 'zygote'
[21474540.695000] init: cannot find '/system/bin/mediaserver', disabling 'media'
[21474540.700000] init: cannot find '/system/bin/playmp3', disabling 'bootsound'
[21474540.705000] init: cannot find '/system/bin/dbus-daemon', disabling 'dbus'
[21474540.710000] init: cannot find '/system/bin/installd', disabling 'installd'
[21474540.715000] init: cannot find '/system/bin/flash_image', disabling 'flash_recovery'


일단 NAND에서 ECC 에러가 떨어지네요. U-Boot의 smdk6410.h와 리눅스 커널의 Menuconfig에서 ECC를 모두 꺼보시고 NAND 포멧 후 다시 해보시기 바랍니다.

 

그리고, NAND에 RFS 기록 후, NFS로 부팅해서, 위의 녹색으로 마킹한 파일들이 제대로 존재하는지 확인해 보시기 바랍니다. :)

심성보

2009.10.21 02:38:39
*.234.34.68

리눅스 초보라서요...

 NAND에 RFS 기록 후에 NFS로 부팅 하시라고 했는데...

RFS를 어떻게 해야하는지 잘 모르겠습니다.. 어디를 참고 해야 되나요??

감사합니다.

profile

김재훈

2009.10.21 02:53:28
*.162.60.144

http://www.aesop.or.kr/?mid=board_pds_s3c64x0&document_srl=74619 와

http://www.aesop.or.kr/?mid=board_pds_s3c64x0&category=47378&document_srl=43031 

NAND Flash에 기록 방법은 이 두 게시물 참고하시면 될 듯 합니다. :)

 

 

고현철

2009.10.21 17:27:07
*.32.117.22

일단 김재훈님이 링크 걸어주신 오태호님의 자료를 참고하신 후에 NFS형태로 만들어서 부팅부터 확인하시기 바랍니다.

 

yaffs2의 경우 permission서부터 여러가지 문제가 나오는 경우가 있습니다.

일단 NFS로 확인하신 후에 다시 nand에 writing하는게 순서일 듯 싶습니다.

심성보

2009.10.21 19:36:00
*.234.34.68

자료를 참고로 계속 해보는데도 저 로그에서 더이상 진도가 없습니다.

혹시 커널 부팅 하면서 이더넷(CS8900)이 안잡혀서 그럴 수도 있는지요?? 그래서 NFS로 마운트가 안되서

에러가 발생하는건지요??

profile

김재훈

2009.10.21 19:45:00
*.162.60.144

커널에서 CS8900은 아마 잡혀있어야겠죠? (우선 RFS를 NFS로 마운트해서 작업해야 하니;;;)

근데, SMDK 보드는 초창기 버전인가요? 요즘 나오는 SMDK 보드는 9115를 사용하는데...

 

CS8900 드라이버는 자료실에 있습니다.

고도리

2009.10.21 22:22:32
*.32.117.22

 NFS log를 올려주세요......

심성보

2009.10.21 22:44:06
*.234.34.68

부탁드립니다.

List of Articles
번호 제목 글쓴이 날짜sort 조회 수
3988 맵 위에 선 그리기 관련 질문입니다. 이희수 2009-10-17 1140
3987 S3C6410 보드 개발하는데 OSC에서 발진을 하지 않습니다. [1] 허경 2009-10-17 674
3986 CS42L52 linux device driver 있으신분 [4] 윤인성 2009-10-18 706
3985 Emulator 속도 관련 [4] Jamez 2009-10-19 961
3984 리눅스에서 packet analyzer를 만들어 보려고 하는데요 [3] 정회승 2009-10-20 725
3983 Ethernet 관련 문의 드립니다. RTL8110 칩셋사용 [2] 최종성 2009-10-20 1243
» SMDK6410 보드에 포팅 중 에러 [10] 심성보 2009-10-21 1443
3981 android pdk 에 jd 문서는 어떻게 보나요? [2] 류경훈 2009-10-21 1035
3980 커널 2.6.21 + smdk 6410 ioremap() 관련 질문 드립니다. [3] 한규혁 2009-10-21 1406
3979 PMIC 급구합니다. TPS650243RHBT ==> 수배완료!! (감사합니다 ^^) [4] 조덕연 2009-10-21 613
3978 S5P6440 정도면 빌드업 PCB로 제작 하지 않아도 설계 가능 할까요... [3] 홍성관 2009-10-21 1363
3977 6410 관련 초보 질문입니다. [1] 마린 2009-10-22 477
3976 s3c6410 관련 기술자료 받을 수 있는 곳 알 수 있나요? [1] 김민석 2009-10-22 534
3975 SMDK6410 보드에서 NFS 부팅 중 에러"not responding, still t... [4] 심성보 2009-10-22 967
3974 aesop3rd.zip 파일이 다운이 안됩니다.. [3] 김경섭 2009-10-23 703
3973 SMDK6410에서 사용하는 uboot를 aesop보드에서 사용이 가능한가요. [4] 허경 2009-10-24 618
3972 우분투 9.04에서 tslib-1.0설치시 에러.. [2] Kevin 2009-10-24 3525
3971 안드로이드 Display관련 질문입니다. [1] 이창용 2009-10-24 790
3970 ODROID 개발자 버전의 Source code... [1] lived 2009-10-24 922
3969 파일시스템구축에 대해 [1] 우운용 2009-10-24 477

사용자 로그인