도와주세요!!
안녕하세요ㅎㅎ
EZ-X5에 자료실에 있는 2.6.11 커널을 올리려고 합니다.
여러가지 문제들을 여기 게시판에서 찾아보고 해결했습니다.
그런데 부팅 중 자꾸만 아래 지점에서 멈추네요;
"RAMDISK: Compressed image found at block 0"
이후에 아무 메시지가 출력되지 않습니다.
부트로더 옵션
F. NAND-Partition MByte [2:5:57] (kernel:ramdisk:app)
W. Watchdog (sec, off=0) [0]
K. Kernel CMD 1st [initrd=0xa0800000,5M root=/dev/ram ramdisk=12288]
M. Kernel CMD 2nd [console=ttyPXA2,115200]
N. Kernel CMD 3rd []
커널은 자료실의 커널 소스에서 게시판 내용 중 NAND FLASH 인식 문제를 보고 코드를 수정했습니다.
저도 처음에 NAND 가 인식이 안되더군요.
그리고 설정 중 그래픽스는 빼고 했습니다.
자꾸 거기서 패닉이 나더군요.
램디스크는 3.4.3 버전을 그대로 사용했습니다.
acr 스크립트로 새로 생성했더니 압축한 이미지 크기가 살짝 다르더군요.
왜 자꾸만 여기서 멈출까요ㅠㅠ
도움 부탁드립니다~
아래는 커널 부팅 전체 메시지 입니다.
Copy Kernel Image .....
Copy Ramdisk Image .....
Starting kernel [MARCH 303]...
Uncompressing Linux.............................................................................................. done, booting the kernel.
Linux version 2.6.11.9 (root@localhost.localdomain) (gcc version 3.4.3) #18 Mon Jan 14 23:41:15 KST 2008
CPU: XScale-PXA255 [69052d06] revision 6 (ARMv5TE)
CPU0: D VIVT undefined 5 cache
CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
Machine: FALinux EZ-X5 Development Platform
Memory policy: ECC disabled, Data cache writeback
Memory clock: 99.53MHz (*27)
Run Mode clock: 398.13MHz (*4)
Turbo Mode clock: 398.13MHz (*1.0, inactive)
Built 1 zonelists
Kernel command line: initrd=0xa0800000,5M root=/dev/ram ramdisk=12288 console=ttyPXA2,115200 ip0=192.168.10.125 nandparts=2,5,57 arch=EZ-X5
PID hash table entries: 128 (order: 7, 2048 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 16MB = 16MB total
Memory: 7936KB available (2320K code, 701K data, 100K init)
Security Framework v1.0.0 initialized
SELinux: Initializing.
SELinux: Starting in permissive mode
selinux_register_security: Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 5120K
NET: Registered protocol family 16
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PXA Timer#1 running (falinux)
NetWinder Floating Point Emulator V0.97 (double precision)
audit: initializing netlink socket (disabled)
audit(7.083:0): initialized
Initializing Cryptographic API
SA1100/PXA2xx Watchdog Timer: timer margin 60 sec
Serial: 8250/16550 driver $Revision: 1.90 $ 16 ports, IRQ sharing enabled
ttyPXA0 at MMIO 0x40100000 (irq = 15) is a FFUART
ttyPXA1 at MMIO 0x40200000 (irq = 14) is a BTUART
ttyPXA2 at MMIO 0x40700000 (irq = 13) is a STUART
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 1 RAM disks of 12288K size 1024 blocksize
loop: loaded (max 8 devices)
nbd: registered device at major 43
cs89x0:cs89x0_probe(0x0)
PP_addr=0x3112
cs89x0.c: v2.4.3-pre1 Russell Nelson <nelson@crynwr.com>, Andrew Morton <andrewm@uow.edu.au>
eth0: cs8900 rev K found at 0xf1000300 [Cirrus EEPROM]
cs89x0: No EEPROM
cs89x0 media RJ-45, IRQ 44, programmed I/O, MAC 00:a2:55:85:65:0d
cs89x0_probe1() successful
cs89x0:cs89x0_probe(0x0)
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00200000 : "EZ-X5 Kernel partition"
0x00200000-0x00700000 : "EZ-X5 Ramdisk partition"
0x00700000-0x04000000 : "EZ-X5 Data partition 0"
sl811: driver sl811-hcd, 15 Dec 2004 - FA
sl811: SL811HS v1.5, irq 35
sl811-hcd sl811-hcd: new USB bus registered, assigned bus number 1
usb usb1: Product: SL811HS v1.5
usb usb1: Manufacturer: Linux 2.6.11.9 sl811-hcd
usb usb1: SerialNumber: sl811-hcd
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
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.0:USB HID core driver
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
i2c_adapter i2c-0: found device 0x68
register device PXA_GPIO (major=245)
Advanced Linux Sound Architecture Driver Version 1.0.8 (Thu Jan 13 09:39:32 2005 UTC).
ALSA device list:
#0: pxa2xx-ac97 (Cirrus Logic CS4202 rev 3)
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
NET: Registered protocol family 1
NET: Registered protocol family 17
RAMDISK: Compressed image found at block 0
안녕하세요..
SDRAM의 메모리가
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 16MB = 16MB total
Memory: 7936KB available (2320K code, 701K data, 100K init)
Security Framework v1.0.0 initialized
로 16MByte 로 되어 있습니다..
램디스크의 압축을 풀 수 있는 용량이 부족한것 같습니다.
EZ-X5 보드에는 64Mbyte 가 달려 있습니다. 커널에서 기본적으로 16Mbyte로 설정 되어 있는 것을 64MBtyte로 수정해 주시고 해 보세요..
그럼 수고하세요.