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

안녕하세요~^^

저번에 한번 질문 드리고 aesop u-boot를 이용해서 부팅은 성공했습니다.^^

완벽하게 이해한건 아니지만 제가 기존에 가지고 있던 u-boot 1.0.0 버전도 부팅해서 커널까진 넘겨봤구요.

커널에서 겨우 파티션 만드는 부분은 찾았습니다.^^
그동안 왜 안보였는지ㅠㅠ

struct mtd_partition aesop_default_nand_part[] = {
        {
                name:                "NAND partition 0 : Bootloader BY 64M",
                offset:                0,
                size:                (384*SZ_1K),
        },
        {
                name:                "NAND partition 1 : Kernel BY 64M",
                offset:                (384*SZ_1K),
                size:                (2*SZ_1M) - (384*SZ_1K),
        },
        {
                name:                "NAND partition 2 : Filesystem BY 64M",
                offset:                (2*SZ_1M),
                size:                (32*SZ_1M) - (2*SZ_1M),
        },
        {
                name:                "NAND partition 3 : Data Area BY 64M",
                offset:                (32*SZ_1M),
                size:                (32*SZ_1M),
        },
};

이런식으로 파티션을 만들었습니다. 그리고 nand의 0x200000번지에 기존에 제가 가지고 있던 cramfs파일시스템을 올렸습니다. 근데 안되네요~

커널로그는 아래에 붙여놨습니다.

Starting kernel ...

Linux version 2.6.13-h1940-aesop2440 ([email protected]) (gcc version 3.3.3 (DENX ELDK 3.1.1 3.3.3-9)) #37 Wed Dec 31 10:36:8CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
Machine: aESOP-2440
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C2440: core 399.651 MHz, memory 66.608 MHz, peripheral 33.304 MHz
S3C2410 Clocks, (c) 2004 Simtec Electronics
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists
Kernel command line: setenv bootargs root=/dev/mtdblock2 rootfstype=cramfs console=ttySAC0,115200n81
irq: clearing pending ext status 00080b00
irq: clearing subpending status 00000002
PID hash table entries: 1024 (order: 10, 16384 bytes)
timer tcon=00500000, tcnt 6c68, tcfg 00000200,00000000, usec 00002e1f
Console: colour dummy device 80x30
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 128MB = 128MB total
Memory: 126848KB available (2142K code, 583K data, 108K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
S3C2410 Power Management, (c) 2004 Simtec Electronics
PM initialize
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C2440: Clock Support, UPLL 95.961 MHz
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
S3C2410 DMA Driver, (c) 2003-2004 Simtec Electronics
DMA channel 0 at c8800000, irq 33
DMA channel 1 at c8800040, irq 34
DMA channel 2 at c8800080, irq 35
DMA channel 3 at c88000c0, irq 36
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
yaffs Dec 30 2008 19:21:15 Installing.
Initializing Cryptographic API
s3c2410 Backlight Driver Initialized.
Console: switching to colour frame buffer device 96x34
S3C24X0 fb0: s3c2410fb frame buffer device initialize done
GPIO L3 bus interface for S3C2440, installed
S3C2410 RTC, (c) 2004 Simtec Electronics
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 8 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
nbd: registered device at major 43
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
NET: Registered protocol family 24
smc91x: not found (-19).
AESOP NOR-Flash Driver, (c) 2006 AESOP Embedded
aesop-flash: map_probe() failed
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2410-nand: mapped registers at c8880000
60 ns is too big for current clock rate 66608640
s3c2410-nand: timing: Tacls 13ns, Twrph0 422ns, Twrph1 33ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 4 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00060000 : "NAND partition 0 : Bootloader BY 64M"
0x00060000-0x00200000 : "NAND partition 1 : Kernel BY 64M"
0x00200000-0x02000000 : "NAND partition 2 : Filesystem BY 64M"
0x02000000-0x04000000 : "NAND partition 3 : Data Area BY 64M"
usbmon: debugfs is not available
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: Product: S3C24XX OHCI
usb usb1: Manufacturer: Linux 2.6.13-h1940-aesop2440 ohci_hcd
usb usb1: SerialNumber: s3c24xx
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usbcore: registered new driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.23:USB Abstract Control Model driver for USB modems and ISDN adapters
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
s3c2410_udc: version 28 Aug 2005
mice: PS/2 mouse device common for all mice
s3c2410-buttons successfully loaded
s3c2410 TouchScreen successfully loaded
i2c /dev entries driver
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 346 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
mmci-s3c2410: probe: mapped sdi_base=c8e80000 irq=37 irq_cd=62 dma=0.
mmci-s3c2410: initialisation done.
godori: AESOP2440 SOUND driver register
godori: AESOP2440 SOUND driver.........probe
s3c2410_dma_config: chan=2, xfer_unit=2, dcon=80000000
s3c2410_dma_config: chan=1, xfer_unit=2, dcon=82000000
AESOP2440 UDA1341 audio driver initialized
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
MMC: sd_app_op_cond timed out. Probably no SD-Card here.
MMC: sd_app_op_cond timed out. Probably no SD-Card here.
end_request: I/O error, dev mtdblock2, sector 0
Buffer I/O error on device mtdblock2, logical block 0
end_request: I/O error, dev mtdblock2, sector 0
Buffer I/O error on device mtdblock2, logical block 0
end_request: I/O error, dev mtdblock2, sector 8
Buffer I/O error on device mtdblock2, logical block 1
end_request: I/O error, dev mtdblock2, sector 8
Buffer I/O error on device mtdblock2, logical block 1
end_request: I/O error, dev mtdblock2, sector 16
Buffer I/O error on device mtdblock2, logical block 2
end_request: I/O error, dev mtdblock2, sector 16
Buffer I/O error on device mtdblock2, logical block 2
end_request: I/O error, dev mtdblock2, sector 24
Buffer I/O error on device mtdblock2, logical block 3
end_request: I/O error, dev mtdblock2, sector 24
Buffer I/O error on device mtdblock2, logical block 3
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)


제가 기존에 cramfs용 파일시스템 이미지가 있는데 이 이미지를 cramfs로 부팅을 하기 위해서는 aesop 커널을 수정해야 할까요? 수정해야 한다면 대략 어떤 방식으로 해야 할지 방향 지시 부탁드리겠습니다.^^

혹시 cramfs가 어렵다면 yaffs나 다른파일시스템 올리기가 더 쉬울까요?

수고하십시요.^^

고현철

2008.12.31 19:33:54
*.202.146.168

mtd드라이버가 먼가 잘못되어 있는 듯 싶네요

cramfs는 저는 한번도 안써봤습니다. 전혀 추천도 안하고요...^^
삼성에서 왜 저걸 써서 남들 애먹게 하는지....쩝

되도록이면 yaffs같은거 쓰시기 바랍니다.

배신규

2009.01.02 19:56:12
*.181.191.121

답변 고맙습니다^^
yaffs로 바꿔서 다시 시도해보겠습니다.
List of Articles
번호 제목 글쓴이 날짜 조회 수
368 일반 질답란입니다. 리눅스, wince, BSD, RTOS등등의.... 고도리 2007-10-16 2224
367 yaffs iozone 테스트 [1] 박지훈 2009-01-22 1175
366 aesop2440보드에 qt-embedded-4.4 올릴 때 문제 아시는 분 [4] 류경훈 2009-01-20 932
365 Angstrom compile후 진행사항 문의 [3] 박종석 2009-01-16 1064
364 6410 보드 양산시 메모리 인식 문제 [4] 성인제 2009-01-07 1191
363 mplayer의 실행 좌표 질문입니다. [1] 박선종 2009-01-05 797
362 Angstrom이 무엇인가요? [1] 박종석 2009-01-04 828
361 RVDS 2.2 설치 [6] 한영민 2008-12-31 6535
» aesop커널에 crmafs올릴려면..(질문 조금 수정했습니다.) [2] 배신규 2008-12-31 938
359 고도리님께 질문 [3] 박선종 2008-12-30 822
358 U-boot에서 usb storage 인식하기. 최종환 2008-12-30 1509
357 nand flash 설정 문의 [1] 정대현 2008-12-24 917
356 [완료]uboot 1.0.0에 aesop kernel 2.6버전을 올려도 되나요? [2] 배신규 2008-12-19 693
355 u-boot에서 flash관련... [2] 김경식 2008-12-15 939
354 QT에서 tslib를 사용하지 않고 touch 사용? [1] 정원 2008-12-13 1273
353 [질문] 임베디드 개발자 분들에게 질문드려요(parallel 카드) [4] 고태현 2008-12-12 714
352 u-boot1.1.6 nand read 에러문의 [3] 정대현 2008-12-09 1033
351 [질문]POLLUX에서 2GB MLC(K9GAG08U0M) 에러 관련... [3] 장병남 2008-12-09 1584
350 nand read 에러문의 [3] 정대현 2008-12-09 1013
349 flash제어에 관한 문의입니다. [2] 강용근 2008-12-08 815

사용자 로그인