고수님들 도와주세요. 어떤 에러를 뜻하는 지 모르겠어요. [S3C2410]
Uncompressing Linux............................................................... done, booting the kernel.
Linux version 2.6.12 (root@plum.inha.ac.kr) (gcc version 3.4.3) #38 Sat Jan 13 18:27:39 KST 2007
CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
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
Machine: SMDK2410
Memory policy: ECC disabled, Data cache writeback
CPU S3C2410A (id 0x32410002)
S3C2410: core 202.800 MHz, memory 101.400 MHz, peripheral 50.700 MHz
S3C2410 Clocks, (c) 2004 Simtec Electronics
Built 1 zonelists
Kernel command line: root=/dev/ram0 rw initrd=0x32000000,6000000 ramdisk_size=32768 console=ttySAC2,115200n81,mem=64M
irq: clearing subpending status 00000080
PID hash table entries: 512 (order: 9, 8192 bytes)
timer tcon=00500900, tcnt a509, tcfg 00000200,00000020, usec 00001e4c
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 64MB = 64MB total
Memory: 56960KB available (1614K code, 283K data, 104K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 5859K
NET: Registered protocol family 16
S3C2410: Initialising architecture
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS version 1.0, (C) 1999, 2000 Axis Communications AB
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
got and enabled clock
got video memory
s3c2410fb_init_registers() start.......
s3c2410fb_init_registers() completed........
s3c2410fb_check_var() completed.....
s3c2410fb_activate_var()...... start.
s3c2410fb_activate_var: var->xres = 480
s3c2410fb_activate_var: var->yres = 272
s3c2410fb_activate_var: var->bpp = 16
s3c2410fb_activate_var: pixclock = 9157680
pixclk = 9157680, clk = 101400000, div = 11
CLKVAL = 4
s3c2410fb_activate_var()........new register set:
lcdcon[1] = 0x00000479
lcdcon[2] = 0x0143c081
lcdcon[3] = 0x0031df02
lcdcon[4] = 0x00000041
lcdcon[5] = 0x00000b09
Console: switching to colour frame buffer device 60x34
register_framebuffer() completed......
fb0: s3c2410fb frame buffer device
fb1: Virtual frame buffer device, using 1024K of video memory
ttySAC0 at MMIO 0x50000000 (irq = 70) is a S3C2410
ttySAC1 at MMIO 0x50004000 (irq = 73) is a S3C2410
ttySAC2 at MMIO 0x50008000 (irq = 76) is a S3C2410
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 32768K size 1024 blocksize
S3C2410 NAND Driver, (c) 2004 Simtec Electronics
s3c2410-nand: mapped registers at c4980000
s3c2410-nand: timing: Tacls 10ns, Twrph0 60ns, Twrph1 30ns
NAND device: Manufacturer ID: 0xad, Chip ID: 0x76 (Unknown NAND 64MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00040000-0x00400000 : "STW-S3C2410 Kernel partition"
0x00400000-0x01400000 : "STW-S3C2410 Ramdisk partition"
0x01400000-0x04000000 : "STW-S3C2410 UserData"
mice: PS/2 mouse device common for all mice
ts: Compaq touchscreen protocol output
s3c2410 TouchScreen successfully loaded
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
NET: Registered protocol family 1
RAMDISK: Compressed image found at block 0
invalid compressed format (err=2)
VFS: Mounted root (ext2 filesystem).
mount_devfs_fs(): unable to mount devfs, err: -20
Freeing init memory: 104K
Warning: unable to open an initial console.
EXT2-fs error (device ram0): ext2_check_page: bad entry in directory #88: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0, name_len=0
EXT2-fs error (device ram0): ext2_check_page: bad entry in directory #12: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0, name_len=0
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
소스는 이솝보드에서 가지고와서 수정하여 포팅한건데 err -20이 뜻하는 바를 보르겠습니다.
램디스크가 마운트 된거는 맞죠?
사실 램디스크가 인식이 안되서 고생했거든요.
램디스크 용량을 16MB에서 31MB로 늘렸는데..
크기가 인식된다 싶어 좋아했더니..
또다른 문제가...
임베디드 입문인지라 잘모르겠습니다.
고수님들 도와주세요.
램 디스크 이미지를
램 디스크 이미지를 그대로 가져다 쓰신 거라면 램디스크를 fsck 로 돌려 보십시요.
========================
조직 : E.L.D(Embedded Linux Developer/Designer)
블로그 : poplinux@tistory.com
카페 : cafe.naver.com/poplinux
임베디드 리눅스 관련 프리렌서 지향
댓글 달기