도와주세요!!
글 수 15,339
2004.06.12 20:48:39 (*.121.192.72)
6687
그냥 커널을 2.6.6 으로 만들어 올렸습니다.
어차피 컴파일러를 2.6 커널을 위해 3.3 버전으로 한 것이니,
이 일을 계기로 올려보게 됬네요..
(2.6 커널은 패치가 없다는 FALinux 관계자 분의 말씀을 듣고 용기를 내어^^)
강좌에 정리해 주신대로 올리긴 했는데, Prereleased Test Version과의 약간의 차이가 있긴 합니다.
일단 지금은 CS8900A 까지 살려 놨구요..
아직 mtd 가 남은 상태이긴 합니다.
전에 스트롱암 이지보드용으로 만들어 놓았던 프로그램도 PXA용으로 컴파일만 다시 해서 돌려보니 잘 돌아 갑니다.
아직은 CS8900 디텍트 하는 부분이 eth0~7 까지 같은 주소로 잡혀버리는 문제가 있긴 하지만 eth0 만 지정하면
동작엔 지장이 없네요... 이건 차츰 고쳐 보도록 하고..
-> 이건 space.c 에서 무조건 8번을 디리 돌리는군요...
일단은 probe 함수에서 유니트가 0 넘어가면 에러를 리턴하게 고쳐서 해결 했습니다.
나중에 디바이스 룩업 테이블 같은걸 만들어서 같은 주소이거나 같은 irq를 설정하면
에러를 리턴하는 식으로 바꿔야 겠네요
정리가 되는대로 진척사항을 또 올리지요..
기념 샷 하나 올립니다
그럼 모두들 즐삽 합시다^^
=========================================================================
커널 2.6.6 부팅 메시지
WELCOME EZBOOT.X5 V1.5 ..................for PXA255
Program by You Young-chang, fooji ( J.D&T Co.,Ltd )
Last Modify 2004.03.27
Boot Flash Check ......................
Detect MX29LV400T Flash : 22B9
SIZE 4M-BIT [512Kbyte]
NAND Chip Check .......................
Detect SAMSUNG [ec:76] 64MByte
BAD BLOCK SCAN -> Kernel, Ramdisk Bad Block [0]
CS8900 Init............................
Mac Address : [00 A2 55 F2 26 25]
Detect value : [3000:3000]
Chip ID : [0E63:0009]
Copy Kernel Image .....
Copy Ramdisk Image .....
Starting kernel [MARCH 359]...
Uncompressing Linux.............................................................
....... done, booting the kernel.
Linux version 2.6.6-ez-x5 (root@kkamzie) (gcc version 3.3) #13 Sat Jun 12 13:47:
19 KST 2004
CPU: XScale-PXA255 [69052d06] revision 6 (ARMv5TE)
CPU: D undefined 5 cache
CPU: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
CPU: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
Machine: WWW.FALINUX.COM EZ-X5 for PXA255 Board
Check ezboot Magic Value [20030702]
Check ezboot Magic String [CMD=]
Check ezboot Command Line [ mem=64M initrd=0xa0800000,8M root=/dev/ram0 ramdisk=
8192 console=ttyS02,115200 ip0=150.54.50.150 nandparts=1,4,59]
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)
On node 0 totalpages: 16384
DMA zone: 16384 pages, LIFO batch:4
Normal zone: 0 pages, LIFO batch:1
HighMem zone: 0 pages, LIFO batch:1
Built 1 zonelists
Kernel command line: mem=64M initrd=0xa0800000,8M root=/dev/ram0 ramdisk=8192
console=ttyS02,115200 ip0=150.54.50.150 nandparts=1,4,59
PID hash table entries: 512 (order 9: 4096 bytes)
Console: colour dummy device 80x30
Memory: 64MB = 64MB total
Memory: 54528KB available (1599K code, 475K data, 72K init)
Calibrating delay loop... 397.31 BogoMIPS
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
POSIX conformance testing by UNIFIX
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 8192K
NET: Registered protocol family 16
NetWinder Floating Point Emulator V0.97 (double precision)
Initializing Cryptographic API
ttyS0 at MMIO 0x40100000 (irq = 15) is a FFUART
ttyS1 at MMIO 0x40200000 (irq = 14) is a BTUART
ttyS2 at MMIO 0x40700000 (irq = 13) is a STUART
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
Using anticipatory io scheduler
nbd: registered device at major 43
eth0: cs8900 rev J Base 0xF1000300<6>, IRQ 44, MAC 00:A2:55:F2:26:25
eth1: cs8900 rev J Base 0xF1000300<6>, IRQ 44, MAC 00:A2:55:F2:26:25
eth2: cs8900 rev J Base 0xF1000300<6>, IRQ 44, MAC 00:A2:55:F2:26:25
eth3: cs8900 rev J Base 0xF1000300<6>, IRQ 44, MAC 00:A2:55:F2:26:25
eth4: cs8900 rev J Base 0xF1000300<6>, IRQ 44, MAC 00:A2:55:F2:26:25
eth5: cs8900 rev J Base 0xF1000300<6>, IRQ 44, MAC 00:A2:55:F2:26:25
eth6: cs8900 rev J Base 0xF1000300<6>, IRQ 44, MAC 00:A2:55:F2:26:25
eth7: cs8900 rev J Base 0xF1000300<6>, IRQ 44, MAC 00:A2:55:F2:26:25
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET: Registered protocol family 1
NET: Registered protocol family 17
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem) readonly.
Freeing init memory: 72K
INIT: version 2.84 booting
INIT: Entering runlevel: 3
mount: Mounting /dev/mtdblock2 on /app failed: No such device
Starting system logger: syslogd
Starting INET services: inetd
Welcome to J.D&T EZ-X5 ( www.falinux.com )
XScale(PXA255) Linux
ez-x5 login:
어차피 컴파일러를 2.6 커널을 위해 3.3 버전으로 한 것이니,
이 일을 계기로 올려보게 됬네요..
(2.6 커널은 패치가 없다는 FALinux 관계자 분의 말씀을 듣고 용기를 내어^^)
강좌에 정리해 주신대로 올리긴 했는데, Prereleased Test Version과의 약간의 차이가 있긴 합니다.
일단 지금은 CS8900A 까지 살려 놨구요..
아직 mtd 가 남은 상태이긴 합니다.
전에 스트롱암 이지보드용으로 만들어 놓았던 프로그램도 PXA용으로 컴파일만 다시 해서 돌려보니 잘 돌아 갑니다.
아직은 CS8900 디텍트 하는 부분이 eth0~7 까지 같은 주소로 잡혀버리는 문제가 있긴 하지만 eth0 만 지정하면
동작엔 지장이 없네요... 이건 차츰 고쳐 보도록 하고..
-> 이건 space.c 에서 무조건 8번을 디리 돌리는군요...
일단은 probe 함수에서 유니트가 0 넘어가면 에러를 리턴하게 고쳐서 해결 했습니다.
나중에 디바이스 룩업 테이블 같은걸 만들어서 같은 주소이거나 같은 irq를 설정하면
에러를 리턴하는 식으로 바꿔야 겠네요
정리가 되는대로 진척사항을 또 올리지요..
기념 샷 하나 올립니다
그럼 모두들 즐삽 합시다^^
=========================================================================
커널 2.6.6 부팅 메시지
WELCOME EZBOOT.X5 V1.5 ..................for PXA255
Program by You Young-chang, fooji ( J.D&T Co.,Ltd )
Last Modify 2004.03.27
Boot Flash Check ......................
Detect MX29LV400T Flash : 22B9
SIZE 4M-BIT [512Kbyte]
NAND Chip Check .......................
Detect SAMSUNG [ec:76] 64MByte
BAD BLOCK SCAN -> Kernel, Ramdisk Bad Block [0]
CS8900 Init............................
Mac Address : [00 A2 55 F2 26 25]
Detect value : [3000:3000]
Chip ID : [0E63:0009]
Copy Kernel Image .....
Copy Ramdisk Image .....
Starting kernel [MARCH 359]...
Uncompressing Linux.............................................................
....... done, booting the kernel.
Linux version 2.6.6-ez-x5 (root@kkamzie) (gcc version 3.3) #13 Sat Jun 12 13:47:
19 KST 2004
CPU: XScale-PXA255 [69052d06] revision 6 (ARMv5TE)
CPU: D undefined 5 cache
CPU: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
CPU: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
Machine: WWW.FALINUX.COM EZ-X5 for PXA255 Board
Check ezboot Magic Value [20030702]
Check ezboot Magic String [CMD=]
Check ezboot Command Line [ mem=64M initrd=0xa0800000,8M root=/dev/ram0 ramdisk=
8192 console=ttyS02,115200 ip0=150.54.50.150 nandparts=1,4,59]
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)
On node 0 totalpages: 16384
DMA zone: 16384 pages, LIFO batch:4
Normal zone: 0 pages, LIFO batch:1
HighMem zone: 0 pages, LIFO batch:1
Built 1 zonelists
Kernel command line: mem=64M initrd=0xa0800000,8M root=/dev/ram0 ramdisk=8192
console=ttyS02,115200 ip0=150.54.50.150 nandparts=1,4,59
PID hash table entries: 512 (order 9: 4096 bytes)
Console: colour dummy device 80x30
Memory: 64MB = 64MB total
Memory: 54528KB available (1599K code, 475K data, 72K init)
Calibrating delay loop... 397.31 BogoMIPS
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
POSIX conformance testing by UNIFIX
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 8192K
NET: Registered protocol family 16
NetWinder Floating Point Emulator V0.97 (double precision)
Initializing Cryptographic API
ttyS0 at MMIO 0x40100000 (irq = 15) is a FFUART
ttyS1 at MMIO 0x40200000 (irq = 14) is a BTUART
ttyS2 at MMIO 0x40700000 (irq = 13) is a STUART
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
Using anticipatory io scheduler
nbd: registered device at major 43
eth0: cs8900 rev J Base 0xF1000300<6>, IRQ 44, MAC 00:A2:55:F2:26:25
eth1: cs8900 rev J Base 0xF1000300<6>, IRQ 44, MAC 00:A2:55:F2:26:25
eth2: cs8900 rev J Base 0xF1000300<6>, IRQ 44, MAC 00:A2:55:F2:26:25
eth3: cs8900 rev J Base 0xF1000300<6>, IRQ 44, MAC 00:A2:55:F2:26:25
eth4: cs8900 rev J Base 0xF1000300<6>, IRQ 44, MAC 00:A2:55:F2:26:25
eth5: cs8900 rev J Base 0xF1000300<6>, IRQ 44, MAC 00:A2:55:F2:26:25
eth6: cs8900 rev J Base 0xF1000300<6>, IRQ 44, MAC 00:A2:55:F2:26:25
eth7: cs8900 rev J Base 0xF1000300<6>, IRQ 44, MAC 00:A2:55:F2:26:25
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET: Registered protocol family 1
NET: Registered protocol family 17
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem) readonly.
Freeing init memory: 72K
INIT: version 2.84 booting
INIT: Entering runlevel: 3
mount: Mounting /dev/mtdblock2 on /app failed: No such device
Starting system logger: syslogd
Starting INET services: inetd
Welcome to J.D&T EZ-X5 ( www.falinux.com )
XScale(PXA255) Linux
ez-x5 login: