안녕하세요
S3C6400으로 보드를 만들어 WinCE로 어느정도 검증한 상태에서 리눅스를 올려보고 있습니다. 제가 리눅스는 초보라...
커널버전 linux-2.6.21, 툴체인은 삼성에서 받은 4.3.1-eabi-armv6 입니다.
U-Boot는 어느정도 올려놨습니다. 그런데 커널 부팅에서 죽네요...
부팅로그 아래와 같습니다. 어느 부분을 봐야 하는지... 도와주세요
U-Boot 1.1.6 (Aug 28 2008 - 18:24:50) for SMDK6400
CPU: S3C6400@532MHz
Fclk = 532MHz, Hclk = 133MHz, Pclk = 66MHz , Serial = CLKUART (ASYNC Mode)
Board: SMDK6400
DRAM: 128 MB
Flash: 0 kB
NAND: 128 MB
In: serial
Out: serial
Err: serial
found DM9000 ID:90000a46
DM9000 work in 16 bus width
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0x40000, size 0x1c0000
1835008 bytes read: OK
Boot with zImage
Starting kernel ...
Uncompressing Linux....................................................................................................... done, bo
oting the kernel.
Linux version 2.6.21.5-cfs-v19 (jhlee@sjmt-server) (gcc version 4.3.1 (for S3C64XX Samsung Electronics AP Development Team) ) #1 Mo
n Sep 1 15:06:07 KST 2008
CPU: ARMv6-compatible processor [410fb761] revision 1 (ARMv6TEJ), cr=00c5387f
Machine: SMDK6400
Ignoring unrecognised tag 0x00000000
Memory policy: ECC disabled, Data cache writeback
CPU S3C6400 (id 0xaaaabbbb)
S3C6400: core 532.000 MHz, memory 133.000 MHz, peripheral 66.500 MHz
S3C6400: EPLL 192.000 MHz
S3C24XX Clocks, (c) 2004 Simtec Electronics
CPU0: D VIPT 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: 32512
Kernel command line: noinitrd root=/dev/nfs rw nfsroot=192.168.0.10:/tftpboot/rootfs/ ip=192.168.0.20:192.168.0.10:192.168.0.1:255.
255.255.0::eth0:off init=/linuxrc console=ttySAC0,115200
Trying to install chained interrupt handler for IRQ0
Trying to install chained interrupt handler for IRQ1
Trying to install chained interrupt handler for IRQ32
Trying to install chained interrupt handler for IRQ33
PID hash table entries: 512 (order: 9, 2048 bytes)
timer tcon=00600000, tcnt 103c3, tcfg 00000400,00000000, usec 00001340
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: 128MB = 128MB total
Memory: 126464KB available (2844K code, 320K data, 196K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
s3c6400: Initialising architecture
S3C DMA-pl080 Controller Driver, (c) 2006-2007 Samsung Electronics
Total 32 DMA channels will be initialized.
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0004000
[00000000] *pgd=00000000
Internal error: Oops: 5 [#1]
Modules linked in:
CPU: 0
PC is at __rcu_process_callbacks+0x1ac/0x270
LR is at file_free_rcu+0x1c/0x24
pc : [<c0064a6c>] lr : [<c0096f3c>] Not tainted
sp : c049fe38 ip : c0477ec0 fp : c049fe54
r10: 00000000 r9 : c0336578 r8 : 00000001
r7 : c0334aa0 r6 : 00000002 r5 : 00000000 r4 : c033653c
r3 : 0000000a r2 : 00000000 r1 : c035b580 r0 : c0477ec0
Flags: Nzcv IRQs on FIQs on Mode SVC_32 Segment kernel
Control: C5387F
Table: 50004008 DAC: 00000017
Process khelper (pid: 5, stack limit = 0xc049e250)
Stack: (0xc049fe38 to 0xc04a0000)
fe20: c005bedc 00000000
fe40: c0334aa0 c0334ac4 c049fe64 c049fe58 c0064b48 c00648cc c049fe84 c049fe68
fe60: c0057dbc c0064b3c c0334aa0 c0334b04 00000001 00000004 c049feb4 c049fe88
fe80: c00581f0 c0057d4c 0000001c c0302700 0000001c 00000000 00000000 c048bc40
fea0: c0323d48 c048b1d0 c049fec4 c049feb8 c0058294 c005819c c049fee4 c049fec8
fec0: c003aa54 c005825c c0476d68 ffffffff f0000000 10000000 c049ff64 c049fee8
fee0: c0039890 c003aa18 00000001 00000000 000000ac 00000050 00000000 c048b040
ff00: 0a6e49c2 00000000 c048bc40 c0323d48 c048b1d0 c049ff64 c048bc90 c049ff30
ff20: c02679b8 c0267a18 00000013 ffffffff c0063524 c049e000 c00633e8 00000000
ff40: c049e000 c0476d60 c0476d68 c0476d70 00000001 c049ff7c c049ffc4 c049ff68
ff60: c0063524 c0267880 00000001 00000000 c048b040 00010000 00000000 00000000
ff80: c048b040 c004d828 c0476d70 c0476d70 ffffffff ffffffff c049ffc4 c0476d60
ffa0: c049e000 c0063434 c048feec 00000000 00000000 00000000 c049fff4 c049ffc8
ffc0: c00671b8 c0063440 00000000 ffffffff ffffffff 00000001 00000000 00000000
ffe0: 00000000 00000000 00000000 c049fff8 c0056050 c00670e4 00000000 00000000
Backtrace:
[<c00648c0>] (__rcu_process_callbacks+0x0/0x270) from [<c0064b48>] (rcu_process_callbacks+0x18/0x38)
r6 = C0334AC4 r5 = C0334AA0 r4 = 00000000
[<c0064b30>] (rcu_process_callbacks+0x0/0x38) from [<c0057dbc>] (tasklet_action+0x7c/0xc0)
[<c0057d40>] (tasklet_action+0x0/0xc0) from [<c00581f0>] (__do_softirq+0x60/0xc0)
r6 = 00000004 r5 = 00000001 r4 = C0334B04
[<c0058190>] (__do_softirq+0x0/0xc0) from [<c0058294>] (irq_exit+0x44/0x4c)
[<c0058250>] (irq_exit+0x0/0x4c) from [<c003aa54>] (asm_do_IRQ+0x48/0x60)
[<c003aa0c>] (asm_do_IRQ+0x0/0x60) from [<c0039890>] (__irq_svc+0x30/0x80)
r6 = 10000000 r5 = F0000000 r4 = FFFFFFFF
[<c0267874>] (schedule+0x0/0x30c) from [<c0063524>] (worker_thread+0xf0/0x150)
[<c0063434>] (worker_thread+0x0/0x150) from [<c00671b8>] (kthread+0xe0/0x120)
[<c00670d8>] (kthread+0x0/0x120) from [<c0056050>] (do_exit+0x0/0x804)
r7 = 00000000 r6 = 00000000 r5 = 00000000 r4 = 00000000
Code: e5942024 e3520000 099da870 e3a06000 (e5925000)
Kernel panic - not syncing: Aiee, killing interrupt handler!
고현철님이 개발하신 6400 커널부팅 메시지를 참조하세요