안녕하세요.
고도리입니다.
근래 Magiceyes의 MP2530 Linux kernel의 메인을 대부분 잡았습니다.
현재 sound driver는 DMA부분의 약간의 버그때문에 동작을 하지 않고요.
(코드는 완성이 되었습니다만, mem to io dma쪽을 제가 동작을 잘 못시키네요
mem to mem은 잘됩니다.)
Framebuffer는 u-boot에서는 작성이 되어 있는 것을 확인 했으나,
kernel단 드라이버가 동작을 애매하게 합니다.
대부분 동작을 확인한 상태고, 코드도 웬만큼 되어갑니다.
메인코딩과 테스트를 담당해 준 김정한, 이장호, 최현진 작업실 삼인방에게
박수를 보냅니다....ㅎㅎ
첨부로 mp2530 product brief랑 datasheet(user manual은 아님)을 올립니다.
^^
참, 칩에 대해서는 http://www.mesdigital.com 가시면 보실 수 있을겁니다.
==========================================
U-Boot 1.1.6 (Apr 20 2007 - 17:31:20)
U-Boot code: 03F00000 -> 03F231C8 BSS: -> 03F2A038
RAM Configuration:
Bank #0: 00000000 64 MB
Bank #1: 40000000 32 MB
NAND: 64 MiB
nand_read_ecc: from = 0x00088000, len = 1024
nand_read_ecc: Failed ECC read, page 0x00000440
nand_read_ecc: Failed ECC read, page 0x00000441
*** Warning - bad CRC or NAND, using default environment
In: serial
Out: serial
Err: serial
enetaddr :
### main_loop entered: bootdelay=2
### main_loop: bootcmd="tftp 02000000 mp2530; bootm 02000000"
Hit any key to stop autoboot: 0
TFTP from server 172.16.1.200; our IP address is 172.16.1.100
Filename 'mp2530'.
Load address: 0x2000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##############################################
done
Bytes transferred = 2893196 (2c258c hex)
## Booting image at 02000000 ...
Image Name: Linux-2.6.20
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2893132 Bytes = 2.8 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
No initrd
## Transferring control to Linux (at address 00008000) ...
Starting kernel ...
Linux version 2.6.20 (
[email protected]) (gcc version 3.4.5) #493 Mon Apr 23 18:33:40 KST 2007
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: AESOP2530
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists. Total pages: 16256
Kernel command line: mem=64M root=/dev/nfs rw nfsroot=172.16.1.200:/scratchbox/users/aesop/targets/AESOP ip=172.16.1.100:172.16.1.253:172.16.1.1:255.255.255.0::eth0:off console=ttySAC3,115200n81 ethaddr=08:00:3e:26:0a:5b
mp2530_init_irq: mp2530_init_irq: registering mp2530 interrupt handlers
mp2530: registered interrupt handlers
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 61884KB available (2612K code, 267K data, 100K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
gpioC 26 request ok: 0xba, 186
NET: Registered protocol family 16
MP2530: Initialising architecture
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 2048 bind 1024)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
MP2530F Framebuffer driver initialise.....
mp2530-uart.0: mp2530_serial0 at MMIO 0xf0016000 (irq = 42) is a MP2530
mp2530-uart.1: mp2530_serial1 at MMIO 0xf0016080 (irq = 46) is a MP2530
mp2530-uart.2: mp2530_serial2 at MMIO 0xf0016800 (irq = 50) is a MP2530
mp2530-uart.3: mp2530_serial3 at MMIO 0xf0016880 (irq = 54) is a MP2530
mp2530-uart.4: mp2530_serial4 at MMIO 0xf0017000 (irq = 58) is a MP2530
mp2530-uart.5: mp2530_serial5 at MMIO 0xf0017080 (irq = 62) is a MP2530
RAMDISK driver initialized: 1 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
nbd: registered device at major 43
cs89x0:cs89x0_probe(0x0)
cs89x0.c: v2.4.3-pre1 Russell Nelson <
[email protected]>, Andrew Morton <
[email protected]>
eth0: cs8900 rev K found at 0xf3000300
cs89x0: No EEPROM, relying on command line....
cs89x0 media RJ-45, IRQ 9, programmed I/O, MAC 00:00:c0:ff:ee:08
cs89x0_probe1() successful
cs89x0:cs89x0_probe(0x0)
cs89x0: request_region(0xf3000300, 0x10) failed
cs89x0: no cs8900 or cs8920 detected. Be sure to disable PnP with SETUP
usbmon: debugfs is not available
mice: PS/2 mouse device common for all mice
ac97_codec: AC97 Audio codec, id: CRY52 (Cirrus Logic CS4299 rev D)
TCP cubic registered
NET: Registered protocol family 1
eth0: using half-duplex 10Base-T (RJ-45)
IP-Config: Complete:
device=eth0, addr=172.16.1.100, mask=255.255.255.0, gw=172.16.1.1,
host=172.16.1.100, domain=, nis-domain=(none),
bootserver=172.16.1.253, rootserver=172.16.1.200, rootpath=
Looking up port of RPC 100003/2 on 172.16.1.200
Looking up port of RPC 100005/1 on 172.16.1.200
VFS: Mounted root (nfs filesystem).
Freeing init memory: 100K
INIT: version 2.86 booting
Initializing udev dynamic device directory.
mount: Mounting /dev/root on / failed: No such file or directory
INIT: Entering runlevel: 3
[: 0: unknown operand
AESOP Linux
/) /)
(='.'=) <- godori
login[263]: root login on `tts/3'
root@godori:~#
이제 시험2개남았습니다.. 빨리 작업실가서 보드가지고 놀고싶습니다ㅠ
공대수업 = only 수학 ㅎㅎ