그 동안 임베디드 리눅스에 관심을 갖고 있다가 본격적으로 해보고자 ARM9 보드를 마련했습니다.
이 보드로 리눅스 포팅 과정과 S/W 개발에 관해서 하나씩 배워나갈 예정입니다.

사용자 삽입 이미지
오늘은 보드 받고 시리얼 콘솔로만 연결해봤습니다.

# dmesg
Linux version 2.6.22.8 (wfellow@orange) (gcc version 4.1.1) #12 Wed Oct 24 14:49:49 KST 2007
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
Machine: DIYTOY AHAV9302 App/Dev Board
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 16384
  DMA zone: 128 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 16256 pages, LIFO batch:3
  Normal zone: 0 pages used for memmap
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.  Total pages: 16256
Kernel command line: console=ttyAM0,115200 root=/dev/ram rw initrd=0xc0800000 ip=192.168.0.182:192.168.0.2:192.168.0.1:255.255.255.0:apple::off init=/sbin/init mem=64M
PID hash table entries: 256 (order: 8, 1024 bytes)
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: 60720KB available (2108K code, 157K data, 108K init)
Calibrating delay loop… 99.73 BogoMIPS (lpj=498688)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
ep93xx: PLL1 running at 399 MHz, PLL2 at 384 MHz
ep93xx: FCLK 199 MHz, HCLK 99 MHz, PCLK 49 MHz
Generic PHY: Registered new driver
SCSI subsystem initialized
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
checking if image is initramfs…it isn’t (no cpio magic); looks like an initrd
Freeing initrd memory: 1778K
JFFS2 version 2.2. (NAND) 짤 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
Serial: AMBA driver $Revision: 1.41 $
apb:uart1: ttyAM0 at MMIO 0x808c0000 (irq = 52) is a AMBA
apb:uart2: ttyAM1 at MMIO 0x808d0000 (irq = 54) is a AMBA
apb:uart3: ttyAM2 at MMIO 0x808e0000 (irq = 55) is a AMBA
RAMDISK driver initialized: 2 RAM disks of 8192K size 1024 blocksize
loop: module loaded
Davicom DM9161E: Registered new driver
Davicom DM9161A: Registered new driver
Davicom DM9131: Registered new driver
ep93xx-eth version 0.1 loading
eth0: ep93xx on-chip ethernet, IRQ 39, 00:00:00:00:00:00.
physmap platform flash device: 01000000 at 60000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
 Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
erase region 0: offset=0x0,size=0x20000,blocks=128
cmdlinepart partition parsing not available
Searching for RedBoot partition table in physmap-flash.0 at offset 0xfe0000
No RedBoot partition table detected in physmap-flash.0
ep93xx: dev (254:0)
ep93xx-rtc ep93xx-rtc: rtc core: registered ep93xx as rtc0
i2c /dev entries driver
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
ep93xx-rtc ep93xx-rtc: setting the system clock to 1970-01-01 00:06:50 (410)
eth0: generated random MAC address d2:41:65:be:62:31.
IP-Config: Complete:
      device=eth0, addr=192.168.0.182, mask=255.255.255.0, gw=192.168.0.1,
     host=apple, domain=, nis-domain=(none),
     bootserver=192.168.0.2, rootserver=192.168.0.2, rootpath=
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 108K

# cat /proc/cpuinfo
Processor       : ARM920T rev 0 (v4l)
BogoMIPS        : 99.73
Features        : swp half thumb crunch
CPU implementer : 0x41
CPU architecture: 4T
CPU variant     : 0x1
CPU part        : 0x920
CPU revision    : 0
Cache type      : write-back
Cache clean     : cp15 c7 ops
Cache lockdown  : format A
Cache format    : Harvard
I size          : 16384
I assoc         : 64
I line length   : 32
I sets          : 8
D size          : 16384
D assoc         : 64
D line length   : 32
D sets          : 8

Hardware        : DIYTOY AHAV9302 App/Dev Board
Revision        : 0000
Serial          : 0000000000000000

# cat /proc/meminfo
MemTotal:        62672 kB
MemFree:         55004 kB
Buffers:          4584 kB
Cached:            604 kB
SwapCached:          0 kB
Active:            896 kB
Inactive:         4596 kB
SwapTotal:           0 kB
SwapFree:            0 kB
Dirty:               0 kB
Writeback:           0 kB
AnonPages:         320 kB
Mapped:            412 kB
Slab:             1320 kB
SReclaimable:      360 kB
SUnreclaim:        960 kB
PageTables:         72 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:     31336 kB
Committed_AS:      868 kB
VmallocTotal:   950272 kB
VmallocUsed:     16824 kB
VmallocChunk:   925692 kB